@@ -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.8.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.8.1.3 "
116
108
cuda-version :
117
109
type : string
118
- default : " cuda11.8 "
110
+ default : " cuda12.0 "
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.8.1.3 "
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.8.1.3 "
256
239
steps :
257
240
- run :
258
241
name : Set up python environment
@@ -261,27 +244,30 @@ 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.dev20230619+cu121 "
273
256
torchvision-build :
274
257
type : string
275
- default : " 0.16.0.dev20230605+cu118 "
258
+ default : " 0.16.0.dev20230619+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"
262
+ torchvision-build-index :
263
+ type : string
264
+ default : " https://download.pytorch.org/whl/nightly/cu121"
279
265
steps :
280
266
- run :
281
267
name : Install Torch
282
268
command : |
283
269
pip3 install --upgrade pip
284
- 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 >>
285
271
286
272
build-py :
287
273
description : " Build the torch-tensorrt python release (pre-cxx11-abi)"
@@ -293,7 +279,7 @@ commands:
293
279
- run :
294
280
name : Build torch-tensorrt python release (pre-cxx11-abi)
295
281
command : |
296
- export CUDA_HOME=/usr/local/cuda-11.8 /
282
+ export CUDA_HOME=/usr/local/cuda-12.1 /
297
283
mv toolchains/ci_workspaces/WORKSPACE.<< parameters.platform >> WORKSPACE
298
284
cd py
299
285
python3 -m pip install wheel setuptools
@@ -313,7 +299,7 @@ commands:
313
299
- run :
314
300
name : Build torch-tensorrt python legacy release (pre-cxx11-abi)
315
301
command : |
316
- export CUDA_HOME=/usr/local/cuda-11.8 /
302
+ export CUDA_HOME=/usr/local/cuda-12.1 /
317
303
mv toolchains/ci_workspaces/WORKSPACE.<< parameters.platform >> WORKSPACE
318
304
cd py
319
305
python3 -m pip install wheel setuptools
@@ -345,7 +331,7 @@ commands:
345
331
- run :
346
332
name : Build torch-tensorrt python release package
347
333
command : |
348
- export CUDA_HOME=/usr/local/cuda-11.8 /
334
+ export CUDA_HOME=/usr/local/cuda-12.1 /
349
335
cd ~/project/py
350
336
python3 setup.py bdist_wheel --use-cxx11-abi --release
351
337
python3 setup.py install --use-cxx11-abi --release
@@ -357,7 +343,7 @@ commands:
357
343
- run :
358
344
name : Build torch-tensorrt python package
359
345
command : |
360
- export CUDA_HOME=/usr/local/cuda-11.8 /
346
+ export CUDA_HOME=/usr/local/cuda-12.1 /
361
347
cd ~/project/py
362
348
python3 setup.py bdist_wheel --use-cxx11-abi
363
349
python3 setup.py install --use-cxx11-abi
@@ -375,7 +361,7 @@ commands:
375
361
- run :
376
362
name : Build torch-tensorrt python release with only the fx backend
377
363
command : |
378
- export CUDA_HOME=/usr/local/cuda-11.8 /
364
+ export CUDA_HOME=/usr/local/cuda-12.1 /
379
365
mv toolchains/ci_workspaces/WORKSPACE.<< parameters.platform >> WORKSPACE
380
366
cd py
381
367
python3 -m pip install wheel setuptools
@@ -447,7 +433,7 @@ commands:
447
433
name : Build torch-tensorrt library with CMake
448
434
command : |
449
435
mkdir build
450
- export PATH=$PATH:/usr/local/cuda-11.8 /bin
436
+ export PATH=$PATH:/usr/local/cuda-12.1 /bin
451
437
~/cmake/bin/cmake -S. -Bbuild \
452
438
-DCMAKE_MODULE_PATH=cmake/Module \
453
439
-DTorch_DIR=/opt/circleci/.pyenv/versions/3.9.4/lib/python3.9/site-packages/torch/share/cmake/Torch \
@@ -499,7 +485,7 @@ commands:
499
485
name : Run core / C++ tests
500
486
no_output_timeout : 15m
501
487
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"
488
+ 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
489
command : |
504
490
set -e
505
491
mv toolchains/ci_workspaces/WORKSPACE.<< parameters.platform >> WORKSPACE
@@ -529,7 +515,7 @@ commands:
529
515
environment :
530
516
USE_HOST_DEPS : " 1"
531
517
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"
518
+ LD_LIBRARY_PATH : " /usr/lib/x86_64-linux-gnu/:/usr/local/cuda-12.1 /lib64/:$LD_LIBRARY_PATH"
533
519
command : |
534
520
set -e
535
521
mkdir -p /tmp/artifacts/test_results
@@ -819,7 +805,7 @@ jobs:
819
805
type : boolean
820
806
default : false
821
807
machine :
822
- image : linux-cuda-11 :2023.02 .1
808
+ image : linux-cuda-12 :2023.05 .1
823
809
resource_class : gpu.nvidia.small
824
810
steps :
825
811
- checkout
@@ -881,7 +867,7 @@ jobs:
881
867
cudnn-version :
882
868
type : string
883
869
machine :
884
- image : linux-cuda-11 :2023.02 .1
870
+ image : linux-cuda-12 :2023.05 .1
885
871
resource_class : gpu.nvidia.large
886
872
parallelism : 4
887
873
steps :
@@ -922,7 +908,7 @@ jobs:
922
908
python-version :
923
909
type : string
924
910
machine :
925
- image : linux-cuda-11 :2023.02 .1
911
+ image : linux-cuda-12 :2023.05 .1
926
912
resource_class : gpu.nvidia.large
927
913
steps :
928
914
- checkout
@@ -956,7 +942,7 @@ jobs:
956
942
type : string
957
943
parallelism : 8
958
944
machine :
959
- image : linux-cuda-11 :2023.02 .1
945
+ image : linux-cuda-12 :2023.05 .1
960
946
resource_class : gpu.nvidia.large
961
947
steps :
962
948
- checkout
@@ -992,7 +978,7 @@ jobs:
992
978
type : string
993
979
parallelism : 8
994
980
machine :
995
- image : linux-cuda-11 :2023.02 .1
981
+ image : linux-cuda-12 :2023.05 .1
996
982
resource_class : gpu.nvidia.large
997
983
steps :
998
984
- checkout
@@ -1030,7 +1016,7 @@ jobs:
1030
1016
python-version :
1031
1017
type : string
1032
1018
machine :
1033
- image : linux-cuda-11 :2023.02 .1
1019
+ image : linux-cuda-12 :2023.05 .1
1034
1020
resource_class : gpu.nvidia.large
1035
1021
steps :
1036
1022
- checkout
@@ -1068,7 +1054,7 @@ jobs:
1068
1054
type : string
1069
1055
parallelism : 4
1070
1056
machine :
1071
- image : linux-cuda-11 :2023.02 .1
1057
+ image : linux-cuda-12 :2023.05 .1
1072
1058
resource_class : gpu.nvidia.small
1073
1059
steps :
1074
1060
- when :
@@ -1116,7 +1102,7 @@ jobs:
1116
1102
torch-build-index :
1117
1103
type : string
1118
1104
machine :
1119
- image : linux-cuda-11 :2023.02 .1
1105
+ image : linux-cuda-12 :2023.05 .1
1120
1106
resource_class : gpu.nvidia.small
1121
1107
steps :
1122
1108
- when :
@@ -1252,7 +1238,7 @@ jobs:
1252
1238
python-version :
1253
1239
type : string
1254
1240
machine :
1255
- image : linux-cuda-11 :2023.02 .1
1241
+ image : linux-cuda-12 :2023.05 .1
1256
1242
resource_class : gpu.nvidia.small
1257
1243
steps :
1258
1244
- checkout
@@ -1288,7 +1274,7 @@ jobs:
1288
1274
torch-base-image :
1289
1275
type : string
1290
1276
machine :
1291
- image : linux-cuda-11 :2023.02 .1
1277
+ image : linux-cuda-12 :2023.05 .1
1292
1278
resource_class : gpu.nvidia.small
1293
1279
steps :
1294
1280
- checkout
@@ -1316,7 +1302,7 @@ jobs:
1316
1302
torch-base-image :
1317
1303
type : string
1318
1304
machine :
1319
- image : linux-cuda-11 :2023.02 .1
1305
+ image : linux-cuda-12 :2023.05 .1
1320
1306
resource_class : gpu.nvidia.small
1321
1307
steps :
1322
1308
- when :
@@ -1352,13 +1338,13 @@ parameters:
1352
1338
# Nightly platform config
1353
1339
torch-build :
1354
1340
type : string
1355
- default : " 2.1.0.dev20230605+cu118 "
1341
+ default : " 2.1.0.dev20230619+cu121 "
1356
1342
torchvision-build :
1357
1343
type : string
1358
- default : " 0.16.0.dev20230605+cu118 "
1344
+ default : " 0.16.0.dev20230619+cu121 "
1359
1345
torch-build-index :
1360
1346
type : string
1361
- default : " https://download.pytorch.org/whl/nightly/cu118 "
1347
+ default : " https://download.pytorch.org/whl/nightly/cu121 "
1362
1348
torch-build-legacy :
1363
1349
type : string
1364
1350
default : " 1.13.1+cu117"
@@ -1373,7 +1359,7 @@ parameters:
1373
1359
default : true
1374
1360
cudnn-version :
1375
1361
type : string
1376
- default : " 8.8.0.121 "
1362
+ default : " 8.8.1.3 "
1377
1363
trt-version-short :
1378
1364
type : string
1379
1365
default : " 8.6.1"
0 commit comments