Repository navigation
build: admit Ampere (sm_80) via TENSORFOLD_MIN_CAPABILITY, keep NVFP4/cluster floors - #464
liumorrisclaw wants to merge 2 commits into
Conversation
…/cluster floors TENSORFOLD_MIN_CAPABILITY=8.0 lowers the capability floor at import time (only down, never up) so the W4A16 and EXL3 paths run on Ampere; the NVFP4/cluster floor stays pinned so a lowered floor cannot admit them. The refusal hint for FP8-only GPUs names the switch. Verified on 4x CMP 170HX (GA100, sm_80): all 8 target extensions compile, 293+ bit-exact kernel tests pass, GLM-5.3-Flash serves end to end.
The FP8 prefill kernels' inline PTX (cvt.e4m3x2.f16x2, e4m3 mma) has no arch guard, which fails ptxas when the whole qmm_v5 extension compiles for sm_80 even though the FP8 path is opt-in and never runs there. The dead branches become trap; bits on sm_89+ are unchanged.
|
Rebase-verification window done on the v0.6.6 tree (this branch merged with the companion branches): 4-rank serve end to end, four heavy extensions compile clean for sm_80 (the e4m3 guard also fixes a ptxas hang-level compile on sm_80 for |
|
Thank you! This is in main under your name, as 23f4e7f and c87248d. Putting Ampere W4A16 and EXL3 behind One fix of ours follows it in 6e8f29e. The Ampere hint read The Python engine is frozen at 0.6.6, so this won't ship in a tagged Python release. It is in main's history with your name on it, and you're now one of the repo's contributors. Closing this as landed. |
|
Landed and verified — thank you for the clean relands and especially for 6e8f29e: the UnboundLocalError in my Ampere hint was a real bug (I had only exercised the below-floor path on a GPU that passes admission), and |
…med at its refusal Release fatbins build and check sm_80 alongside sm_86, sm_120 and sm_121, so the A100 and its Ampere peers load the 4-bit path. A ModelOpt checkpoint at the FP8/NVFP4 floor is refused by name now: the card, its sm and the cluster reason, from one tested helper (#840, the native port of #464).
…med at its refusal Release fatbins build and check sm_80 alongside sm_86, sm_120 and sm_121, so the A100 and its Ampere peers load the 4-bit path. A ModelOpt checkpoint at the FP8/NVFP4 floor is refused by name now: the card, its sm and the cluster reason, from one tested helper (#840, the native port of #464).
…med at its refusal Release fatbins build and check sm_80 alongside sm_86, sm_120 and sm_121, so the A100 and its Ampere peers load the 4-bit path. A ModelOpt checkpoint at the FP8/NVFP4 floor is refused by name now: the card, its sm and the cluster reason, from one tested helper (ashhart#840, the native port of ashhart#464).
…med at its refusal Release fatbins build and check sm_80 alongside sm_86, sm_120 and sm_121, so the A100 and its Ampere peers load the 4-bit path. A ModelOpt checkpoint at the FP8/NVFP4 floor is refused by name now: the card, its sm and the cluster reason, from one tested helper (ashhart#840, the native port of ashhart#464).
What this changes
Adds an import-time env switch,
TENSORFOLD_MIN_CAPABILITY=8.0, that lowers the CUDA capability floor (only down, never up) so the W4A16 and EXL3 paths run on Ampere. The NVFP4/cluster floor stays pinned, so a lowered floor cannot admit cluster kernels, and the FP8-only refusal hint names the switch.Receipt
brandonmusic/GLM-5.3-Flash-tr3-4bpw"draft": falsein every benchmark run (13 acceptance runs across the patch series)tensorfold_qmm_v5,tensorfold_exl3_linear_v3,tensorfold_glm_exl3_v1,tensorfold_exl3_experts_v1,tensorfold_glm_kda_v2,tensorfold_prefill_attention_v1,(4,4,2,2)/(8,4,4,1)expert tiles); 26 initially-failing cases re-ran green on a free GPU (37 passed / 1 skipped)Checklist
"draft": false(SHA256, every run)