Repository navigation
spark-model: remove shared prefill stalls and redundant copies - #448
Open
maplepaladin73 wants to merge 3 commits into
Open
maplepaladin73 wants to merge 3 commits into
maplepaladin73 wants to merge 3 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>
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
5 of 6 tasks
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
Cache hot-path prefill environment flags, remove diagnostic prefill stream synchronizations, avoid redundant prefill copies where projection kernels already write their destinations, and warn when the inert qwen4exp W4A4 prefill flag is set.
Closes #
Test plan
cargo fmt --all -- --checkATLAS_SKIP_BUILD=1 CUDARC_CUDA_VERSION=13000 cargo clippy --workspace --testsbash scripts/check-license-headers.shNotes for reviewers
This is a performance-sensitive runtime path. Host-side validation passes, but it still needs GPU A/B validation before merge. The local test binary cannot link on a CUDA-less host because the CUDA stub lacks
cuCtxGetStreamPriorityRangeandcuStreamCreateWithPriority.CLA