Skip to content

train 1119200055: #3705 #3726 (CI only) - #4060

Closed
ashhart wants to merge 7 commits into
mainfrom
lead/train-1119200055
Closed

ashhart wants to merge 7 commits into
mainfrom
lead/train-1119200055

Conversation

@ashhart

@ashhart ashhart commented Nov 19, 2026

Copy link
Copy Markdown
Owner

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

jschmied and others added 7 commits November 19, 2026 20:00
…d-built copy

GLM's CUDA sampler redeclared sample.cu's Rule and filled it by hand (near 20.0 literal), as MiniMax M3
did before #2680. It now takes cuda.sample.Rule and cuda.sample.rule, which reach the core rule through
lanes.Sampling.gpuRule. Byte-equal: a host test checks the old hand-built rule against rule and ruleFor
over a 4,500-setting grid; the greedy gate (check) is ruleFor's.
The default pass held 1,536 rows while another stream decoded, so a long prompt ran in
passes of 1,536 and each lane admitted 1,536 rows a pass. It holds 3,072 now: a long prompt
takes about half the passes, and each one holds twice the rows.

A row's bits do not depend on how many rows a pass holds. splitK reads the weight's shape
alone, planSlices gives both sizes the fused plan with one K-slice order because the fused
floor is 256 rows, and every other prompt kernel computes a row from its own inputs and its
absolute position. The change moves launch grouping and the pass's device scratch, not the
arithmetic.

The scratch at the default grows with the rows, so the test that bounded it at two gigabytes
bounds it at three and names the default it prices. The startup line's default pass and the
serving pin file follow, and a server started at one stream keeps its 8,192-row passes, so
only a server with more than one stream changes.
…tests and docs

The empty-setting test expected 1536 and the environment table, its help and the recipe still named it as the default.
The test now expects default_chunk for an empty setting and keeps an explicit 1536 case.
@ashhart

ashhart commented Nov 19, 2026

Copy link
Copy Markdown
Owner Author

Landed: #3705 #3726 as main bc99bab. This PR only carried their CI.

@ashhart ashhart closed this Nov 19, 2026
@ashhart
ashhart deleted the lead/train-1119200055 branch November 19, 2026 22:50
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