Repository navigation
[Model] Add LingBot World Ulysses sequence parallelism #6841
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
tzhouam
merged 19 commits into
vllm-project:main
from
wtz2333:codex/lingbot-world-sp-vae-parallel
Sep 11, 2026
+659
−45
Merged
Changes from all commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
5263a56
[Model] Add LingBot Ulysses sequence parallelism
wtz2333 e1a9b81
[Example] Expose LingBot World offline Ulysses option
wtz2333 5bbf6fa
[Bugfix] Isolate LingBot direct cache updates from torch.compile
wtz2333 b1a49f4
Revert "[Bugfix] Isolate LingBot direct cache updates from torch.comp…
wtz2333 b7efbf6
[Perf] Keep LingBot timestep modulation frame-sized
wtz2333 c5df9ad
[Bugfix] Reject unsupported LingBot advanced Ulysses mode
wtz2333 0a81c75
[Perf] Expand LingBot modulation only with Ulysses
wtz2333 dadcaf7
[Bugfix] Own compact LingBot text KV head shards
wtz2333 91990ed
[Bugfix] Validate LingBot SP input and output boundaries
wtz2333 ce4b110
[Test] Cover LingBot SP and TP with real collectives
wtz2333 719c4f1
[Test] Trim redundant LingBot SP coverage
wtz2333 674f7a0
[Test] Merge LingBot SP regression into transformer tests
wtz2333 d8db5f1
[Perf] Reduce LingBot SP communication and address review feedback
wtz2333 1018fca
[Refactor] Keep LingBot SP cache changes model-local
wtz2333 cee4448
[CI] Scope LingBot SP test routing to explicit commands
wtz2333 c019972
[CI] Revert LingBot changes to test-ready routing
wtz2333 4327313
[Bugfix] Reject unsupported LingBot Ulysses permute
wtz2333 b198b03
[Refactor] Use LingBot runtime KV head geometry
wtz2333 629a3de
Merge branch 'main' into codex/lingbot-world-sp-vae-parallel
tzhouam File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This stub discards
scatter_idxandgather_idxand returns the input unchanged, andget_sp_group()below pinsulysses_world_size=1. Combined, no CPU test executes any new SP code: everyif self.ulysses_world_size > 1branch is dead,shard_kv_headsalways early-returns, and the twonum_local_heads % ulysses_world_sizeValueErrors can never fire.The identity would also mask a genuine scatter/gather index inversion, which is the single easiest thing to get wrong in a Ulysses implementation.