Skip to content

Commit 5e5a6d9

Browse files
committed
Downgrade to CuDNN 8.9.0
1 parent d7cd8ed commit 5e5a6d9

File tree

4 files changed

+18
-14
lines changed

4 files changed

+18
-14
lines changed

.circleci/config.yml

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ commands:
9494
- << parameters.install-dir >>
9595

9696
install-cudnn:
97-
description: "Install CUDNN 8.9.1"
97+
description: "Install CUDNN 8.9.0"
9898
parameters:
9999
os:
100100
type: string
@@ -104,7 +104,7 @@ commands:
104104
default: "x86_64"
105105
cudnn-version:
106106
type: string
107-
default: "8.9.1.23"
107+
default: "8.9.0.131"
108108
cuda-version:
109109
type: string
110110
default: "cuda12.1"
@@ -183,7 +183,7 @@ commands:
183183
default: "cuda12.0"
184184
cudnn-version:
185185
type: string
186-
default: "8.9.1.23"
186+
default: "8.9.0.131"
187187
trt-version-short:
188188
type: string
189189
default: "8.6.1"
@@ -235,7 +235,7 @@ commands:
235235
default: "8.6.1"
236236
cudnn-version-long:
237237
type: string
238-
default: "8.9.1.23"
238+
default: "8.9.0.131"
239239
steps:
240240
- run:
241241
name: Set up python environment
@@ -252,19 +252,22 @@ commands:
252252
parameters:
253253
torch-build:
254254
type: string
255-
default: "2.1.0.dev20230613+cu121"
255+
default: "2.1.0.dev20230613+cu121.with.pypi.cudnn.with.pypi.cudnn"
256256
torchvision-build:
257257
type: string
258258
default: "0.16.0.dev20230613+cu121"
259259
torch-build-index:
260+
type: string
261+
default: "https://download.pytorch.org/whl/nightly/cu121_pypi_cudnn"
262+
torchvision-build-index:
260263
type: string
261264
default: "https://download.pytorch.org/whl/nightly/cu121"
262265
steps:
263266
- run:
264267
name: Install Torch
265268
command: |
266269
pip3 install --upgrade pip
267-
pip3 install torch==<< parameters.torch-build >> torchvision==<< parameters.torchvision-build >> --extra-index-url << parameters.torch-build-index >>
270+
pip3 install torch==<< parameters.torch-build >> torchvision==<< parameters.torchvision-build >> --extra-index-url << parameters.torch-build-index >> --extra-index-url << parameters.torchvision-build-index >>
268271
269272
build-py:
270273
description: "Build the torch-tensorrt python release (pre-cxx11-abi)"
@@ -1335,13 +1338,13 @@ parameters:
13351338
# Nightly platform config
13361339
torch-build:
13371340
type: string
1338-
default: "2.1.0.dev20230613+cu121"
1341+
default: "2.1.0.dev20230613+cu121.with.pypi.cudnn"
13391342
torchvision-build:
13401343
type: string
13411344
default: "0.16.0.dev20230613+cu121"
13421345
torch-build-index:
13431346
type: string
1344-
default: "https://download.pytorch.org/whl/nightly/cu121"
1347+
default: "https://download.pytorch.org/whl/nightly/cu121_pypi_cudnn"
13451348
torch-build-legacy:
13461349
type: string
13471350
default: "1.13.1+cu117"
@@ -1356,7 +1359,7 @@ parameters:
13561359
default: true
13571360
cudnn-version:
13581361
type: string
1359-
default: "8.9.1.23"
1362+
default: "8.9.0.131"
13601363
trt-version-short:
13611364
type: string
13621365
default: "8.6.1"

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ These are the following dependencies used to verify the testcases. Torch-TensorR
118118
- Bazel 5.2.0
119119
- Libtorch 2.1.0.dev20230613 (built with CUDA 12.1)
120120
- CUDA 12.1
121-
- cuDNN 8.9.1
121+
- cuDNN 8.9.0
122122
- TensorRT 8.6.1
123123

124124
## Prebuilt Binaries and Wheel files

WORKSPACE

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,10 +71,10 @@ http_archive(
7171
http_archive(
7272
name = "cudnn",
7373
build_file = "@//third_party/cudnn/archive:BUILD",
74-
sha256 = "35163c5c542be0c511738b27e25235193cbeedc5e0e006e44b1cdeaf1922e83e",
75-
strip_prefix = "cudnn-linux-x86_64-8.9.1.23_cuda12-archive",
74+
sha256 = "477631002be61022b60961cba0a501271507a93f81d6b08384bc320cb8706c98",
75+
strip_prefix = "cudnn-linux-x86_64-8.9.0.131_cuda12-archive",
7676
urls = [
77-
"https://developer.nvidia.com/downloads/compute/cudnn/secure/8.9.1/local_installers/12.x/cudnn-linux-x86_64-8.9.1.23_cuda12-archive.tar.xz",
77+
"https://developer.nvidia.com/downloads/compute/cudnn/secure/8.9.0/local_installers/12.x/cudnn-linux-x86_64-8.9.0.131_cuda12-archive.tar.xz",
7878
],
7979
)
8080

py/requirements.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@ numpy
22
packaging
33
pybind11==2.6.2
44
--extra-index-url https://download.pytorch.org/whl/nightly/cu121
5-
torch==2.1.0.dev20230613+cu121
5+
--extra-index-url https://download.pytorch.org/whl/nightly/cu121_pypi_cudnn
6+
torch==2.1.0.dev20230613+cu121.with.pypi.cudnn
67
torchvision==0.16.0.dev20230613+cu121
78
--extra-index-url https://pypi.ngc.nvidia.com
89
tensorrt==8.6.1

0 commit comments

Comments
 (0)