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
[BUG] Re-saving a W4AFP8 checkpoint written with format=gptq_v2 adds +1 to every zero point, and the result no longer loads (regression from 08f1b2b / incomplete #4171) #4323
Severity: high (silent corruption of the re-saved checkpoint). Status: confirmed end-to-end on an RTX 4090. Kind: regression from 08f1b2b; incomplete fix of #4171 item 2.
All 112/112 qzeros tensors differ between a and b.
Loading b raises ValueError: W4AFP8 first release requires symmetric GPTQ zero point 8 in every group.
Expected: byte-identical qzeros. The format=gptq control run gives 0 changed tensors and the same NLL (2.5403).
Unit-level check: calling _load_native_w4a_for_save on a W4AFP8Linear or TorchLinear shell with format=GPTQ_V2 gives qzeros file==resave False and runtime marker 1.
At 9dad249 this path raised "Missing native W4A checkpoint tensors" instead, so the silent corruption is new.
Found during an AI-assisted review (Claude Code, round 11) of 842d666; repros were run at that commit on RTX 4090/5090 (CUDA 13) and/or Radeon AI PRO R9700 (ROCm) unless marked static/suspected.
Taking this. I'll investigate against current main, add a targeted regression test, and open a PR. Will report back here if the claim turns out to be invalid or already fixed.
Activity
Qubitium commentedon Nov 16, 2026
Taking this. I'll investigate against current
main, add a targeted regression test, and open a PR. Will report back here if the claim turns out to be invalid or already fixed.fix(w4a): declare the source qzero layout before a native re-save (Mo…