Skip to content

train 1126231309: #5202 #5257 #5264 (CI only) - #5266

Closed
ashhart wants to merge 11 commits into
mainfrom
lead/train-1126231309
Closed

ashhart wants to merge 11 commits into
mainfrom
lead/train-1126231309

Conversation

@ashhart

@ashhart ashhart commented Nov 26, 2026

Copy link
Copy Markdown
Owner

CI for a landing train: #5202 #5257 #5264 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.

Bizuayeu and others added 11 commits November 26, 2026 23:13
…ontract

ERNIE 5.5 rewrites its head's fp32 logits in place as x + t0 relu(r0 - x) + t1 relu(x - r1) + t2 relu(r2 - x)^2 +
t3 relu(x - r3)^2, with the four ranges and weights stored bf16. The vendor's Triton kernel turns fp fusion off, so
tf_ernie55_multimax (ernie5_5/head.cu, a new ernie5_5_head image) rounds each subtract, square, multiply and add once
in its order (__fsub_rn, __fmul_rn, __fadd_rn), and relu keeps NaN and makes -0 a +0 as torch.relu does.
ernie5_5/multimax.zig replays those fp32 steps on the host and gives float64's value; the contract asks each output
to be the replay's value at a decode row and a 16-row verify window over the 201,216-logit vocabulary and over a TP=2
rank's half, and gate 4 runs whole logits with whole ranges and power-of-two weights, where every step is exact. Two
planted controls, each term's multiply and add fused into an fma and the last term's square dropped, go red. Nothing
launches it yet. gradient-serving.tsv re-pins zig/src/cuda/kernels.zig.
…ts loader (#4860 D4, #2118)

weight_names.zig holds every dense tensor's name, shape and load order
(embeddings, backbone layers, tower, codebook heads) and the expert
name formatter; both loaders bind it with their own one/stack. Experts,
lm_head rows and residency stay per backend. A recording-loader test
pins all 561 reads; check-drama-codec-bindings compiles Metal's loader.
@ashhart ashhart closed this Nov 26, 2026
@ashhart ashhart reopened this Nov 26, 2026
@ashhart

ashhart commented Nov 27, 2026

Copy link
Copy Markdown
Owner Author

Landed: #5202 #5257 #5264 as main 0e90e84. This PR only carried their CI.

@ashhart ashhart closed this Nov 27, 2026
@ashhart
ashhart deleted the lead/train-1126231309 branch November 27, 2026 01:33
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