🐛 [Bug] with torch_tensorrt.dynamo.Debugger is not working with MutableTorchTensorRTModule
Open
@cehongwang is already working on this.
Since Jul 1, 2025.
bug
story: Dynamo Frontend & Partitioning
- Dominant language
- Python
- Stars
- 3k
- Forks
- 410
- Avg merge
- 3d 18h
- Merged PRs (30d)
- 78
Description
Bug Description
To Reproduce
with torch_tensorrt.dynamo.Debugger(
"graphs",
logging_dir=DEBUG_LOGGING_DIR,
capture_fx_graph_after=["remove_num_users_is_0_nodes"],
save_engine_profile=True,
profile_format="trex",
engine_builder_monitor=True,
):
trt_gm = torch_tensorrt.MutableTorchTensorRTModule(backbone, **settings)
This is not producing any log or graphs
Expected behavior
Environment
Build information about Torch-TensorRT can be found by turning on debug messages
- Torch-TensorRT Version (e.g. 1.0.0):
- PyTorch Version (e.g. 1.0):
- CPU Architecture:
- OS (e.g., Linux):
- How you installed PyTorch (
conda,pip,libtorch, source): - Build command you used (if compiling from source):
- Are you using local sources or building from archives:
- Python version:
- CUDA version:
- GPU models and configuration:
- Any other relevant information:
Additional context
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.