Skip to content

Commit ff2b13c

Browse files
committed
fix(//py): Lib path incorrect
Signed-off-by: Naren Dasan <[email protected]> Signed-off-by: Naren Dasan <[email protected]>
1 parent db20098 commit ff2b13c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

py/trtorch/__init__.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,6 @@
1414

1515
def _register_with_torch():
1616
trtorch_dir = os.path.dirname(__file__)
17-
torch.ops.load_library(trtorch_dir + '/lib/trtorch.so')
17+
torch.ops.load_library(trtorch_dir + '/lib/libtrtorch.so')
18+
19+
_register_with_torch()

0 commit comments

Comments
 (0)