Repository navigation
glm cuda decode: opt-in wide expert down tile for windows over 16 rows - #4565
Merged
Merged
Conversation
ashhart
force-pushed
the
lead/glm-wide-expert-tile
branch
from
November 23, 2026 12:28
a3aa9c6 to
adfc7f0
Compare
ashhart
force-pushed
the
lead/glm-wide-expert-tile
branch
from
November 24, 2026 00:10
adfc7f0 to
8e97bf6
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What this changes
For factored GLM decode windows wider than 16 rows (copy or tree windows), the routed experts' down projection used a narrower tile than the 64-pair gate-up plan, so experts with more than 16 rows re-read their down weights. With
TF_GLM_WIDE_EXPERT_TILE=1, windows of 17 rows and more use the existing 64-pair factored down (tf_nvfp4_fact_down_f32), matching gate-up. Each output keeps the same group order and per-fragment accumulator, so bits are unchanged. 16 rows and fewer keep today's path.Checks
compile-cuda-tests(host runner only); fmt, ast-check.Still to run
GB10: the contract cell, then two-GB10 decode A/B with copy-heavy code at one stream, tokens compared (kill under +1%).