8000 🐛 [Bug] with torch_tensorrt.dynamo.Debugger on torch_tensorrt.dynamo.compile it failed due to no graphviz installed · Issue #3645 · pytorch/TensorRT · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
🐛 [Bug] with torch_tensorrt.dynamo.Debugger on torch_tensorrt.dynamo.compile it failed due to no graphviz installed #3645
Open
@lanluo-nvidia

Description

@lanluo-nvidia

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.dynamo.compile(ep, inputs=dummy_inputs, **settings)

failed due to no graphviz installed, no pydot as dependency

need to do:
dnf install graphviz
python -m pip install pydot

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

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0