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.
Was der Skill vermittelt
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.
Funktionen
- 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
Überblick
- Herausgeber
- PyTorch
- Tool
- Debugging
Installation
Das Projekt dokumentiert keine Installationsschritte, die wir bestätigen konnten. Zur Anleitung des Projekts
Was enthalten ist
- triton-index-out-of-bounds.md
MCP-Server und Skills können Code auf deinem Rechner ausführen und auf deine Daten zugreifen. Prüfe den Quellcode, bevor du etwas installierst.
Details
| Angabe | Wert | Quelle |
|---|---|---|
| Typ | Skill | |
| Tool | Debugging | |
| Herausgeber | PyTorch | Quelle |
| Offizieller Status | In der Dokumentation nicht angegeben | |
| Braucht API-Key oder Anmeldung | In der Dokumentation nicht angegeben | |
| Enthält Skripte | Nein | Quelle |
| Plattformen | In der Dokumentation nicht angegeben | |
| KI-Clients | In der Dokumentation nicht angegeben | |
| Lizenz | NOASSERTION | Quelle |
| Preis | In der Dokumentation nicht angegeben | |
| Aktivität | Letzter Commit am 11. Nov. 2026105.390 GitHub-SterneKeine Download-Daten verfügbar (nicht auf npm oder PyPI) | Quelle |
| Links | Repository Website |
Mehr von PyTorch
16 Skills
- ci-metrics (Skill)
- fix-issue (Skill)
- ghstack-ci (Skill)
- deprecate-feature (Skill)
- metal-kernel (Skill)
- pr-review (Skill)
Auch zu finden unter: Debugging
Quellen
- Skill-Datei (SKILL.md)github.com/pytorch/pytorch · Belegt: Herausgeber, Lizenz10. Nov. 2026
- GitHub-Repositorygithub.com/pytorch/pytorch · Belegt: Aktivität11. Nov. 2026
- Ordner im Repository (aoti-debug)github.com/pytorch/pytorch · Belegt: Enthält Skripte10. Nov. 2026