Skip to content

Support GlmMoeDsaForCausalLM#18521

Merged
Fridge003 merged 12 commits intosgl-project:mainfrom
JustinTong0323:support-glm-dsa
Feb 10, 2026
Merged

Support GlmMoeDsaForCausalLM#18521
Fridge003 merged 12 commits intosgl-project:mainfrom
JustinTong0323:support-glm-dsa

Conversation

@JustinTong0323
Copy link
Collaborator

Motivation

Modifications

Accuracy Tests

Benchmarking and Profiling

Checklist

Review Process

  1. Ping Merge Oncalls to start the PR flow. 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.
    • /tag-run-ci-label, /rerun-failed-ci, /tag-and-rerun-ci
  4. After green CI and required approvals, ask Merge Oncalls to merge.

JustinTong0323 and others added 11 commits February 5, 2026 08:10
…_style parameter. Refactor rope parameter handling in DeepseekV2DecoderLayer for improved configuration flexibility.

Signed-off-by: Xinyuan Tong <xinyuantong.cs@gmail.com>
Signed-off-by: Xinyuan Tong <xinyuantong.cs@gmail.com>
…d compatibility with transformers v5. Simplified scaling calculations and ensured backward compatibility with updated rope parameters.

Signed-off-by: Xinyuan Tong <xinyuantong.cs@gmail.com>
Signed-off-by: Xinyuan Tong <xinyuantong.cs@gmail.com>
Signed-off-by: Xinyuan Tong <xinyuantong.cs@gmail.com>
…chanism behavior

This change introduces the SGLANG_NSA_FORCE_MLA environment variable, allowing users to force the Native Sparse Attention backend to use the MLA implementation by disabling the MHA_ONE_SHOT option. This update enhances flexibility in attention mechanism configuration.

Co-authored-by: Xiaoyu Zhang <35585791+BBuf@users.noreply.github.com>
Signed-off-by: Xinyuan Tong <xinyuantong.cs@gmail.com>
…ith transformers v5. Updated condition checks for rope_type and improved clarity in scaling calculations.

Signed-off-by: Xinyuan Tong <xinyuantong.cs@gmail.com>
Signed-off-by: Xinyuan Tong <xinyuantong.cs@gmail.com>
Signed-off-by: BBuf <1182563586@qq.com>
@gemini-code-assist
Copy link
Contributor

Warning

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

@JustinTong0323
Copy link
Collaborator Author

/tag-and-rerun-ci

@Fridge003 Fridge003 merged commit 398b81f into sgl-project:main Feb 10, 2026
79 of 100 checks passed
Johnsonms pushed a commit to Johnsonms/sglang that referenced this pull request Feb 14, 2026
Signed-off-by: Xinyuan Tong <xinyuantong.cs@gmail.com>
Signed-off-by: BBuf <1182563586@qq.com>
Co-authored-by: Xiaoyu Zhang <35585791+BBuf@users.noreply.github.com>
Co-authored-by: BBuf <1182563586@qq.com>
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