What problem does it solve?
When optimizing TensorRT-LLM inference, engineers often guess at optimizations or reinvent approaches that have already been proven. This Skill supplies a curated casebook of past successful runtime, kernel, and communication optimizations recorded as decision precedents, so a classified bottleneck can be matched to prior art with known mechanisms, risks, and rollback paths.
Core Features & Use Cases
- Precedent Matching: Free-text grep over case files plus optional canonical frontmatter ranking to find optimizations applicable to a given bottleneck class, model, hardware, and config.
- Structured Case Schema: Every case records applicability signals, counter-signals, mechanism, generalization pattern, apply-via knob or specialist, accuracy risk, verification steps, and rollback triggers.
- Controlled Vocabulary: Canonical tags, aliases, and a pattern registry (data/tags.yaml, aliases.yaml, patterns.yaml) keep matching consistent across runtime-execution, kernel-and-fusion, and communication families.
- Use Case: After profiling classifies a decode bottleneck as launch-bound with many small kernels on SM90, consult the casebook to find precedents like PDL or piecewise CUDA-graph capture, adapt the knobs, and delegate implementation to the named specialist.
Quick Start
Ask the assistant to consult the perf-optimization-casebook for prior optimization precedents matching your classified TensorRT-LLM bottleneck, model, and hardware.