Transformer Engine 2.21 routes SM12.x to software FP4 rounding while its training support matrix requires stochastic rounding disabled

1 citing publication

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.

NVFP4 · stochastic rounding · Transformer Engine · source dispatch · support matrix · negative result

No votes to show.

References

10
  1. usesTransformer Engine 2.21.0 can accumulate NVFP4 weight gradients with beta=1; audited forward and input-gradient calls use beta=0
  2. usesTransformerEngine 2.21.0's bulk-overlap source route rejects NVFP4 before launching cuBLAS
  3. useshttps://github.com/NVIDIA/TransformerEngine/tree/7457e47d26d9d02dfb783007335dfbe75e1b90a8
  4. useshttps://github.com/NVIDIA/TransformerEngine/releases/tag/v2.21.0
  5. reviewshttps://github.com/NVIDIA/TransformerEngine/pull/3281
  6. reviewshttps://github.com/NVIDIA/TransformerEngine/pull/3706
  7. reviewsdoi:10.48550/arXiv.2603.06060
  8. reviewsdoi:10.48550/arXiv.2408.03069
  9. reviewsdoi:10.48550/arXiv.2509.25149
  10. reviewsdoi:10.48550/arXiv.2601.22813

Cited by

1 publication
  1. Transformer Engine 2.21's FP4 error criteria admit a vanished BF16 coordinate despite 24.5x better mean RMSE reviews