inference-xpu-pytorch 25.11

Updated at:
Copy as MD

This document provides the release notes for inference-xpu-pytorch version 25.11.

Note
  • 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-20251113 and 25.11-v1.7.0-sglang0.5.2-torch2.8-cu129-20251113 images:

  • For the 25.11-v1.7.0.post1-sglang0.5.5-torch2.8-cu129-20251216 image:

    • 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-20260105 image:

    • 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-20251216 image 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

  • Ubuntu 24.04

  • Python 3.12

  • PyTorch 2.8.0

  • CUDA 12.9

  • ACCL-P 1.7.0-10

  • AcclEP-P 1.7.0.0+bc8d766

  • EIC 1.3.8.2

  • eic-sailshmem 1.7.0.0.g524bdaf

  • deep_ep 1.7.0+8eca0f8

  • deep_gemm 1.0.0+9e1ca04

  • diffusers 0.35.2

  • flash-attn 2.7.4.post1

  • flash_mla 1.0.0

  • flashinfer-python 0.2.6.post1

  • imageio-ffmpeg 0.6.0

  • mooncake-transfer-engine 0.3.6.post1

  • peft 0.12.0

  • ray 2.51.1

  • xformers 0.0.30

  • transformers 4.56.0

  • transformer_engine 2.5.0+de1021a

  • triton 3.4.0+git70b4432e

  • torchao 0.11.0

  • torchvision 0.23.0

  • vllm 0.10.2+cu129

  • xgrammar 0.1.23

  • xfuser 0.4.5

  • ljperf 0.1.0+477686c5

  • Ubuntu 24.04

  • Python 3.12

  • PyTorch 2.8.0

  • CUDA 12.9

  • ACCL-P 1.7.0-10

  • AcclEP-P 1.7.0.0+bc8d766

  • EIC 1.3.8.2

  • eic-sailshmem 1.7.0.0.g524bdaf

  • diffusers 0.35.2

  • decord 0.6.0

  • deep_ep 1.7.0+8eca0f8

  • deep_gemm 1.0.0+9e1ca04

  • flash-attn 2.8.2

  • flash-attn-3 3.0.0b1

  • flash_mla 1.0.0

  • flashinfer-python 0.3.1

  • imageio-ffmpeg 0.6.0

  • mooncake-transfer-engine 0.3.6.post1

  • peft 0.12.0

  • ray 2.51.1

  • sglang 0.5.2

  • sgl-kernel 0.3.9.post2

  • transformers 4.56.1

  • transformer_engine 2.3.0+eb92009

  • torchao 0.9.0+git14cfbc74

  • triton 3.4.0+git70b4432e

  • vllm 0.10.2+cu129

  • xformers 0.0.29.post1

  • xgrammar 0.1.23

  • xfuser 0.4.5

  • ljperf 0.1.0+477686c5

  • Ubuntu 24.04

  • Python 3.12

  • PyTorch 2.8.0

  • CUDA 12.9

  • ACCL-P 1.7.0-10.1

  • AcclEP-P 1.7.0.1+d62dd17

  • EIC 1.3.8.2

  • eic-sailshmem 1.7.0.0.g524bdaf

  • diffusers 0.36.0

  • decord 0.6.0

  • deep_gemm 1.0.0+ppu1.7.0.post1

  • 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.oe

  • imageio-ffmpeg 0.6.0

  • mooncake-transfer-engine 0.3.6.post1

  • peft 0.12.0

  • ray 2.51.1

  • sglang 0.5.5+ppu1.7.0.post1

  • sgl-kernel 0.3.16.post5+ppu1.7.0.post1

  • transformers 4.57.1

  • transformer_engine 2.3.0+eb92009

  • torchao 0.9.0+git14cfbc74

  • triton 3.4.0+git70b4432e

  • vllm 0.10.2+cu129

  • xformers 0.0.29.post1

  • xgrammar 0.1.25

  • xfuser 0.4.5

  • ljperf 0.1.0+477686c5

  • Ubuntu 24.04

  • Python 3.12

  • PyTorch 2.8.0

  • CUDA 12.9

  • ACCL-P 1.7.0-10.1

  • AcclEP-P 1.7.0.1+d62dd17

  • EIC 1.3.8.2

  • eic-sailshmem 1.7.0.0.g524bdaf

  • diffusers 0.36.0

  • deep_gemm 1.0.0+ppu1.7.0.post1

  • flash-attn 2.8.2+ppu1.7.0.post2

  • flash-attn-3 2.8.2+ppu1.7.0.post2

  • flash_mla 1.0.0+ppu1.7.0.post1

  • flashinfer-python 0.2.6.post1

  • imageio-ffmpeg 0.6.0

  • mooncake-transfer-engine 0.3.6.post1

  • peft 0.12.0

  • ray 2.51.1

  • transformers 4.57.0

  • transformer_engine 2.5.0+de1021a

  • torchao 0.11.0

  • triton 3.4.0+git70b4432e

  • vllm 0.11.1+ppu1.7.0.post1

  • xformers 0.0.30

  • xgrammar 0.1.23

  • xfuser 0.4.5

  • ljperf 0.1.0+477686c5

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, and cn-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-20251113 and training-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.

Note

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.

  1. Pull the inference container image.

    docker pull egslingjun-registry.cn-wulanchabu.cr.aliyuncs.com/egslingjun/inference-xpu-pytorch:[tag]
  2. 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-Instruct
  3. Run 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]
  4. Run an inference test to check the vLLM chat completion feature.

    1. 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 1
    2. Run 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:

      image.png

      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_int8 option.
    • 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_IFNAME in 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=hpn0 to 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_topk in fused MoE is not wrapped with torch.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_tokens starting 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

Important

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.1

Verify the environment

pip list | grep vllm
pip list | grep transformers
pip list | grep numpy

Appendix 2: Manually upgrade SGLang to 0.5.3

Important
  • 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-deps

Verify the environment

pip list | grep sgl
pip list | grep transformer

Appendix 3: Manually upgrade SGLang to 0.5.5

Important
  • 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-deps

Verify the environment

pip list | grep sglang
# Expected output
sglang                            0.5.5+ppu1.7.0.post1
sglang-router                     0.2.2+ppu1.7.0.post1
pip 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.oe
pip list | grep transformers
# Expected output
transformers                      4.57.1