Skip to content

Commit

Permalink
fix: Missing log severity
Browse files Browse the repository at this point in the history
Signed-off-by: Naren Dasan <[email protected]>
Signed-off-by: Naren Dasan <[email protected]>
  • Loading branch information
narendasan committed Nov 11, 2021
1 parent 8143489 commit 6a4daef
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions py/torch_tensorrt/_compile.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,7 @@ def convert_method_to_trt_engine(module: Any,
ts_mod = module
if isinstance(module, torch.nn.Module):
logging.log(
logging.Level.Info,
"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"
)
ts_mod = torch.jit.script(module)
Expand Down

0 comments on commit 6a4daef

Please sign in to comment.