@@ -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
@@ -186,21 +178,12 @@ commands:
186
178
architecture :
187
179
type : string
188
180
default : " amd64"
189
- cuda-pkg-name :
190
- type : string
191
- default : " cuda-toolkit-11-8"
192
- cuda-pkg-version :
193
- type : string
194
- default : " 11-8"
195
- cuda-version :
196
- type : string
197
- default : " 11.8.0"
198
181
cuda-string-version :
199
182
type : string
200
- default : " cuda11.8 "
183
+ default : " cuda12.0 "
201
184
cudnn-version :
202
185
type : string
203
- default : " 8.8.0.121 "
186
+ default : " 8.9.1.23 "
204
187
trt-version-short :
205
188
type : string
206
189
default : " 8.6.1"
@@ -252,7 +235,7 @@ commands:
252
235
default : " 8.6.1"
253
236
cudnn-version-long :
254
237
type : string
255
- default : " 8.8.0.121 "
238
+ default : " 8.9.1.23 "
256
239
steps :
257
240
- run :
258
241
name : Set up python environment
@@ -261,21 +244,21 @@ commands:
261
244
pip3 install wheel setuptools
262
245
pip3 install nvidia-pyindex
263
246
pip3 install tabulate
264
- pip3 install tensorrt==<< parameters.trt-version-long >> nvidia-cudnn-cu11 ==<< parameters.cudnn-version-long >>
247
+ pip3 install tensorrt==<< parameters.trt-version-long >> nvidia-cudnn-cu12 ==<< parameters.cudnn-version-long >>
265
248
pip3 install pytest parameterized expecttest nox
266
249
267
250
install-torch-from-index :
268
251
description : " Install Pytorch"
269
252
parameters :
270
253
torch-build :
271
254
type : string
272
- default : " 2.1.0.dev20230605+cu118 "
255
+ default : " 2.1.0.dev20230613+cu121 "
273
256
torchvision-build :
274
257
type : string
275
- default : " 0.16.0.dev20230605+cu118 "
258
+ default : " 0.16.0.dev20230613+cu121 "
276
259
torch-build-index :
277
260
type : string
278
- default : " https://download.pytorch.org/whl/nightly/cu118 "
261
+ default : " https://download.pytorch.org/whl/nightly/cu121 "
279
262
steps :
280
263
- run :
281
264
name : Install Torch
@@ -293,7 +276,7 @@ commands:
293
276
- run :
294
277
name : Build torch-tensorrt python release (pre-cxx11-abi)
295
278
command : |
296
- export CUDA_HOME=/usr/local/cuda-11.8 /
279
+ export CUDA_HOME=/usr/local/cuda-12.1 /
297
280
mv toolchains/ci_workspaces/WORKSPACE.<< parameters.platform >> WORKSPACE
298
281
cd py
299
282
python3 -m pip install wheel setuptools
@@ -313,7 +296,7 @@ commands:
313
296
- run :
314
297
name : Build torch-tensorrt python legacy release (pre-cxx11-abi)
315
298
command : |
316
- export CUDA_HOME=/usr/local/cuda-11.8 /
299
+ export CUDA_HOME=/usr/local/cuda-12.1 /
317
300
mv toolchains/ci_workspaces/WORKSPACE.<< parameters.platform >> WORKSPACE
318
301
cd py
319
302
python3 -m pip install wheel setuptools
@@ -345,7 +328,7 @@ commands:
345
328
- run :
346
329
name : Build torch-tensorrt python release package
347
330
command : |
348
- export CUDA_HOME=/usr/local/cuda-11.8 /
331
+ export CUDA_HOME=/usr/local/cuda-12.1 /
349
332
cd ~/project/py
350
333
python3 setup.py bdist_wheel --use-cxx11-abi --release
351
334
python3 setup.py install --use-cxx11-abi --release
@@ -357,7 +340,7 @@ commands:
357
340
- run :
358
341
name : Build torch-tensorrt python package
359
342
command : |
360
- export CUDA_HOME=/usr/local/cuda-11.8 /
343
+ export CUDA_HOME=/usr/local/cuda-12.1 /
361
344
cd ~/project/py
362
345
python3 setup.py bdist_wheel --use-cxx11-abi
363
346
python3 setup.py install --use-cxx11-abi
@@ -375,7 +358,7 @@ commands:
375
358
- run :
376
359
name : Build torch-tensorrt python release with only the fx backend
377
360
command : |
378
- export CUDA_HOME=/usr/local/cuda-11.8 /
361
+ export CUDA_HOME=/usr/local/cuda-12.1 /
379
362
mv toolchains/ci_workspaces/WORKSPACE.<< parameters.platform >> WORKSPACE
380
363
cd py
381
364
python3 -m pip install wheel setuptools
@@ -447,7 +430,7 @@ commands:
447
430
name : Build torch-tensorrt library with CMake
448
431
command : |
449
432
mkdir build
450
- export PATH=$PATH:/usr/local/cuda-11.8 /bin
433
+ export PATH=$PATH:/usr/local/cuda-12.1 /bin
451
434
~/cmake/bin/cmake -S. -Bbuild \
452
435
-DCMAKE_MODULE_PATH=cmake/Module \
453
436
-DTorch_DIR=/opt/circleci/.pyenv/versions/3.9.4/lib/python3.9/site-packages/torch/share/cmake/Torch \
@@ -499,7 +482,7 @@ commands:
499
482
name : Run core / C++ tests
500
483
no_output_timeout : 15m
501
484
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"
485
+ 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
486
command : |
504
487
set -e
505
488
mv toolchains/ci_workspaces/WORKSPACE.<< parameters.platform >> WORKSPACE
@@ -529,7 +512,7 @@ commands:
529
512
environment :
530
513
USE_HOST_DEPS : " 1"
531
514
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"
515
+ LD_LIBRARY_PATH : " /usr/lib/x86_64-linux-gnu/:/usr/local/cuda-12.1 /lib64/:$LD_LIBRARY_PATH"
533
516
command : |
534
517
set -e
535
518
mkdir -p /tmp/artifacts/test_results
@@ -819,7 +802,7 @@ jobs:
819
802
type : boolean
820
803
default : false
821
804
machine :
822
- image : linux-cuda-11 :2023.02 .1
805
+ image : linux-cuda-12 :2023.05 .1
823
806
resource_class : gpu.nvidia.small
824
807
steps :
825
808
- checkout
@@ -881,7 +864,7 @@ jobs:
881
864
cudnn-version :
882
865
type : string
883
866
machine :
884
- image : linux-cuda-11 :2023.02 .1
867
+ image : linux-cuda-12 :2023.05 .1
885
868
resource_class : gpu.nvidia.large
886
869
parallelism : 4
887
870
steps :
@@ -922,7 +905,7 @@ jobs:
922
905
python-version :
923
906
type : string
924
907
machine :
925
- image : linux-cuda-11 :2023.02 .1
908
+ image : linux-cuda-12 :2023.05 .1
926
909
resource_class : gpu.nvidia.large
927
910
steps :
928
911
- checkout
@@ -956,7 +939,7 @@ jobs:
956
939
type : string
957
940
parallelism : 8
958
941
machine :
959
- image : linux-cuda-11 :2023.02 .1
942
+ image : linux-cuda-12 :2023.05 .1
960
943
resource_class : gpu.nvidia.large
961
944
steps :
962
945
- checkout
@@ -992,7 +975,7 @@ jobs:
992
975
type : string
993
976
parallelism : 8
994
977
machine :
995
- image : linux-cuda-11 :2023.02 .1
978
+ image : linux-cuda-12 :2023.05 .1
996
979
resource_class : gpu.nvidia.large
997
980
steps :
998
981
- checkout
@@ -1030,7 +1013,7 @@ jobs:
1030
1013
python-version :
1031
1014
type : string
1032
1015
machine :
1033
- image : linux-cuda-11 :2023.02 .1
1016
+ image : linux-cuda-12 :2023.05 .1
1034
1017
resource_class : gpu.nvidia.large
1035
1018
steps :
1036
1019
- checkout
@@ -1068,7 +1051,7 @@ jobs:
1068
1051
type : string
1069
1052
parallelism : 4
1070
1053
machine :
1071
- image : linux-cuda-11 :2023.02 .1
1054
+ image : linux-cuda-12 :2023.05 .1
1072
1055
resource_class : gpu.nvidia.small
1073
1056
steps :
1074
1057
- when :
@@ -1116,7 +1099,7 @@ jobs:
1116
1099
torch-build-index :
1117
1100
type : string
1118
1101
machine :
1119
- image : linux-cuda-11 :2023.02 .1
1102
+ image : linux-cuda-12 :2023.05 .1
1120
1103
resource_class : gpu.nvidia.small
1121
1104
steps :
1122
1105
- when :
@@ -1252,7 +1235,7 @@ jobs:
1252
1235
python-version :
1253
1236
type : string
1254
1237
machine :
1255
- image : linux-cuda-11 :2023.02 .1
1238
+ image : linux-cuda-12 :2023.05 .1
1256
1239
resource_class : gpu.nvidia.small
1257
1240
steps :
1258
1241
- checkout
@@ -1288,7 +1271,7 @@ jobs:
1288
1271
torch-base-image :
1289
1272
type : string
1290
1273
machine :
1291
- image : linux-cuda-11 :2023.02 .1
1274
+ image : linux-cuda-12 :2023.05 .1
1292
1275
resource_class : gpu.nvidia.small
1293
1276
steps :
1294
1277
- checkout
@@ -1316,7 +1299,7 @@ jobs:
1316
1299
torch-base-image :
1317
1300
type : string
1318
1301
machine :
1319
- image : linux-cuda-11 :2023.02 .1
1302
+ image : linux-cuda-12 :2023.05 .1
1320
1303
resource_class : gpu.nvidia.small
1321
1304
steps :
1322
1305
- when :
@@ -1352,13 +1335,13 @@ parameters:
1352
1335
# Nightly platform config
1353
1336
torch-build :
1354
1337
type : string
1355
- default : " 2.1.0.dev20230605+cu118 "
1338
+ default : " 2.1.0.dev20230613+cu121 "
1356
1339
torchvision-build :
1357
1340
type : string
1358
- default : " 0.16.0.dev20230605+cu118 "
1341
+ default : " 0.16.0.dev20230613+cu121 "
1359
1342
torch-build-index :
1360
1343
type : string
1361
- default : " https://download.pytorch.org/whl/nightly/cu118 "
1344
+ default : " https://download.pytorch.org/whl/nightly/cu121 "
1362
1345
torch-build-legacy :
1363
1346
type : string
1364
1347
default : " 1.13.1+cu117"
@@ -1373,7 +1356,7 @@ parameters:
1373
1356
default : true
1374
1357
cudnn-version :
1375
1358
type : string
1376
- default : " 8.8.0.121 "
1359
+ default : " 8.9.1.23 "
1377
1360
trt-version-short :
1378
1361
type : string
1379
1362
default : " 8.6.1"
0 commit comments