@@ -110,7 +110,7 @@ binary_common: &binary_common
110
110
wheel_docker_image :
111
111
description : " Wheel only: what docker image to use"
112
112
type : string
113
- default : " pytorch/manylinux-cuda102 "
113
+ default : " pytorch/manylinux-cuda113 "
114
114
conda_docker_image :
115
115
description : " Conda only: what docker image to use"
116
116
type : string
@@ -218,20 +218,21 @@ jobs:
218
218
<< : *binary_common
219
219
220
220
docker :
221
- - image : " pytorch/manylinux-cuda102 "
221
+ - image : " pytorch/manylinux-cuda113 "
222
222
resource_class : 2xlarge+
223
223
224
224
environment :
225
225
TAR_OPTIONS : --no-same-owner
226
226
PYTHON_VERSION : << parameters.python_version >>
227
+ CU_VERSION : << parameters.cu_version >>
227
228
228
229
steps :
229
230
- checkout
230
231
- designate_upload_channel
231
- - run :
232
- name : Generate cache key
233
- # This will refresh cache on Sundays, nightly build should generate new cache.
234
- command : echo "$(date +"%Y-%U")" > .circleci-weekly
232
+ # - run:
233
+ # name: Generate cache key
234
+ # # This will refresh cache on Sundays, nightly build should generate new cache.
235
+ # command: echo "$(date +"%Y-%U")" > .circleci-weekly
235
236
# - restore_cache:
236
237
# keys:
237
238
# - env-v2-linux-{{ arch }}-py<< parameters.python_version >>-{{ checksum ".circleci/unittest/linux/scripts/environment.yml" }}-{{ checksum ".circleci-weekly" }}
@@ -262,20 +263,21 @@ jobs:
262
263
unittest_linux_gpu :
263
264
<< : *binary_common
264
265
machine :
265
- image : ubuntu-1604 -cuda-10.2:202012 -01
266
+ image : ubuntu-2004 -cuda-11.4:202110 -01
266
267
resource_class : gpu.nvidia.medium
267
268
environment :
268
- image_name : " pytorch/manylinux-cuda102 "
269
+ image_name : " pytorch/manylinux-cuda113 "
269
270
TAR_OPTIONS : --no-same-owner
270
271
PYTHON_VERSION : << parameters.python_version >>
272
+ CU_VERSION : << parameters.cu_version >>
271
273
272
274
steps :
273
275
- checkout
274
276
- designate_upload_channel
275
- - run :
276
- name : Generate cache key
277
- # This will refresh cache on Sundays, nightly build should generate new cache.
278
- command : echo "$(date +"%Y-%U")" > .circleci-weekly
277
+ # - run:
278
+ # name: Generate cache key
279
+ # # This will refresh cache on Sundays, nightly build should generate new cache.
280
+ # command: echo "$(date +"%Y-%U")" > .circleci-weekly
279
281
# - restore_cache:
280
282
#
281
283
# keys:
@@ -294,7 +296,7 @@ jobs:
294
296
- run :
295
297
# Here we create an envlist file that contains some env variables that we want the docker container to be aware of.
296
298
# Normally, the CIRCLECI variable is set and available on all CI workflows: https://circleci.com/docs/2.0/env-vars/#built-in-environment-variables.
297
- # They're availble in all the other workflows (OSX and Windows).
299
+ # They're available in all the other workflows (OSX and Windows).
298
300
# But here, we're running the unittest_linux_gpu workflows in a docker container, where those variables aren't accessible.
299
301
# So instead we dump the variables we need in env.list and we pass that file when invoking "docker run".
300
302
name : export CIRCLECI env var
@@ -314,28 +316,29 @@ jobs:
314
316
unittest_linux_optdeps_gpu :
315
317
<< : *binary_common
316
318
machine :
317
- image : ubuntu-1604 -cuda-10.2:202012 -01
319
+ image : ubuntu-2004 -cuda-11.4:202110 -01
318
320
resource_class : gpu.nvidia.medium
319
321
environment :
320
- image_name : " pytorch/manylinux-cuda102 "
322
+ image_name : " pytorch/manylinux-cuda113 "
321
323
TAR_OPTIONS : --no-same-owner
322
324
PYTHON_VERSION : << parameters.python_version >>
325
+ CU_VERSION : << parameters.cu_version >>
323
326
324
327
steps :
325
328
- checkout
326
329
- designate_upload_channel
327
- - run :
328
- name : Generate cache key
329
- # This will refresh cache on Sundays, nightly build should generate new cache.
330
- command : echo "$(date +"%Y-%U")" > .circleci-weekly
330
+ # - run:
331
+ # name: Generate cache key
332
+ # # This will refresh cache on Sundays, nightly build should generate new cache.
333
+ # command: echo "$(date +"%Y-%U")" > .circleci-weekly
331
334
# - restore_cache:
332
335
#
333
336
# keys:
334
337
# - env-v3-linux-{{ arch }}-py<< parameters.python_version >>-{{ checksum ".circleci/unittest/linux_optdeps/scripts/environment.yml" }}-{{ checksum ".circleci-weekly" }}
335
338
336
339
- run :
337
340
name : Setup
338
- command : docker run -e PYTHON_VERSION -t --gpus all -v $PWD:$PWD -w $PWD "${image_name}" .circleci/unittest/linux_optdeps/scripts/setup_env.sh
341
+ command : .circleci/unittest/linux_optdeps/scripts/setup_env.sh
339
342
# - save_cache:
340
343
#
341
344
# key: env-v3-linux-{{ arch }}-py<< parameters.python_version >>-{{ checksum ".circleci/unittest/linux_optdeps/scripts/environment.yml" }}-{{ checksum ".circleci-weekly" }}
@@ -346,7 +349,7 @@ jobs:
346
349
- run :
347
350
# Here we create an envlist file that contains some env variables that we want the docker container to be aware of.
348
351
# Normally, the CIRCLECI variable is set and available on all CI workflows: https://circleci.com/docs/2.0/env-vars/#built-in-environment-variables.
349
- # They're availble in all the other workflows (OSX and Windows).
352
+ # They're available in all the other workflows (OSX and Windows).
350
353
# But here, we're running the unittest_linux_gpu workflows in a docker container, where those variables aren't accessible.
351
354
# So instead we dump the variables we need in env.list and we pass that file when invoking "docker run".
352
355
name : export CIRCLECI env var
@@ -367,20 +370,21 @@ jobs:
367
370
<< : *binary_common
368
371
369
372
docker :
370
- - image : " pytorch/manylinux-cuda102 "
373
+ - image : " pytorch/manylinux-cuda113 "
371
374
resource_class : 2xlarge+
372
375
373
376
environment :
374
377
TAR_OPTIONS : --no-same-owner
375
378
PYTHON_VERSION : << parameters.python_version >>
379
+ CU_VERSION : << parameters.cu_version >>
376
380
377
381
steps :
378
382
- checkout
379
383
- designate_upload_channel
380
- - run :
381
- name : Generate cache key
382
- # This will refresh cache on Sundays, nightly build should generate new cache.
383
- command : echo "$(date +"%Y-%U")" > .circleci-weekly
384
+ # - run:
385
+ # name: Generate cache key
386
+ # # This will refresh cache on Sundays, nightly build should generate new cache.
387
+ # command: echo "$(date +"%Y-%U")" > .circleci-weekly
384
388
# - restore_cache:
385
389
#
386
390
# keys:
@@ -412,20 +416,21 @@ jobs:
412
416
unittest_linux_stable_gpu :
413
417
<< : *binary_common
414
418
machine :
415
- image : ubuntu-1604 -cuda-10.2:202012 -01
419
+ image : ubuntu-2004 -cuda-11.4:202110 -01
416
420
resource_class : gpu.nvidia.medium
417
421
environment :
418
- image_name : " pytorch/manylinux-cuda102 "
422
+ image_name : " pytorch/manylinux-cuda113 "
419
423
TAR_OPTIONS : --no-same-owner
420
424
PYTHON_VERSION : << parameters.python_version >>
425
+ CU_VERSION : << parameters.cu_version >>
421
426
422
427
steps :
423
428
- checkout
424
429
- designate_upload_channel
425
- - run :
426
- name : Generate cache key
427
- # This will refresh cache on Sundays, nightly build should generate new cache.
428
- command : echo "$(date +"%Y-%U")" > .circleci-weekly
430
+ # - run:
431
+ # name: Generate cache key
432
+ # # This will refresh cache on Sundays, nightly build should generate new cache.
433
+ # command: echo "$(date +"%Y-%U")" > .circleci-weekly
429
434
# - restore_cache:
430
435
#
431
436
# keys:
@@ -474,10 +479,10 @@ jobs:
474
479
name : Install wget
475
480
command : HOMEBREW_NO_AUTO_UPDATE=1 brew install wget
476
481
# Disable brew auto update which is very slow
477
- - run :
478
- name : Generate cache key
479
- # This will refresh cache on Sundays, nightly build should generate new cache.
480
- command : echo "$(date +"%Y-%U")" > .circleci-weekly
482
+ # - run:
483
+ # name: Generate cache key
484
+ # # This will refresh cache on Sundays, nightly build should generate new cache.
485
+ # command: echo "$(date +"%Y-%U")" > .circleci-weekly
481
486
# - restore_cache:
482
487
#
483
488
# keys:
@@ -526,12 +531,12 @@ workflows:
526
531
python_version : ' 3.8'
527
532
528
533
- unittest_linux_gpu :
529
- cu_version : cu102
534
+ cu_version : cu113
530
535
name : unittest_linux_gpu_py3.8
531
536
python_version : ' 3.8'
532
537
533
538
- unittest_linux_optdeps_gpu :
534
- cu_version : cu102
539
+ cu_version : cu113
535
540
name : unittest_linux_optdeps_gpu_py3.8
536
541
python_version : ' 3.8'
537
542
@@ -541,6 +546,6 @@ workflows:
541
546
python_version : ' 3.8'
542
547
543
548
- unittest_linux_stable_gpu :
544
- cu_version : cu102
549
+ cu_version : cu113
545
550
name : unittest_linux_stable_gpu_py3.8
546
551
python_version : ' 3.8'
0 commit comments