Hardware
Supported devices
SGLang supports the following Ascend inference hardware:Throughout these docs, A2 Series and A3 Series are used as shorthand for the hardware above.
Docker image tags use
910b for the A2 Series and a3 for the A3 Series.
For example, cann9.0.0-910b-v0.5.16 and cann9.0.0-a3-v0.5.16.On the A3 Series, each card has 2 dies, giving 16 devices vs 8 on the A2 Series.
Benchmark pages use “Cards” to refer to physical cards, so Cards: 4 on the A3 Series means --tp-size 8.From a deployment perspective, the two key differences between the A2 Series and the A3 Series are:- dies per card — which drives both total memory and
--tp-sizeconfiguration - PD disaggregation — the A2 Series requires setting
export ASCEND_MF_TRANSFER_PROTOCOL="device_rdma", while the A3 Series uses the default protocol.
NPU
NPU stands for Neural Processing Unit. Each NPU device is a singledavinci core.
The terms “NPU” and “davinci” are used interchangeably in commands and error logs.
On the A2 Series, devices are numbered /dev/davinci0 through /dev/davinci7 (8 devices).
On the A3 Series, devices are numbered /dev/davinci0 through /dev/davinci15 (16 devices).
On either an A2 Series or an A3 Series server, run npu-smi info to view NPU information such as device
health, memory usage, and chip status. If the command is not found or reports no devices,
the driver is likely not installed. Follow the
Ascend driver installation guide
to install it.
Communication libraries
Quantization and precision
To apply quantization, use
--quantization modelslim for W8A8 INT8, or load a pre-quantized
checkpoint directly from a model hub.
Deployment terminology
Prefill-Decode (PD) disaggregation
PD disaggregation separates inference into two stages running on different nodes:- Prefill (P): Processes the entire input prompt at once. Compute-bound.
- Decode (D): Generates tokens one at a time. Memory-bandwidth-bound.
You will see these in Best Practice
section headings, e.g.,
W8A8 2P1D 32P means “W8A8 quantization, 2 prefill nodes +
1 decode node, 32 cards total.”
Parallelism strategies
Speculative decoding
Performance metrics
Model architecture terms
Other common abbreviations
Where to go next
- Quickstart — launch your first server
- Installation Guide — full installation with component version mapping
- Supported Features — per-parameter Ascend support status
- Supported Models — models verified on Ascend NPU
- Model Tutorials — step-by-step deployment guides
- Best Practice — benchmark configurations and results
