Repository navigation
Conversation
TF_DFLASH_QL_SPAN=1 drafts a ModelOpt head over the two vocabulary spans, as the .a4 and .x3 heads already do. It is off by default. The views read the stored 64-row tiles and keep the whole head's K slices. Unpinned, the 320-row tail would sum in eight slices instead of one. BF16, MXFP8, FP8G and FP8 with an input scale stay on the whole head. The target still verifies against the whole head.
TF_DFLASH_GRAPH=1 replays the drafter's launches from CUDA graphs, with the same kernels and arguments in the same order. It is off by default. A hold graph is keyed by stream count, spanned head and projection role. An absorb graph is keyed by accepted rows and gather kind. Its gather, rope and ring nodes take this round's position and ring addresses before each launch. Prompt chunks and absorbs over 16 rows stay eager. Startup timing stays eager, so window planning sees the same step cost. Resizing the scratch drops every graph. A driver refusal falls back to the eager launches.
Owner
Author
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.
CI for a landing train: #4516 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.