@@ -134,6 +134,7 @@ jobs:
134
134
resource_class : 2xlarge+
135
135
steps :
136
136
- checkout_merge
137
+ - designate_upload_channel
137
138
- run : packaging/build_wheel.sh
138
139
- store_artifacts :
139
140
path : dist
@@ -149,6 +150,7 @@ jobs:
149
150
resource_class : 2xlarge+
150
151
steps :
151
152
- checkout_merge
153
+ - designate_upload_channel
152
154
- run : packaging/build_conda.sh
153
155
- store_artifacts :
154
156
path : /opt/conda/conda-bld/linux-64
@@ -164,6 +166,7 @@ jobs:
164
166
executor : windows-cpu
165
167
steps :
166
168
- checkout_merge
169
+ - designate_upload_channel
167
170
- run :
168
171
name : Build conda packages
169
172
command : |
@@ -189,6 +192,7 @@ jobs:
189
192
executor : windows-cpu
190
193
steps :
191
194
- checkout_merge
195
+ - designate_upload_channel
192
196
- run :
193
197
name : Build wheel packages
194
198
command : |
@@ -211,6 +215,7 @@ jobs:
211
215
xcode : " 9.4.1"
212
216
steps :
213
217
- checkout_merge
218
+ - designate_upload_channel
214
219
- run :
215
220
# Cannot easily deduplicate this as source'ing activate
216
221
# will set environment variables which we need to propagate
@@ -233,6 +238,7 @@ jobs:
233
238
xcode : " 9.4.1"
234
239
steps :
235
240
- checkout_merge
241
+ - designate_upload_channel
236
242
- run :
237
243
command : |
238
244
curl -o conda.sh https://repo.anaconda.com/miniconda/Miniconda3-latest-MacOSX-x86_64.sh
@@ -295,6 +301,7 @@ jobs:
295
301
steps :
296
302
- attach_workspace :
297
303
at : ~/workspace
304
+ - designate_upload_channel
298
305
- run :
299
306
name : install binaries
300
307
command : |
@@ -313,6 +320,7 @@ jobs:
313
320
steps :
314
321
- attach_workspace :
315
322
at : ~/workspace
323
+ - designate_upload_channel
316
324
- run :
317
325
name : install binaries
318
326
command : |
@@ -333,6 +341,7 @@ jobs:
333
341
image_name : torchvision/smoke_test
334
342
steps :
335
343
- checkout
344
+ - designate_upload_channel
336
345
- run :
337
346
name : Build and push Docker image
338
347
no_output_timeout : " 1h"
@@ -352,6 +361,7 @@ jobs:
352
361
steps :
353
362
- attach_workspace :
354
363
at : ~/workspace
364
+ - designate_upload_channel
355
365
- run :
356
366
name : install binaries
357
367
command : |
@@ -377,6 +387,7 @@ jobs:
377
387
steps :
378
388
- attach_workspace :
379
389
at : ~/workspace
390
+ - designate_upload_channel
380
391
- run :
381
392
name : install binaries
382
393
command : |
@@ -400,6 +411,7 @@ jobs:
400
411
resource_class : 2xlarge+
401
412
steps :
402
413
- checkout
414
+ - designate_upload_channel
403
415
- run :
404
416
name : Generate cache key
405
417
# This will refresh cache on Sundays, nightly build should generate new cache.
@@ -440,6 +452,7 @@ jobs:
440
452
image_name : " pytorch/manylinux-cuda101"
441
453
steps :
442
454
- checkout
455
+ - designate_upload_channel
443
456
- run :
444
457
name : Generate cache key
445
458
# This will refresh cache on Sundays, nightly build should generate new cache.
@@ -461,7 +474,7 @@ jobs:
461
474
- env
462
475
- run :
463
476
name : Install torchvision
464
- command : docker run -t --gpus all -v $PWD:$PWD -w $PWD "${image_name}" .circleci/unittest/linux/scripts/install.sh
477
+ command : docker run -t --gpus all -v $PWD:$PWD -w $PWD -e UPLOAD_CHANNEL "${image_name}" .circleci/unittest/linux/scripts/install.sh
465
478
- run :
466
479
name : Run tests
467
480
command : docker run -t --gpus all -v $PWD:$PWD -w $PWD "${image_name}" .circleci/unittest/linux/scripts/run_test.sh
@@ -477,6 +490,7 @@ jobs:
477
490
name : windows-cpu
478
491
steps :
479
492
- checkout
493
+ - designate_upload_channel
480
494
- run :
481
495
name : Generate cache key
482
496
# This will refresh cache on Sundays, nightly build should generate new cache.
@@ -516,6 +530,7 @@ jobs:
516
530
CUDA_VERSION : " 10.1"
517
531
steps :
518
532
- checkout
533
+ - designate_upload_channel
519
534
- run :
520
535
name : Generate cache key
521
536
# This will refresh cache on Sundays, nightly build should generate new cache.
@@ -554,6 +569,7 @@ jobs:
554
569
resource_class : large
555
570
steps :
556
571
- checkout
572
+ - designate_upload_channel
557
573
- run :
558
574
name : Install wget
559
575
command : HOMEBREW_NO_AUTO_UPDATE=1 brew install wget
@@ -596,6 +612,7 @@ jobs:
596
612
resource_class : 2xlarge+
597
613
steps :
598
614
- checkout_merge
615
+ - designate_upload_channel
599
616
- run :
600
617
name : Setup conda
601
618
command : .circleci/unittest/linux/scripts/setup_env.sh
@@ -613,19 +630,21 @@ jobs:
613
630
CU_VERSION : << parameters.cu_version >>
614
631
steps :
615
632
- checkout_merge
633
+ - designate_upload_channel
616
634
- run :
617
635
name : Setup conda
618
636
command : docker run -e CU_VERSION -e PYTHON_VERSION -e UNICODE_ABI -e PYTORCH_VERSION -t --gpus all -v $PWD:$PWD -w $PWD << parameters.wheel_docker_image >> .circleci/unittest/linux/scripts/setup_env.sh
619
637
- run :
620
638
name : Build torchvision C++ distribution and test
621
- command : docker run -e CU_VERSION -e PYTHON_VERSION -e UNICODE_ABI -e PYTORCH_VERSION -t --gpus all -v $PWD:$PWD -w $PWD << parameters.wheel_docker_image >> packaging/build_cmake.sh
639
+ command : docker run -e CU_VERSION -e PYTHON_VERSION -e UNICODE_ABI -e PYTORCH_VERSION -e UPLOAD_CHANNEL - t --gpus all -v $PWD:$PWD -w $PWD << parameters.wheel_docker_image >> packaging/build_cmake.sh
622
640
623
641
cmake_macos_cpu :
624
642
<< : *binary_common
625
643
macos :
626
644
xcode : " 9.0"
627
645
steps :
628
646
- checkout_merge
647
+ - designate_upload_channel
629
648
- run :
630
649
command : |
631
650
curl -o conda.sh https://repo.anaconda.com/miniconda/Miniconda3-latest-MacOSX-x86_64.sh
@@ -640,6 +659,7 @@ jobs:
640
659
name : windows-cpu
641
660
steps :
642
661
- checkout_merge
662
+ - designate_upload_channel
643
663
- run :
644
664
command : |
645
665
set -ex
@@ -652,6 +672,7 @@ jobs:
652
672
name : windows-gpu
653
673
steps :
654
674
- checkout_merge
675
+ - designate_upload_channel
655
676
- run :
656
677
command : |
657
678
set -ex
0 commit comments