Skip to content

Commit d78545a

Browse files
committed
chore: Bumping default dep version on x86 for PyTorch to 1.9.1
Signed-off-by: Naren Dasan <[email protected]> Signed-off-by: Naren Dasan <[email protected]>
1 parent 91f21d8 commit d78545a

File tree

9 files changed

+18
-18
lines changed

9 files changed

+18
-18
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ torch.jit.save(trt_ts_module, "trt_torchscript_module.ts")
7878
These are the following dependencies used to verify the testcases. TRTorch can work with other versions, but the tests are not guaranteed to pass.
7979

8080
- Bazel 4.0.0
81-
- Libtorch 1.9.0 (built with CUDA 11.1)
81+
- Libtorch 1.9.1 (built with CUDA 11.1)
8282
- CUDA 11.1 (10.2 on Jetson)
8383
- cuDNN 8.2
8484
- TensorRT 8.0.1.6

WORKSPACE

+4-4
Original file line numberDiff line numberDiff line change
@@ -50,17 +50,17 @@ new_local_repository(
5050
http_archive(
5151
name = "libtorch",
5252
build_file = "@//third_party/libtorch:BUILD",
53-
sha256 = "edc12091193ba772db77a6ec14e05cef6da881288fca0dfc89a031f631601f60",
53+
sha256 = "db57b1023fb33768286a98ba22c44cfe03d6ed158bc2dc0ca1d4928ee5f19f60",
5454
strip_prefix = "libtorch",
55-
urls = ["https://download.pytorch.org/libtorch/cu111/libtorch-cxx11-abi-shared-with-deps-1.9.0%2Bcu111.zip"],
55+
urls = ["https://download.pytorch.org/libtorch/cu111/libtorch-cxx11-abi-shared-with-deps-1.9.1%2Bcu111.zip"],
5656
)
5757

5858
http_archive(
5959
name = "libtorch_pre_cxx11_abi",
6060
build_file = "@//third_party/libtorch:BUILD",
61-
sha256 = "af9435fa4b44bb395c1a7645391c00228a72af4305f43a61e9300c0abdbe0819",
61+
sha256 = "5563ca53b2b5342f1ab7eef9baf308f197673663ad5b1458a031c46dd802f413",
6262
strip_prefix = "libtorch",
63-
urls = ["https://download.pytorch.org/libtorch/cu111/libtorch-shared-with-deps-1.9.0%2Bcu111.zip"],
63+
urls = ["https://download.pytorch.org/libtorch/cu111/libtorch-shared-with-deps-1.9.1%2Bcu111.zip"],
6464
)
6565

6666
# Download these tarballs manually from the NVIDIA website

docker/WORKSPACE.docs

+4-4
Original file line numberDiff line numberDiff line change
@@ -52,17 +52,17 @@ new_local_repository(
5252
http_archive(
5353
name = "libtorch",
5454
build_file = "@//third_party/libtorch:BUILD",
55-
sha256 = "edc12091193ba772db77a6ec14e05cef6da881288fca0dfc89a031f631601f60",
55+
sha256 = "db57b1023fb33768286a98ba22c44cfe03d6ed158bc2dc0ca1d4928ee5f19f60",
5656
strip_prefix = "libtorch",
57-
urls = ["https://download.pytorch.org/libtorch/cu111/libtorch-cxx11-abi-shared-with-deps-1.9.0%2Bcu111.zip"],
57+
urls = ["https://download.pytorch.org/libtorch/cu111/libtorch-cxx11-abi-shared-with-deps-1.9.1%2Bcu111.zip"],
5858
)
5959

6060
http_archive(
6161
name = "libtorch_pre_cxx11_abi",
6262
build_file = "@//third_party/libtorch:BUILD",
63-
sha256 = "af9435fa4b44bb395c1a7645391c00228a72af4305f43a61e9300c0abdbe0819",
63+
sha256 = "5563ca53b2b5342f1ab7eef9baf308f197673663ad5b1458a031c46dd802f413",
6464
strip_prefix = "libtorch",
65-
urls = ["https://download.pytorch.org/libtorch/cu111/libtorch-shared-with-deps-1.9.0%2Bcu111.zip"],
65+
urls = ["https://download.pytorch.org/libtorch/cu111/libtorch-shared-with-deps-1.9.1%2Bcu111.zip"],
6666
)
6767

6868
####################################################################################

docsrc/tutorials/installation.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ the CUDA driver installed and the container must have CUDA)
6666

6767
The correct LibTorch version will be pulled down for you by bazel.
6868

69-
NOTE: For best compatability with official PyTorch, use torch==1.9.0+cuda111, TensorRT 7.2 and cuDNN 8.1 for CUDA 11.1 however TRTorch itself supports
69+
NOTE: For best compatability with official PyTorch, use torch==1.9.1+cuda111, TensorRT 8.0 and cuDNN 8.2 for CUDA 11.1 however TRTorch itself supports
7070
TensorRT and cuDNN for CUDA versions other than 11.1 for usecases such as using NVIDIA compiled distributions of PyTorch that use other versions of CUDA
7171
e.g. aarch64 or custom compiled version of PyTorch.
7272

@@ -327,7 +327,7 @@ use that library, set the paths to the same path but when you compile make sure
327327
Compile C++ Library and Compiler CLI
328328
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
329329

330-
NOTE: Due to shifting dependency locations between Jetpack 4.5 and 4.6 there is a now a flag to inform bazel of the Jetpack version
330+
NOTE: Due to shifting dependency locations between Jetpack 4.5 and 4.6 there is a now a flag to inform bazel of the Jetpack version
331331

332332
.. code-block:: shell
333333
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
torch>=1.9.0
1+
torch>=1.9.1
22
tensorboard>=1.14.0
33
pytorch-quantization --extra-index-url https://pypi.ngc.nvidia.com

examples/trtorchrt_example/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ The main goal is to use TRTorch runtime library `libtrtorchrt.so`, a lightweight
2323
cd examples/trtorchrt_example/deps
2424
// Download latest TRTorch release tar file (libtrtorch.tar.gz) from https://github.com/NVIDIA/TRTorch/releases
2525
tar -xvzf libtrtorch.tar.gz
26-
unzip libtorch-cxx11-abi-shared-with-deps-1.9.0+cu111.zip
26+
unzip libtorch-cxx11-abi-shared-with-deps-[PYTORCH_VERSION].zip
2727
```
2828

2929
> If cuDNN and TensorRT are not installed on your system / in your LD_LIBRARY_PATH then do the following as well

py/requirements.txt

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
-f https://download.pytorch.org/whl/torch_stable.html
2-
torch==1.9.0+cu111
3-
pybind11==2.6.2
1+
-f https://download.pytorch.org/whl/torch_stable.html
2+
torch==1.9.1+cu111
3+
pybind11==2.6.2

tests/modules/requirements.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
-f https://download.pytorch.org/whl/torch_stable.html
22
timm==v0.4.12
3-
torch==1.9.0+cu111
3+
torch==1.9.1+cu111

tests/py/requirements.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
torchvision==0.10.0+cu111
1+
torchvision==0.10.1+cu111
22
-f https://download.pytorch.org/whl/torch_stable.html

0 commit comments

Comments
 (0)