Skip to content

train 1126210634: #5053 #5063 (CI only) - #5260

Closed
ashhart wants to merge 8 commits into
mainfrom
lead/train-1126210634
Closed

ashhart wants to merge 8 commits into
mainfrom
lead/train-1126210634

Conversation

@ashhart

@ashhart ashhart commented Nov 26, 2026

Copy link
Copy Markdown
Owner

CI for a landing train: #5053 #5063 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.

IF-YFXJ and others added 8 commits November 26, 2026 21:06
Keep the device support fallback aligned with release_sms so the No GPU test-device checks see the same CUDA target set.
Routed experts over EXL3 trellises now run on Metal: main's route plan,
tf_exl3_rotate_in per (token, expert) pair, new slot kernels for gate/up
and down (tf_dsv41_x3_up, tf_dsv41_x3_down) in which a lane owns a column
and adds each pair's products in tf_exl3_matmul_row's order, an epilogue
(tf_dsv41_x3_act) that rotates gate and up out to bf16 and applies the
MXFP4 lane's clamped SwiGLU and route weight, tf_exl3_rotate_out into the
MXFP4 lane's per-pair layout, and main's combine. Experts may differ in
width and codebook.

A new serial reference (experts_exl3_ref.zig) composes the one-row
reference's dot per pair with flush-to-zero fp32 rotations, main's
clamped SwiGLU and main's combine; the kernel contract holds every slot
sum, act, expert output and combined row bit-equal to it at 1 to 16 rows
and at V4.1's sizes, each pair's sums equal to tf_exl3_matmul_row run on
that pair alone, with two planted controls (the TwoSum error term dropped,
the route weight dropped).
…through contract.register

check returns error.ShortExpertTable when a table holds fewer descriptors than the call's experts, before any launch, so no pair leaves a row the combine reads unwritten. test-dsv41-exl3-contract poisons the outputs and holds them untouched on refusal and fully written with the full table, and fails each allocation of the suite's create in turn.
The up registration with TwoSum's error term dropped goes red at shapes (a slot sum differs at 1 x 256 x 1024), so every new kernel has a negative control.
@ashhart

ashhart commented Nov 26, 2026

Copy link
Copy Markdown
Owner Author

Landed: #5053 #5063 as main 1a3a10d. This PR only carried their CI.

@ashhart ashhart closed this Nov 26, 2026
@ashhart
ashhart deleted the lead/train-1126210634 branch November 26, 2026 23:20
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.

3 participants