Audit AND tune Linux/GPU inference hosts — read-only host snapshot (CPU power state, C-states, NUMA topology, PCIe link state, GPU settings, kernel boot params, sysctl, ulimits, IRQ affinity, container runtime), optional pinned-host↔GPU memcpy bench (torch + numactl), and per-lever cheat-sheets to flip settings (governor, EPP, cpuidle, persistence, ECC, hugepages, intel_iommu, NCCL env, tuned-adm profiles, Dell/Supermicro/HPE BIOS guidance). Sits beneath any inference framework (vLLM, sglang, TensorRT-LLM) — about the host, not the framework.
Installation
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Tune — apply individual levers from the cheat-sheet
This file is a pointer map. The actual logic lives in scripts/ and the
authoritative references in references/.
Quick start
# From the skill directory — typically ~/.claude/skills/gpu-host-tuning# (personal) or .claude/skills/gpu-host-tuning (project install).# Audit (read-only, ~60s)
./scripts/collect.sh
# Audit + pinned-memcpy bench (needs torch + CUDA, ~5 min)
./scripts/collect.sh --bench
The script prompts for the output parent dir on first interactive run and
remembers the choice. Override via --out <dir> or HOST_AUDIT_DIR=<dir>.
Default snapshot dirname is gpu-host-tuning-<host>-<UTC>.
Two snapshots on the same host (e.g., pre-tune and post-tune) can be
compared with diff -ruN snap_pre/ snap_post/. For a structured impact
ranking, use references/probe-interpretation.md to interpret deltas.