You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[sm_121] Native block-scaled FP4 (NVFP4) tensor-core mma.sync works on GB10 — needs PTX 9.1 (CUDA 13.1+ driver) #6597
Targetsm_121a — plain sm_121 yields INVALID_PTX at runtime (cf. #6593).
PTX.version9.1+ → requires a CUDA 13.1+ driver to JIT. On CUDA 13.0 it ptxas-assembles but fails at load with CUDA_ERROR_UNSUPPORTED_PTX_VERSION; verified end-to-end on driver 595 / CUDA 13.2.
float8 conversion: routing f8→float casts to the bit-manip fallback is needed on sm_121 (cf. #6594).
Validation
From-scratch tiled NVFP4 GEMM in Mojo using this MMA (m16n8k64 e2m1 fragment layout + the scale_vec::4X per-block e4m3 scale distribution per the PTX ISA). Bit-exact vs a host block-scaled reference (random data + random per-block scales, maxrel = 0.0). ~6 TFLOP/s at 2048³ with a naive warp-per-tile mapping (no smem staging yet) — ~19× the naive CUDA-core path from #6596.
Shows the consumer-Blackwell FP4 tensor cores are usable today via the warp-level mma.sync block-scale path (alongside tcgen05), gated only on the PTX-9.1/driver requirement. Happy to share layout details if useful. (Research-stage + driver-gated, so not submitting as a PR yet.)
Activity