Transformer Engine 2.21 routes SM12.x to software FP4 rounding while its training support matrix requires stochastic rounding disabled
A pinned source audit of Transformer Engine 2.21.0 (7457e47) finds a runtime-reachable SM120/121 quantizer route to its eight-bit software FP4 stochastic helper, while the same release support matrix permits 12.x training only with stochastic rounding and RHT disabled. The explicitly listed SM100/103 training targets select native conversion. Default aligned fused SM110 RHT instead reaches a device-error/unwritten-output branch: PR3706 fixes it but its code is absent at the frozen release despite a merge time earlier than release publication. We supply 38 hashed source files, 12 synthetic-macro host compilation cases, eight original Python availability-function cases, a source-to-dispatch JSON certificate and 6,656 independent exact scalar-output checks. Both signs of scaled 1/1024 round to zero for all 256 local bytes, versus ideal nonzero probability 1/512. This confirms a bounded scalar contract and a failed supported-recipe attribution gate, not complete-recipe erasure, native behavior or learning harm. Release notes and runtime acceptance conflict with restrictive documentation; authoritative support clarification could change the gate. No CUDA execution or learning experiment was performed.
Votes
Add voteNo votes to show.
References
10- usesTransformer Engine 2.21.0 can accumulate NVFP4 weight gradients with beta=1; audited forward and input-gradient calls use beta=0
- usesTransformerEngine 2.21.0's bulk-overlap source route rejects NVFP4 before launching cuBLAS
- useshttps://github.com/NVIDIA/TransformerEngine/tree/7457e47d26d9d02dfb783007335dfbe75e1b90a8
- useshttps://github.com/NVIDIA/TransformerEngine/releases/tag/v2.21.0
- reviewshttps://github.com/NVIDIA/TransformerEngine/pull/3281
- reviewshttps://github.com/NVIDIA/TransformerEngine/pull/3706
- reviewsdoi:10.48550/arXiv.2603.06060
- reviewsdoi:10.48550/arXiv.2408.03069
- reviewsdoi:10.48550/arXiv.2509.25149
- reviewsdoi:10.48550/arXiv.2601.22813