[Accuracy] PersonaPlex FP16 residuals skip linear-output rounding
I maintainer di solito rispondono entro 1 giorno
@chaofengw-nv ci sta già lavorando.
Dal 18/10/2026.
Valutazione
Questa issue non è ancora stata valutata.
Descrizione
Description
PersonaPlex's FP16 decoder residual path can add the unrounded GEMM accumulator instead of first rounding the linear output to Half, as the Native model does. This changes values inside an actual decoder layer, before subsequent normalization and autoregressive generation.
Affected base: 9a8b545f5e8c22c653c8029c95a999dc070b4f3f.
Reproduction
Use a Half projection whose exact dot product is 1 + 2^-12, followed by a residual of -1:
- Native: round the linear output to Half (
1), then add the Half residual:0. - Current TensorRT decoder:
2^-12(0.000244140625), consistent with fusion across the linear-output rounding boundary.
A regression invokes the existing default_decoder._add_decoder_layer with the depth dimensions (1024 hidden channels, 16 heads, cache length 18, MLP width 2816). It uses dense binary weights, one valid attention key and a zero MLP, and reads the layer's normal hidden and present-K/V outputs. The Native CUDA linear operations independently establish the expected scalar.
On GB300, TensorRT 11.2.0.113, CUDA 13 and PyTorch 2.12.0+cu130, three independent original Half engines each return 2^-12 instead of zero. All three original FP32 control engines pass; neither precision has errors or skips.
A separate fresh-process probe also reproduces the discrepancy at widths 1024 and 4096, three builds each. Performing the residual sum in FP32 after converting the already-Half branch outputs, then restoring Half, returns the Native result in all six cases.
Expected behavior
Preserve the model-dtype linear-output rounding boundary before the residual sum. Keep Half weights, hidden states and KV caches, and retain the existing FP32 behavior. The Native sequential attention and MLP residuals are defined in the pinned official transformer implementation.
This is a component reproduction. Full speech-benchmark acceptance remains separate; no benchmark input, Native baseline or acceptance gate is changed.
- Lingua principale
- Python
- Stelle
- 276
- Fork
- 73
- Merge medio
- 1g 14h
- PR unite (30g)
- 157
Preparare l'ambiente
- Include un Dockerfile o un file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di NVIDIA/TensorRT-Model-Connect
-
Docs: ITrtModule::forward() output-buffer lifetime and dtype contract are undocumentedForse di nuovo libera Una pull request per questa issue è stata chiusa senza essere unita. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
NVIDIA/TensorRT-Model-Connect#1126 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
[Accuracy] PersonaPlex FP16 RMSNorm keeps FP32 weights that the reference stores in HalfForse già presa @chaofengw-nv l’ha presa 3 giorni fa. Apertabug
NVIDIA/TensorRT-Model-Connect#1799 · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
-
[Accuracy] PersonaPlex FP16 SwiGLU rounds SiLU before the gate productForse già presa @chaofengw-nv l’ha presa 3 giorni fa. Aperta
NVIDIA/TensorRT-Model-Connect#1793 · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
-
[Accuracy] PersonaPlex RoPE uses different coefficient and rotation precisionForse già presa @chaofengw-nv l’ha presa 3 giorni fa. Apertabug
NVIDIA/TensorRT-Model-Connect#1790 · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
-
[Accuracy] PersonaPlex FP16 depth input skips the reference's Half roundingForse già presa @chaofengw-nv l’ha presa 3 giorni fa. Aperta
NVIDIA/TensorRT-Model-Connect#1788 · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di NVIDIA/TensorRT-Model-Connect
Issue simili
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
ansys/pyansys-common-mcp#213 ·
I maintainer di solito rispondono entro 3 giorni
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 67/100
freedomofpress/dangerzone#1594 ·
I maintainer di solito rispondono entro 3 giorni
-
priority:P1 status:in-review type:bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
randomparity/kdive#3317 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
area:ci
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 90/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
mesonbuild/meson#16281 ·
I maintainer di solito rispondono entro 1 giorno