pt2-bug-basher
A contributor skill in the PyTorch repository for fixing failures in the PyTorch 2 compiler stack: torch.compile errors, backend compiler failures, recompilations, Triton kernel problems and FX graph issues in Dynamo or Inductor.
What the skill teaches
A contributor skill in the PyTorch repository for fixing failures in the PyTorch 2 compiler stack: torch.compile errors, backend compiler failures, recompilations, Triton kernel problems and FX graph issues in Dynamo or Inductor. It runs only when a user calls it. The agent confirms the conda environment works, reproduces and shrinks the failure, and writes a failing unit test first, checking in a separate worktree that it also fails on main. It then collects compiler logs, classifies the error with a triage table, inspects graphs, intermediate code and generated kernels, fixes the root cause, runs nearby tests and reviews its own change with the repository's pull request review skill before summarising.
Capabilities
- Reproduce and minimise torch.compile failures
- Add a failing test before fixing
- Read compiler logs, FX graphs and generated code
- Classify PT2 errors with a triage table
About
- Publisher
- PyTorch
- Tool
- Debugging
Install
The project doesn't document install steps that we could confirm. See the project's own instructions
MCP servers and skills can run code on your computer and act on your data. Review the source before installing.
Details
| Fact | Value | Source |
|---|---|---|
| Type | Skill | |
| Tool | Debugging | |
| Publisher | PyTorch | source |
| Official status | Not stated in its documentation | |
| Needs an API key or sign-in | Not stated in its documentation | |
| Includes scripts | No | source |
| Platforms | Not stated in its documentation | |
| AI clients | Not stated in its documentation | |
| Licence | NOASSERTION | source |
| Pricing | Not stated in its documentation | |
| Activity | Last commit Nov 11, 2026105,390 GitHub starsDownload data not available (not on npm or PyPI) | source |
| Links | Repository Website |
More from PyTorch
16 skills
- ci-metrics (Skill)
- fix-issue (Skill)
- ghstack-ci (Skill)
- aoti-debug (Skill)
- deprecate-feature (Skill)
- metal-kernel (Skill)
Also listed under: Debugging
Sources
- Skill file (SKILL.md)github.com/pytorch/pytorch · Backs: LicenceNov 10, 2026
- GitHub repositorygithub.com/pytorch/pytorch · Backs: Publisher, ActivityNov 11, 2026
- Folder in the repository (pt2-bug-basher)github.com/pytorch/pytorch · Backs: Includes scriptsNov 10, 2026