Debug AOTInductor (AOTI) errors and crashes. Use when encountering AOTI segfaults, device mismatch errors, constant loading failures, or runtime errors from aot_compile, aot_load, aoti_compile_and_package, or aoti_load_package.
AOTI Debugging Guide This skill helps diagnose and fix common AOTInductor issues. Error Pattern Routing Check the error message and route to the appropriate sub guide: Triton Index Out of Bounds If the error matches this pattern: → Follow the guide in All Other Errors Continue with the sections below. First Step: Always Check Device and Shape Matching For ANY AOTI error (segfault, exception, crash, wrong output), ALWAYS check these first: 1. Compile device Load device : The model must be loaded…
Full body not shown for this license – view the source on GitHub →Copy a source-pinned command for your client. You run it yourself.
Destination: .claude/skills/aoti-debug · pinned to the source commit
# Run from your project root
git clone https://github.com/pytorch/pytorch.git .skillboard-tmp
git -C .skillboard-tmp checkout 497054bc5632075da7cadbd6a8e14a49e8b534f7
mkdir -p ".claude/skills"
cp -r ".skillboard-tmp/.claude/skills/aoti-debug" ".claude/skills/"
rm -rf .skillboard-tmpReview the source before running. This copies files into your project; it is not a one-click install and does not verify runtime safety.
sudo apt update && sudo apt install -y gitnpm install -g @anthropic-ai/claude-code# Run from your project root
git clone https://github.com/pytorch/pytorch.git .skillboard-tmp
git -C .skillboard-tmp checkout 497054bc5632075da7cadbd6a8e14a49e8b534f7
mkdir -p ".claude/skills"
cp -r ".skillboard-tmp/.claude/skills/aoti-debug" ".claude/skills/"
rm -rf .skillboard-tmpDestination: .claude/skills/aoti-debug
Scanner static-checks@0.1.0 · commit 497054bc5632. Static checks cannot prove runtime safety – review the source and the exact diff before installing. How checks work.
Uses encoding/eval patterns that can hide executable content.
Evidence: [redacted]· fingerprint 1bbd174404efbce9