@@ -3,8 +3,26 @@ name: All Tests Nvidia
33on :
44 push :
55 branches : ["main"]
6+ paths-ignore :
7+ - ' hardware/BI_V150/**'
8+ - ' hardware/Cambricon_MLU/**'
9+ - ' hardware/Huawei_Atlas800TA3/**'
10+ - ' hardware/Hygon_BW1000/**'
11+ - ' hardware/Kunlunxin_R310p/**'
12+ - ' hardware/MUSA_S5000/**'
13+ - ' hardware/Metax_C550/**'
14+ - ' hardware/Tsing_micro/**'
615 pull_request :
716 branches : ["main"]
17+ paths-ignore :
18+ - ' hardware/BI_V150/**'
19+ - ' hardware/Cambricon_MLU/**'
20+ - ' hardware/Huawei_Atlas800TA3/**'
21+ - ' hardware/Hygon_BW1000/**'
22+ - ' hardware/Kunlunxin_R310p/**'
23+ - ' hardware/MUSA_S5000/**'
24+ - ' hardware/Metax_C550/**'
25+ - ' hardware/Tsing_micro/**'
826
927concurrency :
1028 group : ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}-${{ github.actor }}
2139 run : |
2240 echo "ci_image=localhost:5000/flagscale:cuda12.8.1-cudnn9.7.1-python3.12-torch2.7.0-time2507111538" >> $GITHUB_OUTPUT # Set output variable
2341
24- # Megatron Unit Tests with Matrix
25- megatron-unit-tests :
42+ # Train Megatron Unit Tests with Matrix
43+ unit_tests_train_megatron :
2644 needs :
2745 - set-env
2846 uses : ./.github/workflows/unit-tests-nvidia.yml
@@ -43,34 +61,51 @@ jobs:
4361 - transformer/moe
4462 - transformer
4563 - ./
46- name : " megatron -${{ matrix.subset == './' && 'root' || matrix.subset }}"
64+ name : " train_megatron -${{ matrix.subset == './' && 'root' || matrix.subset }}"
4765 with :
48- backend : megatron
66+ backend : train_megatron
4967 subset : ${{ matrix.subset }}
5068 image : ${{ needs.set-env.outputs.ci_image }}
5169
52- # Flagscale Unit Tests with Matrix
53- flagscale-unit-tests :
70+ # Train Flagscale Unit Tests with Matrix
71+ unit_tests_train_flagscale :
5472 needs :
5573 - set-env
56- - megatron-unit-tests
74+ - unit_tests_train_megatron
5775 uses : ./.github/workflows/unit-tests-nvidia.yml
5876 strategy :
5977 matrix :
6078 subset :
6179 - runner
6280 - ./
63- name : " flagscale -${{ matrix.subset == './' && 'root' || matrix.subset }}"
81+ name : " train_flagscale -${{ matrix.subset == './' && 'root' || matrix.subset }}"
6482 with :
65- backend : flagscale
83+ backend : train_flagscale
84+ subset : ${{ matrix.subset }}
85+ image : ${{ needs.set-env.outputs.ci_image }}
86+
87+ # Inference Flagscale Unit Tests with Matrix
88+ unit_tests_inference_flagscale :
89+ needs :
90+ - set-env
91+ - unit_tests_train_flagscale
92+ uses : ./.github/workflows/unit-tests-nvidia.yml
93+ strategy :
94+ matrix :
95+ subset :
96+ - inference
97+ - transforms
98+ name : " inference_flagscale-${{ matrix.subset == './' && 'root' || matrix.subset }}"
99+ with :
100+ backend : inference_flagscale
66101 subset : ${{ matrix.subset }}
67102 image : ${{ needs.set-env.outputs.ci_image }}
68103
69104 # Functional Tests with Mision and Type Matrix
70- functional-tests-train :
105+ functional_tests_train :
71106 needs :
72107 - set-env
73- - flagscale-unit-tests
108+ - unit_tests_inference_flagscale
74109 uses : ./.github/workflows/functional-tests-nvidia.yml
75110 strategy :
76111 matrix :
@@ -85,10 +120,10 @@ jobs:
85120 type : train
86121 image : ${{ needs.set-env.outputs.ci_image }}
87122
88- functional-tests-hetero :
123+ functional_tests_hetero :
89124 needs :
90125 - set-env
91- - functional-tests-train
126+ - functional_tests_train
92127 # TODO: test need fix
93128 uses : ./.github/workflows/functional-tests-nvidia.yml
94129 strategy :
@@ -101,10 +136,10 @@ jobs:
101136 type : hetero_train
102137 image : ${{ needs.set-env.outputs.ci_image }}
103138
104- functional-tests-inference :
139+ functional_tests_inference :
105140 needs :
106141 - set-env
107- - functional-tests-hetero
142+ - functional_tests_hetero
108143 uses : ./.github/workflows/functional-tests-nvidia.yml
109144 strategy :
110145 matrix :
@@ -119,10 +154,10 @@ jobs:
119154 type : inference
120155 image : ${{ needs.set-env.outputs.ci_image }}
121156
122- functional-tests-serve :
157+ functional_tests_serve :
123158 needs :
124159 - set-env
125- - functional-tests-inference
160+ - functional_tests_inference
126161 uses : ./.github/workflows/functional-tests-nvidia.yml
127162 strategy :
128163 matrix :
@@ -135,10 +170,10 @@ jobs:
135170 type : serve
136171 image : ${{ needs.set-env.outputs.ci_image }}
137172
138- functional-tests-rl :
173+ functional_tests_rl :
139174 needs :
140175 - set-env
141- - functional-tests-serve
176+ - functional_tests_serve
142177 uses : ./.github/workflows/functional-tests-nvidia.yml
143178 strategy :
144179 matrix :
@@ -153,13 +188,14 @@ jobs:
153188 # Check All Tests
154189 all-tests :
155190 needs :
156- - megatron-unit-tests
157- - flagscale-unit-tests
158- - functional-tests-train
159- - functional-tests-hetero
160- - functional-tests-inference
161- - functional-tests-serve
162- - functional-tests-rl
191+ - unit_tests_train_megatron
192+ - unit_tests_train_flagscale
193+ - unit_tests_inference_flagscale
194+ - functional_tests_train
195+ - functional_tests_hetero
196+ - functional_tests_inference
197+ - functional_tests_serve
198+ - functional_tests_rl
163199 runs-on : ubuntu-latest
164200 steps :
165201 - name : All Tests Completed
0 commit comments