@@ -31,16 +31,16 @@ permissions:
3131 pull-requests : read
3232
3333env :
34- container-registry : nemoci.azurecr.io
34+ container-registry : 766267172432.dkr.ecr.us-east-1.amazonaws.com
3535
3636jobs :
3737 pre-flight :
3838 uses : NVIDIA-NeMo/FW-CI-templates/.github/workflows/_cicd_preflight.yml@v0.80.1
3939 with :
40- default_runner_prefix : ${{ vars.DEFAULT_RUNNER_PREFIX }}
41- non_nvidia_runner_prefix : ${{ vars.NON_NVIDIA_RUNNER_PREFIX }}
42- default_test_data_path : ${{ vars.DEFAULT_TEST_DATA_PATH }}
43- non_nvidia_test_data_path : ${{ vars.NON_NVIDIA_TEST_DATA_PATH }}
40+ default_runner_prefix : nemo-ci-aws-gpu-x2
41+ non_nvidia_runner_prefix : nemo-ci-aws-gpu-x2-ephemeral
42+ default_test_data_path : /mnt/datadrive/TestData/nemo-fw/TestData
43+ non_nvidia_test_data_path : /mnt/datadrive/TestData/nemo-fw/TestData
4444 sso_users_filename : ${{ vars.SSO_USERS_FILENAME }}
4545 secrets :
4646 NVIDIA_MANAGEMENT_ORG_PAT : ${{ secrets.NVIDIA_MANAGEMENT_ORG_PAT }}
@@ -200,19 +200,14 @@ jobs:
200200 || needs.pre-flight.outputs.force_run_all == 'true'
201201 )
202202 && !cancelled()
203- runs-on : ${{ needs.pre-flight.outputs.runner_prefix }}-gpu-x2
204- environment : nemo-ci
203+ runs-on : ${{ needs.pre-flight.outputs.runner_prefix }}
205204 steps :
206205 - name : Checkout
207206 uses : actions/checkout@v6
208207 - name : main
209208 uses : ./.github/actions/build-container
210209 with :
211- azure-client-id : ${{ secrets.AZURE_CLIENT_ID }}
212- azure-tenant-id : ${{ secrets.AZURE_TENANT_ID }}
213- azure-subscription-id : ${{ secrets.AZURE_SUBSCRIPTION_ID }}
214210 dockerfile-path : " ./docker/Dockerfile"
215- has-azure-credentials : " true"
216211 PAT : ${{ secrets.PAT }}
217212 repo-name : ${{ vars.CI_REPO_NAME || 'Automodel' }}
218213
@@ -223,16 +218,15 @@ jobs:
223218 matrix :
224219 include :
225220 - test-name : L0_Unit_Tests_CPU
226- runner : linux-amd64-cpu16
221+ runner : ${{ needs.pre-flight.outputs.runner_prefix }}
227222 cpu-only : true
228223 - test-name : L0_Unit_Tests_GPU
229- runner : ${{ needs.pre-flight.outputs.runner_prefix }}-gpu-x2
224+ runner : ${{ needs.pre-flight.outputs.runner_prefix }}
230225 cpu-only : false
231226 timeout : 30
232227 needs : [pre-flight, cicd-wait-in-queue, cicd-container-build]
233228 runs-on : ${{ matrix.runner }}
234229 name : ${{ matrix.test-name }}
235- environment : nemo-ci
236230 if : |
237231 (
238232 success()
@@ -249,10 +243,6 @@ jobs:
249243 timeout : ${{ matrix.timeout || 10 }}
250244 is-unit-test : " true"
251245 cpu-only : ${{ matrix.cpu-only || false }}
252- has-azure-credentials : " true"
253- azure-client-id : ${{ secrets.AZURE_CLIENT_ID }}
254- azure-tenant-id : ${{ secrets.AZURE_TENANT_ID }}
255- azure-subscription-id : ${{ secrets.AZURE_SUBSCRIPTION_ID }}
256246 PAT : ${{ secrets.PAT }}
257247 test-data-path : ${{ needs.pre-flight.outputs.test_data_path }}
258248 container-image : ${{ env.container-registry }}/${{ vars.CI_CONTAINER_NAME || 'automodel' }}:${{ github.sha }}
@@ -267,57 +257,56 @@ jobs:
267257 - test-name : L2_Pretrain_and_KD
268258 test-folder : llm_pretrain_and_kd
269259 timeout : 20
270- runner : ${{ needs.pre-flight.outputs.runner_prefix }}-gpu-x2
260+ runner : ${{ needs.pre-flight.outputs.runner_prefix }}
271261 test-data-path : ${{ needs.pre-flight.outputs.test_data_path }}
272262 - test-name : L2_HF_DCP
273263 test-folder : hf_dcp
274264 timeout : 40
275- runner : ${{ needs.pre-flight.outputs.runner_prefix }}-gpu-x2
265+ runner : ${{ needs.pre-flight.outputs.runner_prefix }}
276266 test-data-path : ${{ needs.pre-flight.outputs.test_data_path }}
277267 - test-name : L2_HF_PEFT
278268 test-folder : hf_peft
279269 timeout : 30
280- runner : ${{ needs.pre-flight.outputs.runner_prefix }}-gpu-x2
270+ runner : ${{ needs.pre-flight.outputs.runner_prefix }}
281271 test-data-path : ${{ needs.pre-flight.outputs.test_data_path }}
282272 - test-name : L2_HF_Transformer
283273 test-folder : hf_transformer
284274 timeout : 20
285- runner : ${{ needs.pre-flight.outputs.runner_prefix }}-gpu-x2
275+ runner : ${{ needs.pre-flight.outputs.runner_prefix }}
286276 test-data-path : ${{ needs.pre-flight.outputs.test_data_path }}
287277 - test-name : L2_HF_Transformer_Finetune
288278 test-folder : hf_transformer_finetune
289279 timeout : 40
290- runner : ${{ needs.pre-flight.outputs.runner_prefix }}-gpu-x2
280+ runner : ${{ needs.pre-flight.outputs.runner_prefix }}
291281 test-data-path : ${{ needs.pre-flight.outputs.test_data_path }}
292282 - test-name : L2_HF_Transformer_LLM
293283 test-folder : hf_transformer_llm
294284 timeout : 40
295- runner : ${{ needs.pre-flight.outputs.runner_prefix }}-gpu-x2
285+ runner : ${{ needs.pre-flight.outputs.runner_prefix }}
296286 test-data-path : ${{ needs.pre-flight.outputs.test_data_path }}
297287 - test-name : L2_HF_Transformer_VLM
298288 test-folder : hf_transformer_vlm
299289 timeout : 60
300- runner : ${{ needs.pre-flight.outputs.runner_prefix }}-gpu-x2
290+ runner : ${{ needs.pre-flight.outputs.runner_prefix }}
301291 test-data-path : ${{ needs.pre-flight.outputs.test_data_path }}
302292 - test-name : L2_Datasets
303293 test-folder : data
304294 timeout : 20
305- runner : ${{ needs.pre-flight.outputs.runner_prefix }}-gpu-x2
295+ runner : ${{ needs.pre-flight.outputs.runner_prefix }}
306296 test-data-path : ${{ needs.pre-flight.outputs.test_data_path }}
307297 - test-name : L2_Context_Parallel
308298 test-folder : context_parallel
309299 timeout : 20
310- runner : ${{ needs.pre-flight.outputs.runner_prefix }}-gpu-x2
300+ runner : ${{ needs.pre-flight.outputs.runner_prefix }}
311301 test-data-path : ${{ needs.pre-flight.outputs.test_data_path }}
312302 - test-name : L2_Retrieval
313303 test-folder : retrieval
314304 timeout : 20
315- runner : ${{ needs.pre-flight.outputs.runner_prefix }}-gpu-x2
305+ runner : ${{ needs.pre-flight.outputs.runner_prefix }}
316306 test-data-path : ${{ needs.pre-flight.outputs.test_data_path }}
317307 needs : [pre-flight, cicd-unit-tests]
318308 runs-on : ${{ matrix.runner }}
319309 name : ${{ matrix.test-name }}
320- environment : nemo-ci
321310 if : |
322311 (
323312 success()
@@ -334,10 +323,6 @@ jobs:
334323 test-folder : ${{ matrix.test-folder }}
335324 timeout : ${{ matrix.timeout }}
336325 is_unit_test : " false"
337- has-azure-credentials : " true"
338- azure-client-id : ${{ secrets.AZURE_CLIENT_ID }}
339- azure-tenant-id : ${{ secrets.AZURE_TENANT_ID }}
340- azure-subscription-id : ${{ secrets.AZURE_SUBSCRIPTION_ID }}
341326 PAT : ${{ secrets.PAT }}
342327 test-data-path : ${{ matrix.test-data-path }}
343328 container-image : ${{ env.container-registry }}/${{ vars.CI_CONTAINER_NAME || 'automodel' }}:${{ github.sha }}
@@ -393,7 +378,6 @@ jobs:
393378 && needs.pre-flight.outputs.is_ci_workload == 'false'
394379 && !cancelled()
395380 && vars.ENABLE_CODECOV == 'true'
396- environment : nemo-ci
397381 steps :
398382 - name : Generate fake coverage report
399383 uses : actions/github-script@v8
@@ -463,3 +447,20 @@ jobs:
463447 path : |
464448 .coverage
465449 include-hidden-files : true
450+
451+ cleanup-taint-node :
452+ runs-on : ${{ needs.pre-flight.outputs.runner_prefix }}
453+ needs :
454+ - pre-flight
455+ - Nemo_CICD_Test
456+ - Coverage
457+ - Coverage_Fake
458+ if : |
459+ always()
460+ && !cancelled()
461+ && needs.pre-flight.outputs.is_deployment_workflow != 'true'
462+ steps :
463+ - name : Taint node for cleanup
464+ if : contains(runner.name, 'ephemeral')
465+ shell : bash
466+ run : taint-node.sh
0 commit comments