全部产品
Search
文档中心

Container Compute Service:inferensi-nv-pytorch 25.07

更新时间:Nov 09, 2025

Topik ini menjelaskan catatan rilis untuk inferensi-nv-pytorch 25.07.

Fitur utama dan perbaikan bug

Kerangka kerja yang diperbarui

  • vLLM ditingkatkan ke v0.9.2.

  • SGLang ditingkatkan ke v0.4.9.post1.

  • deepgpu-comfyui ditingkatkan ke v1.1.7.

Perbaikan bug

Kerangka vLLM versi 0.9.2 sebelumnya mengalami kesalahan PPMissingLayer saat menjalankan model DeepSeek-R1 dalam konfigurasi multi-node (dua mesin). Masalah ini telah diselesaikan dengan memasukkan perbaikan dari pull request upstream: https://github.com/vllm-project/vllm/pull/20665/files. Perbaikan ini telah diterapkan pada citra saat ini, memastikan inferensi terdistribusi yang stabil.

Konten

inferensi-nv-pytorch

inferensi-nv-pytorch

Tag Citra

25.07-vllm0.9.2-pytorch2.7-cu128-20250714-serverless

25.07-sglang0.4.9-pytorch2.7-cu128-20250710-serverless

Skenario

Inferensi LLM

Inferensi LLM

Kerangka kerja

pytorch

pytorch

Persyaratan

Rilis NVIDIA Driver ≥570

Rilis NVIDIA Driver ≥570

Komponen sistem

  • Ubuntu 24.04

  • Python 3.12

  • Torch 2.7.1+cu128

  • CUDA 12.8

  • NCCL 2.27.5

  • accelerate 1.8.1

  • diffusers 0.34.0

  • deepgpu-comfyui 1.1.7

  • deepgpu-torch 0.0.24+torch2.7.0cu128

  • flash_attn 2.8.1

  • imageio 2.37.0

  • imageio-ffmpeg 0.6.0

  • ray 2.47.1

  • transformers 4.53.1

  • vllm 0.9.3.dev0+ga5dd03c1e.d20250709

  • xgrammar 0.1.19

  • triton 3.3.1

  • Ubuntu 24.04

  • Python 3.12

  • Torch 2.7.1+cu128

  • CUDA 12.8

  • NCCL 2.27.5

  • accelerate 1.8.1

  • diffusers 0.34.0

  • deepgpu-comfyui 1.1.7

  • deepgpu-torch 0.0.24+torch2.7.0cu128

  • flash_attn 2.8.1

  • flash_mla 1.0.0+9edee0c

  • flashinfer-python 0.2.7.post1

  • imageio 2.37.0

  • imageio-ffmpeg 0.6.0

  • transformers 4.53.0

  • sgl-kernel 0.2.4

  • sglang 0.4.9.post1

  • xgrammar 0.1.20

  • triton 3.3.1

  • torchao 0.9.0

Aset

Citra publik

  • egslingjun-registry.cn-wulanchabu.cr.aliyuncs.com/egslingjun/inference-nv-pytorch:25.07-vllm0.9.2-pytorch2.7-cu128-20250714-serverless

  • egslingjun-registry.cn-wulanchabu.cr.aliyuncs.com/egslingjun/inference-nv-pytorch:25.07-sglang0.4.9-pytorch2.7-cu128-20250710-serverless

Citra VPC

  • acs-registry-vpc.{region-id}.cr.aliyuncs.com/egslingjun/{image:tag}

    {region-id} menunjukkan wilayah tempat Alibaba Cloud Container Compute Service (ACS) Anda diaktifkan, seperti cn-beijing atau cn-wulanchabu.
    {image:tag} menunjukkan nama dan tag citra.
Penting

Penarikan citra VPC saat ini hanya didukung di wilayah China (Beijing).

Catatan

Citra inferensi-nv-pytorch:25.07-vllm0.9.2-pytorch2.7-cu128-20250714-serverless dan inferensi-nv-pytorch:25.07-sglang0.4.9-pytorch2.7-cu128-20250710-serverless cocok untuk kluster ACS dan kluster multi-penyewa Lingjun, tetapi tidak didukung pada kluster satu penyewa Lingjun.

Persyaratan driver

Untuk citra CUDA 12.8: NVIDIA Driver 570 atau lebih baru.

Mulai cepat

Contoh ini menunjukkan cara menarik citra inferensi-nv-pytorch dan menjalankan tes inferensi menggunakan model Qwen2.5-7B-Instruct.

  1. Tarik citra.

    docker pull egslingjun-registry.cn-wulanchabu.cr.aliyuncs.com/egslingjun/inference-nv-pytorch:[tag]
  2. Unduh model (format modelscope).

    pip install modelscope
    cd /mnt
    modelscope download --model Qwen/Qwen2.5-7B-Instruct --local_dir ./Qwen2.5-7B-Instruct
  3. Jalankan kontainer.

    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-nv-pytorch:[tag]
  4. Jalankan tes inferensi (vLLM).

    1. Mulai layanan Server.

      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. Uji dari sisi klien.

      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": "Please introduce deep learning."}
          ]}'

      Untuk informasi lebih lanjut tentang cara bekerja dengan vLLM, lihat vLLM.

Masalah Diketahui

Plugin deepgpu-comfyui, yang mempercepat pembuatan video untuk model Wanx, saat ini hanya mendukung tipe instans gn8is.