Pular para o conteúdo
Kitbay
Skill

pt2-bug-basher

NOASSERTIONAtualizado em 11 de nov. de 2026105.390Estrelas no GitHub

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.

O que a skill ensina

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.

O que faz

  • 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