@@ -338,57 +338,57 @@ jobs:
338
338
image : ubuntu-2004:current
339
339
resource_class : arm.xlarge
340
340
steps :
341
- - checkout
342
- - install-cuda :
343
- os : " ubuntu2004"
344
- platform : " sbsa"
345
- cuda-pkg-name : " cuda-toolkit-11-4"
346
- - run :
347
- name : Install openblas
348
- command : sudo apt install libopenblas-dev
349
- - create-env :
350
- os : " ubuntu2004"
351
- platform : " sbsa"
352
- cudnn-version : << pipeline.parameters.cudnn-version >>
353
- cudnn-pkg-name : << pipeline.parameters.cudnn-pkg-name >>
354
- trt-version-short : << pipeline.parameters.trt-version-short >>
355
- trt-pkg-name : << pipeline.parameters.trt-pkg-name >>
356
- bazel-version : << pipeline.parameters.bazel-version >>
357
- bazel-platform : " arm64"
358
- - run :
359
- name : Set python version
360
- command : |
361
- pyenv install << parameters.python-version >>
362
- pyenv global << parameters.python-version >>
363
- - run :
364
- name : Install NGC Torch
365
- environment :
366
- TORCH_INSTALL : https://developer.download.nvidia.com/compute/redist/jp/v<< parameters.jetpack-version >>/pytorch/<< parameters.torch-build >>
367
- command : |
368
- set -e
369
- python3 -m pip install --upgrade pip; python3 -m pip install setuptools wheel; python3 -m pip install expecttest xmlrunner hypothesis aiohttp numpy=='1.19.4' pyyaml scipy=='1.5.3' ninja cython typing_extensions protobuf; export "LD_LIBRARY_PATH=/usr/lib/llvm-8/lib:$LD_LIBRARY_PATH"; python3 -m pip install --upgrade protobuf; python3 -m pip install --no-cache $TORCH_INSTALL
370
- - when :
371
- condition : << parameters.cxx11-abi >>
372
- steps :
373
- - build-py-cxx11-abi :
374
- platform : " sbsa"
375
- - unless :
376
- condition : << parameters.cxx11-abi >>
377
- steps :
378
- - build-py :
379
- platform : " sbsa"
380
- - run :
381
- name : Move to release dir
382
- command : |
383
- mkdir -p /tmp/dist/jetson
384
- cp -r /tmp/dist/builds/* /tmp/dist/jetson
385
- - persist_to_workspace :
386
- root : /tmp/dist
387
- paths :
388
- - jetson
389
- - store_artifacts :
390
- path : /tmp/dist/jetson
391
- destination : aarch64-pyt-jetson
341
+ - checkout
342
+ - install-cuda :
343
+ os : " ubuntu2004"
344
+ platform : " sbsa"
345
+ cuda-pkg-name : " cuda-toolkit-11-4"
346
+ - run :
347
+ name : Install openblas
348
+ command : sudo apt install libopenblas-dev
349
+ - create-env :
350
+ os : " ubuntu2004"
351
+ platform : " sbsa"
352
+ cudnn-version : << pipeline.parameters.cudnn-jetson -version >>
353
+ cudnn-pkg-name : << pipeline.parameters.cudnn-jetson -pkg-name >>
354
+ trt-version-short : << pipeline.parameters.trt-jetson -version-short >>
355
+ trt-pkg-name : << pipeline.parameters.trt-jetson -pkg-name >>
356
+ bazel-version : " 5.1.1 "
357
+ bazel-platform : " arm64"
358
+ - run :
359
+ name : Set python version
360
+ command : |
361
+ pyenv install << parameters.python-version >>
362
+ pyenv global << parameters.python-version >>
363
+ - run :
364
+ name : Install NGC Torch
365
+ environment :
366
+ TORCH_INSTALL : https://developer.download.nvidia.com/compute/redist/jp/v<< parameters.jetpack-version >>/pytorch/<< parameters.torch-build >>
367
+ command : |
368
+ set -e
369
+ python3 -m pip install --upgrade pip; python3 -m pip install setuptools wheel; python3 -m pip install expecttest xmlrunner hypothesis aiohttp numpy=='1.19.4' pyyaml scipy=='1.5.3' ninja cython typing_extensions protobuf; export "LD_LIBRARY_PATH=/usr/lib/llvm-8/lib:$LD_LIBRARY_PATH"; python3 -m pip install --upgrade protobuf; python3 -m pip install --no-cache $TORCH_INSTALL
370
+ - when :
371
+ condition : << parameters.cxx11-abi >>
372
+ steps :
373
+ - build-py-cxx11-abi :
374
+ platform : " sbsa"
375
+ - unless :
376
+ condition : << parameters.cxx11-abi >>
377
+ steps :
378
+ - build-py :
379
+ platform : " sbsa"
380
+ - run :
381
+ name : Move to release dir
382
+ command : |
383
+ mkdir -p /tmp/dist/jetson
384
+ cp -r /tmp/dist/builds/* /tmp/dist/jetson
385
+ - persist_to_workspace :
386
+ root : /tmp/dist
387
+ paths :
388
+ - jetson
389
+ - store_artifacts :
390
+ path : /tmp/dist/jetson
391
+ destination : aarch64-pyt-jetson
392
392
393
393
build-x86_64-pyt-release :
394
394
parameters :
@@ -407,11 +407,11 @@ jobs:
407
407
- create-env :
408
408
os : " ubuntu2004"
409
409
platform : " x86_64"
410
- cudnn-version : << pipeline.parameters.cudnn-version >>
411
- cudnn-pkg-name : << pipeline.parameters.cudnn-pkg-name >>
412
- trt-version-short : << pipeline.parameters.trt-version-short >>
413
- trt-pkg-name : << pipeline.parameters.trt-pkg-name >>
414
- bazel-version : << pipeline.parameters.bazel-version >>
410
+ cudnn-version : << pipeline.parameters.cudnn-release- version >>
411
+ cudnn-pkg-name : << pipeline.parameters.cudnn-release- pkg-name >>
412
+ trt-version-short : << pipeline.parameters.trt-release- version-short >>
413
+ trt-pkg-name : << pipeline.parameters.trt-release- pkg-name >>
414
+ bazel-version : " 5.1.1 "
415
415
bazel-platform : " x86_64"
416
416
- install-torch-from-index :
417
417
torch-build : << parameters.torch-build >>
@@ -454,11 +454,11 @@ jobs:
454
454
- create-env :
455
455
os : " ubuntu2004"
456
456
platform : " x86_64"
457
- cudnn-version : << pipeline.parameters.cudnn-version >>
458
- cudnn-pkg-name : << pipeline.parameters.cudnn-pkg-name >>
459
- trt-version-short : << pipeline.parameters.trt-version-short >>
460
- trt-pkg-name : << pipeline.parameters.trt-pkg-name >>
461
- bazel-version : << pipeline.parameters.bazel-version >>
457
+ cudnn-version : << pipeline.parameters.cudnn-nightly- version >>
458
+ cudnn-pkg-name : << pipeline.parameters.cudnn-nightly- pkg-name >>
459
+ trt-version-short : << pipeline.parameters.trt-nightly- version-short >>
460
+ trt-pkg-name : << pipeline.parameters.trt-nightly- pkg-name >>
461
+ bazel-version : " 5.1.1 "
462
462
bazel-platform : " x86_64"
463
463
- install-torch-from-index :
464
464
torch-build : << parameters.torch-build >>
@@ -499,14 +499,14 @@ jobs:
499
499
- create-env :
500
500
os : " ubuntu2004"
501
501
platform : " x86_64"
502
- cudnn-version : << pipeline.parameters.cudnn-version >>
503
- cudnn-pkg-name : << pipeline.parameters.cudnn-pkg-name >>
504
- trt-version-short : << pipeline.parameters.trt-version-short >>
505
- trt-pkg-name : << pipeline.parameters.trt-pkg-name >>
506
- bazel-version : << pipeline.parameters.bazel-version >>
502
+ cudnn-version : << pipeline.parameters.cudnn-release- version >>
503
+ cudnn-pkg-name : << pipeline.parameters.cudnn-release- pkg-name >>
504
+ trt-version-short : << pipeline.parameters.trt-release- version-short >>
505
+ trt-pkg-name : << pipeline.parameters.trt-release- pkg-name >>
506
+ bazel-version : " 5.1.1 "
507
507
bazel-platform : " x86_64"
508
508
- create-py-env :
509
- trt-version-long : << pipeline.parameters.trt-version-long >>
509
+ trt-version-long : << pipeline.parameters.trt-release- version-long >>
510
510
- install-torch-from-index :
511
511
torch-build : << parameters.torch-build >>
512
512
torch-build-index : << parameters.torch-build-index >>
@@ -530,7 +530,7 @@ jobs:
530
530
steps :
531
531
- checkout
532
532
- create-py-env :
533
- trt-version-long : << pipeline.parameters.trt-version-long >>
533
+ trt-version-long : << pipeline.parameters.trt-release- version-long >>
534
534
- install-torch-from-index :
535
535
torch-build : << parameters.torch-build >>
536
536
torch-build-index : << parameters.torch-build-index >>
@@ -554,7 +554,7 @@ jobs:
554
554
steps :
555
555
- checkout
556
556
- create-py-env :
557
- trt-version-long : << pipeline.parameters.trt-version-long >>
557
+ trt-version-long : << pipeline.parameters.trt-nightly- version-long >>
558
558
- attach_workspace :
559
559
at : /tmp/dist/
560
560
- run :
@@ -568,42 +568,74 @@ jobs:
568
568
- test-fx
569
569
570
570
parameters :
571
+ # Nightly platform config
571
572
torch-nightly-build :
572
573
type : string
573
574
default : " 1.13.0.dev20220715+cu113"
574
575
torch-nightly-build-index :
575
576
type : string
576
577
default : " https://download.pytorch.org/whl/nightly/cu113"
578
+ cudnn-nightly-version :
579
+ type : string
580
+ default : " 8.4.0"
581
+ cudnn-nightly-pkg-name :
582
+ type : string
583
+ default : " 8.4.0.*-1+cuda11.6"
584
+ trt-nightly-version-short :
585
+ type : string
586
+ default : " 8.4.1"
587
+ trt-nightly-version-long :
588
+ type : string
589
+ default : " 8.4.1.5"
590
+ trt-nightly-pkg-name :
591
+ type : string
592
+ default : " 8.4.1-1+cuda11.6"
593
+
594
+ # Release platform config
577
595
torch-release-build :
578
596
type : string
579
597
default : " 1.11.0+cu113"
580
598
torch-release-build-index :
581
599
type : string
582
600
default : " https://download.pytorch.org/whl/cu113"
583
- torch-jetson-build :
584
- type : string
585
- default : " torch-1.12.0a0+84d1cb9.nv22.4-cp38-cp38-linux_aarch64.whl"
586
- jetpack-version :
587
- type : string
588
- default : " 50"
589
- cudnn-version :
601
+ cudnn-release-version :
590
602
type : string
591
603
default : " 8.2.1"
592
- cudnn-pkg-name :
604
+ cudnn-release- pkg-name :
593
605
type : string
594
606
default : " 8.2.1.*-1+cuda11.3"
595
- trt-version-short :
607
+ trt-release- version-short :
596
608
type : string
597
609
default : " 8.2.4"
598
- trt-version-long :
610
+ trt-release- version-long :
599
611
type : string
600
612
default : " 8.2.4.2"
601
- trt-pkg-name :
613
+ trt-release- pkg-name :
602
614
type : string
603
615
default : " 8.2.4-1+cuda11.4"
604
- bazel-version :
616
+
617
+ # Jetson platform config
618
+ torch-jetson-build :
619
+ type : string
620
+ default : " torch-1.12.0a0+84d1cb9.nv22.4-cp38-cp38-linux_aarch64.whl"
621
+ jetpack-version :
622
+ type : string
623
+ default : " 50"
624
+ cudnn-jetson-version :
625
+ type : string
626
+ default : " 8.3.2"
627
+ cudnn-jetson-pkg-name :
628
+ type : string
629
+ default : " 8.3.2.*-1+cuda11.5"
630
+ trt-jetson-version-short :
631
+ type : string
632
+ default : " 8.4.0"
633
+ trt-jetson-version-long :
634
+ type : string
635
+ default : " 8.4.0.6"
636
+ trt-jetson-pkg-name :
605
637
type : string
606
- default : " 5.1.1 "
638
+ default : " 8.4.0-1+cuda11.6 "
607
639
608
640
# Invoke jobs via workflows
609
641
# See: https://circleci.com/docs/2.0/configuration-reference/#workflows
0 commit comments