
Standalone distribution repo for inferencex-optimize and vllm-optimize skills.
概览
Standalone distribution repo for inferencex-optimize and vllm-optimize skills. This repo packages GPU inference benchmarking and profiling workflows as reusable skills that can be installed once and used from: Claude Code and OpenCode discover skills from Claude-compatible install locations. Cursor uses a generated .mdc rule. One ./install.sh run sets up all three. Full InferenceX benchmark and profiling workflow including: - Docker container setup - Sweep filtering and configuration - Benchmark execution - Torch profiler trace collection - TraceLens analysis - Report generation Standalone vLLM benchmark and profiling workflow: - Automated vLLM server startup - Concurrency sweep benchmark - Torch profiler trace capture - GPU kernel analysis with proper filtering - Works in containerized environments - Supports AMD MI355X/MI300X and NVIDIA GPUs For verified OpenCode and Cursor usage, see GUIDE.md.
README
以下为原文 README 节选,完整内容请查看原文。
inference-skill
Standalone distribution repo for inferencex-optimize and vllm-optimize skills.
This repo packages GPU inference benchmarking and profiling workflows as reusable skills that can be installed once and used from:
Claude CodeOpenCodeCursor
Claude Code and OpenCode discover skills from Claude-compatible install locations. Cursor uses a generated .mdc rule. One ./install.sh run sets up all three.
Two Skills
inferencex-optimize
Full InferenceX benchmark and profiling workflow including:
- Docker container setup
- Sweep filtering and configuration
- Benchmark execution
- Torch profiler trace collection
- TraceLens analysis
- Report generation
vllm-optimize
Standalone vLLM benchmark and profiling workflow:
- Automated vLLM server startup
- Concurrency sweep benchmark
- Torch profiler trace capture
- GPU kernel analysis with proper filtering
- Works in containerized environments
- Supports AMD MI355X/MI300X and NVIDIA GPUs
Guide
For verified OpenCode and Cursor usage, see GUIDE.md.
Intended UX
inferencex-optimize
Use inferencex-optimize skill for qwen3.5-bf16-mi355x-sglang.
vllm-optimize
Use vllm-optimize skill for Qwen/Qwen3.5-35B-A3B
After either prompt, the agent should drive a short guided setup:
- first ask exactly three high-level question groups:
Run plan,Output, andGPUs - ask those questions together as one grouped form, not one-by-one
- then do lightweight discovery before asking
tp,seq-len, andconc - offer a smoke fast path with recommended defaults or per-filter review
- emit visible status updates between each stage so the user knows what is happening
- summarize the plan
- start work
Repo layout
inference-skill/
install.sh
LICENSE
skills/
inferencex-optimize/
SKILL.md
INTAKE.md
RUNTIME.md
EXAMPLES.md
INSTALL.md
LICENSE
phases/
templates/
scripts/
tests/
E2E_TEST.md
e2e_optimize_test.py
resources/
vllm-optimize/
SKILL.md
INTAKE.md
RUNTIME.md
README.md
phases/
scripts/
Install
Clone the repo and install globally:
git clone https://github.com/AMD-AIM/inference-skill.git
cd inference-skill
./install.sh
Install into a specific project:
./install.sh --project /path/to/project
Create a linked install for local development:
./install.sh --project /path/to/project --link
Install targets
Global install writes to:
~/.claude/skills/inferencex-optimize # skill files (Claude Code + OpenCode)
~/.claude/skills/vllm-optimize # skill files (Claude Code + OpenCode)
~/.cursor/skills/inferencex-optimize # symlink (Cursor native skill)
~/.cursor/skills/vllm-optimize # symlink (Cursor native skill)
~/.cursor/rules/inferencex-optimize.mdc # Cursor agent-requested rule
推荐工具
换一个关键词,或者移除筛选条件。
安装
npx skillfish add amd-aim/inference-skill