本文介紹inference-nv-pytorch 25.10版本發布記錄。
Main Features and Bug Fix Lists
Main Features
提供了CUDA12.8和CUDA13.0 2個CUDA版本的鏡像,其中:
CUDA12.8鏡像僅支援amd64架構。
CUDA13.0鏡像支援amd64 和 aarch64架構。
CUDA12.8鏡像deepgpu-comfyui 升級至1.3.0,deepgpu-torch最佳化組件升級至0.1.6+torch2.8.0cu128。
CUDA13.0鏡像PyTorch版本升級至2.9.0。
CUDA12.8和CUDA13.0鏡像vLLM版本升級到v0.11.0,SGLang版本升級至v0.5.4。
Bug Fix
無
Contents
inference-nv-pytorch | ||||||
Tag | 25.10-vllm0.11.0-pytorch2.8-cu128-20251028-serverless | 25.10-sglang0.5.4-pytorch2.8-cu128-20251027-serverless | 25.10-vllm0.11.0-pytorch2.9-cu130-20251028-serverless | 25.10-sglang0.5.4-pytorch2.9-cu130-20251028-serverless | ||
支援架構 | amd64 | amd64 | amd64 | aarch64 | amd64 | aarch64 |
應用情境 | 大模型推理 | 大模型推理 | 大模型推理 | 大模型推理 | 大模型推理 | 大模型推理 |
架構 | pytorch | pytorch | pytorch | pytorch | pytorch | pytorch |
Requirements | NVIDIA Driver release >= 570 | NVIDIA Driver release >= 570 | NVIDIA Driver release >= 580 | NVIDIA Driver release >= 580 | NVIDIA Driver release >= 580 | NVIDIA Driver release >= 580 |
系統組件 |
|
|
|
|
|
|
Asset
公網鏡像
CUDA12.8 Asset
egslingjun-registry.cn-wulanchabu.cr.aliyuncs.com/egslingjun/inference-nv-pytorch:25.10-vllm0.11.0-pytorch2.8-cu128-20251028-serverless
egslingjun-registry.cn-wulanchabu.cr.aliyuncs.com/egslingjun/inference-nv-pytorch:25.10-sglang0.5.4-pytorch2.8-cu128-20251027-serverless
CUDA13.0 Asset
egslingjun-registry.cn-wulanchabu.cr.aliyuncs.com/egslingjun/inference-nv-pytorch:25.10-vllm0.11.0-pytorch2.9-cu130-20251028-serverless
egslingjun-registry.cn-wulanchabu.cr.aliyuncs.com/egslingjun/inference-nv-pytorch:25.10-sglang0.5.4-pytorch2.9-cu130-20251028-serverless
VPC鏡像
acs-registry-vpc.{region-id}.cr.aliyuncs.com/egslingjun/{image:tag}
{region-id}為您使用的ACS產品所在的開服地區,比如:cn-beijing、cn-wulanchabu等。{image:tag}為實際鏡像的名稱和Tag。
Driver Requirements
CUDA12.8:NVIDIA Driver release >= 570
CUDA13.0:NVIDIA Driver release >= 580
Quick Start
以下樣本內容僅通過Docker方式拉取inference-nv-pytorch鏡像,並使用Qwen2.5-7B-Instruct模型測試推理服務。
在ACS中使用inference-nv-pytorch鏡像需要通過控制台建立工作負載介面的製品中心頁面選取,或者通過YAML檔案指定鏡像引用。更多詳細操作,請參見使用ACS GPU算力構建模型推理服務系列內容:
拉取推理容器鏡像。
docker pull egslingjun-registry.cn-wulanchabu.cr.aliyuncs.com/egslingjun/inference-nv-pytorch:[tag]下載modelscope格式的開源模型。
pip install modelscope cd /mnt modelscope download --model Qwen/Qwen2.5-7B-Instruct --local_dir ./Qwen2.5-7B-Instruct啟動以下命令進入容器。
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]執行推理測試,測試vLLM推理對話功能。
啟動Sever服務。
python3 -m vllm.entrypoints.openai.api_server \ --model /mnt/Qwen2.5-7B-Instruct \ --trust-remote-code --disable-custom-all-reduce \ --tensor-parallel-size 1在Client端進行測試。
curl http://localhost:8000/v1/chat/completions \ -H "Content-Type: application/json" \ -d '{ "model": "/mnt/Qwen2.5-7B-Instruct", "messages": [ {"role": "system", "content": "你是個友善的AI助手。"}, {"role": "user", "content": "介紹一下深度學習。"} ]}'更多關於vLLM的使用方法請參見vLLM。
Known Issues
deepgpu-comfyui外掛程式,加速Wanx模型視頻產生,目前僅支援GN8IS、G49E。