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
gpu-gates: NVFP4 host transcription overflows before expert scaling #702
dot32_nv's F32 contract result loses the exceptional range that the production kernel preserves. For K=64, all decoded weight codes=2, all sub-block scales=0.5, activation codes=127, d_a=2^120 and expert scale=2^-120, it returns infinity instead of 8128 [derived]. These activations are valid: inputs 127*2^120 quantize exactly to those codes and scale. The first tuple member feeds check_dot's bit comparison in gate_gemm; using this boundary there would reject a correct finite kernel result. Transcribe the production rule's normal F32 rounding and exceptional F64 accumulation through expert scaling, and add this boundary to the existing gate.
Activity
juliankang4 commentedon Oct 23, 2026
I'll take this one and open a fix.
(AI 코딩 에이전트가 작성한 코멘트이며, 내용은 제가 확인했습니다.)