Skip to content

support LongCat 2.0 - #30202

Closed
sjqgogogogo wants to merge 1 commit into
sgl-project:mainfrom
HarryWu99:feature/longcat_2.0_migrate
Closed

sjqgogogogo wants to merge 1 commit into
sgl-project:mainfrom
HarryWu99:feature/longcat_2.0_migrate

Conversation

@sjqgogogogo

@sjqgogogogo sjqgogogogo commented Jul 6, 2026 •

Copy link
Copy Markdown
Contributor

Motivation

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 #28766023588
Latest PR Test (Extra): ❌ Run #28766023574

@gemini-code-assist

Copy link
Copy Markdown
Contributor

Warning

You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again!

out_req_lens: torch.Tensor
# Mask marking chunked (not-yet-finished) prefill requests whose sampled
# pseudo next-token must NOT be written into the token table.
skip_mask: Optional[torch.Tensor] = None

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: can we make this naming clearer? for example, ne_skip_token_table_update is clear for the use case

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Addressed in #30275 by renaming the NgramEmbeddingInfo field to skip_token_table_update and keeping ScheduleBatch.ne_skip_token_table_update as the scheduler-facing field.

num_embeddings=self.exclusive_oe_embedder_size_sums[-1],
embedding_dim=oe_hidden_dim,
enable_tp=is_dp_attention_enabled(),
enable_tp=True,

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why only change this for oe_embeder while word_embeder not changed?

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Addressed in #30275 by making word_embeder and oe_embeder use the same vocab-parallel TP setup (use_attn_tp_group=is_dp_attention_enabled()), matching the normal LongCat embedding path instead of only changing the OE embedder.

@BBuf BBuf mentioned this pull request Jul 6, 2026
4 of 5 tasks
@github-actions

github-actions Bot commented Oct 7, 2026

Copy link
Copy Markdown
Contributor

Thanks @sjqgogogogo. Closing this because it has had no updates in 91 days.

Reopen it if the work is still relevant.

Some directories moved recently, so an older branch may need retargeting:
sgl-kernel/ -> python/sglang/kernels/aot/, python/sglang/jit_kernel/
-> python/sglang/kernels/jit/, docs/ -> docs/docs/ (.mdx),
bench_serving.py -> benchmark/serving.py, test/srt/ -> test/registered/.

@github-actions github-actions Bot closed this Oct 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants