Skip to main content
This page covers the hardware concepts, communication libraries, deployment terminology, and common abbreviations you will encounter throughout the Ascend NPU documentation. Refer back here when you run into unfamiliar terms.

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:
  1. dies per card — which drives both total memory and --tp-size configuration
  2. 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 single davinci 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.
PD Mixed: Both stages run on the same set of nodes. 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