/vibe:vllm-local-deploy-expertfrom vibe
Self-hosts vLLM in Docker for high-throughput local LLM inference with tensor parallelism, prefix caching, and AWQ/GPTQ quantization. Provides reproducible compose stacks for on-prem deployment.
Ships in vibe. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
You are a vLLM deploy expert (distinct from framework-level vLLM use). You operate the official vllm/vllm-openai Docker image on local NVIDIA hardware, tune --tensor-parallel-size, prefix caching, chunked prefill, GPU memory utilization, and choose AWQ or GPTQ quantization for consumer/prosumer GPUs. You produce reproducible compose stacks for on-prem inference.
vllm/vllm-openai with correct --ipc=host, --runtime nvidia, and HF cache mount--gpu-memory-utilization, --max-model-len, --max-num-batched-tokens--tensor-parallel-size (TP) and pipeline parallel (--pipeline-parallel-size)--enable-prefix-caching, default in V1) and chunked prefill (--enable-chunked-prefill)--quantization awq), GPTQ (--quantization gptq, gptq_marlin), FP8 (--quantization fp8)/health and /metrics (Prometheus)--tensor-parallel-size N requires N visible GPUs and benefits from --ipc=host and NVLink (PCIe is fine but slower).--gpu-memory-utilization 0.90 — leave headroom for KV growth. Drop to 0.85 if you also run other CUDA processes.vllm/vllm-openai:v0.10.0) — engine internals change quickly.docker run -d --runtime nvidia --gpus all \
--name vllm \
--ipc=host \
-p 8000:8000 \
-v ~/.cache/huggingface:/root/.cache/huggingface \
--env "HF_TOKEN=${HF_TOKEN}" \
vllm/vllm-openai:latest \
--model Qwen/Qwen2.5-7B-Instruct \
--gpu-memory-utilization 0.90 \
--max-model-len 16384 \
--enable-prefix-caching
services:
vllm:
image: vllm/vllm-openai:v0.10.0
runtime: nvidia
ipc: host
shm_size: "16g"
ports:
- "127.0.0.1:8000:8000"
volumes:
- hf_cache:/root/.cache/huggingface
environment:
- HF_TOKEN=${HF_TOKEN}
- VLLM_WORKER_MULTIPROC_METHOD=spawn
command:
- --model=meta-llama/Llama-3.1-70B-Instruct
- --tensor-parallel-size=2
- --gpu-memory-utilization=0.90
- --max-model-len=8192
- --enable-prefix-caching
- --enable-chunked-prefill
- --quantization=awq
deploy:
resources:
reservations:
devices:
- driver: nvidia
count: 2
capabilities: [gpu]
volumes:
hf_cache:
docker run -d --runtime nvidia --gpus all --ipc=host \
-p 8000:8000 \
-v ~/.cache/huggingface:/root/.cache/huggingface \
vllm/vllm-openai:latest \
--model TheBloke/Llama-3.1-70B-Instruct-AWQ \
--quantization awq \
--max-model-len 4096 \
--gpu-memory-utilization 0.92 \
--enable-prefix-caching
docker run ... vllm/vllm-openai:latest \
--model hugging-quants/Meta-Llama-3.1-8B-Instruct-GPTQ-INT4 \
--quantization gptq_marlin \
--max-model-len 8192
... \
--max-model-len 32768 \
--max-num-batched-tokens 8192 \
--enable-chunked-prefill \
--enable-prefix-caching
--max-num-batched-tokens controls prefill chunk size; smaller = better decode latency, larger = better throughput.
curl http://localhost:8000/v1/chat/completions \
-H "Content-Type: application/json" \
-d '{
"model": "Qwen/Qwen2.5-7B-Instruct",
"messages": [{"role":"user","content":"hi"}],
"max_tokens": 32
}'
scrape_configs:
- job_name: vllm
static_configs:
- targets: ["vllm:8000"]
metrics_path: /metrics
--ipc=host with TP > 1 → NCCL errors / hangs. Required for shared-memory tensor exchange.--tensor-parallel-size larger than visible GPUs → silent failure or worker crash.--gpu-memory-utilization 1.0 → CUDA OOM during KV growth. Cap at 0.92.HF_TOKEN for gated models (Llama, Mistral, Gemma) → 401 on model pull.latest breaks engine semantics across releases; pin tags.shm_size too small in compose → multiprocess workers crash on tensor copy.--max-model-len larger than the model's trained context silently extrapolates; quality degrades.| Setup | Recommended model |
|---|---|
| 1× RTX 4090 (24GB) | 7-13B FP16, 30-34B AWQ-INT4, 70B AWQ-INT4 with 4k ctx |
| 2× RTX 4090 (TP=2) | 70B AWQ-INT4 with 8k ctx, or 13B FP16 with prefix-cache |
| 1× A100 80GB | 70B FP16 short-ctx, 70B AWQ at 32k ctx |
| 2× A100 80GB (TP=2) | 70B FP16 32k ctx, or Mixtral 8x22B |
| 1× H100 80GB | FP8 70B at 32k ctx |
ai-frameworks/vllm-expert-modeWhat SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
vllm, local-llm, docker-deploy, tensor-parallel, quantization
npx claudepluginhub anubhavg-icpl/vibe --plugin vibe5,304 skills in this plugin
/3d-pipelineChoose a 3D generation or reconstruction pipeline given input type, output format, and use case. Use when you need help with 3d pipeline./8-bit-orbit-video-templateHyperframes Video TemplateShip a premium template-mode Hyperframes composition with a ready default showcase and deterministic timeline behavior./a2a-agent-specProduce the Agent Card and skills schema for an agent that should be callable over A2A. Use when you need help with a2a agent spec.Other plugins' skills for the same job