Skip to content

train 1121093910: #4009 (CI only) - #4345

Closed
ashhart wants to merge 5 commits into
mainfrom
lead/train-1121093910
Closed

ashhart wants to merge 5 commits into
mainfrom
lead/train-1121093910

Conversation

@ashhart

@ashhart ashhart commented Nov 21, 2026

Copy link
Copy Markdown
Owner

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

BadAd84 and others added 5 commits November 21, 2026 09:39
…ne pool call

A round's shared pass called the n-gram gather once a stream, so the
distinct-row read, the row dequantization and the parked readers all ran a
stream at a time. cuda_ple_gather_lanes.zig hashes every lane's tokens from
that lane's own history into one id array and fills the lanes' consecutive
slices of the pass's buffers in one call, with the distinct-row gather and
the pool shared by the pass. One lane, 65 lanes and more, and the switch off
(TF_FLASHNEXT_GATHER_EARLY, default 0) all keep the per-stream call.

Every row is the per-stream call's: the same ids from the same history, the
same one-row dequantization, the same group sums, and each stream's history
moved past its own rows. The tests compare both table formats against
successive per-lane rows calls, byte for byte in out, xs and the history,
with lanes whose ids collide across the call, and pin the lane bound.
Keep main e172bcc and its prompt/scratch
changes while carrying the pooled gather. Retake the combined state
source identity; leave the unchanged batch identity and checker intact.
@ashhart ashhart closed this Nov 21, 2026
@ashhart ashhart reopened this Nov 21, 2026
@ashhart

ashhart commented Nov 21, 2026

Copy link
Copy Markdown
Owner Author

CI red on this tip (zig-windows); the PRs land the usual way.

@ashhart ashhart closed this Nov 21, 2026
@ashhart
ashhart deleted the lead/train-1121093910 branch November 21, 2026 12:08
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.

2 participants