What problem does it solve?
This skill helps diagnose and fix common AOTInductor issues, including segfaults, device mismatch errors, constant loading failures, or runtime errors from aot_compile, aot_load, or aoti_compile_and_package, by guiding structured checks and debugging workflows.
Core Features & Use Cases
- Structured device/shape checks to ensure compile and load device alignment, input device matching, and dynamic shapes handling.
- Common error pattern guidance covering device mismatch, segmentation faults, and constant loading failures with recommended remedies.
- Deterministic CUDA IMA debugging guidance and environment flag recommendations to reproduce and triage issues.
- Use cases: diagnosing AOTInductor crashes in CPU/GPU pipelines, stabilizing model loading, and ensuring correct device contexts for aot workflows.
Quick Start
Follow the step-by-step checks to verify device, shapes, and inputs, then run the AOTInductor debugging workflow to identify and fix the issue.