File tree Expand file tree Collapse file tree 12 files changed +181
-227
lines changed Expand file tree Collapse file tree 12 files changed +181
-227
lines changed Original file line number Diff line number Diff line change 6666 "10.7.0" : {
6767 "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" ,
6868 "strip_prefix" : "TensorRT-10.7.0.23" ,
69- "sha256" : "27d0f7e9af657b9fa19bfe9d62376d4de64182ed6274bde04bf143f56d308ec9 " ,
69+ "sha256" : "d7f16520457caaf97ad8a7e94d802f89d77aedf9f361a255f2c216e2a3a40a11 " ,
7070 },
7171 },
7272}
Original file line number Diff line number Diff line change @@ -79,20 +79,20 @@ http_archive(
7979http_archive (
8080 name = "tensorrt" ,
8181 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 " ,
8484 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" ,
8686 ],
8787)
8888
8989http_archive (
9090 name = "tensorrt_win" ,
9191 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 " ,
9494 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" ,
9696 ],
9797)
9898
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ Torch-TensorRT
77[ ![ Documentation] ( https://img.shields.io/badge/docs-master-brightgreen )] ( https://nvidia.github.io/Torch-TensorRT/ )
88[ ![ pytorch] ( https://img.shields.io/badge/PyTorch-2.4-green )] ( https://www.python.org/downloads/release/python-31013/ )
99[ ![ 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 )
1111[ ![ license] ( https://img.shields.io/badge/license-BSD--3--Clause-blue )] ( ./LICENSE )
1212[ ![ 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 )
1313[ ![ 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
119119- Bazel 6.3.2
120120- Libtorch 2.5.0.dev (latest nightly) (built with CUDA 12.4)
121121- CUDA 12.4
122- - TensorRT 10.3 .0.26
122+ - TensorRT 10.7 .0.23
123123
124124## Deprecation Policy
125125
Original file line number Diff line number Diff line change 11__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
2323 pyproject.toml
2424fi
2525
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
2727# unzip -o TensorRT.zip -d C:/
2828TORCH_TORCHVISION=$( grep " ^torch" py/requirements.txt)
2929INDEX_URL=https://download.pytorch.org/whl/${CHANNEL} /${CU_VERSION}
Original file line number Diff line number Diff line change 22# The issue was smoke test installs the built torch_tensorrt wheel file and checks `import torch_tensorrt; print(torch_tensorrt.__version__)`
33# Since tensorrt cannot be pip installable in CI, the smoke test will fail.
44# 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.
66# 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
33RUN yum install -y ninja-build
44
55# 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
1010
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
1314
1415RUN wget https://github.com/bazelbuild/bazelisk/releases/download/v1.17.0/bazelisk-linux-amd64 \
1516 && mv bazelisk-linux-amd64 /usr/bin/bazel \
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ requires = [
88 " cffi>=1.15.1" ,
99 " typing-extensions>=4.7.0" ,
1010 " future>=0.18.3" ,
11- " tensorrt-cu12==10.3 .0" ,
11+ " tensorrt-cu12==10.7 .0" ,
1212 " torch>=2.6.0.dev,<2.7.0" ,
1313 " pybind11==2.6.2" ,
1414 " numpy" ,
@@ -55,9 +55,9 @@ keywords = [
5555]
5656dependencies = [
5757 " 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" ,
6161 " packaging>=23" ,
6262 " numpy" ,
6363 " typing-extensions>=4.7.0" ,
Original file line number Diff line number Diff line change @@ -67,20 +67,20 @@ http_archive(
6767http_archive(
6868 name = "tensorrt",
6969 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 ",
7272 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",
7474 ],
7575)
7676
7777http_archive(
7878 name = "tensorrt_win",
7979 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 ",
8282 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",
8484 ],
8585)
8686
Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ http_archive(
6363
6464new_local_repository(
6565 name = "tensorrt_win",
66- path = "C:/TensorRT-10.3 .0.26 ",
66+ path = "C:/TensorRT-10.7 .0.23 ",
6767 build_file = "@//third_party/tensorrt/local:BUILD"
6868)
6969
You can’t perform that action at this time.
0 commit comments