すべてのプロダクト
Search
ドキュメントセンター

Container Compute Service:inference-nv-pytorch 25.02 リリースノート

最終更新日:Apr 29, 2025

このトピックでは、inference-nv-pytorch 25.02 のリリースノートについて説明します。

主な機能とバグ修正リスト

主な機能

  • vLLM が v0.7.2 に更新されました。

  • SGLang v0.4.3.post2 がサポートされています。

  • DeepSeek モデルがサポートされています。

バグ修正

なし

内容

ユースケース

LLM 推論

フレームワーク

pytorch

要件

NVIDIA ドライバ リリース 550 以上

システムコンポーネント

  • Ubuntu 22.04

  • Python 3.10

  • Torch 2.5.1

  • CUDA 12.4

  • transformers 4.48.3

  • triton 3.1.0

  • ray 2.42.1

  • vlllm 0.7.2

  • sgl-kernel 0.0.3.post6

  • sglang 0.4.3.post2

  • flashinfer-python 0.2.1.post2

  • ACCL-N 2.23.4.11

アセット

パブリック イメージ

  • egslingjun-registry.cn-wulanchabu.cr.aliyuncs.com/egslingjun/inference-nv-pytorch:25.02-vllm0.7.2-sglang0.4.3.post2-pytorch2.5-cuda12.4-20250305-serverless

VPC イメージ

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

    {region-id} は、ACS がアクティブ化されている リージョン (cn-beijing など) を示します。
    {image:tag} は、イメージの名前とタグを示します。
重要

現在、VPC 経由でプルできるイメージは、中国 (北京) リージョンのイメージのみです。

説明
  • inference-nv-pytorch:25.02-vllm0.7.2-sglang0.4.3.post2-pytorch2.5-cuda12.4-20250305-serverless イメージは、ACS プロダクトと Lingjun マルチテナント プロダクトに適しています。 Lingjun シングルテナント プロダクトには適していません。

  • inference-nv-pytorch:25.02-vllm0.7.2-sglang0.4.3.post2-pytorch2.5-cuda12.4-20250305 イメージは、Lingjun シングルテナント シナリオに適しています。

ドライバ要件

NVIDIA ドライバ リリース 550 以上

クイックスタート

次の例では、Docker のみを使用して inference-nv-pytorch イメージをプルし、Qwen2.5-7B-Instruct モデルを使用して推論サービスをテストします。

説明

ACS で inference-nv-pytorch イメージを使用するには、ワークロードを作成するコンソールのアーティファクト センター ページからイメージを選択するか、YAML ファイルでイメージを指定する必要があります。 詳細については、以下のトピックをご参照ください。

  1. 推論コンテナ イメージをプルします。

    docker pull egslingjun-registry.cn-wulanchabu.cr.aliyuncs.com/egslingjun/inference-nv-pytorch:[tag]
  2. ModelScope 形式のオープンソース モデルをダウンロードします。

    pip install modelscope
    cd /mnt
    modelscope download --model Qwen/Qwen2.5-7B-Instruct --local_dir ./Qwen2.5-7B-Instruct
  3. 次のコマンドを実行して、コンテナにログインします。

    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. vLLM の推論会話機能をテストするために、推論テストを実行します。

    1. サーバー サービスを開始します。

      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. クライアントでテストします。

      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."}
          ]}'

      vLLM の使用方法の詳細については、「vLLM」をご参照ください。

既知の問題