---
id: pr-sglang-12078
repo: sgl-project/sglang
pr: 12078
title: '[Ascend] qwen optimization'
author: Liwansi
date: '2025-11-25'
url: https://github.com/sgl-project/sglang/pull/12078
source_category: upstream-code
architectures:
- sm100
tags:
- attention
- kernel-fusion
- moe
- quantization
techniques:
- kernel-fusion
hardware_features: []
kernel_types:
- attention
- moe
- quantization
languages:
- python
- triton
captured_at: '2026-04-27'
status: merged
merge_sha: 432ecf841e261b6dcaacdf250a8691390b86558e
inclusion_reason: kernel file changes
changed_paths:
- docker/npu.Dockerfile
- python/sglang/srt/layers/attention/ascend_backend.py
- python/sglang/srt/layers/moe/ep_moe/layer.py
- python/sglang/srt/layers/moe/fused_moe_triton/layer.py
- python/sglang/srt/layers/moe/token_dispatcher/__init__.py
- python/sglang/srt/layers/moe/token_dispatcher/fuseep.py
- python/sglang/srt/layers/moe/topk.py
- python/sglang/srt/layers/moe/utils.py
- python/sglang/srt/layers/quantization/w8a8_int8.py
- python/sglang/srt/layers/rotary_embedding.py
- python/sglang/srt/model_executor/npu_graph_runner.py
- python/sglang/srt/models/qwen3.py
- python/sglang/srt/models/qwen3_moe.py
- python/sglang/srt/server_args.py
- python/sglang/srt/utils/common.py
- scripts/ci/npu_ci_install_dependency.sh
head_ref_oid: a2e5c5ac00cad334d0e7e0b519abd8688a6bd731
artifact_dir: evidence/pull-bundles/sglang/gh-12078
---
# [Ascend] qwen optimization

- Repository: `sgl-project/sglang`
- PR: [12078](https://github.com/sgl-project/sglang/pull/12078)
- Decision: `kernel file changes`
- Reason: kernel file changes

## Changed Paths

- `docker/npu.Dockerfile`
- `python/sglang/srt/layers/attention/ascend_backend.py`
- `python/sglang/srt/layers/moe/ep_moe/layer.py`
- `python/sglang/srt/layers/moe/fused_moe_triton/layer.py`
- `python/sglang/srt/layers/moe/token_dispatcher/__init__.py`
- `python/sglang/srt/layers/moe/token_dispatcher/fuseep.py`
- `python/sglang/srt/layers/moe/topk.py`
- `python/sglang/srt/layers/moe/utils.py`
- `python/sglang/srt/layers/quantization/w8a8_int8.py`
- `python/sglang/srt/layers/rotary_embedding.py`
- `python/sglang/srt/model_executor/npu_graph_runner.py`
- `python/sglang/srt/models/qwen3.py`
- `python/sglang/srt/models/qwen3_moe.py`
- `python/sglang/srt/server_args.py`
- `python/sglang/srt/utils/common.py`
- `scripts/ci/npu_ci_install_dependency.sh`

## Evidence Bundle

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