-
Notifications
You must be signed in to change notification settings - Fork 360
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Fix meta kernel ops import issue for Python only builds (#3322)
- Loading branch information
Showing
3 changed files
with
6 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,10 @@ | ||
import torch_tensorrt | ||
from torch_tensorrt.dynamo.runtime._PythonTorchTensorRTModule import ( # noqa: F401 | ||
PythonTorchTensorRTModule, | ||
) | ||
from torch_tensorrt.dynamo.runtime._TorchTensorRTModule import ( # noqa: F401 | ||
TorchTensorRTModule, | ||
) | ||
from torch_tensorrt.dynamo.runtime.register_fake_class import * | ||
|
||
if torch_tensorrt.ENABLED_FEATURES.torch_tensorrt_runtime: | ||
from torch_tensorrt.dynamo.runtime.meta_ops.register_meta_ops import * |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters