@@ -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,16 @@ 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"
195
- cuda-version :
196
- type : string
197
- default : " 11.8.0"
186
+ default : " 12-0"
198
187
cuda-string-version :
199
188
type : string
200
- default : " cuda11.8 "
189
+ default : " cuda12.1 "
201
190
cudnn-version :
202
191
type : string
203
- default : " 8.8.0.121 "
192
+ default : " 8.9.1.23 "
204
193
trt-version-short :
205
194
type : string
206
195
default : " 8.6.1"
@@ -252,7 +241,7 @@ commands:
252
241
default : " 8.6.1"
253
242
cudnn-version-long :
254
243
type : string
255
- default : " 8.8.0.121 "
244
+ default : " 8.9.1.23 "
256
245
steps :
257
246
- run :
258
247
name : Set up python environment
@@ -261,21 +250,21 @@ commands:
261
250
pip3 install wheel setuptools
262
251
pip3 install nvidia-pyindex
263
252
pip3 install tabulate
264
- pip3 install tensorrt==<< parameters.trt-version-long >> nvidia-cudnn-cu11 ==<< parameters.cudnn-version-long >>
253
+ pip3 install tensorrt==<< parameters.trt-version-long >> nvidia-cudnn-cu12 ==<< parameters.cudnn-version-long >>
265
254
pip3 install pytest parameterized expecttest nox
266
255
267
256
install-torch-from-index :
268
257
description : " Install Pytorch"
269
258
parameters :
270
259
torch-build :
271
260
type : string
272
- default : " 2.1.0.dev20230605+cu118 "
261
+ default : " 2.1.0.dev20230613+cu121 "
273
262
torchvision-build :
274
263
type : string
275
- default : " 0.16.0.dev20230605+cu118 "
264
+ default : " 0.16.0.dev20230613+cu121 "
276
265
torch-build-index :
277
266
type : string
278
- default : " https://download.pytorch.org/whl/nightly/cu118 "
267
+ default : " https://download.pytorch.org/whl/nightly/cu121 "
279
268
steps :
280
269
- run :
281
270
name : Install Torch
@@ -293,7 +282,7 @@ commands:
293
282
- run :
294
283
name : Build torch-tensorrt python release (pre-cxx11-abi)
295
284
command : |
296
- export CUDA_HOME=/usr/local/cuda-11.8 /
285
+ export CUDA_HOME=/usr/local/cuda-12.1 /
297
286
mv toolchains/ci_workspaces/WORKSPACE.<< parameters.platform >> WORKSPACE
298
287
cd py
299
288
python3 -m pip install wheel setuptools
@@ -313,7 +302,7 @@ commands:
313
302
- run :
314
303
name : Build torch-tensorrt python legacy release (pre-cxx11-abi)
315
304
command : |
316
- export CUDA_HOME=/usr/local/cuda-11.8 /
305
+ export CUDA_HOME=/usr/local/cuda-12.1 /
317
306
mv toolchains/ci_workspaces/WORKSPACE.<< parameters.platform >> WORKSPACE
318
307
cd py
319
308
python3 -m pip install wheel setuptools
@@ -345,7 +334,7 @@ commands:
345
334
- run :
346
335
name : Build torch-tensorrt python release package
347
336
command : |
348
- export CUDA_HOME=/usr/local/cuda-11.8 /
337
+ export CUDA_HOME=/usr/local/cuda-12.1 /
349
338
cd ~/project/py
350
339
python3 setup.py bdist_wheel --use-cxx11-abi --release
351
340
python3 setup.py install --use-cxx11-abi --release
@@ -357,7 +346,7 @@ commands:
357
346
- run :
358
347
name : Build torch-tensorrt python package
359
348
command : |
360
- export CUDA_HOME=/usr/local/cuda-11.8 /
349
+ export CUDA_HOME=/usr/local/cuda-12.1 /
361
350
cd ~/project/py
362
351
python3 setup.py bdist_wheel --use-cxx11-abi
363
352
python3 setup.py install --use-cxx11-abi
@@ -375,7 +364,7 @@ commands:
375
364
- run :
376
365
name : Build torch-tensorrt python release with only the fx backend
377
366
command : |
378
- export CUDA_HOME=/usr/local/cuda-11.8 /
367
+ export CUDA_HOME=/usr/local/cuda-12.1 /
379
368
mv toolchains/ci_workspaces/WORKSPACE.<< parameters.platform >> WORKSPACE
380
369
cd py
381
370
python3 -m pip install wheel setuptools
@@ -447,7 +436,7 @@ commands:
447
436
name : Build torch-tensorrt library with CMake
448
437
command : |
449
438
mkdir build
450
- export PATH=$PATH:/usr/local/cuda-11.8 /bin
439
+ export PATH=$PATH:/usr/local/cuda-12.1 /bin
451
440
~/cmake/bin/cmake -S. -Bbuild \
452
441
-DCMAKE_MODULE_PATH=cmake/Module \
453
442
-DTorch_DIR=/opt/circleci/.pyenv/versions/3.9.4/lib/python3.9/site-packages/torch/share/cmake/Torch \
@@ -499,7 +488,7 @@ commands:
499
488
name : Run core / C++ tests
500
489
no_output_timeout : 15m
501
490
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"
491
+ 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
492
command : |
504
493
set -e
505
494
mv toolchains/ci_workspaces/WORKSPACE.<< parameters.platform >> WORKSPACE
@@ -529,7 +518,7 @@ commands:
529
518
environment :
530
519
USE_HOST_DEPS : " 1"
531
520
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"
521
+ LD_LIBRARY_PATH : " /usr/lib/x86_64-linux-gnu/:/usr/local/cuda-12.1 /lib64/:$LD_LIBRARY_PATH"
533
522
command : |
534
523
set -e
535
524
mkdir -p /tmp/artifacts/test_results
@@ -819,7 +808,7 @@ jobs:
819
808
type : boolean
820
809
default : false
821
810
machine :
822
- image : linux-cuda-11 :2023.02 .1
811
+ image : linux-cuda-12 :2023.05 .1
823
812
resource_class : gpu.nvidia.small
824
813
steps :
825
814
- checkout
@@ -881,7 +870,7 @@ jobs:
881
870
cudnn-version :
882
871
type : string
883
872
machine :
884
- image : linux-cuda-11 :2023.02 .1
873
+ image : linux-cuda-12 :2023.05 .1
885
874
resource_class : gpu.nvidia.large
886
875
parallelism : 4
887
876
steps :
@@ -922,7 +911,7 @@ jobs:
922
911
python-version :
923
912
type : string
924
913
machine :
925
- image : linux-cuda-11 :2023.02 .1
914
+ image : linux-cuda-12 :2023.05 .1
926
915
resource_class : gpu.nvidia.large
927
916
steps :
928
917
- checkout
@@ -956,7 +945,7 @@ jobs:
956
945
type : string
957
946
parallelism : 8
958
947
machine :
959
- image : linux-cuda-11 :2023.02 .1
948
+ image : linux-cuda-12 :2023.05 .1
960
949
resource_class : gpu.nvidia.large
961
950
steps :
962
951
- checkout
@@ -992,7 +981,7 @@ jobs:
992
981
type : string
993
982
parallelism : 8
994
983
machine :
995
- image : linux-cuda-11 :2023.02 .1
984
+ image : linux-cuda-12 :2023.05 .1
996
985
resource_class : gpu.nvidia.large
997
986
steps :
998
987
- checkout
@@ -1030,7 +1019,7 @@ jobs:
1030
1019
python-version :
1031
1020
type : string
1032
1021
machine :
1033
- image : linux-cuda-11 :2023.02 .1
1022
+ image : linux-cuda-12 :2023.05 .1
1034
1023
resource_class : gpu.nvidia.large
1035
1024
steps :
1036
1025
- checkout
@@ -1068,7 +1057,7 @@ jobs:
1068
1057
type : string
1069
1058
parallelism : 4
1070
1059
machine :
1071
- image : linux-cuda-11 :2023.02 .1
1060
+ image : linux-cuda-12 :2023.05 .1
1072
1061
resource_class : gpu.nvidia.small
1073
1062
steps :
1074
1063
- when :
@@ -1116,7 +1105,7 @@ jobs:
1116
1105
torch-build-index :
1117
1106
type : string
1118
1107
machine :
1119
- image : linux-cuda-11 :2023.02 .1
1108
+ image : linux-cuda-12 :2023.05 .1
1120
1109
resource_class : gpu.nvidia.small
1121
1110
steps :
1122
1111
- when :
@@ -1252,7 +1241,7 @@ jobs:
1252
1241
python-version :
1253
1242
type : string
1254
1243
machine :
1255
- image : linux-cuda-11 :2023.02 .1
1244
+ image : linux-cuda-12 :2023.05 .1
1256
1245
resource_class : gpu.nvidia.small
1257
1246
steps :
1258
1247
- checkout
@@ -1288,7 +1277,7 @@ jobs:
1288
1277
torch-base-image :
1289
1278
type : string
1290
1279
machine :
1291
- image : linux-cuda-11 :2023.02 .1
1280
+ image : linux-cuda-12 :2023.05 .1
1292
1281
resource_class : gpu.nvidia.small
1293
1282
steps :
1294
1283
- checkout
@@ -1316,7 +1305,7 @@ jobs:
1316
1305
torch-base-image :
1317
1306
type : string
1318
1307
machine :
1319
- image : linux-cuda-11 :2023.02 .1
1308
+ image : linux-cuda-12 :2023.05 .1
1320
1309
resource_class : gpu.nvidia.small
1321
1310
steps :
1322
1311
- when :
@@ -1352,13 +1341,13 @@ parameters:
1352
1341
# Nightly platform config
1353
1342
torch-build :
1354
1343
type : string
1355
- default : " 2.1.0.dev20230605+cu118 "
1344
+ default : " 2.1.0.dev20230613+cu121 "
1356
1345
torchvision-build :
1357
1346
type : string
1358
- default : " 0.16.0.dev20230605+cu118 "
1347
+ default : " 0.16.0.dev20230613+cu121 "
1359
1348
torch-build-index :
1360
1349
type : string
1361
- default : " https://download.pytorch.org/whl/nightly/cu118 "
1350
+ default : " https://download.pytorch.org/whl/nightly/cu121 "
1362
1351
torch-build-legacy :
1363
1352
type : string
1364
1353
default : " 1.13.1+cu117"
@@ -1373,7 +1362,7 @@ parameters:
1373
1362
default : true
1374
1363
cudnn-version :
1375
1364
type : string
1376
- default : " 8.8.0.121 "
1365
+ default : " 8.9.1.23 "
1377
1366
trt-version-short :
1378
1367
type : string
1379
1368
default : " 8.6.1"
0 commit comments