inference-xpu-pytorch 25.08
These are the release notes for inference-xpu-pytorch 25.08.
Main features and bug fixes
Main features
Upgraded the PPU SDK in the base image to v1.6.0.
Added support for flashinfer 0.2.6.post1.
Bug fixes
Fixed an issue in the 25.07 SGLang image where the
generateAPI returned incorrect inference responses.Fixed a deployment failure for the Qwen2.5-VL-32B-Instruct-AWQ model in the 25.07 vLLM image.
Contents
inference-xpu-pytorch | inference-xpu-pytorch | |
Image tag | 25.08-v1.6.0-vllm0.9.1-torch2.7-cu128-20250815 | 25.08-v1.6.0-sglang0.4.7-torch2.7-cu128-20250811 |
Use case | LLM inference | LLM inference |
Framework | pytorch | pytorch |
Requirements | PPU SDK v1.6.0 | PPU SDK v1.6.0 |
System components |
|
|
Image assets
We recommend that you accelerate AI container image pulls over VPC to reduce pull times.
Public images
egslingjun-registry.cn-wulanchabu.cr.aliyuncs.com/egslingjun/inference-xpu-pytorch:25.08-v1.6.0-vllm0.9.1-torch2.7-cu128-20250815
egslingjun-registry.cn-wulanchabu.cr.aliyuncs.com/egslingjun/inference-xpu-pytorch:25.08-v1.6.0-sglang0.4.7-torch2.7-cu128-20250811
VPC images
acs-registry-vpc.{region-id}.cr.aliyuncs.com/egslingjun/{image:tag}
{region-id}is the ID of the region where your Container Service for Kubernetes (ACK) cluster is located, such ascn-beijingorcn-wulanchabu.{image:tag}is the actual image name and tag.
Performance evaluation
We tested vLLM's online inference throughput by finding the maximum concurrency that meets the following conditions: Time to First Token (TTFT) below 3s and Time Per Output Token (TPOT) below 100ms.
vllm0.9.1:
This release restores the single-node Output Token Throughput for the DeepSeek-R1-bf16 model, which had regressed in version 25.07.
The single-node Output Token Throughput of the DeepSeek-R1-W8A8 model is 197% that of the bf16 model.
Quick start
The following example shows how to pull the inference-xpu-pytorch image using Docker and test the inference service with the Qwen2.5-7B-Instruct model.
To use the inference-xpu-pytorch image in Container Service for Kubernetes (ACK), you can select it from the artifact center page when you create a workload in the Console, or specify the image reference in a YAML file.
For instructions on using XPU large model inference images in an ACK environment, see Guide to using LLM large model inference images in ACK clusters.
For instructions on deploying the DeepSeek inference service in an ACK environment, see Quickly deploy DeepSeek V3/R1 inference service on PPU in ACK.
Pull the inference image.
docker pull egslingjun-registry.cn-wulanchabu.cr.aliyuncs.com/egslingjun/inference-xpu-pytorch:[tag]Download the open-source model in ModelScope format.
pip install modelscope cd /mnt modelscope download --model Qwen/Qwen2.5-7B-Instruct --local_dir ./Qwen2.5-7B-InstructRun the following command to start and enter the container.
docker run -d -t --network=host --privileged --init --ipc=host \ --ulimit memlock=-1 --ulimit stack=67108864 \ -v /mnt/:/mnt/ \ egslingjun-registry.cn-wulanchabu.cr.aliyuncs.com/egslingjun/inference-xpu-pytorch:[tag]Run an inference test to verify the conversational inference feature of vLLM.
Start the server.
python3 -m vllm.entrypoints.openai.api_server \ --model /mnt/Qwen2.5-7B-Instruct \ --trust-remote-code --disable-custom-all-reduce \ --tensor-parallel-size 1Run a test on the client.
curl http://localhost:8000/v1/chat/completions \ -H "Content-Type: application/json" \ -d '{ "model": "/mnt/Qwen2.5-7B-Instruct", "messages": [ {"role": "system", "content": "You are a friendly AI assistant."}, {"role": "user", "content": "Tell me about deep learning."} ]}'The following output is returned:

For more information about using vLLM, see the vLLM documentation.
Usage recommendations
Quantization capabilities
DeepSeek R1 (671B):
vLLM 0.9.1: Supports per-token/per-channel a8w8 (int8), AWQ (w4a16), and GPTQ (w4a16, w8a16) quantization schemes.
SGLang 0.4.7: Supports per-token/per-channel a8w8 (int8), AWQ (w4a16), and GPTQ (w4a16, w8a16) quantization schemes. Running an a8w8 (int8) quantized model requires the
--quantization w8a8_int8option.
Qwen3:
vLLM 0.9.1: Supports per-token/per-channel a8w8 (int8), AWQ (w4a16), and GPTQ (w4a16, w8a16) quantization schemes.
SGLang 0.4.7: Supports per-token/per-channel a8w8 (int8), AWQ (w4a16), and GPTQ (w4a16, w8a16) quantization schemes. Running an a8w8 (int8) quantized model requires the
--quantization w8a8_int8option.
For optimal performance, we recommend using this image with driver version 1.5.1 or later. For setup instructions, see Specify the GPU model and driver version for an ACS GPU pod and GPU driver version notes.
The built-in environment variable
NCCL_SOCKET_IFNAMEin this image must be dynamically adjusted depending on the use case:When a single Pod requests only 1, 2, 4, or 8 GPUs for an inference task, you need to set
NCCL_SOCKET_IFNAME=eth0. This is the default configuration in this inference image.When a single Pod requests all 16 GPUs of an entire machine for an inference task, set
NCCL_SOCKET_IFNAME=hpn0to use HPN.
We recommend using this image with the PPU PIP service provided by Alibaba Cloud. It enables one-stop, password-free access to the PIP service from within an ACS VPC, eliminating the need for other PIP sources. The image includes the required pip configuration, but you may need to configure it further for your use case, as described in the documentation.
Known issues
vLLM stability issues:
During multi-GPU inference, an error may occur when using
mp_distributed_executor. UseVLLM_WORKER_MULTIPROC_METHOD=spawnto avoid this issue. For more information, see the open source community.vLLM may randomly exit after multi-GPU inference completes. This is a known community issue, see the open source community for details.
vLLM quantization issues:
By default, vLLM uses the Marlin kernel to accelerate GPTQ/AWQ quantized inference. You can explicitly specify
quantization gptq_acext/awq_acextto useacextfor quantized inference. However,acextdoes not currently support quantization withact_order=Trueor GPTQ-Int8 quantized weights.vLLM FP8 quantization depends on the SM89/90 architecture, which PPU does not natively support. vLLM 0.9.1 provides an FP8 Marlin implementation (in practice, W8A16 quantized inference) that allows FP8 models to run on architectures with SM < 89. PPU can run FP8 models this way, but it has not yet been adapted or optimized for PPU.
Compared to v0.8.5, vLLM v0.9.1 estimates a smaller available KV cache. This reduces concurrency in KV cache-constrained scenarios and affects performance (for example, running DeepSeek-R1-bf16 on a single Zhenwu 810E instance).
We recommend using an a8w8 quantized model on Zhenwu 810E to avoid this performance degradation.
When running the DeepSeek-R1 / DeepSeek-V3 A8W8-INT8 models, SGLang-v0.4.7 uses shared experts by default, while SGLang-v0.4.6.post1 does not. This causes the performance of SGLang-v0.4.7 to be lower than that of SGLang-v0.4.6.post1. In SGLang-v0.4.7, you can disable shared experts by using the
--disable-shared-experts-fusionoption. When this is done, the performance of SGLang-v0.4.7 is comparable to that of SGLang-v0.4.6.post1.In the SGLang-v0.4.7 image, if the
--mem-fraction-staticoption is set to a large value when the GPU memory capacity of a single machine is insufficient, thedecode out of memoryissue occurs. This is a known issue in the community.The following flashinfer modules have known accuracy issues, causing their unit tests (UTs) to fail:
PoD Attention
Segment gemm