Skip to content

Commit b78b915

Browse files
authored
Fixed the problem that cannot get detailed build without default prof… (#4160)
1 parent 2e26bfa commit b78b915

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

py/torch_tensorrt/dynamo/conversion/_TRTInterpreter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ def _populate_trt_builder_config(
236236
if is_tensorrt_version_supported("8.2"):
237237
builder_config.profiling_verbosity = (
238238
trt.ProfilingVerbosity.DETAILED
239-
if self._debugger_config and self._debugger_config.save_engine_profile
239+
if self._debugger_config
240240
else trt.ProfilingVerbosity.LAYER_NAMES_ONLY
241241
)
242242

0 commit comments

Comments
 (0)