Vllm Compare Reqsのロゴ

Vllm Compare Reqs

組織
opendatahub-io
vllm-compare-reqs

このスキルは、バージョン間でvllmのrequirementsファイルを比較する際に使用します。

概要

公開者opendatahub-io
リポジトリai-helpers
スキル名vllm-compare-reqs
スター
39
フォーク
76
同梱ファイル
1
ライセンスApache-2.0
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 1個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

    opendatahub-ioがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Vllm Compare Reqs」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/opendatahub-io/ai-helpers/tree/main/plugins/odh-vllm/skills/vllm-compare-reqs
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/opendatahub-io/ai-helpers.git /tmp/ai-helpers
mkdir -p .claude/skills
cp -r /tmp/ai-helpers/plugins/odh-vllm/skills/vllm-compare-reqs .claude/skills/vllm-compare-reqs
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでVllm Compare Reqsを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にVllm Compare Reqsを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Vllm Compare Reqsは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

vllm Compare Requirements Skill

Purpose

Compare vllm requirements files and Dockerfiles between versions to identify dependency changes, providing intelligent analysis for AIPCC package onboarding workflows.

For accelerator builds (ROCm, CUDA, TPU, XPU), Dockerfile comparison is critical because they specify exact commits/branches for dependencies built from source (PyTorch, Triton, Flash Attention, etc.) - information not available in requirements files.

Note: Starting from v0.20, vllm moved build requirements into a build/ subdirectory (e.g., build/rocm.txt instead of rocm-build.txt). The script automatically handles both layouts, falling back to the old paths for older versions. This makes cross-version comparisons (e.g., v0.19 vs v0.20) work seamlessly.

Skill Type

Executable Script - Runs a Python script to fetch and compare requirements files from the vllm GitHub repository.

When to Use

Use this skill when you need to:

  • Compare vllm runtime AND build requirements between versions before upgrading
  • Identify new packages that need onboarding to the AIPCC wheels builder
  • Understand dependency changes for specific hardware variants (ROCm, CUDA, etc.)
  • Analyze Dockerfile ARG changes (build commits/branches for ROCm/CUDA)
  • Debug build failures related to dependency mismatches

Note: Variant comparisons include BOTH runtime and build dependencies to ensure complete coverage.

Usage

Basic Syntax

bash
./scripts/compare_reqs.py <version1> <version2> <variant|file> [--pretty]

Arguments

  • version1: First version to compare (e.g., v0.13.0, v0.14.0rc1)
  • version2: Second version to compare
  • variant|file: Either:
    • Variant name: rocm, cuda, cpu, tpu, xpu (auto-includes runtime + build requirements + Dockerfiles)
    • Specific file: build/rocm.txt, common.txt, docker/Dockerfile.rocm, etc. (old-style paths like rocm-build.txt also accepted)
  • --pretty: Show clean categorized output (default)
  • --no-pretty: Show simple diff output

Examples

bash
# Compare ROCm runtime + build requirements + Dockerfiles
./scripts/compare_reqs.py v0.19.0 v0.20.2 rocm

# Compare CUDA runtime + build requirements + Dockerfiles
./scripts/compare_reqs.py v0.19.0 v0.20.2 cuda

# Compare specific file only
./scripts/compare_reqs.py v0.19.0 v0.20.2 common.txt
./scripts/compare_reqs.py v0.19.0 v0.20.2 build/rocm.txt
./scripts/compare_reqs.py v0.19.0 v0.20.2 docker/Dockerfile.rocm_base

# Cross-version comparison (old layout vs new layout - handled automatically)
./scripts/compare_reqs.py v0.18.0 v0.20.2 rocm

# All variants (auto-detects correct file paths per version)
./scripts/compare_reqs.py v0.19.0 v0.20.2 rocm   # common.txt + rocm.txt + build/rocm.txt + Dockerfiles
./scripts/compare_reqs.py v0.19.0 v0.20.2 cuda   # common.txt + cuda.txt + build/cuda.txt + Dockerfile
./scripts/compare_reqs.py v0.19.0 v0.20.2 cpu    # common.txt + cpu.txt + build/cpu.txt + Dockerfile.cpu
./scripts/compare_reqs.py v0.19.0 v0.20.2 tpu    # common.txt + tpu.txt + Dockerfile.tpu
./scripts/compare_reqs.py v0.19.0 v0.20.2 xpu    # common.txt + xpu.txt + Dockerfile.xpu (Intel GPU)

Output Format

The script provides clean, categorized output with a summary table followed by detailed changes:

text
=== Comparing rocm variant (runtime + build + Dockerfiles): v0.19.0 -> v0.20.2 ===

📊 Change Summary Table:

File                 Package                             Old Version               New Version               Type      
────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
common.txt           protobuf                            -                         >= 6.30.0                 Added
common.txt           grpcio                              -                         >=1.76.0                  Added
build/rocm.txt       torch                               ==2.9.0                   ==2.9.1                   Changed
build/rocm.txt       triton                              ==3.5.0                   ==3.5.1                   Changed
docker/Dockerfil...  PYTORCH_BRANCH=1c57644d                                                                 Changed
docker/Dockerfil...  MORI_BRANCH=2d02c6a9                -                                                   Added

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📄 common.txt
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

📦 Changed:
  xgrammar == 0.1.27 → xgrammar == 0.1.29
  mistral_common[image] >= 1.8.5 → mistral_common[image] >= 1.8.8

➕ Added:
  protobuf >= 6.30.0 # Required by LlamaTokenizer, gRPC.
  grpcio>=1.76.0

➖ Removed:
  scipy # Required for phi-4-multimodal-instruct

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📄 build/rocm.txt
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

📦 Changed:
  torch==2.9.0 → torch==2.9.1
  triton==3.5.0 → triton==3.5.1

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🐳 docker/Dockerfile.rocm_base
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

📦 Changed:
  BASE_IMAGE=rocm/dev-ubuntu-22.04:7.1-complete → BASE_IMAGE=rocm/dev-ubuntu-22.04:7.0-complete
  PYTORCH_BRANCH=1c57644d → PYTORCH_BRANCH=89075173
  AITER_BRANCH=59bd8ff2 → AITER_BRANCH=6af8b687

➕ Added:
  MORI_BRANCH=2d02c6a9
  MORI_REPO=https://github.com/ROCm/mori.git
  RIXL_BRANCH=50d63d94
  RIXL_REPO=https://github.com/vcave/RIXL.git

AI Analysis Requirements

After running the script and displaying the output, you must provide intelligent impact analysis:

Required Analysis Sections

  1. Summary: Brief overview of changes
  2. Impact Level: Low/Medium/High based on:
    • Number of new packages
    • Breaking changes (major version bumps)
    • Removed dependencies
    • Dockerfile ARG changes (especially BASE_IMAGE, PYTORCH_BRANCH, etc.)
  3. AIPCC Wheels Builder Impact:
    • ✅ No Action Required: Stable dependencies
    • ⚠️ Action Required: New packages to onboard, version updates
    • 🚨 Breaking Changes: Major issues, base image changes
  4. Package Details: For each new package:
    • Purpose (from requirement comments)
    • Complexity assessment (pure Python vs compiled)
    • PyPI link
    • Any ambiguities (multiple packages with same name)
  5. Dockerfile Analysis (for ROCm/CUDA):
    • Base image changes (ROCm/CUDA version changes)
    • Source build commit changes (PyTorch, Triton, etc.)
    • New dependencies added (MORI, RIXL, UCX, etc.)
  6. Next Steps: Concrete action items
  7. Context: Infer purpose of the update

Example Analysis

markdown
## Summary of Changes: vllm v0.13.0 → v0.14.0rc1

### Impact Level: Medium

### AIPCC Wheels Builder Impact:

#### ✅ No Action Required:
- ROCm version remains at 6.4
- PyTorch ecosystem stable (minor patch updates only)

#### ⚠️ Action Required:
**New packages to onboard:**
1. **`grpcio>=1.76.0`** (NEW)
   - Purpose: gRPC support
   - Complexity: Compiled extension (C++)
   - PyPI: https://pypi.org/project/grpcio/
   - Action: Onboard grpcio 1.76.0+

**Version updates:**
- torch: 2.9.0 → 2.9.1 (patch - safe)
- triton: 3.5.0 → 3.5.1 (patch - safe)

**Removed dependencies:**
- scipy: Was required for phi-4-multimodal-instruct
  - Risk: Low (model-specific, may not be widely used)

#### Next Steps:
1. Onboard grpcio>=1.76.0 to wheels builder
2. Verify torch 2.9.1 and triton 3.5.1 availability
3. Test vllm 0.14.0rc1 build with new dependencies
4. Validate phi-4 model functionality without scipy

**Context:** This release adds gRPC support and updates to PyTorch 2.9.1.

Integration with AIPCC Workflows

Package Onboarding

When onboarding a new vllm version:

  1. Run comparison to identify new dependencies
  2. Analyze complexity of each new package
  3. Prioritize onboarding based on impact
  4. Generate action plan

Debugging Build Failures

When builds fail:

  1. Compare requirements between working and failing versions
  2. Correlate changes with error messages
  3. Identify missing or mismatched dependencies
  4. Recommend fixes

Release Planning

When planning releases:

  1. Compare requirements across multiple versions
  2. Estimate onboarding effort
  3. Identify blocking dependencies
  4. Generate timeline

Technical Details

  • Language: Python 3
  • Dependencies: Standard library only (urllib)
  • Network: Fetches files from GitHub (requires internet)
  • Colors: Uses ANSI color codes for terminal output
  • Exit codes: 0 for success, 1 for failure

Error Handling

The script detects and reports errors for:

  • Version not found (404 errors)
  • File not found in specific version (with automatic fallback to old paths)
  • Network errors
  • Invalid input
  • Cross-version layout changes (old flat rocm-build.txt vs new build/rocm.txt)

See Also

同梱ファイル

スキルが読み込まれている間、モデルは必要に応じてこれらを読み取ります。読み取り可能なファイルとして提供され、実行されることはありません。

よくある質問

AIスキル「Vllm Compare Reqs」では何ができますか?

このスキルは、バージョン間でvllmのrequirementsファイルを比較する際に使用します。

TypingMindでVllm Compare Reqsを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Vllm Compare Reqsはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにVllm Compare Reqsをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/opendatahub-io/ai-helpers/tree/main/plugins/odh-vllm/skills/vllm-compare-reqsを貼り付けてください。TypingMindがSKILL.mdを読み込み、関連ファイルをまとめて、チャットごとに有効にできるスキルとしてインストールします。

Vllm Compare Reqsを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Vllm Compare Reqsで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもVllm Compare Reqsを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Vllm Compare Reqs」は無料ですか?

はい。opendatahub-ioがApache-2.0ライセンスのもとでGitHubに公開しています。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇