File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change 3
3
# Install dependencies
4
4
python3 -m pip install pyyaml
5
5
yum install -y ninja-build gettext
6
- TRT_VERSION=$( python3 -c " import versions; versions.tensorrt_version()" )
6
+ TRT_VERSION=10.0.0.6 # $(python3 -c "import versions; versions.tensorrt_version()")
7
7
wget -P /opt/torch-tensorrt-builds/ https://developer.nvidia.com/downloads/compute/machine-learning/tensorrt/10.0.0/TensorRT-10.0.0.6.Linux.x86_64-gnu.cuda-12.4.tar.gz
8
8
tar -xvzf /opt/torch-tensorrt-builds/TensorRT-10.0.0.6.Linux.x86_64-gnu.cuda-12.4.tar.gz -C /opt/torch-tensorrt-builds/
9
9
export LD_LIBRARY_PATH=/opt/torch-tensorrt-builds/TensorRT-10.0.0.6/lib:$LD_LIBRARY_PATH
Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ def _find_lib(name: str, paths: List[str]) -> str:
60
60
61
61
elif sys .platform .startswith ("linux" ):
62
62
LINUX_PATHS = ["/usr/local/cuda-12.1/lib64" , "/usr/lib" , "/usr/lib64" ]
63
-
63
+ print ( "==== BOOL CHECK" , "LD_LIBRARY_PATH" in os . environ )
64
64
if "LD_LIBRARY_PATH" in os .environ :
65
65
LINUX_PATHS += os .environ ["LD_LIBRARY_PATH" ].split (os .path .pathsep )
66
66
@@ -92,9 +92,8 @@ def _find_lib(name: str, paths: List[str]) -> str:
92
92
from torch_tensorrt .runtime import * # noqa: F403
93
93
94
94
if version .parse (sanitized_torch_version ()) >= version .parse ("2.1.dev" ):
95
- from torch_tensorrt .dynamo import backend # noqa: F401
96
-
97
95
from torch_tensorrt import dynamo # noqa: F401
96
+ from torch_tensorrt .dynamo import backend # noqa: F401
98
97
99
98
100
99
def _register_with_torch () -> None :
You can’t perform that action at this time.
0 commit comments