---
id: pr-sglang-22774
repo: sgl-project/sglang
pr: 22774
title: '[MUSA][16/N] Add MUSA backend support for layers and DeepSeek models (V2/V3/R1)'
author: popsiclexu
date: '2026-04-24'
url: https://github.com/sgl-project/sglang/pull/22774
source_category: upstream-code
architectures:
- sm100
tags: []
techniques: []
hardware_features: []
kernel_types: []
languages: []
captured_at: '2026-05-16'
status: merged
merge_sha: b35213be11c7b49c8f375e9c583bb5a47f9b88f9
inclusion_reason: defer
changed_paths:
- python/sglang/srt/environ.py
- python/sglang/srt/layers/activation.py
- python/sglang/srt/layers/deep_gemm_wrapper/compile_utils.py
- python/sglang/srt/layers/deep_gemm_wrapper/configurer.py
- python/sglang/srt/layers/deep_gemm_wrapper/entrypoint.py
- python/sglang/srt/layers/layernorm.py
- python/sglang/srt/layers/moe/ep_moe/kernels.py
- python/sglang/srt/layers/moe/moe_runner/deep_gemm.py
- python/sglang/srt/layers/moe/moe_runner/triton_utils/fused_moe.py
- python/sglang/srt/layers/moe/moe_runner/triton_utils/moe_align_block_size.py
- python/sglang/srt/layers/moe/topk.py
- python/sglang/srt/layers/quantization/fp8.py
- python/sglang/srt/layers/quantization/fp8_kernel.py
- python/sglang/srt/layers/quantization/fp8_utils.py
- python/sglang/srt/layers/quantization/unquant.py
- python/sglang/srt/layers/sampler.py
- python/sglang/srt/models/deepseek_common/attention_forward_methods/forward_mha.py
- python/sglang/srt/models/deepseek_common/attention_forward_methods/forward_mla.py
- python/sglang/srt/models/deepseek_common/deepseek_weight_loader.py
- python/sglang/srt/models/deepseek_common/utils.py
- python/sglang/srt/models/deepseek_v2.py
- python/sglang/srt/observability/scheduler_metrics_mixin.py
- python/sglang/srt/server_args.py
- python/sglang/srt/speculative/eagle_utils.py
- python/sglang/srt/speculative/eagle_worker.py
- python/sglang/srt/speculative/spec_utils.py
- python/sglang/srt/utils/common.py
artifact_dir: evidence/pull-bundles/sglang/gh-22774
head_ref_oid: 397c3a0bee8a5fdc0eeece913da66107278dc9b2
---
# [MUSA][16/N] Add MUSA backend support for layers and DeepSeek models (V2/V3/R1)

- Repository: `sgl-project/sglang`
- PR: [22774](https://github.com/sgl-project/sglang/pull/22774)
- Decision: `defer`
- Reason: defer

## Changed Paths

- `python/sglang/srt/environ.py`
- `python/sglang/srt/layers/activation.py`
- `python/sglang/srt/layers/deep_gemm_wrapper/compile_utils.py`
- `python/sglang/srt/layers/deep_gemm_wrapper/configurer.py`
- `python/sglang/srt/layers/deep_gemm_wrapper/entrypoint.py`
- `python/sglang/srt/layers/layernorm.py`
- `python/sglang/srt/layers/moe/ep_moe/kernels.py`
- `python/sglang/srt/layers/moe/moe_runner/deep_gemm.py`
- `python/sglang/srt/layers/moe/moe_runner/triton_utils/fused_moe.py`
- `python/sglang/srt/layers/moe/moe_runner/triton_utils/moe_align_block_size.py`
- `python/sglang/srt/layers/moe/topk.py`
- `python/sglang/srt/layers/quantization/fp8.py`
- `python/sglang/srt/layers/quantization/fp8_kernel.py`
- `python/sglang/srt/layers/quantization/fp8_utils.py`
- `python/sglang/srt/layers/quantization/unquant.py`
- `python/sglang/srt/layers/sampler.py`
- `python/sglang/srt/models/deepseek_common/attention_forward_methods/forward_mha.py`
- `python/sglang/srt/models/deepseek_common/attention_forward_methods/forward_mla.py`
- `python/sglang/srt/models/deepseek_common/deepseek_weight_loader.py`
- `python/sglang/srt/models/deepseek_common/utils.py`
- `python/sglang/srt/models/deepseek_v2.py`
- `python/sglang/srt/observability/scheduler_metrics_mixin.py`
- `python/sglang/srt/server_args.py`
- `python/sglang/srt/speculative/eagle_utils.py`
- `python/sglang/srt/speculative/eagle_worker.py`
- `python/sglang/srt/speculative/spec_utils.py`
- `python/sglang/srt/utils/common.py`

## Evidence Bundle

`evidence/pull-bundles/sglang/gh-22774`
