Skip to content

[qwen next] Fuse QSA KV preparation and sparse block expansion - #40972

Merged
Qiaolin-Yu merged 4 commits into
mainfrom
qsa-fused-kv-prepare
Sep 30, 2026
Merged

Qiaolin-Yu merged 4 commits into
mainfrom
qsa-fused-kv-prepare

Conversation

@Qiaolin-Yu

@Qiaolin-Yu Qiaolin-Yu commented Sep 23, 2026 •

Copy link
Copy Markdown
Collaborator

Motivation

before,
image
after,
image

Modifications

Accuracy Tests

Speed Tests and Profiling

Checklist

Review and Merge Process

  1. Ping Merge Oncalls to start the process. See the PR Merge Process.
  2. Get approvals from CODEOWNERS and other reviewers.
  3. Trigger CI tests with comments or contact authorized users to do so.
    • Common commands include /tag-and-rerun-ci, /tag-run-ci-label, /rerun-failed-ci
  4. After green CI and required approvals, ask Merge Oncalls or people with Write permission to merge the PR.

CI States

Latest PR Test (Base): ❌ Run #36622133756
Latest PR Test (Extra): ❌ Run #36622133257
Latest PR Test (AMD ROCm 10): ❌ Run #36622133710

Comment thread python/sglang/srt/layers/attention/qwen_sparse_attn_backend.py Outdated
Comment thread python/sglang/srt/layers/attention/qwen_sparse_attn_backend.py
Comment thread python/sglang/srt/layers/attention/qsa/qsa_indexer.py Outdated
@Qiaolin-Yu
Qiaolin-Yu requested a review from YAMY1234 September 28, 2026 20:03
@Qiaolin-Yu Qiaolin-Yu added run-ci CI: run the baseline test suite on this PR bypass-fail-fast CI: a failing job no longer aborts its siblings (lint still gates) labels Sep 28, 2026
@Qiaolin-Yu

Copy link
Copy Markdown
Collaborator Author

/tag-and-rerun-ci

@Qiaolin-Yu
Qiaolin-Yu merged commit 88f95f4 into main Sep 30, 2026
344 of 374 checks passed
@Qiaolin-Yu
Qiaolin-Yu deleted the qsa-fused-kv-prepare branch September 30, 2026 04:54
arathi-hlab added a commit to arathi-hlab/sglang that referenced this pull request Sep 30, 2026
sgl-project#40972 passes defer_expansion to select_decode_tokens and updated the
CUDA test's _DispatchIndexer but not this XPU copy, so it raised
TypeError in stage-a.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bypass-fail-fast CI: a failing job no longer aborts its siblings (lint still gates) run-ci CI: run the baseline test suite on this PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants