inference-xpu-pytorch 25.06
This document provides the release notes for inference-xpu-pytorch 25.06.
Main features and bug fixes
Main features
Upgraded the PPU SDK in the base image to v1.5.2.
SGLang 0.4.6.post1 supports inference for Qwen3-235B-A22B and Deepseek V3/R1 with A8W8 (int8) quantization.
Optimized GEMM operations to address memory access bottlenecks for Qwen3 and LLaMa4, improving performance by up to 50%.
Optimized the Mixture-of-Experts (MoE) performance for Qwen3-235B-A22B.
Bug fixes
Fixed a bug in version v1.5.1 that caused the model to return incorrect responses during inference when prefix caching was enabled.
Contents
inference-xpu-pytorch | inference-xpu-pytorch | |
Image tag | 25.06-v1.5.2-vllm0.8.5-torch2.6-cu126-20250610 | 25.06-v1.5.2-sglang0.4.6.post1-torch2.6-cu126-20250610 |
Use case | Large model inference | Large model inference |
Framework | pytorch | pytorch |
Requirements | PPU SDK V1.5.2 | PPU SDK V1.5.2 |
System components |
|
|
Images
We recommend using a VPC endpoint to accelerate AI container image pulls and reduce pull times.
Public images
egslingjun-registry.cn-wulanchabu.cr.aliyuncs.com/egslingjun/inference-xpu-pytorch:25.06-v1.5.2-vllm0.8.5-torch2.6-cu126-20250610
egslingjun-registry.cn-wulanchabu.cr.aliyuncs.com/egslingjun/inference-xpu-pytorch:25.06-v1.5.2-sglang0.4.6.post1-torch2.6-cu126-20250610
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.
E2E performance evaluation
In vLLM online inference mode, we measured the maximum concurrency while keeping the Time to First Token (TTFT) under 3s and Time Per Output Token (TPOT) under 100ms, and then compared the throughput.
vllm0.8.5:
The single-node Output Token Throughput for the Qwen3-235B-A22B (bf16) model is 132% of that of the v1.5.1 image.
The single-node Output Token Throughput for the Qwen3-235B-A22B-INT8 model is 122% of 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 notes
When you use this image to run DeepSeek R1 (671B) and Qwen3 quantized models, the following quantization methods are supported:
DeepSeek R1 (671B):
VLLM 0.8.5: Supports AWQ (w4a16), GPTQ (w4a16, w8a16), and per-token/per-channel a8w8 (int8) quantization.
SGLang 0.4.6.post1: Does not support AWQ (w4a16) and GPTQ (w4a16, w8a16) quantization due to a known issue in the open source community. It supports per-token/per-channel A8W8 (int8) quantization. To run an A8W8 (int8) quantized model, add the
--quantization w8a8_int8option.
Qwen3:
VLLM 0.8.5: Supports AWQ (w4a16), GPTQ (w4a16, w8a16), and per-token/per-channel a8w8 (int8) quantization.
SGLang 0.4.6.post1: Supports AWQ (w4a16), GPTQ (w4a16, w8a16), and per-token/per-channel A8W8 (int8) quantization. To run a quantized model using AWQ or GPTQ on SGLang 0.4.6.post1, add the
--quantization moe_wna16option. To run an A8W8 (int8) quantized model, add the--quantization w8a8_int8option.
The DeepEP and sailSHMEM features mentioned in the PPU SDK 1.5.1 and 1.5.2 release notes are not yet supported. A timeline for support has not been determined.
For optimal performance, we recommend using this image with driver version 1.5.1 or later. For setup instructions, see Specify GPU Model and Driver Version for ACS GPU Pods and GPU Driver Version Information.
You must dynamically adjust the built-in
NCCL_SOCKET_IFNAMEenvironment variable in this image based on the use case:If a single pod requests 1, 2, 4, or 8 cards for an inference task, set
NCCL_SOCKET_IFNAME=eth0. This is the default configuration in this inference image.If a single pod requests all 16 cards on a full machine for an inference task (which allows you to use HPN), set
NCCL_SOCKET_IFNAME=hpn0.
Known issues
Qwen3 models:
The Qwen3-235B-A22B model has an inference accuracy issue. As a workaround, set the
ACEXT_ENABLE_MOE_GEMV=0environment variable. This issue will be fixed in a future release.
Qwen2.5 models:
When you run the Qwen2.5-omni model with the vLLM image, a
ModuleNotFoundError: No module named 'vllm.vllm_flash_attn.layers'error occurs. This is triggered by a known issue in the vLLM 0.8.5 open source community and will be fixed in a future vLLM update.
DeepSeek R1 models:
When you test the DeepSeek R1 model, the
--max-model-lensetting must be less than80kto prevent potential out-of-memory (OOM) errors during runtime.
Stability issues:
When you perform multi-card inference with vLLM, an error related to
mp_distributed_executormay occur. To prevent this, setVLLM_WORKER_MULTIPROC_METHOD=spawn. For more information, see this discussion in the open source community.After multi-card inference with vLLM, a process may unexpectedly exit with an error. This is a known issue in the open source community. For more information, see this discussion in the open source community.
Performance issues:
For MoE models, you can use autotuning tools to improve performance. vLLM supports a performance optimization feature that allows you to launch kernels by using hardware-specific fused_moe kernel configuration files.