[DeepSeek v3.2][Bugfix] get_index_k_scale_buffer support cp - #18280
Merged
Merged
Conversation
xu-yfei
requested review from
Fridge003,
Qiaolin-Yu,
hebiao064,
ispobock and
merrymercy
as code owners
February 5, 2026 03:47
Contributor
|
Warning You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again! |
Contributor
Author
|
@Fridge003 Could you please review this PR? |
Collaborator
|
@xu-yfei What's your launching command for accuracy test? |
Fridge003
approved these changes
Feb 5, 2026
Collaborator
|
/tag-and-rerun-ci |
Contributor
Author
|
xu-yfei
requested review from
HaiShaw,
hlu1,
hubertlu-tw and
kkHuang-amd
as code owners
March 16, 2026 03:19
Collaborator
|
/rerun-failed-ci |
5 tasks
Collaborator
|
/rerun-failed-ci |
1 similar comment
Collaborator
|
/rerun-failed-ci |
Wangzheee
pushed a commit
to Wangzheee/sglang
that referenced
this pull request
Mar 21, 2026
JustinTong0323
pushed a commit
to JustinTong0323/sglang
that referenced
this pull request
Apr 7, 2026
Chronostasys
pushed a commit
to MindLab-Research/sglang
that referenced
this pull request
Aug 24, 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.
Motivation
Fix PR #16043 #19319 Prefill CP scenario bug. In the DeepSeek V3.2 prefill with CP (context parallel) scenario,
forward_batch.seq_lensandforward_batch.seq_lens_cpuare global information. A request may have fewer than 8 tokens in one chunk, so it will not be assigned to a specific CP rank. In this case, useget_indexer_seq_lens_cpuandget_indexer_seq_leninstead.Modifications
Accuracy Tests
Benchmarking and Profiling
Checklist
Review Process
/tag-run-ci-label,/rerun-failed-ci,/tag-and-rerun-ci