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 and A3 are used as shorthand for the hardware above. Docker image tags use 910b for A2 and a3 for A3. For example, v0.5.13.post1-cann9.0.0-910b and v0.5.13.post1-cann9.0.0-a3.On A3, each card has 2 dies, giving 16 devices vs 8 on A2. Benchmark pages use “Cards” to refer to physical cards, so Cards: 4 on A3 means --tp-size 8.From a deployment perspective, the two key differences between A2 and A3 are:
  1. dies per card — which drives both total memory and --tp-size configuration
  2. PD disaggregation — A2 requires setting export ASCEND_MF_TRANSFER_PROTOCOL="device_rdma", while A3 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 A2, devices are numbered /dev/davinci0 through /dev/davinci7 (8 devices). On A3, devices are numbered /dev/davinci0 through /dev/davinci15 (16 devices). On either an A2 or A3 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