-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Riva and k2 ASR WFST decoding (2) #9391
Conversation
scripts/asr_language_modeling/ngram_lm/eval_wfst_decoding_ctc.py
Dismissed
Show dismissed
Hide dismissed
This PR is stale because it has been open for 14 days with no activity. Remove stale label or comment or update or this will be closed in 7 days. |
This PR is stale because it has been open for 14 days with no activity. Remove stale label or comment or update or this will be closed in 7 days. |
This PR is stale because it has been open for 14 days with no activity. Remove stale label or comment or update or this will be closed in 7 days. |
requirements/requirements_asr.txt
Outdated
@@ -16,6 +18,7 @@ pyannote.metrics | |||
pydub | |||
pyloudnorm | |||
resampy | |||
riva-asrlib-decoder |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please, make all these dependencies optional
I suggest adding installation to scripts/asr_language_modeling/ngram_lm/install_beamsearch_decoders.sh
@GNroy, can you please provide the instructions for testing this PR? |
Please, also fix CodeQL suggestions - most of them seems to be valuable (e.g., |
python eval_wfst_decoding_ctc.py nemo_model_file="stt_en_conformer_ctc_small_ls" \ | ||
input_manifest="<data_dir>/Librispeech/test_other.json" \ | ||
arpa_model_file="3-gram.pruned.1e-7.arpa" \ | ||
beam_width=[8,] \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should be beam_width=[8]
Otherwise there is an error "no viable alternative at input [8,]"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, fixed
packed_batch = torch.zeros(len(probs_batch), max(probs_lens), probs_batch[0].shape[-1], device='cpu') | ||
|
||
for prob_index in range(len(probs_batch)): | ||
packed_batch[prob_index, : probs_lens[prob_index], :] = torch.tensor( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
use probs_batch[prob_index].to(device=...)
See warning from PyTorch:
UserWarning: To copy construct from a tensor, it is recommended to use sourceTensor.clone().detach() or sourceTensor.clone().detach().requires_grad_(True), rather than torch.tensor(sourceTensor).
|
||
score = candidate.score | ||
if preds_output_file: | ||
out_file.write('{}\t{}\n'.format(pred_text, score)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please, use f-string when possible (and also print to avoid extra \n
).
The following code is significantly more readable:
if preds_output_file:
print(f'{pred_text}\t{score}', file=out_file)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's a stylistic choice, f.write is fine and I prefer it because print does more work under the hood than it needs to. Infact using print is a easy way to mistakenly add newlines without realizing it.
for more information, see https://pre-commit.ci
Signed-off-by: Aleksandr Laptev <alaptev@nvidia.com>
Signed-off-by: GNroy <GNroy@users.noreply.github.com>
Signed-off-by: Aleksandr Laptev <alaptev@nvidia.com>
Signed-off-by: Aleksandr Laptev <alaptev@nvidia.com>
Signed-off-by: Aleksandr Laptev <alaptev@nvidia.com>
Signed-off-by: GNroy <GNroy@users.noreply.github.com>
Signed-off-by: Aleksandr Laptev <alaptev@nvidia.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks fine. Thanks.
One suggestion about the decoding_wfst_file
with decoding_search_type=k2
(but you can add it after this PR).
python eval_wfst_decoding_ctc.py nemo_model_file="stt_en_conformer_ctc_small_ls" \ | ||
input_manifest="<data_dir>/Librispeech/test_other.json" \ | ||
arpa_model_file="3-gram.pruned.1e-7.arpa" \ | ||
decoding_wfst_file="3-gram.pruned.1e-7.fst" \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I suggest adding to documentation and here, that decoding_search_type=k2
expects .pt
file in decoding_wfst_file
. Even if the file was saved by this script (did not exist before calling this script), k2
will fail unless the file ends with .pt
.
* upload Signed-off-by: Aleksandr Laptev <alaptev@nvidia.com> * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * add comments and use case Signed-off-by: Aleksandr Laptev <alaptev@nvidia.com> * Apply isort and black reformatting Signed-off-by: GNroy <GNroy@users.noreply.github.com> * add initial doc Signed-off-by: Aleksandr Laptev <alaptev@nvidia.com> * fix doc and k2+cuda eval Signed-off-by: Aleksandr Laptev <alaptev@nvidia.com> * isolate decoder components installation and fix suggestions Signed-off-by: Aleksandr Laptev <alaptev@nvidia.com> * Apply isort and black reformatting Signed-off-by: GNroy <GNroy@users.noreply.github.com> * fix trailing newline Signed-off-by: Aleksandr Laptev <alaptev@nvidia.com> --------- Signed-off-by: Aleksandr Laptev <alaptev@nvidia.com> Signed-off-by: GNroy <GNroy@users.noreply.github.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: GNroy <GNroy@users.noreply.github.com> Co-authored-by: Vladimir Bataev <vbataev@nvidia.com> Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com>
* Riva and k2 ASR WFST decoding (2) (#9391) * upload Signed-off-by: Aleksandr Laptev <alaptev@nvidia.com> * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * add comments and use case Signed-off-by: Aleksandr Laptev <alaptev@nvidia.com> * Apply isort and black reformatting Signed-off-by: GNroy <GNroy@users.noreply.github.com> * add initial doc Signed-off-by: Aleksandr Laptev <alaptev@nvidia.com> * fix doc and k2+cuda eval Signed-off-by: Aleksandr Laptev <alaptev@nvidia.com> * isolate decoder components installation and fix suggestions Signed-off-by: Aleksandr Laptev <alaptev@nvidia.com> * Apply isort and black reformatting Signed-off-by: GNroy <GNroy@users.noreply.github.com> * fix trailing newline Signed-off-by: Aleksandr Laptev <alaptev@nvidia.com> --------- Signed-off-by: Aleksandr Laptev <alaptev@nvidia.com> Signed-off-by: GNroy <GNroy@users.noreply.github.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: GNroy <GNroy@users.noreply.github.com> Co-authored-by: Vladimir Bataev <vbataev@nvidia.com> Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * Add DdpParamParityChecker Callback Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * Improve messaging Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * Rename to DdpParityChecker Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * Add ddp test Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * rename to ddp_parity_checker Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * remove red. imports Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * test fix Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * missign import Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * ignore test Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * Apply isort and black reformatting Signed-off-by: akoumpa <akoumpa@users.noreply.github.com> Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * add missing import Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * Apply isort and black reformatting Signed-off-by: akoumpa <akoumpa@users.noreply.github.com> Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * another missing import Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * Apply isort and black reformatting Signed-off-by: akoumpa <akoumpa@users.noreply.github.com> Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * make limit_val_batches int Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * remove dup file Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * AG groups decisions on DDP parity Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * fix test Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * Apply isort and black reformatting Signed-off-by: akoumpa <akoumpa@users.noreply.github.com> * Exclude from pytest Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * Add L2_NeMo_2_GPT_DDP_Param_Parity_check to NeMo_CICD_Test.needs Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * Apply isort and black reformatting Signed-off-by: akoumpa <akoumpa@users.noreply.github.com> --------- Signed-off-by: Aleksandr Laptev <alaptev@nvidia.com> Signed-off-by: GNroy <GNroy@users.noreply.github.com> Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> Signed-off-by: akoumpa <akoumpa@users.noreply.github.com> Co-authored-by: Aleksandr Laptev <alaptev@nvidia.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: GNroy <GNroy@users.noreply.github.com> Co-authored-by: Vladimir Bataev <vbataev@nvidia.com> Co-authored-by: akoumpa <akoumpa@users.noreply.github.com>
* Riva and k2 ASR WFST decoding (2) (NVIDIA#9391) * upload Signed-off-by: Aleksandr Laptev <alaptev@nvidia.com> * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * add comments and use case Signed-off-by: Aleksandr Laptev <alaptev@nvidia.com> * Apply isort and black reformatting Signed-off-by: GNroy <GNroy@users.noreply.github.com> * add initial doc Signed-off-by: Aleksandr Laptev <alaptev@nvidia.com> * fix doc and k2+cuda eval Signed-off-by: Aleksandr Laptev <alaptev@nvidia.com> * isolate decoder components installation and fix suggestions Signed-off-by: Aleksandr Laptev <alaptev@nvidia.com> * Apply isort and black reformatting Signed-off-by: GNroy <GNroy@users.noreply.github.com> * fix trailing newline Signed-off-by: Aleksandr Laptev <alaptev@nvidia.com> --------- Signed-off-by: Aleksandr Laptev <alaptev@nvidia.com> Signed-off-by: GNroy <GNroy@users.noreply.github.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: GNroy <GNroy@users.noreply.github.com> Co-authored-by: Vladimir Bataev <vbataev@nvidia.com> Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * Add DdpParamParityChecker Callback Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * Improve messaging Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * Rename to DdpParityChecker Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * Add ddp test Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * rename to ddp_parity_checker Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * remove red. imports Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * test fix Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * missign import Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * ignore test Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * Apply isort and black reformatting Signed-off-by: akoumpa <akoumpa@users.noreply.github.com> Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * add missing import Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * Apply isort and black reformatting Signed-off-by: akoumpa <akoumpa@users.noreply.github.com> Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * another missing import Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * Apply isort and black reformatting Signed-off-by: akoumpa <akoumpa@users.noreply.github.com> Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * make limit_val_batches int Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * remove dup file Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * AG groups decisions on DDP parity Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * fix test Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * Apply isort and black reformatting Signed-off-by: akoumpa <akoumpa@users.noreply.github.com> * Exclude from pytest Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * Add L2_NeMo_2_GPT_DDP_Param_Parity_check to NeMo_CICD_Test.needs Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * Apply isort and black reformatting Signed-off-by: akoumpa <akoumpa@users.noreply.github.com> --------- Signed-off-by: Aleksandr Laptev <alaptev@nvidia.com> Signed-off-by: GNroy <GNroy@users.noreply.github.com> Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> Signed-off-by: akoumpa <akoumpa@users.noreply.github.com> Co-authored-by: Aleksandr Laptev <alaptev@nvidia.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: GNroy <GNroy@users.noreply.github.com> Co-authored-by: Vladimir Bataev <vbataev@nvidia.com> Co-authored-by: akoumpa <akoumpa@users.noreply.github.com>
* Riva and k2 ASR WFST decoding (2) (#9391) * upload Signed-off-by: Aleksandr Laptev <alaptev@nvidia.com> * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * add comments and use case Signed-off-by: Aleksandr Laptev <alaptev@nvidia.com> * Apply isort and black reformatting Signed-off-by: GNroy <GNroy@users.noreply.github.com> * add initial doc Signed-off-by: Aleksandr Laptev <alaptev@nvidia.com> * fix doc and k2+cuda eval Signed-off-by: Aleksandr Laptev <alaptev@nvidia.com> * isolate decoder components installation and fix suggestions Signed-off-by: Aleksandr Laptev <alaptev@nvidia.com> * Apply isort and black reformatting Signed-off-by: GNroy <GNroy@users.noreply.github.com> * fix trailing newline Signed-off-by: Aleksandr Laptev <alaptev@nvidia.com> --------- Signed-off-by: Aleksandr Laptev <alaptev@nvidia.com> Signed-off-by: GNroy <GNroy@users.noreply.github.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: GNroy <GNroy@users.noreply.github.com> Co-authored-by: Vladimir Bataev <vbataev@nvidia.com> Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * Add DdpParamParityChecker Callback Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * Improve messaging Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * Rename to DdpParityChecker Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * Add ddp test Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * rename to ddp_parity_checker Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * remove red. imports Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * test fix Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * missign import Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * ignore test Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * Apply isort and black reformatting Signed-off-by: akoumpa <akoumpa@users.noreply.github.com> Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * add missing import Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * Apply isort and black reformatting Signed-off-by: akoumpa <akoumpa@users.noreply.github.com> Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * another missing import Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * Apply isort and black reformatting Signed-off-by: akoumpa <akoumpa@users.noreply.github.com> Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * make limit_val_batches int Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * remove dup file Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * AG groups decisions on DDP parity Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * fix test Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * Apply isort and black reformatting Signed-off-by: akoumpa <akoumpa@users.noreply.github.com> * Exclude from pytest Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * Add L2_NeMo_2_GPT_DDP_Param_Parity_check to NeMo_CICD_Test.needs Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * Apply isort and black reformatting Signed-off-by: akoumpa <akoumpa@users.noreply.github.com> --------- Signed-off-by: Aleksandr Laptev <alaptev@nvidia.com> Signed-off-by: GNroy <GNroy@users.noreply.github.com> Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> Signed-off-by: akoumpa <akoumpa@users.noreply.github.com> Co-authored-by: Aleksandr Laptev <alaptev@nvidia.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: GNroy <GNroy@users.noreply.github.com> Co-authored-by: Vladimir Bataev <vbataev@nvidia.com> Co-authored-by: akoumpa <akoumpa@users.noreply.github.com>
* upload Signed-off-by: Aleksandr Laptev <alaptev@nvidia.com> * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * add comments and use case Signed-off-by: Aleksandr Laptev <alaptev@nvidia.com> * Apply isort and black reformatting Signed-off-by: GNroy <GNroy@users.noreply.github.com> * add initial doc Signed-off-by: Aleksandr Laptev <alaptev@nvidia.com> * fix doc and k2+cuda eval Signed-off-by: Aleksandr Laptev <alaptev@nvidia.com> * isolate decoder components installation and fix suggestions Signed-off-by: Aleksandr Laptev <alaptev@nvidia.com> * Apply isort and black reformatting Signed-off-by: GNroy <GNroy@users.noreply.github.com> * fix trailing newline Signed-off-by: Aleksandr Laptev <alaptev@nvidia.com> --------- Signed-off-by: Aleksandr Laptev <alaptev@nvidia.com> Signed-off-by: GNroy <GNroy@users.noreply.github.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: GNroy <GNroy@users.noreply.github.com> Co-authored-by: Vladimir Bataev <vbataev@nvidia.com> Signed-off-by: adityavavre <aditya.vavre@gmail.com>
* Riva and k2 ASR WFST decoding (2) (NVIDIA#9391) * upload Signed-off-by: Aleksandr Laptev <alaptev@nvidia.com> * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * add comments and use case Signed-off-by: Aleksandr Laptev <alaptev@nvidia.com> * Apply isort and black reformatting Signed-off-by: GNroy <GNroy@users.noreply.github.com> * add initial doc Signed-off-by: Aleksandr Laptev <alaptev@nvidia.com> * fix doc and k2+cuda eval Signed-off-by: Aleksandr Laptev <alaptev@nvidia.com> * isolate decoder components installation and fix suggestions Signed-off-by: Aleksandr Laptev <alaptev@nvidia.com> * Apply isort and black reformatting Signed-off-by: GNroy <GNroy@users.noreply.github.com> * fix trailing newline Signed-off-by: Aleksandr Laptev <alaptev@nvidia.com> --------- Signed-off-by: Aleksandr Laptev <alaptev@nvidia.com> Signed-off-by: GNroy <GNroy@users.noreply.github.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: GNroy <GNroy@users.noreply.github.com> Co-authored-by: Vladimir Bataev <vbataev@nvidia.com> Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * Add DdpParamParityChecker Callback Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * Improve messaging Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * Rename to DdpParityChecker Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * Add ddp test Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * rename to ddp_parity_checker Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * remove red. imports Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * test fix Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * missign import Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * ignore test Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * Apply isort and black reformatting Signed-off-by: akoumpa <akoumpa@users.noreply.github.com> Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * add missing import Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * Apply isort and black reformatting Signed-off-by: akoumpa <akoumpa@users.noreply.github.com> Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * another missing import Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * Apply isort and black reformatting Signed-off-by: akoumpa <akoumpa@users.noreply.github.com> Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * make limit_val_batches int Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * remove dup file Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * AG groups decisions on DDP parity Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * fix test Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * Apply isort and black reformatting Signed-off-by: akoumpa <akoumpa@users.noreply.github.com> * Exclude from pytest Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * Add L2_NeMo_2_GPT_DDP_Param_Parity_check to NeMo_CICD_Test.needs Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * Apply isort and black reformatting Signed-off-by: akoumpa <akoumpa@users.noreply.github.com> --------- Signed-off-by: Aleksandr Laptev <alaptev@nvidia.com> Signed-off-by: GNroy <GNroy@users.noreply.github.com> Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> Signed-off-by: akoumpa <akoumpa@users.noreply.github.com> Co-authored-by: Aleksandr Laptev <alaptev@nvidia.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: GNroy <GNroy@users.noreply.github.com> Co-authored-by: Vladimir Bataev <vbataev@nvidia.com> Co-authored-by: akoumpa <akoumpa@users.noreply.github.com> Signed-off-by: adityavavre <aditya.vavre@gmail.com>
* upload Signed-off-by: Aleksandr Laptev <alaptev@nvidia.com> * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * add comments and use case Signed-off-by: Aleksandr Laptev <alaptev@nvidia.com> * Apply isort and black reformatting Signed-off-by: GNroy <GNroy@users.noreply.github.com> * add initial doc Signed-off-by: Aleksandr Laptev <alaptev@nvidia.com> * fix doc and k2+cuda eval Signed-off-by: Aleksandr Laptev <alaptev@nvidia.com> * isolate decoder components installation and fix suggestions Signed-off-by: Aleksandr Laptev <alaptev@nvidia.com> * Apply isort and black reformatting Signed-off-by: GNroy <GNroy@users.noreply.github.com> * fix trailing newline Signed-off-by: Aleksandr Laptev <alaptev@nvidia.com> --------- Signed-off-by: Aleksandr Laptev <alaptev@nvidia.com> Signed-off-by: GNroy <GNroy@users.noreply.github.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: GNroy <GNroy@users.noreply.github.com> Co-authored-by: Vladimir Bataev <vbataev@nvidia.com>
* Riva and k2 ASR WFST decoding (2) (#9391) * upload Signed-off-by: Aleksandr Laptev <alaptev@nvidia.com> * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * add comments and use case Signed-off-by: Aleksandr Laptev <alaptev@nvidia.com> * Apply isort and black reformatting Signed-off-by: GNroy <GNroy@users.noreply.github.com> * add initial doc Signed-off-by: Aleksandr Laptev <alaptev@nvidia.com> * fix doc and k2+cuda eval Signed-off-by: Aleksandr Laptev <alaptev@nvidia.com> * isolate decoder components installation and fix suggestions Signed-off-by: Aleksandr Laptev <alaptev@nvidia.com> * Apply isort and black reformatting Signed-off-by: GNroy <GNroy@users.noreply.github.com> * fix trailing newline Signed-off-by: Aleksandr Laptev <alaptev@nvidia.com> --------- Signed-off-by: Aleksandr Laptev <alaptev@nvidia.com> Signed-off-by: GNroy <GNroy@users.noreply.github.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: GNroy <GNroy@users.noreply.github.com> Co-authored-by: Vladimir Bataev <vbataev@nvidia.com> Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * Add DdpParamParityChecker Callback Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * Improve messaging Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * Rename to DdpParityChecker Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * Add ddp test Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * rename to ddp_parity_checker Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * remove red. imports Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * test fix Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * missign import Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * ignore test Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * Apply isort and black reformatting Signed-off-by: akoumpa <akoumpa@users.noreply.github.com> Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * add missing import Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * Apply isort and black reformatting Signed-off-by: akoumpa <akoumpa@users.noreply.github.com> Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * another missing import Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * Apply isort and black reformatting Signed-off-by: akoumpa <akoumpa@users.noreply.github.com> Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * make limit_val_batches int Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * remove dup file Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * AG groups decisions on DDP parity Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * fix test Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * Apply isort and black reformatting Signed-off-by: akoumpa <akoumpa@users.noreply.github.com> * Exclude from pytest Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * Add L2_NeMo_2_GPT_DDP_Param_Parity_check to NeMo_CICD_Test.needs Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * Apply isort and black reformatting Signed-off-by: akoumpa <akoumpa@users.noreply.github.com> --------- Signed-off-by: Aleksandr Laptev <alaptev@nvidia.com> Signed-off-by: GNroy <GNroy@users.noreply.github.com> Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> Signed-off-by: akoumpa <akoumpa@users.noreply.github.com> Co-authored-by: Aleksandr Laptev <alaptev@nvidia.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: GNroy <GNroy@users.noreply.github.com> Co-authored-by: Vladimir Bataev <vbataev@nvidia.com> Co-authored-by: akoumpa <akoumpa@users.noreply.github.com>
* upload Signed-off-by: Aleksandr Laptev <alaptev@nvidia.com> * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * add comments and use case Signed-off-by: Aleksandr Laptev <alaptev@nvidia.com> * Apply isort and black reformatting Signed-off-by: GNroy <GNroy@users.noreply.github.com> * add initial doc Signed-off-by: Aleksandr Laptev <alaptev@nvidia.com> * fix doc and k2+cuda eval Signed-off-by: Aleksandr Laptev <alaptev@nvidia.com> * isolate decoder components installation and fix suggestions Signed-off-by: Aleksandr Laptev <alaptev@nvidia.com> * Apply isort and black reformatting Signed-off-by: GNroy <GNroy@users.noreply.github.com> * fix trailing newline Signed-off-by: Aleksandr Laptev <alaptev@nvidia.com> --------- Signed-off-by: Aleksandr Laptev <alaptev@nvidia.com> Signed-off-by: GNroy <GNroy@users.noreply.github.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: GNroy <GNroy@users.noreply.github.com> Co-authored-by: Vladimir Bataev <vbataev@nvidia.com> Signed-off-by: Lifu Zhang <tomzhanglf@gmail.com>
* Riva and k2 ASR WFST decoding (2) (NVIDIA#9391) * upload Signed-off-by: Aleksandr Laptev <alaptev@nvidia.com> * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * add comments and use case Signed-off-by: Aleksandr Laptev <alaptev@nvidia.com> * Apply isort and black reformatting Signed-off-by: GNroy <GNroy@users.noreply.github.com> * add initial doc Signed-off-by: Aleksandr Laptev <alaptev@nvidia.com> * fix doc and k2+cuda eval Signed-off-by: Aleksandr Laptev <alaptev@nvidia.com> * isolate decoder components installation and fix suggestions Signed-off-by: Aleksandr Laptev <alaptev@nvidia.com> * Apply isort and black reformatting Signed-off-by: GNroy <GNroy@users.noreply.github.com> * fix trailing newline Signed-off-by: Aleksandr Laptev <alaptev@nvidia.com> --------- Signed-off-by: Aleksandr Laptev <alaptev@nvidia.com> Signed-off-by: GNroy <GNroy@users.noreply.github.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: GNroy <GNroy@users.noreply.github.com> Co-authored-by: Vladimir Bataev <vbataev@nvidia.com> Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * Add DdpParamParityChecker Callback Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * Improve messaging Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * Rename to DdpParityChecker Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * Add ddp test Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * rename to ddp_parity_checker Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * remove red. imports Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * test fix Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * missign import Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * ignore test Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * Apply isort and black reformatting Signed-off-by: akoumpa <akoumpa@users.noreply.github.com> Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * add missing import Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * Apply isort and black reformatting Signed-off-by: akoumpa <akoumpa@users.noreply.github.com> Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * another missing import Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * Apply isort and black reformatting Signed-off-by: akoumpa <akoumpa@users.noreply.github.com> Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * make limit_val_batches int Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * remove dup file Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * AG groups decisions on DDP parity Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * fix test Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * Apply isort and black reformatting Signed-off-by: akoumpa <akoumpa@users.noreply.github.com> * Exclude from pytest Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * Add L2_NeMo_2_GPT_DDP_Param_Parity_check to NeMo_CICD_Test.needs Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * Apply isort and black reformatting Signed-off-by: akoumpa <akoumpa@users.noreply.github.com> --------- Signed-off-by: Aleksandr Laptev <alaptev@nvidia.com> Signed-off-by: GNroy <GNroy@users.noreply.github.com> Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> Signed-off-by: akoumpa <akoumpa@users.noreply.github.com> Co-authored-by: Aleksandr Laptev <alaptev@nvidia.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: GNroy <GNroy@users.noreply.github.com> Co-authored-by: Vladimir Bataev <vbataev@nvidia.com> Co-authored-by: akoumpa <akoumpa@users.noreply.github.com> Signed-off-by: Lifu Zhang <tomzhanglf@gmail.com>
* upload Signed-off-by: Aleksandr Laptev <alaptev@nvidia.com> * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * add comments and use case Signed-off-by: Aleksandr Laptev <alaptev@nvidia.com> * Apply isort and black reformatting Signed-off-by: GNroy <GNroy@users.noreply.github.com> * add initial doc Signed-off-by: Aleksandr Laptev <alaptev@nvidia.com> * fix doc and k2+cuda eval Signed-off-by: Aleksandr Laptev <alaptev@nvidia.com> * isolate decoder components installation and fix suggestions Signed-off-by: Aleksandr Laptev <alaptev@nvidia.com> * Apply isort and black reformatting Signed-off-by: GNroy <GNroy@users.noreply.github.com> * fix trailing newline Signed-off-by: Aleksandr Laptev <alaptev@nvidia.com> --------- Signed-off-by: Aleksandr Laptev <alaptev@nvidia.com> Signed-off-by: GNroy <GNroy@users.noreply.github.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: GNroy <GNroy@users.noreply.github.com> Co-authored-by: Vladimir Bataev <vbataev@nvidia.com> Signed-off-by: Lifu Zhang <tomzhanglf@gmail.com>
* Riva and k2 ASR WFST decoding (2) (NVIDIA#9391) * upload Signed-off-by: Aleksandr Laptev <alaptev@nvidia.com> * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * add comments and use case Signed-off-by: Aleksandr Laptev <alaptev@nvidia.com> * Apply isort and black reformatting Signed-off-by: GNroy <GNroy@users.noreply.github.com> * add initial doc Signed-off-by: Aleksandr Laptev <alaptev@nvidia.com> * fix doc and k2+cuda eval Signed-off-by: Aleksandr Laptev <alaptev@nvidia.com> * isolate decoder components installation and fix suggestions Signed-off-by: Aleksandr Laptev <alaptev@nvidia.com> * Apply isort and black reformatting Signed-off-by: GNroy <GNroy@users.noreply.github.com> * fix trailing newline Signed-off-by: Aleksandr Laptev <alaptev@nvidia.com> --------- Signed-off-by: Aleksandr Laptev <alaptev@nvidia.com> Signed-off-by: GNroy <GNroy@users.noreply.github.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: GNroy <GNroy@users.noreply.github.com> Co-authored-by: Vladimir Bataev <vbataev@nvidia.com> Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * Add DdpParamParityChecker Callback Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * Improve messaging Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * Rename to DdpParityChecker Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * Add ddp test Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * rename to ddp_parity_checker Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * remove red. imports Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * test fix Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * missign import Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * ignore test Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * Apply isort and black reformatting Signed-off-by: akoumpa <akoumpa@users.noreply.github.com> Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * add missing import Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * Apply isort and black reformatting Signed-off-by: akoumpa <akoumpa@users.noreply.github.com> Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * another missing import Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * Apply isort and black reformatting Signed-off-by: akoumpa <akoumpa@users.noreply.github.com> Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * make limit_val_batches int Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * remove dup file Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * AG groups decisions on DDP parity Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * fix test Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * Apply isort and black reformatting Signed-off-by: akoumpa <akoumpa@users.noreply.github.com> * Exclude from pytest Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * Add L2_NeMo_2_GPT_DDP_Param_Parity_check to NeMo_CICD_Test.needs Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * Apply isort and black reformatting Signed-off-by: akoumpa <akoumpa@users.noreply.github.com> --------- Signed-off-by: Aleksandr Laptev <alaptev@nvidia.com> Signed-off-by: GNroy <GNroy@users.noreply.github.com> Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> Signed-off-by: akoumpa <akoumpa@users.noreply.github.com> Co-authored-by: Aleksandr Laptev <alaptev@nvidia.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: GNroy <GNroy@users.noreply.github.com> Co-authored-by: Vladimir Bataev <vbataev@nvidia.com> Co-authored-by: akoumpa <akoumpa@users.noreply.github.com> Signed-off-by: Lifu Zhang <tomzhanglf@gmail.com>
* upload Signed-off-by: Aleksandr Laptev <alaptev@nvidia.com> * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * add comments and use case Signed-off-by: Aleksandr Laptev <alaptev@nvidia.com> * Apply isort and black reformatting Signed-off-by: GNroy <GNroy@users.noreply.github.com> * add initial doc Signed-off-by: Aleksandr Laptev <alaptev@nvidia.com> * fix doc and k2+cuda eval Signed-off-by: Aleksandr Laptev <alaptev@nvidia.com> * isolate decoder components installation and fix suggestions Signed-off-by: Aleksandr Laptev <alaptev@nvidia.com> * Apply isort and black reformatting Signed-off-by: GNroy <GNroy@users.noreply.github.com> * fix trailing newline Signed-off-by: Aleksandr Laptev <alaptev@nvidia.com> --------- Signed-off-by: Aleksandr Laptev <alaptev@nvidia.com> Signed-off-by: GNroy <GNroy@users.noreply.github.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: GNroy <GNroy@users.noreply.github.com> Co-authored-by: Vladimir Bataev <vbataev@nvidia.com> Signed-off-by: Hainan Xu <hainanx@nvidia.com>
* Riva and k2 ASR WFST decoding (2) (NVIDIA#9391) * upload Signed-off-by: Aleksandr Laptev <alaptev@nvidia.com> * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * add comments and use case Signed-off-by: Aleksandr Laptev <alaptev@nvidia.com> * Apply isort and black reformatting Signed-off-by: GNroy <GNroy@users.noreply.github.com> * add initial doc Signed-off-by: Aleksandr Laptev <alaptev@nvidia.com> * fix doc and k2+cuda eval Signed-off-by: Aleksandr Laptev <alaptev@nvidia.com> * isolate decoder components installation and fix suggestions Signed-off-by: Aleksandr Laptev <alaptev@nvidia.com> * Apply isort and black reformatting Signed-off-by: GNroy <GNroy@users.noreply.github.com> * fix trailing newline Signed-off-by: Aleksandr Laptev <alaptev@nvidia.com> --------- Signed-off-by: Aleksandr Laptev <alaptev@nvidia.com> Signed-off-by: GNroy <GNroy@users.noreply.github.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: GNroy <GNroy@users.noreply.github.com> Co-authored-by: Vladimir Bataev <vbataev@nvidia.com> Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * Add DdpParamParityChecker Callback Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * Improve messaging Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * Rename to DdpParityChecker Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * Add ddp test Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * rename to ddp_parity_checker Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * remove red. imports Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * test fix Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * missign import Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * ignore test Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * Apply isort and black reformatting Signed-off-by: akoumpa <akoumpa@users.noreply.github.com> Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * add missing import Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * Apply isort and black reformatting Signed-off-by: akoumpa <akoumpa@users.noreply.github.com> Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * another missing import Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * Apply isort and black reformatting Signed-off-by: akoumpa <akoumpa@users.noreply.github.com> Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * make limit_val_batches int Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * remove dup file Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * AG groups decisions on DDP parity Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * fix test Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * Apply isort and black reformatting Signed-off-by: akoumpa <akoumpa@users.noreply.github.com> * Exclude from pytest Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * Add L2_NeMo_2_GPT_DDP_Param_Parity_check to NeMo_CICD_Test.needs Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> * Apply isort and black reformatting Signed-off-by: akoumpa <akoumpa@users.noreply.github.com> --------- Signed-off-by: Aleksandr Laptev <alaptev@nvidia.com> Signed-off-by: GNroy <GNroy@users.noreply.github.com> Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com> Signed-off-by: akoumpa <akoumpa@users.noreply.github.com> Co-authored-by: Aleksandr Laptev <alaptev@nvidia.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: GNroy <GNroy@users.noreply.github.com> Co-authored-by: Vladimir Bataev <vbataev@nvidia.com> Co-authored-by: akoumpa <akoumpa@users.noreply.github.com> Signed-off-by: Hainan Xu <hainanx@nvidia.com>
What does this PR do ?
Adds Riva and k2 WFST decoding options for ASR inference.
Collection: [ASR]
Changelog
Usage
# Add a code snippet demonstrating how to use this
GitHub Actions CI
The Jenkins CI system has been replaced by GitHub Actions self-hosted runners.
The GitHub Actions CI will run automatically when the "Run CICD" label is added to the PR.
To re-run CI remove and add the label again.
To run CI on an untrusted fork, a NeMo user with write access must first click "Approve and run".
Before your PR is "Ready for review"
Pre checks:
PR Type:
If you haven't finished some of the above items you can still open "Draft" PR.
Who can review?
Anyone in the community is free to review the PR once the checks have passed.
Contributor guidelines contains specific people who can review PRs to various areas.
Additional Information