Skip to content

glm cuda: dependent launches follow one capability and global policy - #4321

Merged
ashhart merged 4 commits into
mainfrom
lead/glm-pdl-policy
Nov 21, 2026
Merged

ashhart merged 4 commits into
mainfrom
lead/glm-pdl-policy

Conversation

@ashhart

@ashhart ashhart commented Nov 21, 2026

Copy link
Copy Markdown
Owner

GLM on CUDA: dependent launches (PDL) now follow one policy everywhere.

  • The compute capability is bound before the lane, KDA and matmul modules cache their PDL choice. Below compute capability 9.0, dependent launches stay off even when asked for, as the hardware requires. At 9.0 and up the default is unchanged (on), and TF_GLM_PDL=0 still turns them off everywhere.
  • The Q4 draft-head matmul launch was the one path that used ks.gb10 alone. It now also checks the global policy, so TF_GLM_PDL=0 makes it a plain launch too. On GB10 with the default setting it stays dependent, as before.

Default behaviour on GB10 does not change.

Tests: zig build test-glm-pdl-policy-host test-glm-q4-pdl-host covers pre-sm90 rejection, the sm90 default, explicit off, and the Q4 launch ABI with the GB10 selector simulated. Both fail on main and pass here. No GPU run.

  • Synthena

@ashhart
ashhart force-pushed the lead/glm-pdl-policy branch from d83ecfb to 789fe28 Compare November 21, 2026 20:06
@ashhart
ashhart merged commit a1e46b9 into main Nov 21, 2026
11 checks passed
@ashhart
ashhart deleted the lead/glm-pdl-policy branch November 21, 2026 20:06
ashhart added a commit that referenced this pull request Nov 22, 2026
Unreleased: the five (#N) placeholders get their PR numbers, the two (#PR)
duplicates go, #3192's line goes (#4427 replaced that behaviour on main and
its line refs #3192), #3960 is named as the PR that landed #2799, and the
penalty under --instruct-sampling card; ?token= Web addresses and pull's
digest and size checks).

Sixteen PRs merged 20-21 Nov with no line anywhere: a blank lines file
replaced each PR's own line at landing. #4321 and #4322 go under
Unreleased, the twelve that shipped in 1.3.3 under 1.3.3, and the two
1.3.1 lines that carried no PR number get #3941 and #4022.

docs/environment.md: Flash Next checks 37 settings, and TF_GLM_INDEX_SPLIT
(registered by #4510) gets its row.
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.

1 participant