@@ -92,17 +92,9 @@ commands:
92
92
key : cmake-<< parameters.cache-key >>-<< parameters.version >>
93
93
paths :
94
94
- << parameters.install-dir >>
95
- uninstall-cuda :
96
- description : " Uninstall CUDA-11.4"
97
- steps :
98
- - run :
99
- name : " Uninstall CUDA-11.4"
100
- command : |
101
- sudo apt-get --purge remove "cuda*" "nsight*"
102
- sudo apt-get --purge remove "*nvidia*"
103
95
104
96
install-cudnn :
105
- description : " Install CUDNN 8.8.0 "
97
+ description : " Install CUDNN 8.9.1 "
106
98
parameters :
107
99
os :
108
100
type : string
@@ -112,10 +104,10 @@ commands:
112
104
default : " x86_64"
113
105
cudnn-version :
114
106
type : string
115
- default : " 8.8.0.121 "
107
+ default : " 8.9.1.23 "
116
108
cuda-version :
117
109
type : string
118
- default : " cuda11.8 "
110
+ default : " cuda12.1 "
119
111
steps :
120
112
- run :
121
113
name : Install CUDNN
@@ -149,13 +141,13 @@ commands:
149
141
default : " amd64"
150
142
cuda-pkg-name :
151
143
type : string
152
- default : " cuda-toolkit-11-8 "
144
+ default : " cuda-toolkit-12-1 "
153
145
cuda-pkg-version :
154
146
type : string
155
- default : " 11-8 "
147
+ default : " 12-1 "
156
148
cuda-version :
157
149
type : string
158
- default : " 11.8.0 "
150
+ default : " 12.1.1 "
159
151
steps :
160
152
- run :
161
153
name : Install CUDA
@@ -188,19 +180,19 @@ commands:
188
180
default : " amd64"
189
181
cuda-pkg-name :
190
182
type : string
191
- default : " cuda-toolkit-11-8 "
183
+ default : " cuda-toolkit-12-1 "
192
184
cuda-pkg-version :
193
185
type : string
194
- default : " 11-8 "
186
+ default : " 12-1 "
195
187
cuda-version :
196
188
type : string
197
- default : " 11.8.0 "
189
+ default : " 12.1.1 "
198
190
cuda-string-version :
199
191
type : string
200
- default : " cuda11.8 "
192
+ default : " cuda12.1 "
201
193
cudnn-version :
202
194
type : string
203
- default : " 8.8.0.121 "
195
+ default : " 8.9.1.23 "
204
196
trt-version-short :
205
197
type : string
206
198
default : " 8.6.1"
@@ -252,7 +244,7 @@ commands:
252
244
default : " 8.6.1"
253
245
cudnn-version-long :
254
246
type : string
255
- default : " 8.8.0.121 "
247
+ default : " 8.9.1.23 "
256
248
steps :
257
249
- run :
258
250
name : Set up python environment
@@ -261,21 +253,21 @@ commands:
261
253
pip3 install wheel setuptools
262
254
pip3 install nvidia-pyindex
263
255
pip3 install tabulate
264
- pip3 install tensorrt==<< parameters.trt-version-long >> nvidia-cudnn-cu11 ==<< parameters.cudnn-version-long >>
256
+ pip3 install tensorrt==<< parameters.trt-version-long >> nvidia-cudnn-cu12 ==<< parameters.cudnn-version-long >>
265
257
pip3 install pytest parameterized expecttest nox
266
258
267
259
install-torch-from-index :
268
260
description : " Install Pytorch"
269
261
parameters :
270
262
torch-build :
271
263
type : string
272
- default : " 2.1.0.dev20230605+cu118 "
264
+ default : " 2.1.0.dev20230613+cu121 "
273
265
torchvision-build :
274
266
type : string
275
- default : " 0.16.0.dev20230605+cu118 "
267
+ default : " 0.16.0.dev20230613+cu121 "
276
268
torch-build-index :
277
269
type : string
278
- default : " https://download.pytorch.org/whl/nightly/cu118 "
270
+ default : " https://download.pytorch.org/whl/nightly/cu121 "
279
271
steps :
280
272
- run :
281
273
name : Install Torch
@@ -293,7 +285,7 @@ commands:
293
285
- run :
294
286
name : Build torch-tensorrt python release (pre-cxx11-abi)
295
287
command : |
296
- export CUDA_HOME=/usr/local/cuda-11.8 /
288
+ export CUDA_HOME=/usr/local/cuda-12.1 /
297
289
mv toolchains/ci_workspaces/WORKSPACE.<< parameters.platform >> WORKSPACE
298
290
cd py
299
291
python3 -m pip install wheel setuptools
@@ -313,7 +305,7 @@ commands:
313
305
- run :
314
306
name : Build torch-tensorrt python legacy release (pre-cxx11-abi)
315
307
command : |
316
- export CUDA_HOME=/usr/local/cuda-11.8 /
308
+ export CUDA_HOME=/usr/local/cuda-12.1 /
317
309
mv toolchains/ci_workspaces/WORKSPACE.<< parameters.platform >> WORKSPACE
318
310
cd py
319
311
python3 -m pip install wheel setuptools
@@ -345,7 +337,7 @@ commands:
345
337
- run :
346
338
name : Build torch-tensorrt python release package
347
339
command : |
348
- export CUDA_HOME=/usr/local/cuda-11.8 /
340
+ export CUDA_HOME=/usr/local/cuda-12.1 /
349
341
cd ~/project/py
350
342
python3 setup.py bdist_wheel --use-cxx11-abi --release
351
343
python3 setup.py install --use-cxx11-abi --release
@@ -357,7 +349,7 @@ commands:
357
349
- run :
358
350
name : Build torch-tensorrt python package
359
351
command : |
360
- export CUDA_HOME=/usr/local/cuda-11.8 /
352
+ export CUDA_HOME=/usr/local/cuda-12.1 /
361
353
cd ~/project/py
362
354
python3 setup.py bdist_wheel --use-cxx11-abi
363
355
python3 setup.py install --use-cxx11-abi
@@ -375,7 +367,7 @@ commands:
375
367
- run :
376
368
name : Build torch-tensorrt python release with only the fx backend
377
369
command : |
378
- export CUDA_HOME=/usr/local/cuda-11.8 /
370
+ export CUDA_HOME=/usr/local/cuda-12.1 /
379
371
mv toolchains/ci_workspaces/WORKSPACE.<< parameters.platform >> WORKSPACE
380
372
cd py
381
373
python3 -m pip install wheel setuptools
@@ -447,7 +439,7 @@ commands:
447
439
name : Build torch-tensorrt library with CMake
448
440
command : |
449
441
mkdir build
450
- export PATH=$PATH:/usr/local/cuda-11.8 /bin
442
+ export PATH=$PATH:/usr/local/cuda-12.1 /bin
451
443
~/cmake/bin/cmake -S. -Bbuild \
452
444
-DCMAKE_MODULE_PATH=cmake/Module \
453
445
-DTorch_DIR=/opt/circleci/.pyenv/versions/3.9.4/lib/python3.9/site-packages/torch/share/cmake/Torch \
@@ -499,7 +491,7 @@ commands:
499
491
name : Run core / C++ tests
500
492
no_output_timeout : 15m
501
493
environment :
502
- LD_LIBRARY_PATH : " /opt/circleci/.pyenv/versions/3.9.4/lib/python3.9/site-packages/torch_tensorrt.libs:/home/circleci/project/bazel-project/external/libtorch_pre_cxx11_abi/lib/:/home/circleci/project/bazel-project/external/tensorrt/lib/:/usr/local/cuda-11.8 /lib64/:$LD_LIBRARY_PATH"
494
+ LD_LIBRARY_PATH : " /opt/circleci/.pyenv/versions/3.9.4/lib/python3.9/site-packages/torch_tensorrt.libs:/home/circleci/project/bazel-project/external/libtorch_pre_cxx11_abi/lib/:/home/circleci/project/bazel-project/external/tensorrt/lib/:/usr/local/cuda-12.1 /lib64/:$LD_LIBRARY_PATH"
503
495
command : |
504
496
set -e
505
497
mv toolchains/ci_workspaces/WORKSPACE.<< parameters.platform >> WORKSPACE
@@ -529,7 +521,7 @@ commands:
529
521
environment :
530
522
USE_HOST_DEPS : " 1"
531
523
PYT_PATH : " /opt/circleci/.pyenv/versions/3.9.4/lib/python3.9/site-packages/"
532
- LD_LIBRARY_PATH : " /usr/lib/x86_64-linux-gnu/:/usr/local/cuda-11.8 /lib64/:$LD_LIBRARY_PATH"
524
+ LD_LIBRARY_PATH : " /usr/lib/x86_64-linux-gnu/:/usr/local/cuda-12.1 /lib64/:$LD_LIBRARY_PATH"
533
525
command : |
534
526
set -e
535
527
mkdir -p /tmp/artifacts/test_results
@@ -819,7 +811,7 @@ jobs:
819
811
type : boolean
820
812
default : false
821
813
machine :
822
- image : linux-cuda-11 :2023.02 .1
814
+ image : linux-cuda-12 :2023.05 .1
823
815
resource_class : gpu.nvidia.small
824
816
steps :
825
817
- checkout
@@ -1352,13 +1344,13 @@ parameters:
1352
1344
# Nightly platform config
1353
1345
torch-build :
1354
1346
type : string
1355
- default : " 2.1.0.dev20230605+cu118 "
1347
+ default : " 2.1.0.dev20230613+cu121 "
1356
1348
torchvision-build :
1357
1349
type : string
1358
- default : " 0.16.0.dev20230605+cu118 "
1350
+ default : " 0.16.0.dev20230613+cu121 "
1359
1351
torch-build-index :
1360
1352
type : string
1361
- default : " https://download.pytorch.org/whl/nightly/cu118 "
1353
+ default : " https://download.pytorch.org/whl/nightly/cu121 "
1362
1354
torch-build-legacy :
1363
1355
type : string
1364
1356
default : " 1.13.1+cu117"
@@ -1373,7 +1365,7 @@ parameters:
1373
1365
default : true
1374
1366
cudnn-version :
1375
1367
type : string
1376
- default : " 8.8.0.121 "
1368
+ default : " 8.9.1.23 "
1377
1369
trt-version-short :
1378
1370
type : string
1379
1371
default : " 8.6.1"
0 commit comments