Skip to content

trt-engine-explorer cannot load graph json files generated by trt8.6 #2779

@hhswgww

Description

@hhswgww

Description

I was using trt8.5 before, and I can normally visualize the json file generated by the trtexec command (--loadEngine=$TRT_ENGINE --exportProfile=$PROFILE_JSON --exportLayerInfo=$GRAPH_JSON) through trt-engine-explorer, and get the corresponding svg map.
Now I have installed the new trt8.6 EA version through the tar installation package, but the json file it generates contains a lot of illegal characters, which makes the visualization process impossible.

image

image

I visualize the calculation graph through the following python api
image
I also tried adding “static=false” to json.load() function,but the output svg picture is incomplete like this:
image

Environment

TensorRT Version: 8.6 EA
NVIDIA GPU: tried on A100 and 3080, consistent phenomenon
NVIDIA Driver Version:
CUDA Version: 11.4 on A100;11.7 on 3080

i don't think it is a cuda-related problem ; It is guessed that the root of the problem is that there is a certain error in the way trtexec exports the json file

Relevant Files

Steps To Reproduce

Metadata

Metadata

Assignees

Labels

triagedIssue has been triaged by maintainers

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions