Skip to content

Commit 6a4daef

Browse files
committed
fix: Missing log severity
Signed-off-by: Naren Dasan <[email protected]> Signed-off-by: Naren Dasan <[email protected]>
1 parent 8143489 commit 6a4daef

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: py/torch_tensorrt/_compile.py

+1
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,7 @@ def convert_method_to_trt_engine(module: Any,
143143
ts_mod = module
144144
if isinstance(module, torch.nn.Module):
145145
logging.log(
146+
logging.Level.Info,
146147
"Module was provided as a torch.nn.Module, trying to script the module with torch.jit.script. In the event of a failure please preconvert your module to TorchScript"
147148
)
148149
ts_mod = torch.jit.script(module)

0 commit comments

Comments
 (0)