@@ -92,17 +92,9 @@ commands:
9292 key : cmake-<< parameters.cache-key >>-<< parameters.version >>
9393 paths :
9494 - << 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*"
10395
10496 install-cudnn :
105- description : " Install CUDNN 8.8.0 "
97+ description : " Install CUDNN 8.9.1 "
10698 parameters :
10799 os :
108100 type : string
@@ -112,10 +104,10 @@ commands:
112104 default : " x86_64"
113105 cudnn-version :
114106 type : string
115- default : " 8.8.0.121 "
107+ default : " 8.9.1.23 "
116108 cuda-version :
117109 type : string
118- default : " cuda11.8 "
110+ default : " cuda12.1 "
119111 steps :
120112 - run :
121113 name : Install CUDNN
@@ -149,13 +141,13 @@ commands:
149141 default : " amd64"
150142 cuda-pkg-name :
151143 type : string
152- default : " cuda-toolkit-11-8 "
144+ default : " cuda-toolkit-12-1 "
153145 cuda-pkg-version :
154146 type : string
155- default : " 11-8 "
147+ default : " 12-1 "
156148 cuda-version :
157149 type : string
158- default : " 11.8.0 "
150+ default : " 12.1.1 "
159151 steps :
160152 - run :
161153 name : Install CUDA
@@ -188,19 +180,16 @@ commands:
188180 default : " amd64"
189181 cuda-pkg-name :
190182 type : string
191- default : " cuda-toolkit-11-8 "
183+ default : " cuda-toolkit-12-1 "
192184 cuda-pkg-version :
193185 type : string
194- default : " 11-8"
195- cuda-version :
196- type : string
197- default : " 11.8.0"
186+ default : " 12-0"
198187 cuda-string-version :
199188 type : string
200- default : " cuda11.8 "
189+ default : " cuda12.1 "
201190 cudnn-version :
202191 type : string
203- default : " 8.8.0.121 "
192+ default : " 8.9.1.23 "
204193 trt-version-short :
205194 type : string
206195 default : " 8.6.1"
@@ -252,7 +241,7 @@ commands:
252241 default : " 8.6.1"
253242 cudnn-version-long :
254243 type : string
255- default : " 8.8.0.121 "
244+ default : " 8.9.1.23 "
256245 steps :
257246 - run :
258247 name : Set up python environment
@@ -261,21 +250,21 @@ commands:
261250 pip3 install wheel setuptools
262251 pip3 install nvidia-pyindex
263252 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 >>
265254 pip3 install pytest parameterized expecttest nox
266255
267256 install-torch-from-index :
268257 description : " Install Pytorch"
269258 parameters :
270259 torch-build :
271260 type : string
272- default : " 2.1.0.dev20230605+cu118 "
261+ default : " 2.1.0.dev20230613+cu121 "
273262 torchvision-build :
274263 type : string
275- default : " 0.16.0.dev20230605+cu118 "
264+ default : " 0.16.0.dev20230613+cu121 "
276265 torch-build-index :
277266 type : string
278- default : " https://download.pytorch.org/whl/nightly/cu118 "
267+ default : " https://download.pytorch.org/whl/nightly/cu121 "
279268 steps :
280269 - run :
281270 name : Install Torch
@@ -293,7 +282,7 @@ commands:
293282 - run :
294283 name : Build torch-tensorrt python release (pre-cxx11-abi)
295284 command : |
296- export CUDA_HOME=/usr/local/cuda-11.8 /
285+ export CUDA_HOME=/usr/local/cuda-12.1 /
297286 mv toolchains/ci_workspaces/WORKSPACE.<< parameters.platform >> WORKSPACE
298287 cd py
299288 python3 -m pip install wheel setuptools
@@ -313,7 +302,7 @@ commands:
313302 - run :
314303 name : Build torch-tensorrt python legacy release (pre-cxx11-abi)
315304 command : |
316- export CUDA_HOME=/usr/local/cuda-11.8 /
305+ export CUDA_HOME=/usr/local/cuda-12.1 /
317306 mv toolchains/ci_workspaces/WORKSPACE.<< parameters.platform >> WORKSPACE
318307 cd py
319308 python3 -m pip install wheel setuptools
@@ -345,7 +334,7 @@ commands:
345334 - run :
346335 name : Build torch-tensorrt python release package
347336 command : |
348- export CUDA_HOME=/usr/local/cuda-11.8 /
337+ export CUDA_HOME=/usr/local/cuda-12.1 /
349338 cd ~/project/py
350339 python3 setup.py bdist_wheel --use-cxx11-abi --release
351340 python3 setup.py install --use-cxx11-abi --release
@@ -357,7 +346,7 @@ commands:
357346 - run :
358347 name : Build torch-tensorrt python package
359348 command : |
360- export CUDA_HOME=/usr/local/cuda-11.8 /
349+ export CUDA_HOME=/usr/local/cuda-12.1 /
361350 cd ~/project/py
362351 python3 setup.py bdist_wheel --use-cxx11-abi
363352 python3 setup.py install --use-cxx11-abi
@@ -375,7 +364,7 @@ commands:
375364 - run :
376365 name : Build torch-tensorrt python release with only the fx backend
377366 command : |
378- export CUDA_HOME=/usr/local/cuda-11.8 /
367+ export CUDA_HOME=/usr/local/cuda-12.1 /
379368 mv toolchains/ci_workspaces/WORKSPACE.<< parameters.platform >> WORKSPACE
380369 cd py
381370 python3 -m pip install wheel setuptools
@@ -447,7 +436,7 @@ commands:
447436 name : Build torch-tensorrt library with CMake
448437 command : |
449438 mkdir build
450- export PATH=$PATH:/usr/local/cuda-11.8 /bin
439+ export PATH=$PATH:/usr/local/cuda-12.1 /bin
451440 ~/cmake/bin/cmake -S. -Bbuild \
452441 -DCMAKE_MODULE_PATH=cmake/Module \
453442 -DTorch_DIR=/opt/circleci/.pyenv/versions/3.9.4/lib/python3.9/site-packages/torch/share/cmake/Torch \
@@ -499,7 +488,7 @@ commands:
499488 name : Run core / C++ tests
500489 no_output_timeout : 15m
501490 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"
503492 command : |
504493 set -e
505494 mv toolchains/ci_workspaces/WORKSPACE.<< parameters.platform >> WORKSPACE
@@ -529,7 +518,7 @@ commands:
529518 environment :
530519 USE_HOST_DEPS : " 1"
531520 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"
533522 command : |
534523 set -e
535524 mkdir -p /tmp/artifacts/test_results
@@ -819,7 +808,7 @@ jobs:
819808 type : boolean
820809 default : false
821810 machine :
822- image : linux-cuda-11 :2023.02 .1
811+ image : linux-cuda-12 :2023.05 .1
823812 resource_class : gpu.nvidia.small
824813 steps :
825814 - checkout
@@ -1352,13 +1341,13 @@ parameters:
13521341 # Nightly platform config
13531342 torch-build :
13541343 type : string
1355- default : " 2.1.0.dev20230605+cu118 "
1344+ default : " 2.1.0.dev20230613+cu121 "
13561345 torchvision-build :
13571346 type : string
1358- default : " 0.16.0.dev20230605+cu118 "
1347+ default : " 0.16.0.dev20230613+cu121 "
13591348 torch-build-index :
13601349 type : string
1361- default : " https://download.pytorch.org/whl/nightly/cu118 "
1350+ default : " https://download.pytorch.org/whl/nightly/cu121 "
13621351 torch-build-legacy :
13631352 type : string
13641353 default : " 1.13.1+cu117"
@@ -1373,7 +1362,7 @@ parameters:
13731362 default : true
13741363 cudnn-version :
13751364 type : string
1376- default : " 8.8.0.121 "
1365+ default : " 8.9.1.23 "
13771366 trt-version-short :
13781367 type : string
13791368 default : " 8.6.1"
0 commit comments