@@ -236,7 +236,7 @@ commands:
236
236
mv toolchains/ci_workspaces/WORKSPACE.<< parameters.platform >> WORKSPACE
237
237
bazel query 'kind(cc_*, tests(//tests))' --noshow_progress >> /tmp/test_manifest.txt
238
238
circleci tests split < /tmp/test_manifest.txt > /tmp/node_test_manifest.txt
239
- bazel test $(cat /tmp/node_test_manifest.txt) --test_arg=--gtest_output=xml:/tmp/artifacts/test_results/ --jobs 4 --config ci_testing --config pre_cxx11_abi --noshow_progress
239
+ bazel test $(cat /tmp/node_test_manifest.txt) --test_arg=--gtest_output=xml:/tmp/artifacts/test_results/ --jobs 2 --config ci_testing --config pre_cxx11_abi --noshow_progress
240
240
- run :
241
241
name : Collect logs
242
242
when : on_fail
@@ -265,7 +265,6 @@ commands:
265
265
set -e
266
266
mkdir -p /tmp/artifacts/test_results
267
267
cd tests/py
268
- pip3 install -r requirements.txt
269
268
pytest --junitxml=/tmp/artifacts/test_results/api/api_test_results.xml api/
270
269
pytest --junitxml=/tmp/artifacts/test_results/integrations/integrations_test_results.xml integrations/
271
270
cd ~/project
@@ -482,12 +481,20 @@ jobs:
482
481
path : /tmp/dist/nightly
483
482
destination : x86_64-pyt-nightly
484
483
485
- test-core-cpp-x86_64-pyt-release :
484
+ test-core-cpp-x86_64 :
486
485
parameters :
487
486
torch-build :
488
487
type : string
489
488
torch-build-index :
490
489
type : string
490
+ trt-version-short :
491
+ type : string
492
+ trt-version-long :
493
+ type : string
494
+ cudnn-version :
495
+ type : string
496
+ channel :
497
+ type : string
491
498
machine :
492
499
image : ubuntu-2004-cuda-11.4:202110-01
493
500
resource_class : gpu.nvidia.large
@@ -497,66 +504,75 @@ jobs:
497
504
- create-env :
498
505
os : " ubuntu2004"
499
506
platform : " x86_64"
500
- cudnn-version : << pipeline. parameters.cudnn-release -version >>
501
- trt-version-short : << pipeline. parameters.trt-release -version-short >>
507
+ cudnn-version : << parameters.cudnn-version >>
508
+ trt-version-short : << parameters.trt-version-short >>
502
509
bazel-version : " 5.1.1"
503
510
bazel-platform : " x86_64"
504
511
- create-py-env :
505
- trt-version-long : << pipeline. parameters.trt-release -version-long >>
512
+ trt-version-long : << parameters.trt-version-long >>
506
513
- install-torch-from-index :
507
514
torch-build : << parameters.torch-build >>
508
515
torch-build-index : << parameters.torch-build-index >>
509
516
- attach_workspace :
510
517
at : /tmp/dist
511
518
- run :
512
519
name : " Install torch-tensorrt"
513
- command : pip3 install /tmp/dist/release /*
520
+ command : pip3 install /tmp/dist/<< parameters.channel >> /*
514
521
- dump-test-env
515
522
- test-ts-core
516
523
517
- test-ts- py-x86_64-pyt-release :
524
+ test-py-ts-x86_64 :
518
525
parameters :
526
+ channel :
527
+ type : string
519
528
torch-build :
520
529
type : string
521
530
torch-build-index :
522
531
type : string
532
+ trt-version-long :
533
+ type : string
523
534
machine :
524
535
image : ubuntu-2004-cuda-11.4:202110-01
525
536
resource_class : gpu.nvidia.large
526
537
steps :
527
538
- checkout
528
539
- create-py-env :
529
- trt-version-long : << pipeline.parameters.trt-release-version-long >>
530
- - install-torch-from-index :
531
- torch-build : << parameters.torch-build >>
532
- torch-build-index : << parameters.torch-build-index >>
540
+ trt-version-long : << parameters.trt-version-long >>
533
541
- attach_workspace :
534
542
at : /tmp/dist
535
543
- run :
536
544
name : " Install torch-tensorrt"
537
- command : pip3 install /tmp/dist/release/*
545
+ command : pip3 install /tmp/dist/<< parameters.channel >>/*
546
+ # We install torch after torch-trt because pip automatically enforces the version constraint otherwise
547
+ - install-torch-from-index :
548
+ torch-build : << parameters.torch-build >>
549
+ torch-build-index : << parameters.torch-build-index >>
538
550
- dump-test-env
539
551
- test-ts-py-api
540
552
541
- test-x86_64-pyt-nightly :
553
+ test-py-fx-x86_64 :
542
554
parameters :
555
+ channel :
556
+ type : string
543
557
torch-build :
544
558
type : string
545
559
torch-build-index :
546
560
type : string
561
+ trt-version-long :
562
+ type : string
547
563
machine :
548
564
image : ubuntu-2004-cuda-11.4:202110-01
549
565
resource_class : gpu.nvidia.large
550
566
steps :
551
567
- checkout
552
568
- create-py-env :
553
- trt-version-long : << pipeline. parameters.trt-nightly -version-long >>
569
+ trt-version-long : << parameters.trt-version-long >>
554
570
- attach_workspace :
555
571
at : /tmp/dist/
556
572
- run :
557
573
name : " Install torch-tensorrt"
558
- command : pip3 install /tmp/dist/nightly /*
559
- # We install torch after torch-trt because pip automatically enforces the version constraint otherwise, swap back after versions are synced
574
+ command : pip3 install /tmp/dist/<< parameters.channel >> /*
575
+ # We install torch after torch-trt because pip automatically enforces the version constraint otherwise
560
576
- install-torch-from-index :
561
577
torch-build : << parameters.torch-build >>
562
578
torch-build-index : << parameters.torch-build-index >>
@@ -573,30 +589,30 @@ parameters:
573
589
default : " https://download.pytorch.org/whl/nightly/cu113"
574
590
cudnn-nightly-version :
575
591
type : string
576
- default : " 8.2 .1"
592
+ default : " 8.4 .1"
577
593
trt-nightly-version-short :
578
594
type : string
579
- default : " 8.2.4 "
595
+ default : " 8.4.1 "
580
596
trt-nightly-version-long :
581
597
type : string
582
- default : " 8.2.4.2 "
598
+ default : " 8.4.1.5 "
583
599
584
600
# Release platform config
585
601
torch-release-build :
586
602
type : string
587
- default : " 1.11 .0+cu113"
603
+ default : " 1.12 .0+cu113"
588
604
torch-release-build-index :
589
605
type : string
590
606
default : " https://download.pytorch.org/whl/cu113"
591
607
cudnn-release-version :
592
608
type : string
593
- default : " 8.2 .1"
609
+ default : " 8.4 .1"
594
610
trt-release-version-short :
595
611
type : string
596
- default : " 8.2.4 "
612
+ default : " 8.4.1 "
597
613
trt-release-version-long :
598
614
type : string
599
- default : " 8.2.4.2 "
615
+ default : " 8.4.1.5 "
600
616
601
617
# Jetson platform config
602
618
torch-jetson-build :
@@ -632,21 +648,74 @@ workflows:
632
648
jetpack-version : << pipeline.parameters.jetpack-version >>
633
649
python-version : 3.8.10
634
650
651
+
652
+
635
653
- build-x86_64-pyt-release :
636
654
torch-build : << pipeline.parameters.torch-release-build >>
637
655
torch-build-index : << pipeline.parameters.torch-release-build-index >>
638
- - test-core-cpp-x86_64-pyt-release :
656
+
657
+ - test-core-cpp-x86_64 :
658
+ name : test-core-cpp-x86_64-pyt-release
659
+ channel : " release"
639
660
torch-build : << pipeline.parameters.torch-release-build >>
640
661
torch-build-index : << pipeline.parameters.torch-release-build-index >>
662
+ trt-version-short : << pipeline.parameters.trt-release-version-short >>
663
+ trt-version-long : << pipeline.parameters.trt-release-version-long >>
664
+ cudnn-version : << pipeline.parameters.cudnn-release-version >>
641
665
requires :
642
666
- build-x86_64-pyt-release
643
667
668
+ - test-py-ts-x86_64 :
669
+ name : test-py-ts-x86_64-pyt-release
670
+ channel : " release"
671
+ torch-build : << pipeline.parameters.torch-release-build >>
672
+ torch-build-index : << pipeline.parameters.torch-release-build-index >>
673
+ trt-version-long : << pipeline.parameters.trt-release-version-long >>
674
+ requires :
675
+ - build-x86_64-pyt-release
676
+
677
+ - test-py-ts-x86_64 :
678
+ name : test-py-fx-x86_64-pyt-release
679
+ channel : " release"
680
+ torch-build : << pipeline.parameters.torch-release-build >>
681
+ torch-build-index : << pipeline.parameters.torch-release-build-index >>
682
+ trt-version-long : << pipeline.parameters.trt-release-version-long >>
683
+ requires :
684
+ - build-x86_64-pyt-release
685
+
686
+
687
+
688
+
644
689
- build-x86_64-pyt-nightly :
645
690
torch-build : << pipeline.parameters.torch-nightly-build >>
646
691
torch-build-index : << pipeline.parameters.torch-nightly-build-index >>
647
- - test-x86_64-pyt-nightly :
692
+
693
+ - test-core-cpp-x86_64 :
694
+ name : test-core-cpp-x86_64-pyt-nightly
695
+ channel : " nightly"
696
+ torch-build : << pipeline.parameters.torch-nightly-build >>
697
+ torch-build-index : << pipeline.parameters.torch-nightly-build-index >>
698
+ trt-version-short : << pipeline.parameters.trt-nightly-version-short >>
699
+ trt-version-long : << pipeline.parameters.trt-nightly-version-long >>
700
+ cudnn-version : << pipeline.parameters.cudnn-nightly-version >>
701
+ requires :
702
+ - build-x86_64-pyt-nightly
703
+
704
+ - test-py-ts-x86_64 :
705
+ name : test-py-ts-x86_64-pyt-nightly
706
+ channel : " nightly"
648
707
torch-build : << pipeline.parameters.torch-nightly-build >>
649
708
torch-build-index : << pipeline.parameters.torch-nightly-build-index >>
709
+ trt-version-long : << pipeline.parameters.trt-nightly-version-long >>
710
+ requires :
711
+ - build-x86_64-pyt-nightly
712
+
713
+ - test-py-fx-x86_64 :
714
+ name : test-py-fx-x86_64-pyt-nightly
715
+ channel : " nightly"
716
+ torch-build : << pipeline.parameters.torch-nightly-build >>
717
+ torch-build-index : << pipeline.parameters.torch-nightly-build-index >>
718
+ trt-version-long : << pipeline.parameters.trt-nightly-version-long >>
650
719
requires :
651
720
- build-x86_64-pyt-nightly
652
721
@@ -657,26 +726,73 @@ workflows:
657
726
jetpack-version : << pipeline.parameters.jetpack-version >>
658
727
python-version : 3.8.10
659
728
729
+
730
+
660
731
- build-x86_64-pyt-release :
661
732
torch-build : << pipeline.parameters.torch-release-build >>
662
733
torch-build-index : << pipeline.parameters.torch-release-build-index >>
663
- - test-core-cpp-x86_64-pyt-release :
734
+
735
+ - test-core-cpp-x86_64 :
736
+ name : test-core-cpp-x86_64-pyt-release
737
+ channel : " release"
738
+ torch-build : << pipeline.parameters.torch-release-build >>
739
+ torch-build-index : << pipeline.parameters.torch-release-build-index >>
740
+ trt-version-short : << pipeline.parameters.trt-release-version-short >>
741
+ trt-version-long : << pipeline.parameters.trt-release-version-long >>
742
+ cudnn-version : << pipeline.parameters.cudnn-release-version >>
743
+ requires :
744
+ - build-x86_64-pyt-release
745
+
746
+ - test-py-ts-x86_64 :
747
+ name : test-py-ts-x86_64-pyt-release
748
+ channel : " release"
664
749
torch-build : << pipeline.parameters.torch-release-build >>
665
750
torch-build-index : << pipeline.parameters.torch-release-build-index >>
751
+ trt-version-long : << pipeline.parameters.trt-release-version-long >>
666
752
requires :
667
753
- build-x86_64-pyt-release
668
- - test-ts-py-x86_64-pyt-release :
754
+
755
+ - test-py-ts-x86_64 :
756
+ name : test-py-fx-x86_64-pyt-release
757
+ channel : " release"
669
758
torch-build : << pipeline.parameters.torch-release-build >>
670
759
torch-build-index : << pipeline.parameters.torch-release-build-index >>
760
+ trt-version-long : << pipeline.parameters.trt-release-version-long >>
671
761
requires :
672
762
- build-x86_64-pyt-release
673
763
764
+
765
+
674
766
- build-x86_64-pyt-nightly :
675
767
torch-build : << pipeline.parameters.torch-nightly-build >>
676
768
torch-build-index : << pipeline.parameters.torch-nightly-build-index >>
677
- - test-x86_64-pyt-nightly :
769
+
770
+ - test-core-cpp-x86_64 :
771
+ name : test-core-cpp-x86_64-pyt-nightly
772
+ channel : " nightly"
678
773
torch-build : << pipeline.parameters.torch-nightly-build >>
679
774
torch-build-index : << pipeline.parameters.torch-nightly-build-index >>
775
+ trt-version-short : << pipeline.parameters.trt-nightly-version-short >>
776
+ trt-version-long : << pipeline.parameters.trt-nightly-version-long >>
777
+ cudnn-version : << pipeline.parameters.cudnn-nightly-version >>
778
+ requires :
779
+ - build-x86_64-pyt-nightly
780
+
781
+ - test-py-ts-x86_64 :
782
+ name : test-py-ts-x86_64-pyt-nightly
783
+ channel : " nightly"
784
+ torch-build : << pipeline.parameters.torch-nightly-build >>
785
+ torch-build-index : << pipeline.parameters.torch-nightly-build-index >>
786
+ trt-version-long : << pipeline.parameters.trt-nightly-version-long >>
787
+ requires :
788
+ - build-x86_64-pyt-nightly
789
+
790
+ - test-py-fx-x86_64 :
791
+ name : test-py-fx-x86_64-pyt-nightly
792
+ channel : " nightly"
793
+ torch-build : << pipeline.parameters.torch-nightly-build >>
794
+ torch-build-index : << pipeline.parameters.torch-nightly-build-index >>
795
+ trt-version-long : << pipeline.parameters.trt-nightly-version-long >>
680
796
requires :
681
797
- build-x86_64-pyt-nightly
682
798
0 commit comments