Skip to content

Commit a835d5f

Browse files
authored
fix: fix exported_program import error (#3007)
1 parent ca4b263 commit a835d5f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

py/torch_tensorrt/_compile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
)
2525

2626
if ENABLED_FEATURES.dynamo_frontend:
27-
from torch._export import ExportedProgram
27+
from torch.export import ExportedProgram
2828
from torch_tensorrt.dynamo._compiler import compile as dynamo_compile
2929
from torch_tensorrt.dynamo._compiler import (
3030
convert_module_to_trt_engine as dynamo_convert_module_to_trt_engine,

0 commit comments

Comments
 (0)