Skip to content

Commit 1ce3e4f

Browse files
committed
Pytorch 1.7.1 update
Signed-off-by: Dheeraj Peri <[email protected]>
1 parent 5d71867 commit 1ce3e4f

File tree

5 files changed

+10
-11
lines changed

5 files changed

+10
-11
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ torch.jit.save(trt_ts_module, "trt_torchscript_module.ts")
7474
These are the following dependencies used to verify the testcases. TRTorch can work with other versions, but the tests are not guaranteed to pass.
7575

7676
- Bazel 3.7.0
77-
- Libtorch 1.7.0 (built with CUDA 11.0)
77+
- Libtorch 1.7.1 (built with CUDA 11.0)
7878
- CUDA 11.0
7979
- cuDNN 8
8080
- TensorRT 7.2.1.6

WORKSPACE

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -53,16 +53,16 @@ http_archive(
5353
name = "libtorch",
5454
build_file = "@//third_party/libtorch:BUILD",
5555
strip_prefix = "libtorch",
56-
sha256 = "656db919c00e99dac81bc21598845ba9231e57cbc8e1570bea017dfb9298236d",
57-
urls = ["https://download.pytorch.org/libtorch/cu110/libtorch-cxx11-abi-shared-with-deps-1.7.0%2Bcu110.zip"],
56+
sha256 = "117f6dd65b7267839197397edd0b10fd2900b0f291e3e54b0b800caefc31bcb6",
57+
urls = ["https://download.pytorch.org/libtorch/cu110/libtorch-cxx11-abi-shared-with-deps-1.7.1%2Bcu110.zip"],
5858
)
5959

6060
http_archive(
6161
name = "libtorch_pre_cxx11_abi",
6262
build_file = "@//third_party/libtorch:BUILD",
6363
strip_prefix = "libtorch",
64-
sha256 = "b3976f3294a6c20be4807191042d1e74162a41fb1bed0919f637afc3517d76be",
65-
urls = ["https://download.pytorch.org/libtorch/cu110/libtorch-shared-with-deps-1.7.0%2Bcu110.zip"],
64+
sha256 = "c77f926afd55d7e860ec9c7abc992c25be77c89771c3ec6fcc13ea42f07d46df",
65+
urls = ["https://download.pytorch.org/libtorch/cu110/libtorch-shared-with-deps-1.7.1%2Bcu110.zip"],
6666
)
6767

6868
# Download these tarballs manually from the NVIDIA website
@@ -85,7 +85,6 @@ http_archive(
8585
strip_prefix = "TensorRT-7.2.1.6"
8686
)
8787

88-
8988
####################################################################################
9089
# Locally installed dependencies (use in cases of custom dependencies or aarch64)
9190
####################################################################################

py/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ def run(self):
204204
long_description=long_description,
205205
ext_modules=ext_modules,
206206
install_requires=[
207-
'torch==1.7.0',
207+
'torch==1.7.1',
208208
],
209209
setup_requires=[],
210210
cmdclass={

tests/modules/hub.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,15 +46,15 @@
4646
"path": "both"
4747
},
4848
"resnet18": {
49-
"model": torch.hub.load('pytorch/vision:v0.8.0', 'resnet18', pretrained=True),
49+
"model": torch.hub.load('pytorch/vision:v0.8.2', 'resnet18', pretrained=True),
5050
"path": "both"
5151
},
5252
"resnet50": {
53-
"model": torch.hub.load('pytorch/vision:v0.8.0', 'resnet50', pretrained=True),
53+
"model": torch.hub.load('pytorch/vision:v0.8.2', 'resnet50', pretrained=True),
5454
"path": "both"
5555
},
5656
"fcn_resnet101": {
57-
"model": torch.hub.load('pytorch/vision:v0.8.0', 'fcn_resnet101', pretrained=True),
57+
"model": torch.hub.load('pytorch/vision:v0.8.2', 'fcn_resnet101', pretrained=True),
5858
"path": "script"
5959
},
6060
"ssd": {

tests/py/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
torchvision==0.8.0
1+
torchvision==0.8.2

0 commit comments

Comments
 (0)