We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7680cb1 commit d880297Copy full SHA for d880297
py/torch_tensorrt/dynamo/conversion/_TRTInterpreter.py
@@ -345,9 +345,10 @@ def _populate_trt_builder_config(
345
self.compilation_settings.tiling_optimization_level
346
]
347
348
- builder_config.l2_limit_for_tiling = (
349
- self.compilation_settings.l2_limit_for_tiling
350
- )
+ if self.compilation_settings.l2_limit_for_tiling != -1:
+ builder_config.l2_limit_for_tiling = (
+ self.compilation_settings.l2_limit_for_tiling
351
+ )
352
353
return builder_config
354
0 commit comments