Skip to content

train 1125075720: #4934 (CI only) - #5007

Closed
ashhart wants to merge 5 commits into
mainfrom
lead/train-1125075720
Closed

ashhart wants to merge 5 commits into
mainfrom
lead/train-1125075720

Conversation

@ashhart

@ashhart ashhart commented Nov 25, 2026

Copy link
Copy Markdown
Owner

CI for a landing train: #4934 stacked on main in that order. Nothing merges from this PR: each PR above lands on its own once this tip is green, and this PR is then closed.

atakann and others added 5 commits November 25, 2026 07:57
moe_nvfp4_cuda.zig packs the build's ModelOpt per-expert tensors (gate and up [intermediate, latent], down
[latent, intermediate]) for core's grouped NVFP4 kernels (BF16 activations, W4A16) and runs them on grouped.zig's
plan with Hy4's SwiGLU clamp; the router, its top-k and the weighted sum are the EXL3 path's. A tensor stored wider
than the layer is refused, never sliced.

tf-cuda-test hy4-nvfp4-experts: 8 experts, 4 picks a row, 1 to 300 rows (the one-block and the wide plans), every
pair's gate-up and fp32 down FP64-bounded with the clamp crossed; a wider stored gate refused.
…t hy4-nvfp4-experts-ckpt)

One layer's 512 experts of atakans/Hy4-flash-NVFP4 load and pack; 64 rows of 16 picks run, the first 8 rows' 128
pairs are FP64-bounded and equal to the same rows in an 8-row run. Layer 1 passes on GB10.
…the widest run, poison the outputs before each run, and a planted flip shows the comparison finds it

The synthetic test runs 300 rows first; the gate-up and fp32 down of the 1, 5, 64, 255 and 256-row runs must equal
the same rows of that run byte for byte, with the FP64 bounds and the clamp check kept. Before every run the gate-up
and down buffers are filled with 0xFF (NaN), so a row a run leaves unwritten fails instead of showing the last run's
values; the checkpoint test's 8 and 64-row runs get the same. A planted control flips one bit in a 5-row copy of the
gate-up and checks that the comparison reports that byte. On GB10: the synthetic test and layers 1, 2 and 40 pass.
@ashhart

ashhart commented Nov 25, 2026

Copy link
Copy Markdown
Owner Author

Landed: #4934 as main aa80cd2. This PR only carried their CI.

@ashhart ashhart closed this Nov 25, 2026
@ashhart
ashhart deleted the lead/train-1125075720 branch November 25, 2026 09:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants