You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This toolchain captures TensorRT network creation and build parameters at runtime via a shim, then deterministically replays them to reproduce an engine build. Use it to debug or reproduce builds independent of the originating framework.
5
+
6
+
Prerequisites
7
+
-------------
8
+
9
+
- TensorRT installed (ensure you know the absolute path to its ``lib`` and ``bin`` directories)
10
+
- ``libtensorrt_shim.so`` available in your TensorRT ``lib`` directory
11
+
- ``tensorrt_player`` available in your TensorRT ``bin`` directory
"Capturing TensorRT API calls is enabled, but libtensorrt_shim.so is not found, make sure TensorRT lib is in the LD_LIBRARY_PATH, therefore ignoring the capture_tensorrt_api_recording setting"
after execution of a lowering pass. Defaults to None.
50
52
save_engine_profile (bool): Whether to save TensorRT engine profiling information.
51
53
Defaults to False.
54
+
capture_tensorrt_api_recording (bool): Whether to enable the capture TensorRT API recording feature, when this is enabled, it will output the catputure TensorRT API recording in the /tmp/torch_tensorrt_{current_user}/shim directory.
55
+
It is part of the TensorRT capture and replay feature, the captured output will be able to replay for debug purpose.
56
+
Defaults to False.
52
57
profile_format (str): Format for profiling data. Choose from 'perfetto', 'trex', 'cudagraph'.
53
58
If you need to generate engine graph using the profiling files, set it to 'trex' and use the C++ runtime.
54
59
If you need to generate cudagraph visualization, set it to 'cudagraph'.
0 commit comments