What problem does it solve?
This skill helps PyTorch and vLLM developers understand, configure, debug, and optimize vLLM's custom torch.compile pipeline, including guard dropping, graph breaks, fusion failures, graph splitting, compilation cache issues, and CUDA graph capture problems.
Core Features & Use Cases
- Compilation Pipeline Guidance: Explains the flow from the support_torch_compile decorator through Dynamo capture, Inductor optimization, piecewise graph execution, and CUDA graph replay.
- Fusion and Graph Optimization: Provides implementation patterns for vLLM-specific Inductor passes, including RoPE and KV-cache fusion, collective fusion, activation quantization, and normalization optimizations.
- Debugging and Configuration: Helps investigate graph breaks, missing split points, guard violations, compilation out-of-memory errors, cache invalidation, and CUDA graph failures using relevant configuration options, logs, and generated artifacts.
- Use Case: When a vLLM model fails during compilation or shows unexpected performance, use this skill to identify the affected pipeline stage, inspect the relevant cache or logs, adjust compilation settings, and isolate the issue by disabling individual components.
Quick Start
Use the vLLM compilation skill to diagnose a torch.compile failure in my model and recommend the relevant logs, configuration changes, and next debugging steps.