inference-xpu-pytorch 25.11
This document provides the release notes for inference-xpu-pytorch version 25.11.
Before PPU SDK 1.7.0, the method of bundling Python packages with the PPU SDK resulted in long release cycles that could not keep pace with rapid community updates. Starting with PPU SDK 1.7.0, the PPU runtime environment decouples Python packages from the PPU SDK. The PPU SDK is now released only for major feature enhancements or updates, moving away from a monthly release cycle. New models and frameworks from the community are supported through agile Python package releases.
Due to this change in the PPU SDK's release cadence, PPU container images will also no longer be updated monthly. Instead, they will be updated in sync with PPU SDK releases and will serve as the base runtime environment for future SDK versions. You can upgrade the base runtime environment to get support for new models or features.
Main features and bug fixes
Main features
For the
25.11-v1.7.0-vllm0.10.2-torch2.8-cu129-20251113and25.11-v1.7.0-sglang0.5.2-torch2.8-cu129-20251113images:Upgraded the PPU SDK to V1.7.0 and CUDA to 12.9.
Upgraded PyTorch to 2.8.0.
Upgraded vLLM to 0.10.2. To run the Qwen3-VL and DeepSeek v3.2 models, you must manually upgrade vLLM to version 0.11.0.
Upgraded SGLang to 0.5.2, FlashInfer to 0.3.1, and Flash Attention to 2.8.2. To run the Qwen3-VL model, you must manually upgrade SGLang to version 0.5.3 or manually upgrade SGLang to version 0.5.5.
For the
25.11-v1.7.0.post1-sglang0.5.5-torch2.8-cu129-20251216image:Upgraded the PPU SDK to V1.7.0_hotfix.
Upgraded SGLang to 0.5.5 and FlashInfer to 0.4.0rc3.
For the
25.11-v1.7.0.post1-vllm0.11.1-torch2.8-cu129-20260105image:Upgraded the PPU SDK to V1.7.0_hotfix.
Upgraded vLLM to 0.11.1.
Upgraded transformers to 4.57.0.
Bug fixes
The
25.11-v1.7.0.post1-sglang0.5.5-torch2.8-cu129-20251216image fixes a crash in multi-node scenarios caused by a proxy parameter orchestration error when fusing multiple PCCL P2P operations for execution.
Contents
Image name | inference-xpu-pytorch | |||
Image tag | 25.11-v1.7.0-vllm0.10.2-torch2.8-cu129-20251113 | 25.11-v1.7.0-sglang0.5.2-torch2.8-cu129-20251113 | 25.11-v1.7.0.post1-sglang0.5.5-torch2.8-cu129-20251216 | 25.11-v1.7.0.post1-vllm0.11.1-torch2.8-cu129-20260105 |
Application scenario | Large model inference | Large model inference | Large model inference | Large model inference |
Framework | PyTorch | PyTorch | PyTorch | PyTorch |
Requirements | PPU SDK V1.7.0 | PPU SDK V1.7.0 | PPU SDK V1.7.0_hotfix | PPU SDK V1.7.0_hotfix |
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.11-v1.7.0-vllm0.10.2-torch2.8-cu129-20251113
egslingjun-registry.cn-wulanchabu.cr.aliyuncs.com/egslingjun/inference-xpu-pytorch:25.11-v1.7.0-sglang0.5.2-torch2.8-cu129-20251113
egslingjun-registry.cn-wulanchabu.cr.aliyuncs.com/egslingjun/inference-xpu-pytorch:25.11-v1.7.0.post1-sglang0.5.5-torch2.8-cu129-20251216
egslingjun-registry.cn-wulanchabu.cr.aliyuncs.com/egslingjun/inference-xpu-pytorch:25.11-v1.7.0.post1-vllm0.11.1-torch2.8-cu129-20260105
VPC images
Replace the image URIegslingjun-registry.cn-wulanchabu.cr.aliyuncs.com/egslingjun/{image:tag} withacs-registry-vpc.{region-id}.cr.aliyuncs.com/egslingjun/{image:tag} to pull PPU AI container images from within your VPC.
{region-id}: The ID of the service region for your ACS product. This includes financial cloud and government cloud regions. For example:cn-beijing,cn-wulanchabu, andcn-shanghai-finance-1.{image:tag}: The name and tag of the AI container image. For example:inference-xpu-pytorch:25.11-v1.7.0-vllm0.10.2-torch2.8-cu129-20251113andtraining-xpu-pytorch:25.11.
End-to-end performance evaluation
In vLLM online inference mode, we tested the maximum concurrency and compared throughput under the following conditions: an input/output token length of 4096/2048, a Time to First Token (TTFT) of less than 3s, and a Time Per Output Token (TPOT) of less than 100 ms.
The single-machine output token throughput for the DeepSeek-R1-bf16 and DeepSeek-R1-W8A8 models shows a slight improvement compared to version 25.09.
Quick start
The following example shows how to pull the inference-xpu-pytorch image by using Docker and test the inference service with the Qwen2.5-7B-Instruct model.
To use the inference-xpu-pytorch image in ACS, you can specify the image address when you create a workload in the console, or reference the image in a YAML file.
For instructions on how to use LLM inference images in ACS clusters, see Guidance on using LLM inference images in ACS clusters.
For instructions on how to deploy DeepSeek inference services in an ACS environment, see Quickly deploy DeepSeek V3/R1 inference services on PPU in ACS.
Pull the inference container image.
docker pull egslingjun-registry.cn-wulanchabu.cr.aliyuncs.com/egslingjun/inference-xpu-pytorch:[tag]Download the open-source model from ModelScope.
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 check the vLLM chat completion feature.
Start the server-side service.
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 side.
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 output is as follows:

For more information about how to use vLLM, see vLLM.
Usage recommendations
Standard quantization capabilities supported by frameworks in SDK V1.7.0:
vLLM 0.10.2 (built-in) / 0.11.0 (via pip upgrade): Supports per-token/per-channel a8w8 (int8), AWQ (w4a16), and GPTQ (w4a16, w8a16) quantization schemes.
SGLang 0.5.2 (built-in) / 0.5.3 (via pip upgrade) / 0.5.5 (via pip upgrade): Supports per-token/per-channel a8w8 (int8), AWQ (w4a16), and GPTQ (w4a16, w8a16) quantization schemes.
To run an a8w8 (int8) quantized model, you must add the
--quantization w8a8_int8option.The following quantized model examples are adapted for SDK V1.7.0. The system login credentials are the same as your PTG PIP credentials, which you can obtain from your PDSA:
DeepSeek-R1: Supports per-token/per-channel a8w8 (int8) quantization.
DeepSeek v3.2: Supports per-token/per-channel a8w8 (int8) quantization.
Kimi-K2-Instruct: Supports per-token/per-channel a8w8 (int8) quantization.
Qwen3-235B-A22B: Supports per-token/per-channel a8w8 (int8) quantization.
For optimal performance, we recommend that you use this image with driver version 1.5.1 or later. For configuration instructions, see Specify GPU models and driver versions for ACS GPU Pods and GPU driver version notes.
To use AcclEP-P (i.e., the PPU version of DeepEP) in an ACS environment, you must set the environment variable
export EIC_VSOLAR=1. (This setting is required for the current image, and this restriction is expected to be removed in future images.)The built-in environment variable
NCCL_SOCKET_IFNAMEin this image needs to be dynamically adjusted based on the usage scenario:When a single Pod requests only 1, 2, 4, or 8 GPUs for an inference task, you must set
NCCL_SOCKET_IFNAME=eth0(this is the default configuration in this inference image).When a single Pod requests all 16 GPUs on a machine for an inference task, you need to set
NCCL_SOCKET_IFNAME=hpn0to use the HPN network.
We recommend that you use this image with the PPU PIP service provided by Alibaba Cloud. This service provides passwordless, one-stop access to PIP services within an ACS VPC, so you do not need to use other PIP sources. The necessary pip config is built into this image, but you must still perform additional configurations for your specific use case as described in the documentation.
Known issues
vLLM 0.10.2 performance issue
For Qwen models, performance has regressed compared to previous versions because
fused_topkin fused MoE is not wrapped withtorch.compile. A patch has been submitted to the open-source community to fix this and is slated for release in vLLM 0.11.1. For details, see the GitHub community content.In a dual-node vLLM scenario, execution fails if the container image has transformers version 4.56.0 or later and torchao is installed. This issue also occurs on GPUs. To resolve this issue, uninstall torchao.
SGLang
DeepGemm is compiled at runtime. To ensure accurate performance testing, perform a sufficient warmup.
DeepSeek v3.2 currently requires dp-attention to be enabled and does not yet support TP parallelism.
Qwen-235B-A22B shows performance regression for short outputs (output_len=400).
In the DeepSeek-R1 in900, out400 SLA test scenario, the maximum concurrency did not reach the maximum throughput.
SGLang 0.5.5 has a 20% performance regression compared to SGLang 0.5.2 in the DeepSeek-R1 PD separation scenario. This is because the SGLang community removed support for
load balance method = minimum_tokensstarting from version 0.5.3. Therefore, the GU8TF card type theoretically also has a performance regression. For more information, see the GitHub pull request.
Appendix
Appendix 1: Manually upgrade vLLM to 0.11.0
The provided vLLM 0.11.0 is a feature preview and may have potential stability risks.
Prerequisites
For detailed steps, see Use the PPU PIP service.
Upgrade steps
pip uninstall vllm -y
pip install vllm==0.11.0+ppu1.7.0
# Do not use NumPy 2.
pip install numpy==1.26.4
# Upgrade transformers.
pip install transformers==4.57.0
# Optional step for running the DeepSeek v3.2 model.
# pip install scikit-learn==1.7.1Verify the environment
pip list | grep vllm
pip list | grep transformers
pip list | grep numpyAppendix 2: Manually upgrade SGLang to 0.5.3
The provided SGLang 0.5.3 is a feature preview and may have potential stability risks.
Because this is a forced upgrade, error messages during component upgrades are expected. Ensure each component installs successfully.
Prerequisites
For detailed steps, see Use the PPU PIP service.
Upgrade steps
# Uninstall sglang and sgl-kernel.
pip uninstall -y sglang sgl-kernel
# Install sgl-kernel.
pip install sgl_kernel==0.3.14.post1+ppu1.7.0 --force-reinstall
# Install sglang.
pip install sglang==0.5.3+ppu1.7.0 --no-deps --force-reinstall
# Install transformers.
pip install -U transformers==4.57.1 openai_harmony --force-reinstall
# Install fast_hadamard_transform and numpy.
pip install fast_hadamard_transform numpy==1.26.0
# Optional: Upgrade flashinfer. If you do not upgrade flashinfer, you can use the Triton backend by adding the --attention-backend triton option to the command.
# pip install flashinfer_python==0.4.0rc3+ppu1.7.0.oe --force-reinstall --no-depsVerify the environment
pip list | grep sgl
pip list | grep transformerAppendix 3: Manually upgrade SGLang to 0.5.5
The provided SGLang 0.5.5 is a feature preview and may have potential stability risks.
Because this is a forced upgrade, error messages during component upgrades are expected. Ensure each component installs successfully.
Prerequisites
For detailed steps, see Use the PPU PIP service.
Upgrade steps
# Upgrade SGLang
## Uninstall sgl-kernel, sglang-router, and sglang.
pip uninstall -y sgl-kernel sglang-router sglang
pip install sgl-kernel==0.3.16.post5+ppu1.7.0.post1 --force-reinstall --no-deps
pip install sglang-router==0.2.2+ppu1.7.0.post1 --force-reinstall --no-deps
pip install sglang==0.5.5+ppu1.7.0.post1 --force-reinstall --no-deps
# Upgrade DeepGemm.
pip install deep_gemm==1.0.0+ppu1.7.0.post1 --force-reinstall --no-deps
# Upgrade DeepEP.
pip install deep_ep==1.0.0+ppu1.7.0.post1 --force-reinstall --no-deps
# Upgrade Flash Attention to 2.8.2.
pip install flash_attn==2.8.2+ppu1.7.0.post1 --force-reinstall --no-deps
pip install flash_attn_3==2.8.2+ppu1.7.0.post1 --force-reinstall --no-deps
# Upgrade FlashMLA.
pip install flash_mla==1.0.0+ppu1.7.0.post1 --force-reinstall --no-deps
# Upgrade xgrammar, transformers, and numpy.
pip install -U xgrammar==0.1.25 transformers==4.57.1 numpy==1.26.0 --force-reinstall --no-deps
# Upgrade flashinfer.
pip install flashinfer_python==0.4.0rc3+ppu1.7.0.oe --force-reinstall --no-depsVerify the environment
pip list | grep sglang
# Expected output
sglang 0.5.5+ppu1.7.0.post1
sglang-router 0.2.2+ppu1.7.0.post1pip list | grep flash
# Expected output
flash-attn 2.8.2+ppu1.7.0.post1
flash-attn-3 2.8.2+ppu1.7.0.post1
flash_mla 1.0.0+ppu1.7.0.post1
flashinfer-python 0.4.0rc3+ppu1.7.0.oepip list | grep transformers
# Expected output
transformers 4.57.1