-
Notifications
You must be signed in to change notification settings - Fork 3.4k
495 lines (491 loc) · 21 KB
/
cicd-main-speech.yml
File metadata and controls
495 lines (491 loc) · 21 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
# Copyright (c) 2025, NVIDIA CORPORATION.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
name: NeMo E2E Speech Tests
on:
workflow_call:
inputs:
test_to_run:
required: true
type: string
image-name:
required: false
default: nemo_container_speech
type: string
jobs:
build:
uses: ./.github/workflows/_build_container.yml
with:
image-name: ${{ inputs.image-name }}
dockerfile: docker/Dockerfile.ci
unit-tests:
strategy:
fail-fast: false
matrix:
include:
- script: L0_Unit_Tests_GPU_ASR
runner: self-hosted-azure-gpus-1
timeout: 30
- script: L0_Unit_Tests_CPU_ASR
runner: azure-gpu-vm-runner1-cpu
cpu-only: true
timeout: 30
- script: L0_Unit_Tests_GPU_TTS
runner: self-hosted-azure-gpus-1
- script: L0_Unit_Tests_CPU_TTS
runner: self-hosted-azure-cpu
cpu-only: true
- script: L0_Unit_Tests_GPU_Audio
runner: self-hosted-azure-gpus-1
- script: L0_Unit_Tests_CPU_Audio
runner: self-hosted-azure-cpu
cpu-only: true
- script: L0_Unit_Tests_GPU_SpeechLM2
runner: self-hosted-azure-gpus-1
timeout: 20
- script: L0_Unit_Tests_CPU_SpeechLM2
runner: self-hosted-azure-cpu
cpu-only: true
timeout: 20
needs: [build]
runs-on: ${{ matrix.runner }}
name: ${{ matrix.script }}
steps:
- name: Checkout
uses: actions/checkout@v6
with:
path: ${{ github.run_id }}
- name: Checkout action
uses: actions/checkout@v6
- name: main
uses: ./.github/actions/test-template
with:
runner: ${{ runner.name }}
script: ${{ matrix.script }}
is_unit_test: true
tests_to_run: ${{ inputs.test_to_run }}
image: ${{ inputs.image-name }}
timeout: ${{ matrix.timeout || 10 }}
cpu-only: ${{ matrix.cpu-only || false }}
is_optional: ${{ matrix.is-optional || false }}
e2e-tests:
strategy:
fail-fast: false
matrix:
include:
- runner: self-hosted-azure-gpus-1
script: ASR_dev_run_Speech_to_Text
- runner: self-hosted-azure-gpus-1
script: Optional_ASR_dev_run_Speech_To_Text_Finetuning
is-optional: true
- runner: self-hosted-azure-gpus-1
script: Optional_ASR_dev_run_Speech_To_Text_HF_Finetuning
is-optional: true
- runner: self-hosted-azure-gpus-1
script: ASR_dev_run_Speech_to_Text_WPE_-_Conformer
- runner: self-hosted-azure-gpus-1
script: ASR_dev_run_Speech_to_Text_Hybrid_RNNT_CTC_Prompt
- runner: self-hosted-azure-gpus-1
script: L2_ASR_Multi-dataloader_dev_run_Speech_to_Text_multi-dataloader
- runner: self-hosted-azure-gpus-1
script: L2_ASR_Multi-dataloader_dev_run_Speech_to_Label_multi-dataloader
- runner: self-hosted-azure-gpus-1
script: L2_ASR_Adapters_Linear_Adapters
- runner: self-hosted-azure-gpus-1
script: L2_ASR_Adapters_RelPos_MHA_Adapters
- runner: self-hosted-azure
script: L2_Speech_to_Text_EMA
- runner: self-hosted-azure-gpus-1
script: L2_Speech_to_Text_AED
- runner: self-hosted-azure-gpus-1
script: L2_Speaker_dev_run_Speech_to_Label
- runner: self-hosted-azure
script: L2_Speech_Estimate_Duration_Bins
- runner: self-hosted-azure
script: L2_Speech_Batch_Size_OOMptimizer
- runner: self-hosted-azure
script: Optional_L2_Speech_Batch_Size_OOMptimizer_Canary
is-optional: true
- runner: self-hosted-azure
script: L2_Speech_Transcription_Speech_to_Text_Transcribe
- runner: self-hosted-azure
script: L2_Speech_Transcription_Speech_to_Text_Streaming_Infer
- runner: self-hosted-azure
script: L2_Speech_Transcription_Speech_to_Text_Cache_Aware_Infer
- runner: self-hosted-azure
script: L2_Speech_Transcription_Streaming_Inference
- runner: self-hosted-azure
script: L2_Speech_Transcription_Speech_to_Text_Inference_Boost_GT
- runner: self-hosted-azure
script: L2_Speech_Transcription_Speech_to_Text_Transcribe_Boost_GT
- runner: self-hosted-azure
script: L2_Speech_Transcription_Canary_Transcribe_Full_Manifest
- runner: self-hosted-azure
script: L2_Speech_Transcription_Canary_Transcribe_With_Prompt
- runner: self-hosted-azure
script: L2_Speech_Transcription_Canary_Transcribe_Audio_Dir
- runner: self-hosted-azure
script: L2_Speech_Transcription_Canary_Streaming_Full_Manifest
- runner: self-hosted-azure
script: L2_Longform_Speech_Transcription_Canary_Chunked_Infer_from_Audio_Dir
- runner: self-hosted-azure
script: L2_Longform_Speech_Transcription_with_TimeStamps_Canary_Chunked_Infer_from_Audio_Dir
- runner: self-hosted-azure
script: L2_Longform_Speech_Transcription_with_TimeStamps_Canary_Chunked_Infer_from_Manifest
- runner: self-hosted-azure-gpus-1
script: Speech_Checkpoints_tests
timeout: 20
- runner: self-hosted-azure-gpus-1
script: L2_Speaker_dev_run_Speaker_Recognition
- runner: self-hosted-azure-gpus-1
script: L2_Speaker_dev_run_EndtoEnd_Speaker_Diarization_Sortformer
- runner: self-hosted-azure
script: L2_Speaker_dev_run_EndtoEnd_Diarizer_Inference
- runner: self-hosted-azure
script: L2_Speaker_dev_run_Speaker_Diarization_with_ASR_Inference
- runner: self-hosted-azure
script: L2_Speaker_dev_run_Clustering_Diarizer_Inference
- runner: self-hosted-azure
script: L2_Speaker_dev_run_Multispeaker_ASR_Data_Simulation
- runner: self-hosted-azure
script: L2_TTS_Fast_dev_runs_1_FastPitch
- runner: self-hosted-azure
script: L2_TTS_Fast_dev_runs_1_Hifigan
- runner: self-hosted-azure
script: L2_G2P_Models_G2P_Conformer_training_evaluation_and_inference
- runner: self-hosted-azure
script: SPEECHLM_HF_Training_DuplexS2S
- runner: self-hosted-azure
script: SPEECHLM_HF_Training_DuplexS2SSpeechDecoder
- runner: self-hosted-azure
script: SPEECHLM_HF_Training_SALM
timeout: 20
- runner: self-hosted-azure
script: L2_TTS_Fast_dev_runs_Magpietts_DecoderContext
- runner: self-hosted-azure
script: L2_TTS_Fast_dev_runs_Magpietts_MultiEncoder
- runner: self-hosted-azure
script: L2_TTS_Fast_dev_runs_Magpietts_MoE
- runner: self-hosted-azure
script: L2_TTS_Fast_dev_runs_Magpietts_OnlinePO
- runner: self-hosted-azure
script: L2_TTS_InferEvaluate_Magpietts_ZeroShot
- runner: self-hosted-azure
script: L2_TTS_InferEvaluate_Magpietts_SeenSpeakers
- runner: self-hosted-azure
script: L2_TTS_InferEvaluatelongform_Magpietts_ZeroShot
- runner: self-hosted-azure
script: L2_TTS_InferEvaluate_Magpietts_MoE_ZeroShot
- runner: self-hosted-azure
script: L2_TTS_InferEvaluatelongform_Magpietts_MoE_ZeroShot
- runner: self-hosted-azure
script: L2_TTS_InferEvaluate_Magpietts_FrameStacking
- runner: self-hosted-azure
script: L2_TTS_Fast_dev_runs_Magpietts_OnlineCFGDistillation
- runner: self-hosted-azure
script: L2_TTS_Fast_dev_runs_Magpietts_MoE_OnlineCFGDistillation
- runner: self-hosted-azure
script: L2_TTS_Fast_dev_runs_Magpietts_FrameStacking_OnlineCFGDistillation
- runner: self-hosted-azure
script: L2_TTS_Fast_dev_runs_EasyMagpietts_Qwen
- runner: self-hosted-azure
script: L2_TTS_Fast_dev_runs_EasyMagpietts_Nemotron
- runner: self-hosted-azure
script: L2_TTS_Fast_dev_runs_EasyMagpietts_OnlinePO
timeout: 20
- runner: self-hosted-azure
script: L2_TTS_InferEvaluate_EasyMagpietts
needs: [unit-tests]
runs-on: ${{ matrix.runner }}
name: ${{ matrix.is-optional && 'PLEASEFIXME_' || '' }}${{ matrix.script }}
steps:
- name: Checkout
uses: actions/checkout@v6
with:
path: ${{ github.run_id }}
- name: Checkout action
uses: actions/checkout@v6
- name: main
uses: ./.github/actions/test-template
with:
runner: ${{ runner.name }}
script: ${{ matrix.script }}
tests_to_run: ${{ inputs.test_to_run }}
image: ${{ inputs.image-name }}
timeout: ${{ matrix.timeout || 10 }}
is_optional: ${{ matrix.is-optional || false }}
e2e-nightly:
if: ${{ github.event_name == 'schedule' || contains(github.event.pull_request.labels.*.name, 'Run e2e nightly') }}
strategy:
fail-fast: false
matrix:
include:
- runner: self-hosted-azure
script: L2_Model_Support_nvidia__stt_de_fastconformer_hybrid_large_pc
timeout: 15
- runner: self-hosted-azure
script: L2_Model_Support_nvidia__stt_en_fastconformer_hybrid_large_pc
timeout: 15
- runner: self-hosted-azure
script: L2_Model_Support_nvidia__stt_es_fastconformer_hybrid_large_pc
timeout: 15
- runner: self-hosted-azure
script: L2_Model_Support_nvidia__stt_it_fastconformer_hybrid_large_pc
timeout: 15
- runner: self-hosted-azure
script: L2_Model_Support_nvidia__stt_ua_fastconformer_hybrid_large_pc
timeout: 15
- runner: self-hosted-azure
script: L2_Model_Support_nvidia__stt_pl_fastconformer_hybrid_large_pc
timeout: 15
- runner: self-hosted-azure
script: L2_Model_Support_nvidia__stt_hr_fastconformer_hybrid_large_pc
timeout: 15
- runner: self-hosted-azure
script: L2_Model_Support_nvidia__stt_be_fastconformer_hybrid_large_pc
timeout: 15
- runner: self-hosted-azure
script: L2_Model_Support_nvidia__stt_fr_fastconformer_hybrid_large_pc
timeout: 15
- runner: self-hosted-azure
script: L2_Model_Support_nvidia__stt_ru_fastconformer_hybrid_large_pc
timeout: 15
- runner: self-hosted-azure
script: L2_Model_Support_nvidia__stt_nl_fastconformer_hybrid_large_pc
timeout: 15
- runner: self-hosted-azure
script: L2_Model_Support_nvidia__stt_fa_fastconformer_hybrid_large
timeout: 15
- runner: self-hosted-azure
script: L2_Model_Support_nvidia__stt_ka_fastconformer_hybrid_large_pc
timeout: 15
- runner: self-hosted-azure
script: L2_Model_Support_nvidia__stt_kk_ru_fastconformer_hybrid_large
timeout: 15
- runner: self-hosted-azure
script: L2_Model_Support_nvidia__stt_ka_fastconformer_hybrid_transducer_ctc_large_streaming_80ms_pc
timeout: 15
- runner: self-hosted-azure
script: L2_Model_Support_nvidia__stt_uz_fastconformer_hybrid_large_pc
timeout: 15
- runner: self-hosted-azure
script: L2_Model_Support_nvidia__stt_ar_fastconformer_hybrid_large_pc_v1_0
timeout: 15
- runner: self-hosted-azure
script: L2_Model_Support_nvidia__stt_hy_fastconformer_hybrid_large_pc
timeout: 15
- runner: self-hosted-azure
script: L2_Model_Support_nvidia__stt_en_fastconformer_hybrid_medium_streaming_80ms_pc
timeout: 15
- runner: self-hosted-azure
script: L2_Model_Support_nvidia__stt_en_fastconformer_hybrid_medium_streaming_80ms
timeout: 15
- runner: self-hosted-azure
script: L2_Model_Support_nvidia__stt_pt_fastconformer_hybrid_large_pc
timeout: 15
- runner: self-hosted-azure
script: L2_Model_Support_nvidia__stt_es_fastconformer_hybrid_large_pc_nc
timeout: 15
- runner: self-hosted-azure
script: L2_Model_Support_nvidia__stt_ar_fastconformer_hybrid_large_pcd_v1_0
timeout: 15
- runner: self-hosted-azure
script: L2_Model_Support_nvidia__stt_en_fastconformer_hybrid_large_streaming_multi
timeout: 15
- runner: self-hosted-azure
script: L2_Model_Support_nvidia__stt_en_fastconformer_ctc_large
timeout: 15
- runner: self-hosted-azure
script: L2_Model_Support_nvidia__stt_en_fastconformer_transducer_large
timeout: 15
- runner: self-hosted-azure
script: L2_Model_Support_nvidia__stt_en_fastconformer_ctc_xlarge
timeout: 15
- runner: self-hosted-azure
script: L2_Model_Support_nvidia__stt_en_fastconformer_transducer_xlarge
timeout: 15
- runner: self-hosted-azure
script: L2_Model_Support_nvidia__stt_en_fastconformer_transducer_xxlarge
timeout: 15
- runner: self-hosted-azure
script: L2_Model_Support_nvidia__stt_en_fastconformer_ctc_xxlarge
timeout: 15
- runner: self-hosted-azure
script: L2_Model_Support_nvidia__stt_en_fastconformer_tdt_large
timeout: 15
- runner: self-hosted-azure
script: L2_Model_Support_stt_en_fastconformer_hybrid_large_streaming_1040ms
timeout: 15
- runner: self-hosted-azure
script: L2_Model_Support_stt_multilingual_fastconformer_hybrid_large_pc_blend_eu
timeout: 15
- runner: self-hosted-azure
script: L2_Model_Support_nvidia__parakeet_rnnt_1_1b
timeout: 15
- runner: self-hosted-azure
script: L2_Model_Support_nvidia__parakeet_ctc_1_1b
timeout: 15
- runner: self-hosted-azure
script: L2_Model_Support_nvidia__parakeet_rnnt_0_6b
timeout: 15
- runner: self-hosted-azure
script: L2_Model_Support_nvidia__parakeet_ctc_0_6b
timeout: 15
- runner: self-hosted-azure
script: L2_Model_Support_nvidia__parakeet_tdt_1_1b
timeout: 15
- runner: self-hosted-azure
script: L2_Model_Support_nvidia__parakeet_tdt_ctc_1_1b
timeout: 15
- runner: self-hosted-azure
script: L2_Model_Support_nvidia__parakeet_tdt_ctc_0_6b_ja
timeout: 15
- runner: self-hosted-azure
script: L2_Model_Support_nvidia__parakeet_tdt_ctc_110m
timeout: 15
- runner: self-hosted-azure
script: L2_Model_Support_nvidia__parakeet_tdt_0_6b_v2
timeout: 15
- runner: self-hosted-azure
script: L2_Model_Support_nvidia__parakeet_rnnt_110m_da_dk
timeout: 15
- runner: self-hosted-azure
script: L2_Model_Support_nvidia__parakeet_tdt_0_6b_v3
timeout: 15
- runner: self-hosted-azure
script: L2_Model_Support_nvidia__parakeet_ctc_0_6b_Vietnamese
timeout: 15
- runner: self-hosted-azure
script: L2_Model_Support_nvidia__canary_1b
timeout: 15
- runner: self-hosted-azure
script: L2_Model_Support_nvidia__canary_1b_flash
timeout: 15
- runner: self-hosted-azure
script: L2_Model_Support_nvidia__canary_180m_flash
timeout: 15
- runner: self-hosted-azure
script: L2_Model_Support_nvidia__canary_1b_v2
timeout: 15
- runner: self-hosted-azure
script: L2_Model_Support_nvidia__parakeet_realtime_eou_120m_v1
timeout: 15
- runner: self-hosted-azure
script: L2_Model_Support_nvidia__multitalker_parakeet_streaming_0_6b_v1
timeout: 15
- runner: self-hosted-azure
script: L2_Model_Support_nvidia__nemotron_speech_streaming_en_0_6b
timeout: 15
- runner: self-hosted-azure
script: L2_Model_Support_nvidia__canary_qwen_2_5b
timeout: 15
- runner: self-hosted-azure
script: L2_Model_Support_nvidia__diar_sortformer_4spk_v1
timeout: 15
- runner: self-hosted-azure
script: L2_Model_Support_nvidia__diar_streaming_sortformer_4spk_v2
timeout: 15
- runner: self-hosted-azure
script: L2_Model_Support_nvidia__diar_streaming_sortformer_4spk_v2_1
timeout: 15
- runner: self-hosted-azure
script: L2_Model_Support_titanet_large
timeout: 15
- runner: self-hosted-azure
script: L2_Model_Support_nvidia__speakerverification_en_titanet_large
timeout: 15
- runner: self-hosted-azure
script: L2_Model_Support_nvidia__ssl_en_nest_large_v1_0
timeout: 15
- runner: self-hosted-azure
script: L2_Model_Support_nvidia__ssl_en_nest_xlarge_v1_0
timeout: 15
- runner: self-hosted-azure
script: L2_Model_Support_vad_multilingual_marblenet
timeout: 15
- runner: self-hosted-azure
script: L2_Model_Support_vad_multilingual_frame_marblenet
timeout: 15
- runner: self-hosted-azure
script: L2_Model_Support_nvidia__Frame_VAD_Multilingual_MarbleNet_v2_0
timeout: 15
- runner: self-hosted-azure
script: L2_Model_Support_nvidia__se_den_sb_16k_small
timeout: 15
- runner: self-hosted-azure
script: L2_Model_Support_nvidia__se_der_sb_16k_small
timeout: 15
- runner: self-hosted-azure
script: L2_Model_Support_nvidia__sr_ssl_flowmatching_16k_430m
timeout: 15
- runner: self-hosted-azure
script: L2_Model_Support_mel_codec_44khz_medium
timeout: 15
- runner: self-hosted-azure
script: L2_Model_Support_mel_codec_22khz_fullband_medium
timeout: 15
- runner: self-hosted-azure
script: L2_Model_Support_nvidia__low_frame_rate_speech_codec_22khz
timeout: 15
- runner: self-hosted-azure
script: L2_Model_Support_nvidia__audio_codec_22khz
timeout: 15
- runner: self-hosted-azure
script: L2_Model_Support_nvidia__audio_codec_44khz
timeout: 15
- runner: self-hosted-azure
script: L2_Model_Support_nvidia__mel_codec_22khz
timeout: 15
- runner: self-hosted-azure
script: L2_Model_Support_nvidia__mel_codec_44khz
timeout: 15
- runner: self-hosted-azure
script: L2_Model_Support_nvidia__nemo_nano_codec_22khz_1_78kbps_12_5fps
timeout: 15
- runner: self-hosted-azure
script: L2_Model_Support_nvidia__nemo_nano_codec_22khz_1_89kbps_21_5fps
timeout: 15
- runner: self-hosted-azure
script: L2_Model_Support_nvidia__nemo_nano_codec_22khz_0_6kbps_12_5fps
timeout: 15
- runner: self-hosted-azure
script: L2_Model_Support_nvidia__tts_en_fastpitch
timeout: 15
- runner: self-hosted-azure
script: L2_Model_Support_nvidia__tts_hifigan
timeout: 15
- runner: self-hosted-azure
script: L2_Model_Support_nvidia__magpie_tts_multilingual_357m
timeout: 15
- runner: self-hosted-azure
script: L2_Model_Support_tts_en_e2e_fastspeech2hifigan
timeout: 15
needs: [unit-tests]
runs-on: ${{ matrix.runner }}
name: ${{ matrix.script }}
steps:
- name: Checkout
uses: actions/checkout@v6
with:
path: ${{ github.run_id }}
- name: Checkout action
uses: actions/checkout@v6
- name: main
uses: ./.github/actions/test-template
with:
runner: ${{ runner.name }}
script: ${{ matrix.script }}
tests_to_run: ${{ inputs.test_to_run }}
image: ${{ inputs.image-name }}
timeout: ${{ matrix.timeout || 10 }}
test_dir: e2e_nightly