Skip to content

Commit

Permalink
fix(//py): Lib path incorrect
Browse files Browse the repository at this point in the history
Signed-off-by: Naren Dasan <naren@narendasan.com>
Signed-off-by: Naren Dasan <narens@nvidia.com>
  • Loading branch information
narendasan committed Jun 1, 2020
1 parent db20098 commit ff2b13c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion py/trtorch/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,6 @@

def _register_with_torch():
trtorch_dir = os.path.dirname(__file__)
torch.ops.load_library(trtorch_dir + '/lib/trtorch.so')
torch.ops.load_library(trtorch_dir + '/lib/libtrtorch.so')

_register_with_torch()

0 comments on commit ff2b13c

Please sign in to comment.