This page covers only the simplest deployment flow using the official container image. For the complete installation guide
across all scenarios (source install, Docker build, system settings, version mapping, etc.),
see SGLang installation with NPUs support.
Prerequisites
Supported Devices
- Atlas 800I A2 inference series (Atlas 800I A2)
- Atlas 800I A3 inference series (Atlas 800I A3)
npu-smi info -l: A3 reports Chip Count: 2 per NPU, while A2 reports Chip Count: 1 per NPU.
For hardware details, see the Ascend NPU Reference.
Docker
Ensure Docker is installed and the Docker daemon is running on your host machine. Verify with:Setup environment using container
If you have already downloaded model weights to a local path (e.g.,/path/to/model), mount the path into the container by
adding --volume /path/to/model:/path/to/model to the docker run command below.
- Atlas 800I A3
- Atlas 800I A2
Command
Usage
The SGLang server is installed in the container by default. You can usepip show sglang to check the version.
Start SGLang server
SGLang will automatically download the model from Hugging Face. If the model is already downloaded to a local path (and has been mounted into the container), use that path directly like--model-path /path/to/model.
Command
Output
Send a test request
You can do inference using the server:Command
Stop server and exit container
The SGLang server is running as a background process. You can send aSIGINT signal to stop it.
Command
Output
ps -ef | grep sglang — the expected output is nothing (no matching process),
then exit the container by pressing Ctrl+D.