本文へスキップ
Kitbay
スキル

pt2-bug-basher

NOASSERTION2026年11月11日 更新105,390GitHubスター

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.

スキルの内容

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.

できること

  • 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