pytorch / pytorch/TensorRT

✨[Feature] Debugging Partitioner

Open
#4,100 1 comment 0 reactions 1 assignee View on GitHub

@narendasan is already working on this.

Since Feb 24, 2026.

feature request story: Dynamo Frontend & Partitioning
Dominant language
Python
Stars
3k
Forks
410
Avg merge
3d 18h
Merged PRs (30d)
78

Description

Is your feature request related to a problem? Please describe.

We want to be able to narrow down where inside graphs operators start numerically diverging from PyTorch numerics in an automatic fashion

Describe the solution you'd like

We should have a debugger mode which re runs compilation a number of times modifying how the graph gets partitioned. Using something like HLOs in PyTorch we can keep pytorch source and tensorrt paired so we can check intermediate subgraph outputs.

Describe alternatives you've considered

Using something like debug tensors, we can also try to output intermediate ops and match them to edges in the fx graph to instrument the compiled graph to check intermediate tensor acc.

Additional context

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.