File tree 12 files changed +181
-227
lines changed
12 files changed +181
-227
lines changed Original file line number Diff line number Diff line change 66
66
"10.7.0" : {
67
67
"urls" : "https://developer.nvidia.com/downloads/compute/machine-learning/tensorrt/10.7.0/tars/TensorRT-10.7.0.23.Linux.x86_64-gnu.cuda-12.6.tar.gz" ,
68
68
"strip_prefix" : "TensorRT-10.7.0.23" ,
69
- "sha256" : "27d0f7e9af657b9fa19bfe9d62376d4de64182ed6274bde04bf143f56d308ec9 " ,
69
+ "sha256" : "d7f16520457caaf97ad8a7e94d802f89d77aedf9f361a255f2c216e2a3a40a11 " ,
70
70
},
71
71
},
72
72
}
Original file line number Diff line number Diff line change @@ -79,20 +79,20 @@ http_archive(
79
79
http_archive (
80
80
name = "tensorrt" ,
81
81
build_file = "@//third_party/tensorrt/archive:BUILD" ,
82
- sha256 = "adff1cd5abe5d87013806172351e58fd024e5bf0fc61d49ef4b84cd38ed99081 " ,
83
- strip_prefix = "TensorRT-10.3 .0.26 " ,
82
+ sha256 = "d7f16520457caaf97ad8a7e94d802f89d77aedf9f361a255f2c216e2a3a40a11 " ,
83
+ strip_prefix = "TensorRT-10.7 .0.23 " ,
84
84
urls = [
85
- "https://developer.nvidia.com/downloads/compute/machine-learning/tensorrt/10.3 .0/tars/TensorRT-10.3 .0.26 .Linux.x86_64-gnu.cuda-12.5 .tar.gz" ,
85
+ "https://developer.nvidia.com/downloads/compute/machine-learning/tensorrt/10.7 .0/tars/TensorRT-10.7 .0.23 .Linux.x86_64-gnu.cuda-12.6 .tar.gz" ,
86
86
],
87
87
)
88
88
89
89
http_archive (
90
90
name = "tensorrt_win" ,
91
91
build_file = "@//third_party/tensorrt/archive:BUILD" ,
92
- sha256 = "2bb4bcb79e8c33575816d874b0512ea28c302af1c06ee6d224da71aa182f75e0 " ,
93
- strip_prefix = "TensorRT-10.3 .0.26 " ,
92
+ sha256 = "fbdef004578e7ccd5ee51fe7f846b57422364a743372fd8f9f1d7dbd33f62879 " ,
93
+ strip_prefix = "TensorRT-10.7 .0.23 " ,
94
94
urls = [
95
- "https://developer.nvidia.com/downloads/compute/machine-learning/tensorrt/10.3 .0/zip/TensorRT-10.3 .0.26 .Windows.win10.cuda-12.5 .zip" ,
95
+ "https://developer.nvidia.com/downloads/compute/machine-learning/tensorrt/10.7 .0/zip/TensorRT-10.7 .0.23 .Windows.win10.cuda-12.6 .zip" ,
96
96
],
97
97
)
98
98
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ Torch-TensorRT
7
7
[ ![ Documentation] ( https://img.shields.io/badge/docs-master-brightgreen )] ( https://nvidia.github.io/Torch-TensorRT/ )
8
8
[ ![ pytorch] ( https://img.shields.io/badge/PyTorch-2.4-green )] ( https://www.python.org/downloads/release/python-31013/ )
9
9
[ ![ cuda] ( https://img.shields.io/badge/CUDA-12.4-green )] ( https://developer.nvidia.com/cuda-downloads )
10
- [ ![ trt] ( https://img.shields.io/badge/TensorRT-10.3 .0-green )] ( https://github.com/nvidia/tensorrt-llm )
10
+ [ ![ trt] ( https://img.shields.io/badge/TensorRT-10.7 .0-green )] ( https://github.com/nvidia/tensorrt-llm )
11
11
[ ![ license] ( https://img.shields.io/badge/license-BSD--3--Clause-blue )] ( ./LICENSE )
12
12
[ ![ linux_tests] ( https://github.com/pytorch/TensorRT/actions/workflows/build-test-linux.yml/badge.svg )] ( https://github.com/pytorch/TensorRT/actions/workflows/build-test-linux.yml )
13
13
[ ![ windows_tests] ( https://github.com/pytorch/TensorRT/actions/workflows/build-test-windows.yml/badge.svg )] ( https://github.com/pytorch/TensorRT/actions/workflows/build-test-windows.yml )
@@ -119,7 +119,7 @@ These are the following dependencies used to verify the testcases. Torch-TensorR
119
119
- Bazel 6.3.2
120
120
- Libtorch 2.5.0.dev (latest nightly) (built with CUDA 12.4)
121
121
- CUDA 12.4
122
- - TensorRT 10.3 .0.26
122
+ - TensorRT 10.7 .0.23
123
123
124
124
## Deprecation Policy
125
125
Original file line number Diff line number Diff line change 1
1
__cuda_version__ : " 12.4"
2
- __tensorrt_version__ : " 10.3 .0"
2
+ __tensorrt_version__ : " 10.7 .0"
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ if [[ "${CU_VERSION::4}" < "cu12" ]]; then
23
23
pyproject.toml
24
24
fi
25
25
26
- # curl -Lo TensorRT.zip https://developer.nvidia.com/downloads/compute/machine-learning/tensorrt/10.3 .0/zip/TensorRT-10.3 .0.26 .Windows.win10.cuda-12.5 .zip
26
+ # curl -Lo TensorRT.zip https://developer.nvidia.com/downloads/compute/machine-learning/tensorrt/10.7 .0/zip/TensorRT-10.7 .0.23 .Windows.win10.cuda-12.6 .zip
27
27
# unzip -o TensorRT.zip -d C:/
28
28
TORCH_TORCHVISION=$( grep " ^torch" py/requirements.txt)
29
29
INDEX_URL=https://download.pytorch.org/whl/${CHANNEL} /${CU_VERSION}
Original file line number Diff line number Diff line change 2
2
# The issue was smoke test installs the built torch_tensorrt wheel file and checks `import torch_tensorrt; print(torch_tensorrt.__version__)`
3
3
# Since tensorrt cannot be pip installable in CI, the smoke test will fail.
4
4
# One way we tried to handle it is manually install tensorrt wheel while by extracting from the tarball.
5
- # However, the TensorRT-10.3 .0.26 /lib path doesn't seem to show up in LD_LIBRARY_PATH even if we explicitly set it.
5
+ # However, the TensorRT-10.7 .0.23 /lib path doesn't seem to show up in LD_LIBRARY_PATH even if we explicitly set it.
6
6
# TODO: Implement a custom smoke_test script to verify torch_tensorrt installation.
Original file line number Diff line number Diff line change @@ -3,13 +3,14 @@ FROM pytorch/manylinux2_28-builder:cuda12.6
3
3
RUN yum install -y ninja-build
4
4
5
5
# download TensorRT tarball
6
- RUN wget -q https://developer.nvidia.com/downloads/compute/machine-learning/tensorrt/10.3 .0/tars/TensorRT-10.3 .0.26 .Linux.x86_64-gnu.cuda-12.5 .tar.gz \
7
- && gunzip TensorRT-10.3 .0.26 .Linux.x86_64-gnu.cuda-12.5 .tar.gz \
8
- && tar -xvf TensorRT-10.3 .0.26 .Linux.x86_64-gnu.cuda-12.5 .tar \
9
- && rm TensorRT-10.3 .0.26 .Linux.x86_64-gnu.cuda-12.5 .tar
6
+ RUN wget -q https://developer.nvidia.com/downloads/compute/machine-learning/tensorrt/10.7 .0/tars/TensorRT-10.7 .0.23 .Linux.x86_64-gnu.cuda-12.6 .tar.gz \
7
+ && gunzip TensorRT-10.7 .0.23 .Linux.x86_64-gnu.cuda-12.6 .tar.gz \
8
+ && tar -xvf TensorRT-10.7 .0.23 .Linux.x86_64-gnu.cuda-12.6 .tar \
9
+ && rm TensorRT-10.7 .0.23 .Linux.x86_64-gnu.cuda-12.6 .tar
10
10
11
- ENV TENSORRT_DIR=/TensorRT-10.3.0.26
12
- ENV TENSORRT_VERSION=10.3.0
11
+ ENV TENSORRT_DIR=/TensorRT-10.7.0.23
12
+ ENV TENSORRT_VERSION=10.7.0
13
+ ENV USE_CXX11_ABI=1
13
14
14
15
RUN wget https://github.com/bazelbuild/bazelisk/releases/download/v1.17.0/bazelisk-linux-amd64 \
15
16
&& mv bazelisk-linux-amd64 /usr/bin/bazel \
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ requires = [
8
8
" cffi>=1.15.1" ,
9
9
" typing-extensions>=4.7.0" ,
10
10
" future>=0.18.3" ,
11
- " tensorrt-cu12==10.3 .0" ,
11
+ " tensorrt-cu12==10.7 .0" ,
12
12
" torch>=2.6.0.dev,<2.7.0" ,
13
13
" pybind11==2.6.2" ,
14
14
" numpy" ,
@@ -55,9 +55,9 @@ keywords = [
55
55
]
56
56
dependencies = [
57
57
" torch>=2.6.0.dev,<2.7.0" ,
58
- " tensorrt-cu12==10.3 .0" ,
59
- " tensorrt-cu12-bindings==10.3 .0" ,
60
- " tensorrt-cu12-libs==10.3 .0" ,
58
+ " tensorrt-cu12==10.7 .0" ,
59
+ " tensorrt-cu12-bindings==10.7 .0" ,
60
+ " tensorrt-cu12-libs==10.7 .0" ,
61
61
" packaging>=23" ,
62
62
" numpy" ,
63
63
" typing-extensions>=4.7.0" ,
Original file line number Diff line number Diff line change @@ -67,20 +67,20 @@ http_archive(
67
67
http_archive(
68
68
name = "tensorrt",
69
69
build_file = "@//third_party/tensorrt/archive:BUILD",
70
- sha256 = "adff1cd5abe5d87013806172351e58fd024e5bf0fc61d49ef4b84cd38ed99081 ",
71
- strip_prefix = "TensorRT-10.3 .0.26 ",
70
+ sha256 = "d7f16520457caaf97ad8a7e94d802f89d77aedf9f361a255f2c216e2a3a40a11 ",
71
+ strip_prefix = "TensorRT-10.7 .0.23 ",
72
72
urls = [
73
- "https://developer.nvidia.com/downloads/compute/machine-learning/tensorrt/10.3 .0/tars/TensorRT-10.3 .0.26 .Linux.x86_64-gnu.cuda-12.5 .tar.gz",
73
+ "https://developer.nvidia.com/downloads/compute/machine-learning/tensorrt/10.7 .0/tars/TensorRT-10.7 .0.23 .Linux.x86_64-gnu.cuda-12.6 .tar.gz",
74
74
],
75
75
)
76
76
77
77
http_archive(
78
78
name = "tensorrt_win",
79
79
build_file = "@//third_party/tensorrt/archive:BUILD",
80
- sha256 = "2bb4bcb79e8c33575816d874b0512ea28c302af1c06ee6d224da71aa182f75e0 ",
81
- strip_prefix = "TensorRT-10.3 .0.26 ",
80
+ sha256 = "fbdef004578e7ccd5ee51fe7f846b57422364a743372fd8f9f1d7dbd33f62879 ",
81
+ strip_prefix = "TensorRT-10.7 .0.23 ",
82
82
urls = [
83
- "https://developer.nvidia.com/downloads/compute/machine-learning/tensorrt/10.3 .0/zip/TensorRT-10.3 .0.26 .Windows.win10.cuda-12.5 .zip",
83
+ "https://developer.nvidia.com/downloads/compute/machine-learning/tensorrt/10.7 .0/zip/TensorRT-10.7 .0.23 .Windows.win10.cuda-12.6 .zip",
84
84
],
85
85
)
86
86
Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ http_archive(
63
63
64
64
new_local_repository(
65
65
name = "tensorrt_win",
66
- path = "C:/TensorRT-10.3 .0.26 ",
66
+ path = "C:/TensorRT-10.7 .0.23 ",
67
67
build_file = "@//third_party/tensorrt/local:BUILD"
68
68
)
69
69
Original file line number Diff line number Diff line change @@ -71,10 +71,10 @@ http_archive(
71
71
http_archive(
72
72
name = "tensorrt",
73
73
build_file = "@//third_party/tensorrt/archive:BUILD",
74
- sha256 = "adff1cd5abe5d87013806172351e58fd024e5bf0fc61d49ef4b84cd38ed99081 ",
75
- strip_prefix = "TensorRT-10.3 .0.26 ",
74
+ sha256 = "d7f16520457caaf97ad8a7e94d802f89d77aedf9f361a255f2c216e2a3a40a11 ",
75
+ strip_prefix = "TensorRT-10.7 .0.23 ",
76
76
urls = [
77
- "https://developer.nvidia.com/downloads/compute/machine-learning/tensorrt/10.3 .0/tars/TensorRT-10.3 .0.26 .Linux.x86_64-gnu.cuda-12.5 .tar.gz",
77
+ "https://developer.nvidia.com/downloads/compute/machine-learning/tensorrt/10.7 .0/tars/TensorRT-10.7 .0.23 .Linux.x86_64-gnu.cuda-12.6 .tar.gz",
78
78
],
79
79
)
80
80
You can’t perform that action at this time.
0 commit comments