Repository navigation
spark-model: remove redundant paged prefill work - #460
Open
maplepaladin73 wants to merge 2 commits into
Open
maplepaladin73 wants to merge 2 commits into
maplepaladin73 wants to merge 2 commits into
Conversation
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Contributor
|
AMD A/B (DevLab strix-hip gfx1151, this PR merged onto main 585c8fa, Qwen3.8-27B-NVFP4, C=1, 64K, thinking off; control = main on the same day):
Neutral on AMD and safe there. Prefill 2K/8K/16K exercises multi-chunk prefill, but only the short greedy prompts are hashed. Still needs the GB10 A/B the PR description asks for before merge. |
This branch has not been deployed
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.
Summary
Remove pure duplicated work and unreachable dispatch from the standard paged prefill continuation path. Unreachable MLA-only continuation arms are removed after the MLA early return, and the pre-V-GEMM memset is removed because every projection path writes the complete V region before use.
No model support or reachable MLA path is removed. The SSM direct-staging cleanup is intentionally left in #448 so this PR does not overlap it.
Test plan
cargo fmt --all -- --checkATLAS_SKIP_BUILD=1 CUDARC_CUDA_VERSION=13000 cargo clippy --workspace --testsbash scripts/check-license-headers.shtyposNotes for reviewers
Hardware A/B validation is still required before merge, especially for V-cache correctness on chunk 1+ after removing the defensive memset.
CLA