[Kernel][SM70] Accelerate Qwen3.8 QSA paged prefill - #378
Merged
yangzhuxinyzx merged 8 commits intoAug 28, 2026
Merged
Conversation
Signed-off-by: yangzhuxinyzx <153831768+yangzhuxinyzx@users.noreply.github.com>
Signed-off-by: yangzhuxinyzx <153831768+yangzhuxinyzx@users.noreply.github.com>
Signed-off-by: yangzhuxinyzx <153831768+yangzhuxinyzx@users.noreply.github.com>
Signed-off-by: yangzhuxinyzx <153831768+yangzhuxinyzx@users.noreply.github.com>
Signed-off-by: yangzhuxinyzx <153831768+yangzhuxinyzx@users.noreply.github.com>
Signed-off-by: yangzhuxinyzx <153831768+yangzhuxinyzx@users.noreply.github.com>
Signed-off-by: yangzhuxinyzx <153831768+yangzhuxinyzx@users.noreply.github.com>
…-latest-main-20260828-1308 [Kernel][SM70] Repair #378 on latest main
Contributor
Author
yangzhuxinyzx
marked this pull request as ready for review
August 28, 2026 05:32
4 tasks
This was referenced Sep 4, 2026
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.
Purpose
Accelerate Qwen3.8 selected sparse prefill on SM70/V100 by exposing each four-token QSA selection as a zero-copy Flash-V100 XQA page while preserving task-relevant numerical quality.
Changes
VLLM_SM70_QSA_XQA_PAGE4=0as an operational escape hatch.Test Result
15 passed.sm_70.27.8303 -> 8.84736 msincluding table/sort (3.1456x); max abs6.104e-5, relative L22.845e-4, cosine0.99999994, all finite.3.815e-6, relative L23.645e-4, cosine1.0.3.64e-4, cosine at least0.99999988.3.815e-6, relative L23.631e-4, cosine0.99999994; CUDA Graph replay is bitwise equal to eager output.29.225 -> 1.010 ms(28.95x)27.063 -> 3.204 ms(8.45x)27.835 -> 11.203 ms(2.48x)3.84e-4, cosine at least0.999999949b4c76f8420d6e349dc7d552c72d6f0a861332e7e8e8f62459a1c48f0faf278f.3.03e-5/4.10e-5.Decision
The route is materially faster across short, medium, and saturated selected contexts, and its differences are small accumulation/order effects rather than quality regressions. It remains default-on under the project policy.
Repair chain: #382. Final candidate head:
7c4c795f5db1542ef0e496d3215afaef04b00d9f; tree:a6d9af1056de0db77294f2209f86c39e24eb5def.