aoti-debug
A skill kept in the PyTorch repository for debugging AOTInductor, PyTorch's ahead-of-time compiler, when compiled models crash or fail: segfaults, device mismatches, constant-loading errors and CUDA illegal memory accesses.
O que a skill ensina
A skill kept in the PyTorch repository for debugging AOTInductor, PyTorch's ahead-of-time compiler, when compiled models crash or fail: segfaults, device mismatches, constant-loading errors and CUDA illegal memory accesses. It starts with three checks (same device type at compile and load time, inputs on the right device, input shapes matching the compiled constraints), then gives a step-by-step route for memory errors: turn on input and NaN checks, make failures reproducible by disabling the caching allocator and forcing synchronous launches, and print kernels as they run to find the culprit. It lists the relevant environment variables and notes that the older aot_compile and aot_load functions are deprecated.
O que faz
- Check device and shape mismatches in AOTInductor models
- Narrow down CUDA illegal memory access errors
- Print kernels at run time to find a failing one
- Pick the right debug environment variables
Sobre
- Publicador
- PyTorch
- Ferramenta
- Depuração
Instalação
O projeto não documenta passos de instalação que tenhamos conseguido confirmar. Veja as instruções do próprio projeto
O que tem dentro
- triton-index-out-of-bounds.md
Servidores MCP e skills podem executar código no seu computador e agir sobre os seus dados. Revise o código-fonte antes de instalar.
Detalhes
| Fato | Valor | Fonte |
|---|---|---|
| Tipo | Skill | |
| Ferramenta | Depuração | |
| Publicador | PyTorch | fonte |
| Status oficial | Não informado na documentação | |
| Exige chave de API ou login | Não informado na documentação | |
| Inclui scripts | Não | fonte |
| Plataformas | Não informado na documentação | |
| Clientes de IA | Não informado na documentação | |
| Licença | NOASSERTION | fonte |
| Preço | Não informado na documentação | |
| Atividade | Último commit em 11 de nov. de 2026105.390 estrelas no GitHubDados de download indisponíveis (não está no npm nem no PyPI) | fonte |
| Links | Repositório Site |
Mais de PyTorch
16 skills
- ci-metrics (Skill)
- fix-issue (Skill)
- ghstack-ci (Skill)
- deprecate-feature (Skill)
- metal-kernel (Skill)
- pr-review (Skill)
Também listado em: Depuração
Fontes
- Arquivo da skill (SKILL.md)github.com/pytorch/pytorch · Comprova: Publicador, Licença10 de nov. de 2026
- Repositório no GitHubgithub.com/pytorch/pytorch · Comprova: Atividade11 de nov. de 2026
- Pasta no repositório (aoti-debug)github.com/pytorch/pytorch · Comprova: Inclui scripts10 de nov. de 2026