url
stringlengths 52
53
| repository_url
stringclasses 1
value | labels_url
stringlengths 66
67
| comments_url
stringlengths 61
62
| events_url
stringlengths 59
60
| html_url
stringlengths 40
43
| id
int64 719M
2.8B
| node_id
stringlengths 18
32
| number
int64 1.28k
11.9k
| title
stringlengths 1
350
| user
dict | labels
listlengths 0
10
| state
stringclasses 2
values | locked
bool 2
classes | assignee
dict | assignees
listlengths 0
3
| milestone
null | comments
sequencelengths 0
30
β | created_at
timestamp[s] | updated_at
timestamp[s] | closed_at
timestamp[s] | author_association
stringclasses 4
values | sub_issues_summary
dict | active_lock_reason
stringclasses 1
value | draft
bool 2
classes | pull_request
dict | body
stringlengths 0
73.4k
β | closed_by
dict | reactions
dict | timeline_url
stringlengths 61
62
| performed_via_github_app
null | state_reason
stringclasses 3
values | is_pull_request
bool 2
classes |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
https://api.github.com/repos/NVIDIA/NeMo/issues/8490 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/8490/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/8490/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/8490/events | https://github.com/NVIDIA/NeMo/pull/8490 | 2,150,305,110 | PR_kwDOC_bI7s5ntq2R | 8,490 | MoE parameter passing | {
"login": "github-actions[bot]",
"id": 41898282,
"node_id": "MDM6Qm90NDE4OTgyODI=",
"avatar_url": "https://avatars.githubusercontent.com/in/15368?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/github-actions%5Bbot%5D",
"html_url": "https://github.com/apps/github-actions",
"followers_url": "https://api.github.com/users/github-actions%5Bbot%5D/followers",
"following_url": "https://api.github.com/users/github-actions%5Bbot%5D/following{/other_user}",
"gists_url": "https://api.github.com/users/github-actions%5Bbot%5D/gists{/gist_id}",
"starred_url": "https://api.github.com/users/github-actions%5Bbot%5D/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/github-actions%5Bbot%5D/subscriptions",
"organizations_url": "https://api.github.com/users/github-actions%5Bbot%5D/orgs",
"repos_url": "https://api.github.com/users/github-actions%5Bbot%5D/repos",
"events_url": "https://api.github.com/users/github-actions%5Bbot%5D/events{/privacy}",
"received_events_url": "https://api.github.com/users/github-actions%5Bbot%5D/received_events",
"type": "Bot",
"user_view_type": "public",
"site_admin": false
} | [
{
"id": 4556669155,
"node_id": "LA_kwDOC_bI7s8AAAABD5lA4w",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/cherry-pick",
"name": "cherry-pick",
"color": "ededed",
"default": false,
"description": null
},
{
"id": 4811886210,
"node_id": "LA_kwDOC_bI7s8AAAABHs-Ogg",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/NLP",
"name": "NLP",
"color": "CBF09A",
"default": false,
"description": ""
}
] | closed | false | null | [] | null | [
"jenkins"
] | 2024-02-23T03:28:25 | 2024-02-26T15:37:20 | 2024-02-26T15:37:19 | CONTRIBUTOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/8490",
"html_url": "https://github.com/NVIDIA/NeMo/pull/8490",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/8490.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/8490.patch",
"merged_at": "2024-02-26T15:37:19"
} | # What does this PR do ?
Add a one line overview of what this PR aims to accomplish.
**Collection**: [Note which collection this PR will affect]
# Changelog
- Add specific line by line info of high level changes in this PR.
# Usage
* You can potentially add a usage example below
```python
# Add a code snippet demonstrating how to use this
```
# Jenkins CI
To run Jenkins, a NeMo User with write access must comment `jenkins` on the PR.
# Before your PR is "Ready for review"
**Pre checks**:
- [ ] Make sure you read and followed [Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md)
- [ ] Did you write any new necessary tests?
- [ ] Did you add or update any necessary documentation?
- [ ] Does the PR affect components that are optional to install? (Ex: Numba, Pynini, Apex etc)
- [ ] Reviewer: Does the PR have correct import guards for all optional libraries?
**PR Type**:
- [ ] New Feature
- [ ] Bugfix
- [ ] Documentation
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](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md) contains specific people who can review PRs to various areas.
# Additional Information
* Related to # (issue)
| {
"login": "akoumpa",
"id": 153118171,
"node_id": "U_kgDOCSBl2w",
"avatar_url": "https://avatars.githubusercontent.com/u/153118171?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/akoumpa",
"html_url": "https://github.com/akoumpa",
"followers_url": "https://api.github.com/users/akoumpa/followers",
"following_url": "https://api.github.com/users/akoumpa/following{/other_user}",
"gists_url": "https://api.github.com/users/akoumpa/gists{/gist_id}",
"starred_url": "https://api.github.com/users/akoumpa/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/akoumpa/subscriptions",
"organizations_url": "https://api.github.com/users/akoumpa/orgs",
"repos_url": "https://api.github.com/users/akoumpa/repos",
"events_url": "https://api.github.com/users/akoumpa/events{/privacy}",
"received_events_url": "https://api.github.com/users/akoumpa/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/8490/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/8490/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/8489 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/8489/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/8489/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/8489/events | https://github.com/NVIDIA/NeMo/pull/8489 | 2,150,176,701 | PR_kwDOC_bI7s5ntPCQ | 8,489 | Add fp8 support for SD/Update notebook paths | {
"login": "Victor49152",
"id": 111467530,
"node_id": "U_kgDOBqTcCg",
"avatar_url": "https://avatars.githubusercontent.com/u/111467530?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Victor49152",
"html_url": "https://github.com/Victor49152",
"followers_url": "https://api.github.com/users/Victor49152/followers",
"following_url": "https://api.github.com/users/Victor49152/following{/other_user}",
"gists_url": "https://api.github.com/users/Victor49152/gists{/gist_id}",
"starred_url": "https://api.github.com/users/Victor49152/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Victor49152/subscriptions",
"organizations_url": "https://api.github.com/users/Victor49152/orgs",
"repos_url": "https://api.github.com/users/Victor49152/repos",
"events_url": "https://api.github.com/users/Victor49152/events{/privacy}",
"received_events_url": "https://api.github.com/users/Victor49152/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"id": 4811886210,
"node_id": "LA_kwDOC_bI7s8AAAABHs-Ogg",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/NLP",
"name": "NLP",
"color": "CBF09A",
"default": false,
"description": ""
}
] | closed | false | null | [] | null | [
"jenkins",
"jenkins"
] | 2024-02-23T00:35:19 | 2024-02-25T17:54:39 | 2024-02-25T17:54:38 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/8489",
"html_url": "https://github.com/NVIDIA/NeMo/pull/8489",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/8489.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/8489.patch",
"merged_at": "2024-02-25T17:54:38"
} | # What does this PR do ?
Add FP8 support for SD training.
**Collection**: [multimodal/text_to_image/statble_diffusion]
# Changelog
- Add config argument - use_te_fp8 to switch between fp16 and fp8 training
- Add transformer engine fp8 layers to Stable diffusion Unet
- Update a few legacy paths in notebook tutorial
# Usage
```yaml
unet_config:
use_te_fp8=True
```
# Jenkins CI
To run Jenkins, a NeMo User with write access must comment `jenkins` on the PR.
# Before your PR is "Ready for review"
**Pre checks**:
- [x ] Make sure you read and followed [Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md)
- [ ] Did you write any new necessary tests?
- [ ] Did you add or update any necessary documentation?
- [ ] Does the PR affect components that are optional to install? (Ex: Numba, Pynini, Apex etc)
- [ ] Reviewer: Does the PR have correct import guards for all optional libraries?
**PR Type**:
- [x ] New Feature
- [ ] Bugfix
- [ ] Documentation
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](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md) contains specific people who can review PRs to various areas.
# Additional Information
* Related to # (issue)
| {
"login": "ericharper",
"id": 11999610,
"node_id": "MDQ6VXNlcjExOTk5NjEw",
"avatar_url": "https://avatars.githubusercontent.com/u/11999610?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ericharper",
"html_url": "https://github.com/ericharper",
"followers_url": "https://api.github.com/users/ericharper/followers",
"following_url": "https://api.github.com/users/ericharper/following{/other_user}",
"gists_url": "https://api.github.com/users/ericharper/gists{/gist_id}",
"starred_url": "https://api.github.com/users/ericharper/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ericharper/subscriptions",
"organizations_url": "https://api.github.com/users/ericharper/orgs",
"repos_url": "https://api.github.com/users/ericharper/repos",
"events_url": "https://api.github.com/users/ericharper/events{/privacy}",
"received_events_url": "https://api.github.com/users/ericharper/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/8489/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/8489/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/8488 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/8488/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/8488/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/8488/events | https://github.com/NVIDIA/NeMo/issues/8488 | 2,150,173,620 | I_kwDOC_bI7s6AKQu0 | 8,488 | Typo this needs to be replace | {
"login": "prathwishshetty",
"id": 22594544,
"node_id": "MDQ6VXNlcjIyNTk0NTQ0",
"avatar_url": "https://avatars.githubusercontent.com/u/22594544?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/prathwishshetty",
"html_url": "https://github.com/prathwishshetty",
"followers_url": "https://api.github.com/users/prathwishshetty/followers",
"following_url": "https://api.github.com/users/prathwishshetty/following{/other_user}",
"gists_url": "https://api.github.com/users/prathwishshetty/gists{/gist_id}",
"starred_url": "https://api.github.com/users/prathwishshetty/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/prathwishshetty/subscriptions",
"organizations_url": "https://api.github.com/users/prathwishshetty/orgs",
"repos_url": "https://api.github.com/users/prathwishshetty/repos",
"events_url": "https://api.github.com/users/prathwishshetty/events{/privacy}",
"received_events_url": "https://api.github.com/users/prathwishshetty/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | [
"@prathwishshetty \r\nI have raised a PR for this at https://github.com/NVIDIA/NeMo/pull/8498\r\nLet's wait to get it merged soon. Thanks for raising PR",
"This can be closed as PR gets merged",
"Thank you for the quick PR!"
] | 2024-02-23T00:31:48 | 2024-02-23T23:01:11 | 2024-02-23T23:01:10 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | https://github.com/NVIDIA/NeMo/blob/88e332d31a9ed54d5e19c5250e876eac18ad8936/tools/nemo_forced_aligner/utils/data_prep.py#L155 | {
"login": "prathwishshetty",
"id": 22594544,
"node_id": "MDQ6VXNlcjIyNTk0NTQ0",
"avatar_url": "https://avatars.githubusercontent.com/u/22594544?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/prathwishshetty",
"html_url": "https://github.com/prathwishshetty",
"followers_url": "https://api.github.com/users/prathwishshetty/followers",
"following_url": "https://api.github.com/users/prathwishshetty/following{/other_user}",
"gists_url": "https://api.github.com/users/prathwishshetty/gists{/gist_id}",
"starred_url": "https://api.github.com/users/prathwishshetty/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/prathwishshetty/subscriptions",
"organizations_url": "https://api.github.com/users/prathwishshetty/orgs",
"repos_url": "https://api.github.com/users/prathwishshetty/repos",
"events_url": "https://api.github.com/users/prathwishshetty/events{/privacy}",
"received_events_url": "https://api.github.com/users/prathwishshetty/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/8488/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/8488/timeline | null | completed | false |
https://api.github.com/repos/NVIDIA/NeMo/issues/8487 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/8487/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/8487/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/8487/events | https://github.com/NVIDIA/NeMo/issues/8487 | 2,150,139,818 | I_kwDOC_bI7s6AKIeq | 8,487 | LoRA training with FSDP has spike in train loss | {
"login": "zpx01",
"id": 51731412,
"node_id": "MDQ6VXNlcjUxNzMxNDEy",
"avatar_url": "https://avatars.githubusercontent.com/u/51731412?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/zpx01",
"html_url": "https://github.com/zpx01",
"followers_url": "https://api.github.com/users/zpx01/followers",
"following_url": "https://api.github.com/users/zpx01/following{/other_user}",
"gists_url": "https://api.github.com/users/zpx01/gists{/gist_id}",
"starred_url": "https://api.github.com/users/zpx01/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/zpx01/subscriptions",
"organizations_url": "https://api.github.com/users/zpx01/orgs",
"repos_url": "https://api.github.com/users/zpx01/repos",
"events_url": "https://api.github.com/users/zpx01/events{/privacy}",
"received_events_url": "https://api.github.com/users/zpx01/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"id": 1485815557,
"node_id": "MDU6TGFiZWwxNDg1ODE1NTU3",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": "Something isn't working"
}
] | closed | false | {
"login": "dimapihtar",
"id": 37850217,
"node_id": "MDQ6VXNlcjM3ODUwMjE3",
"avatar_url": "https://avatars.githubusercontent.com/u/37850217?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dimapihtar",
"html_url": "https://github.com/dimapihtar",
"followers_url": "https://api.github.com/users/dimapihtar/followers",
"following_url": "https://api.github.com/users/dimapihtar/following{/other_user}",
"gists_url": "https://api.github.com/users/dimapihtar/gists{/gist_id}",
"starred_url": "https://api.github.com/users/dimapihtar/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/dimapihtar/subscriptions",
"organizations_url": "https://api.github.com/users/dimapihtar/orgs",
"repos_url": "https://api.github.com/users/dimapihtar/repos",
"events_url": "https://api.github.com/users/dimapihtar/events{/privacy}",
"received_events_url": "https://api.github.com/users/dimapihtar/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"login": "dimapihtar",
"id": 37850217,
"node_id": "MDQ6VXNlcjM3ODUwMjE3",
"avatar_url": "https://avatars.githubusercontent.com/u/37850217?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dimapihtar",
"html_url": "https://github.com/dimapihtar",
"followers_url": "https://api.github.com/users/dimapihtar/followers",
"following_url": "https://api.github.com/users/dimapihtar/following{/other_user}",
"gists_url": "https://api.github.com/users/dimapihtar/gists{/gist_id}",
"starred_url": "https://api.github.com/users/dimapihtar/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/dimapihtar/subscriptions",
"organizations_url": "https://api.github.com/users/dimapihtar/orgs",
"repos_url": "https://api.github.com/users/dimapihtar/repos",
"events_url": "https://api.github.com/users/dimapihtar/events{/privacy}",
"received_events_url": "https://api.github.com/users/dimapihtar/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
}
] | null | [
"Same issue in FSDP+SFT.\r\nThe loss is 3-4 times higher than TP, PP, and DP cases. I doubted fused_adam at first (currently, FSDP cannot apply distributed_fused_adam) but, fused_adam worked well except for FSDP.\r\n\r\n### Environment details\r\n\r\nDocker Container: `nvcr.io/nvidia/nemo:24.01.01.framework`\r\n\r\n```\r\n#!/bin/sh\r\n\r\nexport HYDRA_FULL_ERROR=1\r\n\r\nexport WANDB=False\r\nexport PJ_NAME=\"databricks-dolly-15k-ja\"\r\nexport EXP_DIR=\"/raid/results/\"${PJ_NAME}\r\nexport EXP_NAME=\"Swallow-MS-7b-v0.1_SFT\"\r\nexport MODEL=\"/workspace/models/Swallow-MS-7b-v0.1/Swallow-MS-7b-v0.1.nemo\"\r\nexport TP_SIZE=1\r\nexport PP_SIZE=1\r\nexport TRAIN_DS=\"[/workspace/data/\"${PJ_NAME}\"/train.jsonl]\"\r\nexport VALID_DS=\"[/workspace/data/\"${PJ_NAME}\"/valid.jsonl]\"\r\nexport TEST_DS=\"[/workspace/data/\"${PJ_NAME}\"/test.jsonl]\"\r\n\r\ntorchrun --nproc_per_node=8 /opt/NeMo/examples/nlp/language_modeling/tuning/megatron_gpt_finetuning.py \\\r\n trainer.precision=bf16-mixed \\\r\n trainer.devices=8 \\\r\n trainer.num_nodes=1 \\\r\n trainer.max_epochs=5 \\\r\n trainer.max_steps=938 \\\r\n trainer.val_check_interval=0.1 \\\r\n model.peft.peft_scheme=null \\\r\n model.restore_from_path=${MODEL} \\\r\n model.global_batch_size=64 \\\r\n model.micro_batch_size=4 \\\r\n model.tensor_model_parallel_size=${TP_SIZE} \\\r\n model.pipeline_model_parallel_size=${PP_SIZE} \\\r\n model.megatron_amp_O2=False \\\r\n model.fsdp=True \\\r\n model.fsdp_sharding_strategy='full' \\\r\n model.fsdp_grad_reduce_dtype='bf16' \\\r\n model.fsdp_sharded_checkpoint=False \\\r\n model.fsdp_use_orig_params=False \\\r\n model.optim.name=fused_adam \\\r\n model.optim.lr=2e-5 \\\r\n model.answer_only_loss=True \\\r\n model.data.train_ds.file_names=${TRAIN_DS} \\\r\n model.data.train_ds.concat_sampling_probabilities=\"[1]\" \\\r\n model.data.train_ds.max_seq_length=2048 \\\r\n model.data.train_ds.num_workers=0 \\\r\n model.data.validation_ds.file_names=${VALID_DS} \\\r\n model.data.validation_ds.max_seq_length=2048 \\\r\n model.data.validation_ds.num_workers=0 \\\r\n model.data.validation_ds.metric.name=loss \\\r\n model.data.test_ds.file_names=${TEST_DS} \\\r\n exp_manager.explicit_log_dir=${EXP_DIR} \\\r\n exp_manager.name=${EXP_NAME} \\\r\n exp_manager.create_wandb_logger=${WANDB} \\\r\n exp_manager.wandb_logger_kwargs.project=${PJ_NAME} \\\r\n exp_manager.wandb_logger_kwargs.name=${EXP_NAME} \\\r\n exp_manager.checkpoint_callback_params.save_nemo_on_train_end=True \\\r\n exp_manager.resume_if_exists=True \\\r\n exp_manager.resume_ignore_no_checkpoint=True \\\r\n exp_manager.create_checkpoint_callback=True \\\r\n exp_manager.checkpoint_callback_params.monitor=validation_loss \\\r\n exp_manager.early_stopping_callback_params.patience=5 \\\r\n ++cluster_type=BCP\r\n```",
"Hi. Looks like this issue is fixed in 24.03 release container. I can't reproduce this divergence with 24.03.",
"> Hi. Looks like this issue is fixed in 24.03 release container. I can't reproduce this divergence with 24.03.\r\n\r\nDid you test FSDP + SFT or FSDP + LoRA?",
"@dimapihtar I tried the FSDP + LoRA tuning with the same experiment but on the 24.03 container and it still has the same train loss issue. ",
"@dimapihtar FSDP+SFT on the 24.03 container also has the same training loss issue.",
"I also have very significant loss differences in pre-training when comparing FSDP vs. DDP, with FSDP being worse. I'm using FP32 gradient reduction with FSDP and the original params (i.e., `model.fsdp_grad_reduce_dtype=32` and `model.fsdp_use_orig_params=True`).\r\nNote, this difference does not appear when using FSDP without sharding (i.e., `sharding_strategy=ShardingStrategy.NO_SHARD` (this has no config setting ATM)) or with `fsdp_use_orig_params=False`.",
"The problem is a double all-reduce on the sharded parameter gradients when setting `fsdp_use_orig_params=True`, which can be fixed for the case of `tensor_model_parallel_size=1` by (in `megatron_gpt_model.py`):\r\n```patch\r\n self.megatron_timer_start('gradient_allreduce', log_level=1)\r\n- if self.use_fsdp:\r\n+ if self.use_fsdp and self.cfg.get('fsdp_use_orig_params', False):\r\n+ assert self.cfg.get('tensor_model_parallel_size', 1) == 1, 'fix only works for TP=1'\r\n+ elif self.use_fsdp:\r\n # Reduce the gradients omitted from FSDP-sharding\r\n self.allreduce_fsdp_sharding_omitted_gradients()\r\n elif self.with_distributed_adam:\r\n```\r\n\r\nI still need to find a nice way to fix it with `tensor_model_parallel_size > 1`.",
"The fix for `tensor_model_parallel_size >= 1` can be implemented very simply by accessing a private variable of the FSDP module.\r\nAgain in `megatron_gpt_model.py`, and the patch from the previous comment should not be included, so this is the proposed solution for all cases:\r\n```patch\r\n grads = []\r\n- for param in self.model.parameters():\r\n- if not isinstance(param, torch.distributed.fsdp.FlatParameter) and param.requires_grad:\r\n+ for param in self.model._ignored_params:\r\n+ if param.requires_grad and param.grad is not None:\r\n grad = param.grad\r\n grads.append(grad.data)\r\n```"
] | 2024-02-22T23:55:22 | 2024-05-29T08:39:16 | 2024-03-25T21:34:15 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | **Describe the bug**
We'd like to use FSDP when doing LoRA fine-tuning with large LLMs. We noticed in our experiments that the train loss when using FSDP vs. no FSDP is very different. With FSDP, the train loss is extremely high, but after turning off FSDP and doing a regular LoRA tuning, we see normal train loss convergence. We also noted that the outputs of the forward pass when using FSDP are different than those when not using FSDP. Specifically, we observed that the forward pass using FSDP + LoRA seems to have lower magnitude outputs than the forward pass with just LoRA.
Train Loss Comparison:
<img width="431" alt="Screenshot 2024-02-22 at 3 41 45β―PM" src="https://github.com/NVIDIA/NeMo/assets/51731412/da7478a8-0517-4f7d-b0b6-809afcba63ee">
**Steps/Code to reproduce bug**
Please list *minimal* steps or code snippet for us to be able to reproduce the bug.
1. Mount the changes in this [PR](https://github.com/NVIDIA/NeMo/pull/8414) to include the FSDP + LoRA integration.
2. Use the following script to run an example fine-tuning job:
```
#!/bin/bash
set -x
HOME=/lustre/fsw/coreai_dlalgo_llm/zeeshanp
NEMO=$HOME/NeMo
MEGATRON=$HOME/Megatron-LM
PEFT_SCHEME='lora'
MODEL_SIZE=7b
MBS=1
TP=1
PP=1
NUM_DEVICES=2
GBS=8
SEQ_LEN=4096
DATASET=squad # dolly, squad
if [ "${PEFT_SCHEME}" == "sft" ]; then
PEFT_SCHEME_=none
EXTRA_ARGS="model.optim.name=distributed_fused_adam \ # don't work
model.optim.lr=5e-6
"
else
PEFT_SCHEME_=${PEFT_SCHEME}
EXTRA_ARGS=""
fi
EXTRA_ARGS+="
+model.fp8=False \
+model.fp8_e4m3=False \
+model.fp8_hybrid=True \
+model.fp8_margin=0 \
+model.fp8_interval=1 \
+model.fp8_amax_history_len=1024 \
+model.fp8_amax_compute_algo=max
"
MODEL=$HOME/pretrained_models/Llama-2-${MODEL_SIZE}-bf16-mcore
EXP_DIR=$HOME/exp/fsdp_test/interactive-llama2-${MODEL_SIZE}-${PEFT_SCHEME}_${DATASET}
if [ "${DATASET}" == "dolly" ]; then
TRAIN_DS=[$HOME/datasets/dolly_packed/first_fit_shuffle_with_loss_mask/dolly_packed_${SEQ_LEN}_seed0.npy]
VALID_DS=[$HOME/datasets/dolly/validation.jsonl]
elif [ "${DATASET}" == "squad" ]; then
TRAIN_DS=[$HOME/datasets/squad_packed/first_fit_shuffle/packed_${SEQ_LEN}_seed0.npy]
VALID_DS=[$HOME/datasets/squad/1_squad_validation.jsonl]
else
echo "Unknown dataset ${DATASET}"
exit
fi
WANDB_PROJECT="fsdp_lora"
wandb login $WANDB_API_KEY
export PYTHONPATH="${NEMO}/.:${MEGATRON}/.:${PYTHONPATH}"
# export PYTHONPATH="${NEMO}/.:${PYTHONPATH}"
torchrun --nproc_per_node=${NUM_DEVICES} ${NEMO}/examples/nlp/language_modeling/tuning/megatron_gpt_finetuning.py \
trainer.devices=${NUM_DEVICES} \
trainer.num_nodes=1 \
trainer.val_check_interval=5 \
trainer.max_steps=100 \
+trainer.num_sanity_val_steps=0 \
+trainer.limit_val_batches=10 \
model.megatron_amp_O2=False \
exp_manager.create_wandb_logger=False \
exp_manager.wandb_logger_kwargs.project=llama_packed_${DATASET} \
exp_manager.wandb_logger_kwargs.name=fsdp_test \
exp_manager.resume_if_exists=False \
exp_manager.exp_dir="${EXP_DIR}" \
model.tensor_model_parallel_size=${TP} \
model.pipeline_model_parallel_size=${PP} \
model.micro_batch_size=${MBS} \
model.global_batch_size=${GBS} \
model.restore_from_path=${MODEL} \
model.data.train_ds.num_workers=0 \
model.data.validation_ds.num_workers=0 \
+model.data.train_ds.packed_sequence=True \
+model.log_token_counts=True \
model.data.train_ds.file_names=${TRAIN_DS} \
model.data.train_ds.concat_sampling_probabilities=[1.0] \
model.data.validation_ds.file_names=${VALID_DS} \
model.peft.peft_scheme=${PEFT_SCHEME_} \
model.data.train_ds.max_seq_length=${SEQ_LEN} \
model.data.validation_ds.max_seq_length=${SEQ_LEN} \
model.sequence_parallel=False \
+model.apply_rope_fusion=True \
${EXTRA_ARGS} \
trainer.precision=bf16 \
model.answer_only_loss=True \
model.fsdp=True \
model.fsdp_sharded_checkpoint=True \
model.fsdp_use_orig_params=True
```
**Expected behavior**
We expect a normal train loss curve matching that seen when not using FSDP.
**Environment overview (please complete the following information)**
Used enroot to set up NeMo docker container.
**Environment details**
Docker Container: `nvcr.io/nvidia/nemo:24.01.framework`
**Additional context**
We added new code to wrap the parameters used in LoRA with the FSDP wrapper to ensure they are sharded correctly. From our train logs it seems that the sharding does occur correctly, so we're not sure where the forward pass is having a bug.
| {
"login": "dimapihtar",
"id": 37850217,
"node_id": "MDQ6VXNlcjM3ODUwMjE3",
"avatar_url": "https://avatars.githubusercontent.com/u/37850217?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dimapihtar",
"html_url": "https://github.com/dimapihtar",
"followers_url": "https://api.github.com/users/dimapihtar/followers",
"following_url": "https://api.github.com/users/dimapihtar/following{/other_user}",
"gists_url": "https://api.github.com/users/dimapihtar/gists{/gist_id}",
"starred_url": "https://api.github.com/users/dimapihtar/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/dimapihtar/subscriptions",
"organizations_url": "https://api.github.com/users/dimapihtar/orgs",
"repos_url": "https://api.github.com/users/dimapihtar/repos",
"events_url": "https://api.github.com/users/dimapihtar/events{/privacy}",
"received_events_url": "https://api.github.com/users/dimapihtar/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/8487/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/8487/timeline | null | completed | false |
https://api.github.com/repos/NVIDIA/NeMo/issues/8486 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/8486/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/8486/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/8486/events | https://github.com/NVIDIA/NeMo/pull/8486 | 2,149,956,430 | PR_kwDOC_bI7s5nse82 | 8,486 | update speechllm | {
"login": "stevehuang52",
"id": 105218074,
"node_id": "U_kgDOBkWAGg",
"avatar_url": "https://avatars.githubusercontent.com/u/105218074?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stevehuang52",
"html_url": "https://github.com/stevehuang52",
"followers_url": "https://api.github.com/users/stevehuang52/followers",
"following_url": "https://api.github.com/users/stevehuang52/following{/other_user}",
"gists_url": "https://api.github.com/users/stevehuang52/gists{/gist_id}",
"starred_url": "https://api.github.com/users/stevehuang52/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/stevehuang52/subscriptions",
"organizations_url": "https://api.github.com/users/stevehuang52/orgs",
"repos_url": "https://api.github.com/users/stevehuang52/repos",
"events_url": "https://api.github.com/users/stevehuang52/events{/privacy}",
"received_events_url": "https://api.github.com/users/stevehuang52/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"id": 1923495043,
"node_id": "MDU6TGFiZWwxOTIzNDk1MDQz",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/core",
"name": "core",
"color": "f25e3a",
"default": false,
"description": "Changes to NeMo Core"
},
{
"id": 4418253970,
"node_id": "LA_kwDOC_bI7s8AAAABB1k0kg",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/TTS",
"name": "TTS",
"color": "49AF28",
"default": false,
"description": ""
},
{
"id": 4811884691,
"node_id": "LA_kwDOC_bI7s8AAAABHs-Ikw",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/ASR",
"name": "ASR",
"color": "F3B33E",
"default": false,
"description": ""
},
{
"id": 4811886210,
"node_id": "LA_kwDOC_bI7s8AAAABHs-Ogg",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/NLP",
"name": "NLP",
"color": "CBF09A",
"default": false,
"description": ""
},
{
"id": 4811888028,
"node_id": "LA_kwDOC_bI7s8AAAABHs-VnA",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/Speaker%20Tasks",
"name": "Speaker Tasks",
"color": "871AD4",
"default": false,
"description": ""
},
{
"id": 4840216855,
"node_id": "LA_kwDOC_bI7s8AAAABIH_ZFw",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/CI",
"name": "CI",
"color": "1D76DB",
"default": false,
"description": ""
},
{
"id": 4847373924,
"node_id": "LA_kwDOC_bI7s8AAAABIO0OZA",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/common",
"name": "common",
"color": "c5def5",
"default": false,
"description": ""
}
] | closed | false | null | [] | null | [] | 2024-02-22T21:18:36 | 2024-02-22T21:19:11 | 2024-02-22T21:19:05 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/8486",
"html_url": "https://github.com/NVIDIA/NeMo/pull/8486",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/8486.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/8486.patch",
"merged_at": "2024-02-22T21:19:05"
} |
clean up for specchllm | {
"login": "stevehuang52",
"id": 105218074,
"node_id": "U_kgDOBkWAGg",
"avatar_url": "https://avatars.githubusercontent.com/u/105218074?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stevehuang52",
"html_url": "https://github.com/stevehuang52",
"followers_url": "https://api.github.com/users/stevehuang52/followers",
"following_url": "https://api.github.com/users/stevehuang52/following{/other_user}",
"gists_url": "https://api.github.com/users/stevehuang52/gists{/gist_id}",
"starred_url": "https://api.github.com/users/stevehuang52/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/stevehuang52/subscriptions",
"organizations_url": "https://api.github.com/users/stevehuang52/orgs",
"repos_url": "https://api.github.com/users/stevehuang52/repos",
"events_url": "https://api.github.com/users/stevehuang52/events{/privacy}",
"received_events_url": "https://api.github.com/users/stevehuang52/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/8486/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/8486/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/8485 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/8485/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/8485/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/8485/events | https://github.com/NVIDIA/NeMo/issues/8485 | 2,149,651,042 | I_kwDOC_bI7s6AIRJi | 8,485 | fastconformer collapse after some improvment, seems to be irrelevant on the amount of data. | {
"login": "orena1",
"id": 8983713,
"node_id": "MDQ6VXNlcjg5ODM3MTM=",
"avatar_url": "https://avatars.githubusercontent.com/u/8983713?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/orena1",
"html_url": "https://github.com/orena1",
"followers_url": "https://api.github.com/users/orena1/followers",
"following_url": "https://api.github.com/users/orena1/following{/other_user}",
"gists_url": "https://api.github.com/users/orena1/gists{/gist_id}",
"starred_url": "https://api.github.com/users/orena1/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/orena1/subscriptions",
"organizations_url": "https://api.github.com/users/orena1/orgs",
"repos_url": "https://api.github.com/users/orena1/repos",
"events_url": "https://api.github.com/users/orena1/events{/privacy}",
"received_events_url": "https://api.github.com/users/orena1/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"id": 1485815557,
"node_id": "MDU6TGFiZWwxNDg1ODE1NTU3",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": "Something isn't working"
},
{
"id": 4585431311,
"node_id": "LA_kwDOC_bI7s8AAAABEVAhDw",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/stale",
"name": "stale",
"color": "ededed",
"default": false,
"description": null
}
] | closed | false | null | [] | null | [
"What batch size are you using for training ? Can you try grad accumulation to make your global batch size at least 128 ?",
"Thanks @titu1994 , I am using:\r\naccumulate_grad_batches=18\r\nbatch_size=15\r\n2 GPUs.\r\n So if I understand correctly, the global batch size = 18 * 15 * 2 = 540, right?",
"Yes that much should be enough. It seems you're training from scratch, can you use a higher learning rate of 0.001 and see if it's learning something useful? \r\n\r\nBoth plots above are just learning blank tokens, nothing more ",
"> Yes that much should be enough. It seems you're training from scratch, can you use a higher learning rate of 0.001 and see if it's learning something useful?\r\n\r\nYeah, I train from scratch this is an essential for the project.\r\nI'll try, I actually only tried to reduce the learning rate, not increase it.\r\n\r\n> Both plots above are just learning blank tokens, nothing more\r\n\r\nWhat do you mean, I do have some good predictions in the logs, maybe I am missing something:\r\n```\r\n[NeMo I 2024-02-22 00:35:33 wer:319] reference:i have a strong feeling about this meeting\r\n[NeMo I 2024-02-22 00:35:33 wer:320] predicted:i have a strong feeling about this meeting\r\n\r\n[NeMo I 2024-02-22 00:35:36 wer:319] reference:where can i find gifts for my daughter near by\r\n[NeMo I 2024-02-22 00:35:36 wer:320] predicted:onhe day fi so duhter near by\r\n\r\n[NeMo I 2024-02-22 00:35:41 wer:319] reference:come on mia follow me he said\r\n[NeMo I 2024-02-22 00:35:41 wer:320] predicted:em ci said\r\n```\r\n\r\nThanks a lot for your help @titu1994 ! I would appreciate any other ideas that you have.\r\n",
"Your training batch wer is ~ 1, that would mean your model is learning nothing yet other than blank tokens. The text here - is it from later in training ?",
"Thanks @titu1994 I do manage to get some better results, but after some training the model just collapses:\r\n<img width=\"438\" alt=\"image\" src=\"https://github.com/NVIDIA/NeMo/assets/8983713/f0c20ab5-31d4-4958-ab67-ecc2c1360a26\">\r\n\r\nFunny thing is that it depends on luck, some time if I resume from a previous checkpoint the model sometimes manage to continue converging (and then maybe collapse again and I try to continue from checkpoint once more).\r\n<img width=\"461\" alt=\"image\" src=\"https://github.com/NVIDIA/NeMo/assets/8983713/c9ce2239-7566-4ede-ae83-ba3f84f1b2c3\">\r\nanything that I can add to increase stability ?\r\nThanks",
"This issue is stale because it has been open for 30 days with no activity. Remove stale label or comment or this will be closed in 7 days.",
"This issue was closed because it has been inactive for 7 days since being marked as stale."
] | 2024-02-22T18:12:25 | 2024-04-06T01:44:00 | 2024-04-06T01:44:00 | CONTRIBUTOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | **Describe the bug**
I'm trying to train a fastconformer model from scratch, I did manage to overfit for a small dataset, but it diverges for the full dataset, when I try a smaller dataset (30%) of the large it also diverges in what seems to be the exact same time:
<img width="614" alt="image" src="https://github.com/NVIDIA/NeMo/assets/8983713/1f955fd1-95f8-4505-b3db-ef3e4870dc8b">
<img width="614" alt="image" src="https://github.com/NVIDIA/NeMo/assets/8983713/7c447a33-5a72-4c5f-9b4e-af502e071520">
I've tried to lower the learning rate, but then the model just does not improve at all, the amount of data is about 1k-2k hours. I've also tried with 32bit, it did not help.
Happy to hear if you have any intuition of what could help.
**Steps/Code to reproduce bug**
Here is the config file:
```
model:
sample_rate: 16000
log_prediction: true
ctc_reduction: mean_volume
skip_nan_grad: false
train_ds:
manifest_filepath: PATH
sample_rate: ${model.sample_rate}
batch_size: 15
shuffle: true
num_workers: 8
pin_memory: true
max_duration: 16.7
min_duration: 0.1
is_tarred: false
tarred_audio_filepaths: null
shuffle_n: 2048
bucketing_strategy: fully_randomized
bucketing_batch_size: null
normalize_overtime: false
mean_overtime: false
validation_ds:
ds_item:
- name: SILENT_GIP_inset
manifest_filepath: PATH
sample_rate: ${model.sample_rate}
batch_size: ${model.train_ds.batch_size}
use_start_end_token: false
num_workers: 8
pin_memory: true
max_duration: 16.7
min_duration: 0.1
tokenizer:
dir: /PATH/tokenizer_spe_bpe_v128
type: bpe
preprocessor:
_target_: nemo.collections.asr.modules.AudioToMelSpectrogramPreprocessor
sample_rate: ${model.sample_rate}
normalize: "per_feature"
window_size: 0.025
window_stride: 0.01
window: "hann"
features: 80
n_fft: 512
log: true
frame_splicing: 1
dither: 0.00001
pad_to: 0
pad_value: 0.0
encoder:
_target_: nemo.collections.asr.modules.ConformerEncoder
feat_in: ${model.preprocessor.embedding_dim}
feat_out: -1
n_layers: 18
d_model: 512
subsampling: dw_striding
subsampling_factor: 4
subsampling_conv_channels: 256
causal_downsampling: false
subsampling_input_channels: 1
ff_expansion_factor: 4
self_attention_model: rel_pos
n_heads: 8
att_context_size:
- -1
- -1
att_context_style: regular
xscaling: true
untie_biases: true
pos_emb_max_len: 5000
conv_kernel_size: 9
conv_norm_type: batch_norm
conv_context_size: null
dropout: 0.1
dropout_pre_encoder: 0.1
dropout_emb: 0.0
dropout_att: 0.1
stochastic_depth_drop_prob: 0.0
stochastic_depth_mode: linear
stochastic_depth_start_layer: 1
decoder:
_target_: nemo.collections.asr.modules.ConvASRDecoder
feat_in: null
num_classes: -1
vocabulary: []
interctc:
loss_weights: []
apply_at_layers: []
optim:
name: adamw
lr: 0.0003
betas:
- 0.9
- 0.999
weight_decay: 0
sched:
name: CosineAnnealing
warmup_steps: 15000
warmup_ratio: null
min_lr: 2.9999999999999997e-05
trainer:
devices:
- 0
- 1
num_nodes: 1
max_epochs: 40
max_steps: -1
val_check_interval: 1.0
accelerator: gpu
strategy: ddp
accumulate_grad_batches: 18
gradient_clip_val: 0.0
precision: bf16
log_every_n_steps: 10
enable_progress_bar: true
num_sanity_val_steps: 0
check_val_every_n_epoch: 1
sync_batchnorm: true
enable_checkpointing: false
logger: false
benchmark: false
exp_manager:
exp_dir: /.../nemo_experiments
name: ${name}
create_tensorboard_logger: true
create_checkpoint_callback: true
checkpoint_callback_params:
monitor: val_wer
mode: min
save_top_k: 5
always_save_nemo: true
resume_from_checkpoint: null
resume_if_exists: false
resume_ignore_no_checkpoint: false
create_wandb_logger: true
```
**Environment overview (please complete the following information)**
- Environment location: Bare-metal
- Method of NeMo install: `git clone & pip install requirements`
**Environment details**
If NVIDIA docker image is used you don't need to specify these.
Otherwise, please provide:
- OS version:
Linux
- PyTorch version
```
In [3]: torch.__version__
Out[3]: '2.2.0'```
- Python version
`Python 3.10.12`
2x4090
| {
"login": "github-actions[bot]",
"id": 41898282,
"node_id": "MDM6Qm90NDE4OTgyODI=",
"avatar_url": "https://avatars.githubusercontent.com/in/15368?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/github-actions%5Bbot%5D",
"html_url": "https://github.com/apps/github-actions",
"followers_url": "https://api.github.com/users/github-actions%5Bbot%5D/followers",
"following_url": "https://api.github.com/users/github-actions%5Bbot%5D/following{/other_user}",
"gists_url": "https://api.github.com/users/github-actions%5Bbot%5D/gists{/gist_id}",
"starred_url": "https://api.github.com/users/github-actions%5Bbot%5D/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/github-actions%5Bbot%5D/subscriptions",
"organizations_url": "https://api.github.com/users/github-actions%5Bbot%5D/orgs",
"repos_url": "https://api.github.com/users/github-actions%5Bbot%5D/repos",
"events_url": "https://api.github.com/users/github-actions%5Bbot%5D/events{/privacy}",
"received_events_url": "https://api.github.com/users/github-actions%5Bbot%5D/received_events",
"type": "Bot",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/8485/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/8485/timeline | null | not_planned | false |
https://api.github.com/repos/NVIDIA/NeMo/issues/8484 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/8484/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/8484/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/8484/events | https://github.com/NVIDIA/NeMo/pull/8484 | 2,149,283,394 | PR_kwDOC_bI7s5nqKq4 | 8,484 | Add audio codec models | {
"login": "nithinraok",
"id": 19668129,
"node_id": "MDQ6VXNlcjE5NjY4MTI5",
"avatar_url": "https://avatars.githubusercontent.com/u/19668129?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/nithinraok",
"html_url": "https://github.com/nithinraok",
"followers_url": "https://api.github.com/users/nithinraok/followers",
"following_url": "https://api.github.com/users/nithinraok/following{/other_user}",
"gists_url": "https://api.github.com/users/nithinraok/gists{/gist_id}",
"starred_url": "https://api.github.com/users/nithinraok/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/nithinraok/subscriptions",
"organizations_url": "https://api.github.com/users/nithinraok/orgs",
"repos_url": "https://api.github.com/users/nithinraok/repos",
"events_url": "https://api.github.com/users/nithinraok/events{/privacy}",
"received_events_url": "https://api.github.com/users/nithinraok/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"id": 4418253970,
"node_id": "LA_kwDOC_bI7s8AAAABB1k0kg",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/TTS",
"name": "TTS",
"color": "49AF28",
"default": false,
"description": ""
}
] | closed | false | null | [] | null | [
"jenkins",
"jenkins",
"jenkins",
"jenkins"
] | 2024-02-22T15:04:51 | 2024-02-29T17:47:06 | 2024-02-29T17:47:05 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/8484",
"html_url": "https://github.com/NVIDIA/NeMo/pull/8484",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/8484.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/8484.patch",
"merged_at": "2024-02-29T17:47:05"
} | # What does this PR do ?
Add NeMo Audio Codec Models to the collection
**Collection**: [TTS]
# Changelog
- Add audio codec 16kHz config
- Add NGC model to pretrained list
# Usage
### Automatically load the model from NGC
```python
from nemo.collections.tts.models import AudioCodecModel
nemo_codec_model = AudioCodecModel.from_pretrained('audio_codec_16khz_small')
```
### Getting discrete tokens from Audio
```python
import librosa
import torch
audio,sr = librosa.load("<path_to_audio>", sr=16000)
device = 'cuda' if torch.cuda.is_available() else 'cpu'
audio_tensor = torch.from_numpy(audio).unsqueeze(dim=0).to(device)
audio_len = torch.tensor([audio_tensor[0].shape[0]]).to(device)
nemo_codec_model.freeze()
encoded_tokens, encoded_len = nemo_codec_model.encode(audio=audio_tensor, audio_len=audio_len)
```
### Reconstructing audio from discrete tokens
```python
reconstructed_audio = nemo_codec_model.decode(tokens=encoded_tokens, tokens_len=encoded_len)
```
### Listen to audio
```python
import soundfile as sf
output_audio = reconstructed_audio.cpu().numpy()[0]
sf.write(<path_to_output_audio>, output_audio, samplerate=16000)
```
# Jenkins CI
To run Jenkins, a NeMo User with write access must comment `jenkins` on the PR.
# Before your PR is "Ready for review"
**Pre checks**:
- [ ] Make sure you read and followed [Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md)
- [ ] Did you write any new necessary tests?
- [ ] Did you add or update any necessary documentation?
- [ ] Does the PR affect components that are optional to install? (Ex: Numba, Pynini, Apex etc)
- [ ] Reviewer: Does the PR have correct import guards for all optional libraries?
**PR Type**:
- [x] New Feature
- [ ] Bugfix
- [ ] Documentation
| {
"login": "nithinraok",
"id": 19668129,
"node_id": "MDQ6VXNlcjE5NjY4MTI5",
"avatar_url": "https://avatars.githubusercontent.com/u/19668129?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/nithinraok",
"html_url": "https://github.com/nithinraok",
"followers_url": "https://api.github.com/users/nithinraok/followers",
"following_url": "https://api.github.com/users/nithinraok/following{/other_user}",
"gists_url": "https://api.github.com/users/nithinraok/gists{/gist_id}",
"starred_url": "https://api.github.com/users/nithinraok/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/nithinraok/subscriptions",
"organizations_url": "https://api.github.com/users/nithinraok/orgs",
"repos_url": "https://api.github.com/users/nithinraok/repos",
"events_url": "https://api.github.com/users/nithinraok/events{/privacy}",
"received_events_url": "https://api.github.com/users/nithinraok/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/8484/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/8484/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/8483 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/8483/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/8483/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/8483/events | https://github.com/NVIDIA/NeMo/pull/8483 | 2,148,743,222 | PR_kwDOC_bI7s5noTcX | 8,483 | add alpha scaling to lora | {
"login": "michal2409",
"id": 14821051,
"node_id": "MDQ6VXNlcjE0ODIxMDUx",
"avatar_url": "https://avatars.githubusercontent.com/u/14821051?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/michal2409",
"html_url": "https://github.com/michal2409",
"followers_url": "https://api.github.com/users/michal2409/followers",
"following_url": "https://api.github.com/users/michal2409/following{/other_user}",
"gists_url": "https://api.github.com/users/michal2409/gists{/gist_id}",
"starred_url": "https://api.github.com/users/michal2409/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/michal2409/subscriptions",
"organizations_url": "https://api.github.com/users/michal2409/orgs",
"repos_url": "https://api.github.com/users/michal2409/repos",
"events_url": "https://api.github.com/users/michal2409/events{/privacy}",
"received_events_url": "https://api.github.com/users/michal2409/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"id": 1923495043,
"node_id": "MDU6TGFiZWwxOTIzNDk1MDQz",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/core",
"name": "core",
"color": "f25e3a",
"default": false,
"description": "Changes to NeMo Core"
},
{
"id": 4418253970,
"node_id": "LA_kwDOC_bI7s8AAAABB1k0kg",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/TTS",
"name": "TTS",
"color": "49AF28",
"default": false,
"description": ""
},
{
"id": 4811884691,
"node_id": "LA_kwDOC_bI7s8AAAABHs-Ikw",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/ASR",
"name": "ASR",
"color": "F3B33E",
"default": false,
"description": ""
},
{
"id": 4811886210,
"node_id": "LA_kwDOC_bI7s8AAAABHs-Ogg",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/NLP",
"name": "NLP",
"color": "CBF09A",
"default": false,
"description": ""
},
{
"id": 4840216855,
"node_id": "LA_kwDOC_bI7s8AAAABIH_ZFw",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/CI",
"name": "CI",
"color": "1D76DB",
"default": false,
"description": ""
},
{
"id": 4847373924,
"node_id": "LA_kwDOC_bI7s8AAAABIO0OZA",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/common",
"name": "common",
"color": "c5def5",
"default": false,
"description": ""
}
] | closed | false | null | [] | null | [
"jenkins"
] | 2024-02-22T10:33:39 | 2024-02-23T12:16:21 | 2024-02-23T12:16:21 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/8483",
"html_url": "https://github.com/NVIDIA/NeMo/pull/8483",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/8483.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/8483.patch",
"merged_at": "2024-02-23T12:16:21"
} | # What does this PR do ?
Add a one line overview of what this PR aims to accomplish.
**Collection**: [Note which collection this PR will affect]
# Changelog
- Add specific line by line info of high level changes in this PR.
# Usage
* You can potentially add a usage example below
```python
# Add a code snippet demonstrating how to use this
```
# Jenkins CI
To run Jenkins, a NeMo User with write access must comment `jenkins` on the PR.
# Before your PR is "Ready for review"
**Pre checks**:
- [ ] Make sure you read and followed [Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md)
- [ ] Did you write any new necessary tests?
- [ ] Did you add or update any necessary documentation?
- [ ] Does the PR affect components that are optional to install? (Ex: Numba, Pynini, Apex etc)
- [ ] Reviewer: Does the PR have correct import guards for all optional libraries?
**PR Type**:
- [ ] New Feature
- [ ] Bugfix
- [ ] Documentation
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](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md) contains specific people who can review PRs to various areas.
# Additional Information
* Related to # (issue)
| {
"login": "michal2409",
"id": 14821051,
"node_id": "MDQ6VXNlcjE0ODIxMDUx",
"avatar_url": "https://avatars.githubusercontent.com/u/14821051?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/michal2409",
"html_url": "https://github.com/michal2409",
"followers_url": "https://api.github.com/users/michal2409/followers",
"following_url": "https://api.github.com/users/michal2409/following{/other_user}",
"gists_url": "https://api.github.com/users/michal2409/gists{/gist_id}",
"starred_url": "https://api.github.com/users/michal2409/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/michal2409/subscriptions",
"organizations_url": "https://api.github.com/users/michal2409/orgs",
"repos_url": "https://api.github.com/users/michal2409/repos",
"events_url": "https://api.github.com/users/michal2409/events{/privacy}",
"received_events_url": "https://api.github.com/users/michal2409/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/8483/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/8483/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/8482 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/8482/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/8482/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/8482/events | https://github.com/NVIDIA/NeMo/pull/8482 | 2,148,265,247 | PR_kwDOC_bI7s5nmrJG | 8,482 | Add settings to suppress bf16 compile errors in CI on V100 | {
"login": "github-actions[bot]",
"id": 41898282,
"node_id": "MDM6Qm90NDE4OTgyODI=",
"avatar_url": "https://avatars.githubusercontent.com/in/15368?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/github-actions%5Bbot%5D",
"html_url": "https://github.com/apps/github-actions",
"followers_url": "https://api.github.com/users/github-actions%5Bbot%5D/followers",
"following_url": "https://api.github.com/users/github-actions%5Bbot%5D/following{/other_user}",
"gists_url": "https://api.github.com/users/github-actions%5Bbot%5D/gists{/gist_id}",
"starred_url": "https://api.github.com/users/github-actions%5Bbot%5D/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/github-actions%5Bbot%5D/subscriptions",
"organizations_url": "https://api.github.com/users/github-actions%5Bbot%5D/orgs",
"repos_url": "https://api.github.com/users/github-actions%5Bbot%5D/repos",
"events_url": "https://api.github.com/users/github-actions%5Bbot%5D/events{/privacy}",
"received_events_url": "https://api.github.com/users/github-actions%5Bbot%5D/received_events",
"type": "Bot",
"user_view_type": "public",
"site_admin": false
} | [
{
"id": 4556669155,
"node_id": "LA_kwDOC_bI7s8AAAABD5lA4w",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/cherry-pick",
"name": "cherry-pick",
"color": "ededed",
"default": false,
"description": null
},
{
"id": 4811886210,
"node_id": "LA_kwDOC_bI7s8AAAABHs-Ogg",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/NLP",
"name": "NLP",
"color": "CBF09A",
"default": false,
"description": ""
}
] | closed | false | null | [] | null | [
"jenkins"
] | 2024-02-22T05:53:34 | 2024-02-22T17:35:37 | 2024-02-22T17:35:36 | CONTRIBUTOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/8482",
"html_url": "https://github.com/NVIDIA/NeMo/pull/8482",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/8482.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/8482.patch",
"merged_at": "2024-02-22T17:35:36"
} | # What does this PR do ?
Add a one line overview of what this PR aims to accomplish.
**Collection**: [Note which collection this PR will affect]
# Changelog
- Add specific line by line info of high level changes in this PR.
# Usage
* You can potentially add a usage example below
```python
# Add a code snippet demonstrating how to use this
```
# Jenkins CI
To run Jenkins, a NeMo User with write access must comment `jenkins` on the PR.
# Before your PR is "Ready for review"
**Pre checks**:
- [ ] Make sure you read and followed [Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md)
- [ ] Did you write any new necessary tests?
- [ ] Did you add or update any necessary documentation?
- [ ] Does the PR affect components that are optional to install? (Ex: Numba, Pynini, Apex etc)
- [ ] Reviewer: Does the PR have correct import guards for all optional libraries?
**PR Type**:
- [ ] New Feature
- [ ] Bugfix
- [ ] Documentation
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](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md) contains specific people who can review PRs to various areas.
# Additional Information
* Related to # (issue)
| {
"login": "ericharper",
"id": 11999610,
"node_id": "MDQ6VXNlcjExOTk5NjEw",
"avatar_url": "https://avatars.githubusercontent.com/u/11999610?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ericharper",
"html_url": "https://github.com/ericharper",
"followers_url": "https://api.github.com/users/ericharper/followers",
"following_url": "https://api.github.com/users/ericharper/following{/other_user}",
"gists_url": "https://api.github.com/users/ericharper/gists{/gist_id}",
"starred_url": "https://api.github.com/users/ericharper/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ericharper/subscriptions",
"organizations_url": "https://api.github.com/users/ericharper/orgs",
"repos_url": "https://api.github.com/users/ericharper/repos",
"events_url": "https://api.github.com/users/ericharper/events{/privacy}",
"received_events_url": "https://api.github.com/users/ericharper/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/8482/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/8482/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/8481 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/8481/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/8481/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/8481/events | https://github.com/NVIDIA/NeMo/pull/8481 | 2,147,877,541 | PR_kwDOC_bI7s5nlXRE | 8,481 | Add settings to suppress bf16 compile errors in CI on V100 | {
"login": "athitten",
"id": 47577437,
"node_id": "MDQ6VXNlcjQ3NTc3NDM3",
"avatar_url": "https://avatars.githubusercontent.com/u/47577437?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/athitten",
"html_url": "https://github.com/athitten",
"followers_url": "https://api.github.com/users/athitten/followers",
"following_url": "https://api.github.com/users/athitten/following{/other_user}",
"gists_url": "https://api.github.com/users/athitten/gists{/gist_id}",
"starred_url": "https://api.github.com/users/athitten/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/athitten/subscriptions",
"organizations_url": "https://api.github.com/users/athitten/orgs",
"repos_url": "https://api.github.com/users/athitten/repos",
"events_url": "https://api.github.com/users/athitten/events{/privacy}",
"received_events_url": "https://api.github.com/users/athitten/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"id": 4811886210,
"node_id": "LA_kwDOC_bI7s8AAAABHs-Ogg",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/NLP",
"name": "NLP",
"color": "CBF09A",
"default": false,
"description": ""
}
] | closed | false | null | [] | null | [
"jenkins",
"jenkins",
"jenkins"
] | 2024-02-21T23:21:07 | 2024-02-22T05:53:12 | 2024-02-22T05:53:11 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/8481",
"html_url": "https://github.com/NVIDIA/NeMo/pull/8481",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/8481.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/8481.patch",
"merged_at": "2024-02-22T05:53:11"
} | # What does this PR do ?
Add a one line overview of what this PR aims to accomplish.
**Collection**: [Note which collection this PR will affect]
# Changelog
- Add specific line by line info of high level changes in this PR.
# Usage
* You can potentially add a usage example below
```python
# Add a code snippet demonstrating how to use this
```
# Jenkins CI
To run Jenkins, a NeMo User with write access must comment `jenkins` on the PR.
# Before your PR is "Ready for review"
**Pre checks**:
- [ ] Make sure you read and followed [Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md)
- [ ] Did you write any new necessary tests?
- [ ] Did you add or update any necessary documentation?
- [ ] Does the PR affect components that are optional to install? (Ex: Numba, Pynini, Apex etc)
- [ ] Reviewer: Does the PR have correct import guards for all optional libraries?
**PR Type**:
- [ ] New Feature
- [ ] Bugfix
- [ ] Documentation
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](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md) contains specific people who can review PRs to various areas.
# Additional Information
* Related to # (issue)
| {
"login": "ericharper",
"id": 11999610,
"node_id": "MDQ6VXNlcjExOTk5NjEw",
"avatar_url": "https://avatars.githubusercontent.com/u/11999610?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ericharper",
"html_url": "https://github.com/ericharper",
"followers_url": "https://api.github.com/users/ericharper/followers",
"following_url": "https://api.github.com/users/ericharper/following{/other_user}",
"gists_url": "https://api.github.com/users/ericharper/gists{/gist_id}",
"starred_url": "https://api.github.com/users/ericharper/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ericharper/subscriptions",
"organizations_url": "https://api.github.com/users/ericharper/orgs",
"repos_url": "https://api.github.com/users/ericharper/repos",
"events_url": "https://api.github.com/users/ericharper/events{/privacy}",
"received_events_url": "https://api.github.com/users/ericharper/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/8481/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/8481/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/8480 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/8480/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/8480/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/8480/events | https://github.com/NVIDIA/NeMo/pull/8480 | 2,147,847,983 | PR_kwDOC_bI7s5nlQ8P | 8,480 | Fix PTL2.2 saving multiple `*-last.ckpt` checkpoints in resumed training | {
"login": "stevehuang52",
"id": 105218074,
"node_id": "U_kgDOBkWAGg",
"avatar_url": "https://avatars.githubusercontent.com/u/105218074?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stevehuang52",
"html_url": "https://github.com/stevehuang52",
"followers_url": "https://api.github.com/users/stevehuang52/followers",
"following_url": "https://api.github.com/users/stevehuang52/following{/other_user}",
"gists_url": "https://api.github.com/users/stevehuang52/gists{/gist_id}",
"starred_url": "https://api.github.com/users/stevehuang52/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/stevehuang52/subscriptions",
"organizations_url": "https://api.github.com/users/stevehuang52/orgs",
"repos_url": "https://api.github.com/users/stevehuang52/repos",
"events_url": "https://api.github.com/users/stevehuang52/events{/privacy}",
"received_events_url": "https://api.github.com/users/stevehuang52/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"id": 1923495043,
"node_id": "MDU6TGFiZWwxOTIzNDk1MDQz",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/core",
"name": "core",
"color": "f25e3a",
"default": false,
"description": "Changes to NeMo Core"
}
] | closed | false | null | [] | null | [
"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.",
"@stevehuang52 this problem basically happens when we try to resume 2nd time right ? ",
"> @stevehuang52 this problem basically happens when we try to resume 2nd time right ?\r\n\r\n@athitten Yes, it happens when we resume for the 2nd time, the first resume is fine",
"jenkins",
"jenkins",
"jenkins",
"jenkins",
"@athitten seems that Jenkins passed without issues. Could you please review the PR again and see if there's other changes or tests needed? Thanks~"
] | 2024-02-21T22:51:14 | 2024-03-23T03:14:17 | 2024-03-23T03:14:16 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/8480",
"html_url": "https://github.com/NVIDIA/NeMo/pull/8480",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/8480.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/8480.patch",
"merged_at": "2024-03-23T03:14:16"
} | # What does this PR do ?
Fix PTL2.2 saving multiple `*-last.ckpt` checkpoints in resumed training.
In current PTL2.2 [model_checkpoint.py](https://github.com/Lightning-AI/pytorch-lightning/blob/master/src/lightning/pytorch/callbacks/model_checkpoint.py#L783), it doesn't delete the previous `*-last.ckpt` checkpoint that the model was resumed on when saving a new `*-last.ckpt` checkpoint, which results in multiple checkpoints. This will cause errors of "multiple *-last.ckpt checkpoints" when trying to resume from a previous job.
The fix is to check whether the checkpoint to be saved is also a `-last.ckpt` checkpoint. If it is, delete the previous `-last.ckpt` if they are under the same directory.
**PR Type**:
- [ ] New Feature
- [x] Bugfix
- [ ] Documentation
| {
"login": "athitten",
"id": 47577437,
"node_id": "MDQ6VXNlcjQ3NTc3NDM3",
"avatar_url": "https://avatars.githubusercontent.com/u/47577437?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/athitten",
"html_url": "https://github.com/athitten",
"followers_url": "https://api.github.com/users/athitten/followers",
"following_url": "https://api.github.com/users/athitten/following{/other_user}",
"gists_url": "https://api.github.com/users/athitten/gists{/gist_id}",
"starred_url": "https://api.github.com/users/athitten/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/athitten/subscriptions",
"organizations_url": "https://api.github.com/users/athitten/orgs",
"repos_url": "https://api.github.com/users/athitten/repos",
"events_url": "https://api.github.com/users/athitten/events{/privacy}",
"received_events_url": "https://api.github.com/users/athitten/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/8480/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/8480/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/8479 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/8479/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/8479/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/8479/events | https://github.com/NVIDIA/NeMo/pull/8479 | 2,147,831,273 | PR_kwDOC_bI7s5nlNTY | 8,479 | PEFT better error message and doc | {
"login": "cuichenx",
"id": 43478052,
"node_id": "MDQ6VXNlcjQzNDc4MDUy",
"avatar_url": "https://avatars.githubusercontent.com/u/43478052?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/cuichenx",
"html_url": "https://github.com/cuichenx",
"followers_url": "https://api.github.com/users/cuichenx/followers",
"following_url": "https://api.github.com/users/cuichenx/following{/other_user}",
"gists_url": "https://api.github.com/users/cuichenx/gists{/gist_id}",
"starred_url": "https://api.github.com/users/cuichenx/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cuichenx/subscriptions",
"organizations_url": "https://api.github.com/users/cuichenx/orgs",
"repos_url": "https://api.github.com/users/cuichenx/repos",
"events_url": "https://api.github.com/users/cuichenx/events{/privacy}",
"received_events_url": "https://api.github.com/users/cuichenx/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"id": 4811886210,
"node_id": "LA_kwDOC_bI7s8AAAABHs-Ogg",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/NLP",
"name": "NLP",
"color": "CBF09A",
"default": false,
"description": ""
}
] | closed | false | null | [] | null | [
"jenkins",
"jenkins",
"jenkins"
] | 2024-02-21T22:37:27 | 2024-03-02T01:19:08 | 2024-03-02T01:19:07 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/8479",
"html_url": "https://github.com/NVIDIA/NeMo/pull/8479",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/8479.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/8479.patch",
"merged_at": "2024-03-02T01:19:07"
} | # What does this PR do ?
PEFT better error message and doc
**Collection**: NLP
# Changelog
- Better error message for setting `packed_sequence` to True but using an unpacked dataset
- Better error message for using a different TP value for PEFT evaluation from training
- Documentation for using `megatron_gpt_generate.py` on a pretrained base model
# Usage
* You can potentially add a usage example below
```python
# Add a code snippet demonstrating how to use this
```
# Jenkins CI
To run Jenkins, a NeMo User with write access must comment `jenkins` on the PR.
# Before your PR is "Ready for review"
**Pre checks**:
- [ ] Make sure you read and followed [Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md)
- [ ] Did you write any new necessary tests?
- [ ] Did you add or update any necessary documentation?
- [ ] Does the PR affect components that are optional to install? (Ex: Numba, Pynini, Apex etc)
- [ ] Reviewer: Does the PR have correct import guards for all optional libraries?
**PR Type**:
- [ ] New Feature
- [ ] Bugfix
- [x] Documentation
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](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md) contains specific people who can review PRs to various areas.
# Additional Information
* Related to # (issue)
| {
"login": "yaoyu-33",
"id": 54727607,
"node_id": "MDQ6VXNlcjU0NzI3NjA3",
"avatar_url": "https://avatars.githubusercontent.com/u/54727607?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yaoyu-33",
"html_url": "https://github.com/yaoyu-33",
"followers_url": "https://api.github.com/users/yaoyu-33/followers",
"following_url": "https://api.github.com/users/yaoyu-33/following{/other_user}",
"gists_url": "https://api.github.com/users/yaoyu-33/gists{/gist_id}",
"starred_url": "https://api.github.com/users/yaoyu-33/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/yaoyu-33/subscriptions",
"organizations_url": "https://api.github.com/users/yaoyu-33/orgs",
"repos_url": "https://api.github.com/users/yaoyu-33/repos",
"events_url": "https://api.github.com/users/yaoyu-33/events{/privacy}",
"received_events_url": "https://api.github.com/users/yaoyu-33/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/8479/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/8479/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/8478 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/8478/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/8478/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/8478/events | https://github.com/NVIDIA/NeMo/pull/8478 | 2,147,714,298 | PR_kwDOC_bI7s5nk0Ho | 8,478 | Update k2 version | {
"login": "artbataev",
"id": 9380560,
"node_id": "MDQ6VXNlcjkzODA1NjA=",
"avatar_url": "https://avatars.githubusercontent.com/u/9380560?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/artbataev",
"html_url": "https://github.com/artbataev",
"followers_url": "https://api.github.com/users/artbataev/followers",
"following_url": "https://api.github.com/users/artbataev/following{/other_user}",
"gists_url": "https://api.github.com/users/artbataev/gists{/gist_id}",
"starred_url": "https://api.github.com/users/artbataev/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/artbataev/subscriptions",
"organizations_url": "https://api.github.com/users/artbataev/orgs",
"repos_url": "https://api.github.com/users/artbataev/repos",
"events_url": "https://api.github.com/users/artbataev/events{/privacy}",
"received_events_url": "https://api.github.com/users/artbataev/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | [
"jenkins",
"jenkins",
"@GNroy FYI: I am able to build a container from `nvcr.io/nvidia/pytorch:23.09-py3` using this commit, but `nvcr.io/nvidia/pytorch:23.10-py3` and higher fails.\r\nLocally I can install k2 with pytorch 2.2 (compiled with Cuda 12.1)"
] | 2024-02-21T21:07:04 | 2024-02-23T08:07:00 | 2024-02-23T08:06:59 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/8478",
"html_url": "https://github.com/NVIDIA/NeMo/pull/8478",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/8478.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/8478.patch",
"merged_at": "2024-02-23T08:06:59"
} | # What does this PR do ?
Add a one line overview of what this PR aims to accomplish.
**Collection**: [Note which collection this PR will affect]
# Changelog
- Add specific line by line info of high level changes in this PR.
# Usage
* You can potentially add a usage example below
```python
# Add a code snippet demonstrating how to use this
```
# Jenkins CI
To run Jenkins, a NeMo User with write access must comment `jenkins` on the PR.
# Before your PR is "Ready for review"
**Pre checks**:
- [x] Make sure you read and followed [Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md)
- [ ] Did you write any new necessary tests?
- [ ] Did you add or update any necessary documentation?
- [x] Does the PR affect components that are optional to install? (Ex: Numba, Pynini, Apex etc)
- [ ] Reviewer: Does the PR have correct import guards for all optional libraries?
**PR Type**:
- [ ] New Feature
- [x] Bugfix
- [ ] Documentation
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](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md) contains specific people who can review PRs to various areas.
# Additional Information
* Related to # (issue)
| {
"login": "artbataev",
"id": 9380560,
"node_id": "MDQ6VXNlcjkzODA1NjA=",
"avatar_url": "https://avatars.githubusercontent.com/u/9380560?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/artbataev",
"html_url": "https://github.com/artbataev",
"followers_url": "https://api.github.com/users/artbataev/followers",
"following_url": "https://api.github.com/users/artbataev/following{/other_user}",
"gists_url": "https://api.github.com/users/artbataev/gists{/gist_id}",
"starred_url": "https://api.github.com/users/artbataev/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/artbataev/subscriptions",
"organizations_url": "https://api.github.com/users/artbataev/orgs",
"repos_url": "https://api.github.com/users/artbataev/repos",
"events_url": "https://api.github.com/users/artbataev/events{/privacy}",
"received_events_url": "https://api.github.com/users/artbataev/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/8478/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/8478/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/8477 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/8477/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/8477/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/8477/events | https://github.com/NVIDIA/NeMo/pull/8477 | 2,147,633,050 | PR_kwDOC_bI7s5nkh8K | 8,477 | Lhotse AudioToAudio dataset (supports ref recording and embedding) | {
"login": "pzelasko",
"id": 15930688,
"node_id": "MDQ6VXNlcjE1OTMwNjg4",
"avatar_url": "https://avatars.githubusercontent.com/u/15930688?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/pzelasko",
"html_url": "https://github.com/pzelasko",
"followers_url": "https://api.github.com/users/pzelasko/followers",
"following_url": "https://api.github.com/users/pzelasko/following{/other_user}",
"gists_url": "https://api.github.com/users/pzelasko/gists{/gist_id}",
"starred_url": "https://api.github.com/users/pzelasko/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/pzelasko/subscriptions",
"organizations_url": "https://api.github.com/users/pzelasko/orgs",
"repos_url": "https://api.github.com/users/pzelasko/repos",
"events_url": "https://api.github.com/users/pzelasko/events{/privacy}",
"received_events_url": "https://api.github.com/users/pzelasko/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"id": 4585431311,
"node_id": "LA_kwDOC_bI7s8AAAABEVAhDw",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/stale",
"name": "stale",
"color": "ededed",
"default": false,
"description": null
},
{
"id": 4811884691,
"node_id": "LA_kwDOC_bI7s8AAAABHs-Ikw",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/ASR",
"name": "ASR",
"color": "F3B33E",
"default": false,
"description": ""
},
{
"id": 4847373924,
"node_id": "LA_kwDOC_bI7s8AAAABIO0OZA",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/common",
"name": "common",
"color": "c5def5",
"default": false,
"description": ""
}
] | closed | false | null | [] | null | [
"~Note: requires some fixes in lhotse, will bump the requirements as soon as I release it.~ EDIT: done",
"jenkins",
"jenkins",
"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 was closed because it has been inactive for 7 days since being marked as stale.",
"jenkins",
"jenkins",
"jenkins",
"jenkins",
"jenkins",
"jenkins",
"jenkins",
"Everything passed in jenkins, merging"
] | 2024-02-21T20:24:27 | 2024-04-16T17:56:18 | 2024-04-16T17:55:51 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/8477",
"html_url": "https://github.com/NVIDIA/NeMo/pull/8477",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/8477.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/8477.patch",
"merged_at": "2024-04-16T17:55:51"
} | # What does this PR do ?
We're adding several features to enable audio-to-audio dataloading:
* Conversion script from NeMo audio-to-audio manifests to Lhotse format
* Audio-to-audio Lhotse dataset (covers a2a, a2a with reference and a2a with embedding cases)
* Auto-supports Lhotse Shar (tarred) format for audio-to-audio
* Options to cut/truncate examples into smaller chunks on the fly
**Collection**: All speech collections
# Changelog
* Conversion script from NeMo audio-to-audio manifests to Lhotse format
* Audio-to-audio Lhotse dataset (covers a2a, a2a with reference and a2a with embedding cases)
* Auto-supports Lhotse Shar (tarred) format for audio-to-audio
* Options to cut/truncate examples into smaller chunks on the fly
# Usage
Generally the workflow to use this is as follows:
```bash
# First convert NeMo manifest to Lhotse:
python scripts/audio_to_audio/convert_nemo_to_lhotse.py \
nemo_manifest.json \
lhotse_manifest.jsonl.gz \
-i input_filepath \
-t target_filepath
# Then, convert to Lhotse Shar (tarred) format
# Meaning of args:
# -j4 is 4 jobs
# -s 100 is the shard size
# -c specifies custom fields we want to export and their format, see lhotse shar export --help
lhotse shar export \
-j4 -v -s 100 \
-a flac \
-c target_recording:flac \
lhotse.jsonl.gz \
data_shar
```
Then you can instantiate the dataloader like the following:
```python
from omegaconf import OmegaConf
from nemo.collections.common.data.lhotse import get_lhotse_dataloader_from_config
from nemo.collections.asr.data.audio_to_audio_lhotse import LhotseAudioToTargetDataset
config = {
'shar_path': 'data_shar',
'sample_rate': 16000,
'batch_duration': 100,
'use_bucketing': True,
'num_buckets': 2,
}
dl = get_lhotse_dataloader_from_config(
OmegaConf.create(config), global_rank=0, world_size=1, dataset=LhotseAudioToTargetDataset()
)
```
# Jenkins CI
To run Jenkins, a NeMo User with write access must comment `jenkins` on the PR.
# Before your PR is "Ready for review"
**Pre checks**:
- [x] Make sure you read and followed [Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md)
- [x] Did you write any new necessary tests?
- [ ] Did you add or update any necessary documentation?
- [ ] Does the PR affect components that are optional to install? (Ex: Numba, Pynini, Apex etc)
- [ ] Reviewer: Does the PR have correct import guards for all optional libraries?
**PR Type**:
- [x] New Feature
- [ ] Bugfix
- [ ] Documentation
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](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md) contains specific people who can review PRs to various areas.
# Additional Information
* Related to # (issue)
| {
"login": "pzelasko",
"id": 15930688,
"node_id": "MDQ6VXNlcjE1OTMwNjg4",
"avatar_url": "https://avatars.githubusercontent.com/u/15930688?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/pzelasko",
"html_url": "https://github.com/pzelasko",
"followers_url": "https://api.github.com/users/pzelasko/followers",
"following_url": "https://api.github.com/users/pzelasko/following{/other_user}",
"gists_url": "https://api.github.com/users/pzelasko/gists{/gist_id}",
"starred_url": "https://api.github.com/users/pzelasko/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/pzelasko/subscriptions",
"organizations_url": "https://api.github.com/users/pzelasko/orgs",
"repos_url": "https://api.github.com/users/pzelasko/repos",
"events_url": "https://api.github.com/users/pzelasko/events{/privacy}",
"received_events_url": "https://api.github.com/users/pzelasko/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/8477/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/8477/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/8476 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/8476/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/8476/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/8476/events | https://github.com/NVIDIA/NeMo/pull/8476 | 2,147,489,842 | PR_kwDOC_bI7s5nkCMq | 8,476 | Update black to the latest version incrementally | {
"login": "artbataev",
"id": 9380560,
"node_id": "MDQ6VXNlcjkzODA1NjA=",
"avatar_url": "https://avatars.githubusercontent.com/u/9380560?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/artbataev",
"html_url": "https://github.com/artbataev",
"followers_url": "https://api.github.com/users/artbataev/followers",
"following_url": "https://api.github.com/users/artbataev/following{/other_user}",
"gists_url": "https://api.github.com/users/artbataev/gists{/gist_id}",
"starred_url": "https://api.github.com/users/artbataev/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/artbataev/subscriptions",
"organizations_url": "https://api.github.com/users/artbataev/orgs",
"repos_url": "https://api.github.com/users/artbataev/repos",
"events_url": "https://api.github.com/users/artbataev/events{/privacy}",
"received_events_url": "https://api.github.com/users/artbataev/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"id": 4840216855,
"node_id": "LA_kwDOC_bI7s8AAAABIH_ZFw",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/CI",
"name": "CI",
"color": "1D76DB",
"default": false,
"description": ""
}
] | closed | false | null | [] | null | [
"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 was closed because it has been inactive for 7 days since being marked as stale.",
"@titu1994, @ericharper To make this finally work we need a separate token with minimal permissions:\r\n- Read access to metadata\r\n- Read and Write access to actions and code\r\n\r\nThe token will have fewer permissions than the default `GITHUB_TOKEN`, so I do not think that using custom token introduces any new issues.\r\n\r\nThe reason why we need a custom token is that `GITHUB_TOKEN` cannot trigger workflows, see https://github.com/orgs/community/discussions/25702 for details.\r\n\r\nI tested the solution on the separate repository, and everything works (code reformatted, pushed if needed, after push the workflows are triggered).",
"Test changes from fork: #8996 "
] | 2024-02-21T19:04:49 | 2024-05-10T04:05:50 | 2024-05-10T04:05:49 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/8476",
"html_url": "https://github.com/NVIDIA/NeMo/pull/8476",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/8476.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/8476.patch",
"merged_at": "2024-05-10T04:05:49"
} | # What does this PR do?
Update black using incremental changes only for files changed in PRs.
- the `black` package is updated to the latest version
- all collections are excluded, so `black .` will reformat nothing
- it is possible also to exclude collection from the list, once it is reformatted though PRs
- there will be 2 approaches to reformat the files manually:
- pass the file(s) explicitly (e.g., `black my_file.py`)
- use a pre-commit hook
- the automatic reformatting is done by GitHub Actions only for PRs and only for changed files
Tests (target branch is `update_black`):
- #9017 - Test from fork (code reformatted, pushed back to the branch from fork)
- #8996 - Test from fork, with updates
- #9019 - Test from branch in the main repo
Approach:
- create a custom GitHub Action responsible for reformatting the code. For black use only changed files
- custom token is used to push changes, since only custom token can trigger workflows after reformatting
# Q&A About the Approach
> Why do we need a custom GitHub Action if we have pre-commit.ci?
The pre-commit hook is still active and works, but pre-commit.ci reformats all the code (the pre-commit.ci team explicitly denied changing this behavior, see https://github.com/pre-commit-ci/issues/issues/90), thus it is replaced with a custom GitHub Action, which does the same, but only for the changed files (in the PR)
> Why do we need `isort` GitHub action?
Since both `isort` and `black` can change files, this should be done in one action to avoid concurrent changes. So, the GitHub Action will execute both formatters and commit changes if needed (same behavior as for pre-commit.ci).
> Why do we need a custom GitHub token?
When GitHub action pushes the commit with the default secret token, it cannot trigger other workflows.
See the discussion: https://github.com/orgs/community/discussions/25702
This can only be done with custom tokens.
**Collection**: [CI]
# Changelog
- Add specific line by line info of high level changes in this PR.
# Usage
* You can potentially add a usage example below
```python
# Add a code snippet demonstrating how to use this
```
# Jenkins CI
To run Jenkins, a NeMo User with write access must comment `jenkins` on the PR.
# Before your PR is "Ready for review"
**Pre checks**:
- [x] Make sure you read and followed [Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md)
- [ ] Did you write any new necessary tests?
- [ ] Did you add or update any necessary documentation?
- [ ] Does the PR affect components that are optional to install? (Ex: Numba, Pynini, Apex etc)
- [ ] Reviewer: Does the PR have correct import guards for all optional libraries?
**PR Type**:
- [x] New Feature
- [ ] Bugfix
- [ ] Documentation
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](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md) contains specific people who can review PRs to various areas.
# Additional Information
* Related to # (issue)
| {
"login": "titu1994",
"id": 3048602,
"node_id": "MDQ6VXNlcjMwNDg2MDI=",
"avatar_url": "https://avatars.githubusercontent.com/u/3048602?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/titu1994",
"html_url": "https://github.com/titu1994",
"followers_url": "https://api.github.com/users/titu1994/followers",
"following_url": "https://api.github.com/users/titu1994/following{/other_user}",
"gists_url": "https://api.github.com/users/titu1994/gists{/gist_id}",
"starred_url": "https://api.github.com/users/titu1994/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/titu1994/subscriptions",
"organizations_url": "https://api.github.com/users/titu1994/orgs",
"repos_url": "https://api.github.com/users/titu1994/repos",
"events_url": "https://api.github.com/users/titu1994/events{/privacy}",
"received_events_url": "https://api.github.com/users/titu1994/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/8476/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/8476/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/8475 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/8475/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/8475/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/8475/events | https://github.com/NVIDIA/NeMo/pull/8475 | 2,147,299,968 | PR_kwDOC_bI7s5njXzI | 8,475 | Update SpeechLLM code | {
"login": "stevehuang52",
"id": 105218074,
"node_id": "U_kgDOBkWAGg",
"avatar_url": "https://avatars.githubusercontent.com/u/105218074?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stevehuang52",
"html_url": "https://github.com/stevehuang52",
"followers_url": "https://api.github.com/users/stevehuang52/followers",
"following_url": "https://api.github.com/users/stevehuang52/following{/other_user}",
"gists_url": "https://api.github.com/users/stevehuang52/gists{/gist_id}",
"starred_url": "https://api.github.com/users/stevehuang52/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/stevehuang52/subscriptions",
"organizations_url": "https://api.github.com/users/stevehuang52/orgs",
"repos_url": "https://api.github.com/users/stevehuang52/repos",
"events_url": "https://api.github.com/users/stevehuang52/events{/privacy}",
"received_events_url": "https://api.github.com/users/stevehuang52/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"id": 1923495043,
"node_id": "MDU6TGFiZWwxOTIzNDk1MDQz",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/core",
"name": "core",
"color": "f25e3a",
"default": false,
"description": "Changes to NeMo Core"
},
{
"id": 4418253970,
"node_id": "LA_kwDOC_bI7s8AAAABB1k0kg",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/TTS",
"name": "TTS",
"color": "49AF28",
"default": false,
"description": ""
},
{
"id": 4811884691,
"node_id": "LA_kwDOC_bI7s8AAAABHs-Ikw",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/ASR",
"name": "ASR",
"color": "F3B33E",
"default": false,
"description": ""
},
{
"id": 4811886210,
"node_id": "LA_kwDOC_bI7s8AAAABHs-Ogg",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/NLP",
"name": "NLP",
"color": "CBF09A",
"default": false,
"description": ""
},
{
"id": 4811888028,
"node_id": "LA_kwDOC_bI7s8AAAABHs-VnA",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/Speaker%20Tasks",
"name": "Speaker Tasks",
"color": "871AD4",
"default": false,
"description": ""
},
{
"id": 4840216855,
"node_id": "LA_kwDOC_bI7s8AAAABIH_ZFw",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/CI",
"name": "CI",
"color": "1D76DB",
"default": false,
"description": ""
},
{
"id": 4847373924,
"node_id": "LA_kwDOC_bI7s8AAAABIO0OZA",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/common",
"name": "common",
"color": "c5def5",
"default": false,
"description": ""
}
] | closed | false | null | [] | null | [] | 2024-02-21T17:24:08 | 2024-02-21T17:27:21 | 2024-02-21T17:27:13 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/8475",
"html_url": "https://github.com/NVIDIA/NeMo/pull/8475",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/8475.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/8475.patch",
"merged_at": "2024-02-21T17:27:13"
} | prepare for SALM checkpoint release | {
"login": "stevehuang52",
"id": 105218074,
"node_id": "U_kgDOBkWAGg",
"avatar_url": "https://avatars.githubusercontent.com/u/105218074?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stevehuang52",
"html_url": "https://github.com/stevehuang52",
"followers_url": "https://api.github.com/users/stevehuang52/followers",
"following_url": "https://api.github.com/users/stevehuang52/following{/other_user}",
"gists_url": "https://api.github.com/users/stevehuang52/gists{/gist_id}",
"starred_url": "https://api.github.com/users/stevehuang52/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/stevehuang52/subscriptions",
"organizations_url": "https://api.github.com/users/stevehuang52/orgs",
"repos_url": "https://api.github.com/users/stevehuang52/repos",
"events_url": "https://api.github.com/users/stevehuang52/events{/privacy}",
"received_events_url": "https://api.github.com/users/stevehuang52/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/8475/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/8475/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/8474 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/8474/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/8474/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/8474/events | https://github.com/NVIDIA/NeMo/issues/8474 | 2,147,109,412 | I_kwDOC_bI7s5_-kok | 8,474 | .nemo export to .onnx error after updating from tags/v1.21.0 to tags/v1.22.0 | {
"login": "Jesteinbe",
"id": 22843477,
"node_id": "MDQ6VXNlcjIyODQzNDc3",
"avatar_url": "https://avatars.githubusercontent.com/u/22843477?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Jesteinbe",
"html_url": "https://github.com/Jesteinbe",
"followers_url": "https://api.github.com/users/Jesteinbe/followers",
"following_url": "https://api.github.com/users/Jesteinbe/following{/other_user}",
"gists_url": "https://api.github.com/users/Jesteinbe/gists{/gist_id}",
"starred_url": "https://api.github.com/users/Jesteinbe/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Jesteinbe/subscriptions",
"organizations_url": "https://api.github.com/users/Jesteinbe/orgs",
"repos_url": "https://api.github.com/users/Jesteinbe/repos",
"events_url": "https://api.github.com/users/Jesteinbe/events{/privacy}",
"received_events_url": "https://api.github.com/users/Jesteinbe/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"id": 1485815557,
"node_id": "MDU6TGFiZWwxNDg1ODE1NTU3",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": "Something isn't working"
},
{
"id": 4585431311,
"node_id": "LA_kwDOC_bI7s8AAAABEVAhDw",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/stale",
"name": "stale",
"color": "ededed",
"default": false,
"description": null
}
] | closed | false | null | [] | null | [
"This issue is stale because it has been open for 30 days with no activity. Remove stale label or comment or this will be closed in 7 days.",
"This issue was closed because it has been inactive for 7 days since being marked as stale."
] | 2024-02-21T15:54:07 | 2024-03-31T01:45:25 | 2024-03-31T01:45:24 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | I trained a Nemo ASR model (nemo.collections.asr.models.hybrid_rnnt_ctc_bpe_models.EncDecHybridRNNTCTCBPEModel) a few weeks ago using Nemo v1.21.0 and was able to decode with the .nemo model without any issues. Since then I updated my codebase and python environment to use v1.22.0. After that I tried to go back to export some models that I trained using v1.21.0 to onnx but get an error. I have the models trained with v1.21.0 on disk and here's what I'm doing to convert them to Onnx with my v1.22.0 environment:
```
import nemo.collections.asr as nemo_asr
from nemo.collections.asr.models import EncDecHybridRNNTCTCBPEModel
from omegaconf import OmegaConf
asr_model = nemo_asr.models.ASRModel.restore_from(restore_path=args.nemo_model)
asr_model.change_decoding_strategy(decoder_type='ctc')
asr_model.preprocessor.featurizer.dither = 0.0
asr_model.preprocessor.featurizer.pad_to = 0
asr_model.eval()
asr_model.encoder.freeze()
asr_model.decoder.freeze()
asr_model.export(args.onnx_model)
```
and then I get an error
```
Traceback (most recent call last):
File "~/.conda/envs/nemo2/lib/python3.10/site-packages/nemo/core/classes/common.py", line 485, in from_config_dict
instance = imported_cls(cfg=config, trainer=trainer)
File "~/.conda/envs/nemo2/lib/python3.10/site-packages/nemo/collections/asr/models/hybrid_rnnt_ctc_bpe_models.py", line 89, in __init__
super().__init__(cfg=cfg, trainer=trainer)
File "~/.conda/envs/nemo2/lib/python3.10/site-packages/nemo/collections/asr/models/hybrid_rnnt_ctc_models.py", line 43, in __init__
super().__init__(cfg=cfg, trainer=trainer)
File "~/.conda/envs/nemo2/lib/python3.10/site-packages/nemo/collections/asr/models/rnnt_models.py", line 92, in __init__
self.decoding = RNNTDecoding(
File "~/.conda/envs/nemo2/lib/python3.10/site-packages/nemo/collections/asr/metrics/rnnt_wer.py", line 1115, in __init__
super(RNNTDecoding, self).__init__(
File "~/.conda/envs/nemo2/lib/python3.10/site-packages/nemo/collections/asr/metrics/rnnt_wer.py", line 257, in __init__
self._init_confidence(self.cfg.get('confidence_cfg', None))
File "~/.conda/envs/nemo2/lib/python3.10/site-packages/nemo/collections/asr/parts/utils/asr_confidence_utils.py", line 339, in _init_confidence
ConfidenceConfig() if confidence_cfg is None else ConfidenceConfig(**confidence_cfg)
TypeError: ConfidenceConfig.__init__() got an unexpected keyword argument 'measure_cfg'
```
Ideally, an export to onnx would be agnostic to the version of Nemo used. Is there a way to address this?
**Environment overview (please complete the following information)**
- I'm running this on an on-prem Slurm cluster
- OS = Ubuntu 20.04
- Python = 3.10.12
- Pytorch = 2.1.0
- Nemo was installed with `pip install nemo-toolkit['all']==1.22.0` | {
"login": "github-actions[bot]",
"id": 41898282,
"node_id": "MDM6Qm90NDE4OTgyODI=",
"avatar_url": "https://avatars.githubusercontent.com/in/15368?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/github-actions%5Bbot%5D",
"html_url": "https://github.com/apps/github-actions",
"followers_url": "https://api.github.com/users/github-actions%5Bbot%5D/followers",
"following_url": "https://api.github.com/users/github-actions%5Bbot%5D/following{/other_user}",
"gists_url": "https://api.github.com/users/github-actions%5Bbot%5D/gists{/gist_id}",
"starred_url": "https://api.github.com/users/github-actions%5Bbot%5D/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/github-actions%5Bbot%5D/subscriptions",
"organizations_url": "https://api.github.com/users/github-actions%5Bbot%5D/orgs",
"repos_url": "https://api.github.com/users/github-actions%5Bbot%5D/repos",
"events_url": "https://api.github.com/users/github-actions%5Bbot%5D/events{/privacy}",
"received_events_url": "https://api.github.com/users/github-actions%5Bbot%5D/received_events",
"type": "Bot",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/8474/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/8474/timeline | null | not_planned | false |
https://api.github.com/repos/NVIDIA/NeMo/issues/8472 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/8472/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/8472/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/8472/events | https://github.com/NVIDIA/NeMo/issues/8472 | 2,146,898,389 | I_kwDOC_bI7s5_9xHV | 8,472 | using onnx model for language identification inference | {
"login": "marziye-A",
"id": 119397883,
"node_id": "U_kgDOBx3d-w",
"avatar_url": "https://avatars.githubusercontent.com/u/119397883?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/marziye-A",
"html_url": "https://github.com/marziye-A",
"followers_url": "https://api.github.com/users/marziye-A/followers",
"following_url": "https://api.github.com/users/marziye-A/following{/other_user}",
"gists_url": "https://api.github.com/users/marziye-A/gists{/gist_id}",
"starred_url": "https://api.github.com/users/marziye-A/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/marziye-A/subscriptions",
"organizations_url": "https://api.github.com/users/marziye-A/orgs",
"repos_url": "https://api.github.com/users/marziye-A/repos",
"events_url": "https://api.github.com/users/marziye-A/events{/privacy}",
"received_events_url": "https://api.github.com/users/marziye-A/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"id": 4585431311,
"node_id": "LA_kwDOC_bI7s8AAAABEVAhDw",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/stale",
"name": "stale",
"color": "ededed",
"default": false,
"description": null
}
] | closed | false | null | [] | null | [
"This issue is stale because it has been open for 30 days with no activity. Remove stale label or comment or this will be closed in 7 days.",
"This issue was closed because it has been inactive for 7 days since being marked as stale."
] | 2024-02-21T14:29:37 | 2024-03-31T01:45:27 | 2024-03-31T01:45:26 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | hi,
I have export the language identification model to onnx and I want to use it for inference.
how should I use this model for inference on an audio file?
how should be the format of my audio input?
is there any example or tutorial?
after using the following code:
```
import nemo
import nemo.collections.asr as nemo_asr
vad_model = nemo_asr.models.EncDecSpeakerLabelModel.from_pretrained(model_name="langid_ambernet")
vad_model.export('qn.onnx')
ort_session = onnxruntime.InferenceSession('qn.onnx')
ttt = torch.rand(1,80,8000)
outputs = ort_session.run(None, {ort_session.get_inputs()[0].name:to_numpy(ttt)})
```
i get this error:
```
ValueError Traceback (most recent call last)
[<ipython-input-64-4dddcd66c01b>](https://localhost:8080/#) in <cell line: 1>()
----> 1 onnx_outputs = ort_session.run(None, {ort_session.get_inputs()[0].name:to_numpy(ttt)})
[usr/local/lib/python3.10/dist-packages/onnxruntime/capi/onnxruntime_inference_collection.py](https://localhost:8080/#) in _validate_input(self, feed_input_names)
196 missing_input_names.append(input.name)
197 if missing_input_names:
--> 198 raise ValueError(
199 f"Required inputs ({missing_input_names}) are missing from input feed ({feed_input_names})."
200 )
ValueError: Required inputs (['length']) are missing from input feed (['audio_signal']).
```
and how map the output embedding to labels?
any help is really appreciated.
thanks | {
"login": "github-actions[bot]",
"id": 41898282,
"node_id": "MDM6Qm90NDE4OTgyODI=",
"avatar_url": "https://avatars.githubusercontent.com/in/15368?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/github-actions%5Bbot%5D",
"html_url": "https://github.com/apps/github-actions",
"followers_url": "https://api.github.com/users/github-actions%5Bbot%5D/followers",
"following_url": "https://api.github.com/users/github-actions%5Bbot%5D/following{/other_user}",
"gists_url": "https://api.github.com/users/github-actions%5Bbot%5D/gists{/gist_id}",
"starred_url": "https://api.github.com/users/github-actions%5Bbot%5D/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/github-actions%5Bbot%5D/subscriptions",
"organizations_url": "https://api.github.com/users/github-actions%5Bbot%5D/orgs",
"repos_url": "https://api.github.com/users/github-actions%5Bbot%5D/repos",
"events_url": "https://api.github.com/users/github-actions%5Bbot%5D/events{/privacy}",
"received_events_url": "https://api.github.com/users/github-actions%5Bbot%5D/received_events",
"type": "Bot",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/8472/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/8472/timeline | null | not_planned | false |
https://api.github.com/repos/NVIDIA/NeMo/issues/8471 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/8471/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/8471/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/8471/events | https://github.com/NVIDIA/NeMo/issues/8471 | 2,146,382,591 | I_kwDOC_bI7s5_7zL_ | 8,471 | ASR model not accepting audio argument for direct transcription of numpy or PyTorch tensor | {
"login": "Sharrnah",
"id": 55756126,
"node_id": "MDQ6VXNlcjU1NzU2MTI2",
"avatar_url": "https://avatars.githubusercontent.com/u/55756126?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Sharrnah",
"html_url": "https://github.com/Sharrnah",
"followers_url": "https://api.github.com/users/Sharrnah/followers",
"following_url": "https://api.github.com/users/Sharrnah/following{/other_user}",
"gists_url": "https://api.github.com/users/Sharrnah/gists{/gist_id}",
"starred_url": "https://api.github.com/users/Sharrnah/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Sharrnah/subscriptions",
"organizations_url": "https://api.github.com/users/Sharrnah/orgs",
"repos_url": "https://api.github.com/users/Sharrnah/repos",
"events_url": "https://api.github.com/users/Sharrnah/events{/privacy}",
"received_events_url": "https://api.github.com/users/Sharrnah/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"id": 1485815557,
"node_id": "MDU6TGFiZWwxNDg1ODE1NTU3",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": "Something isn't working"
},
{
"id": 4585431311,
"node_id": "LA_kwDOC_bI7s8AAAABEVAhDw",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/stale",
"name": "stale",
"color": "ededed",
"default": false,
"description": null
}
] | closed | false | {
"login": "krishnacpuvvada",
"id": 93558329,
"node_id": "U_kgDOBZOWOQ",
"avatar_url": "https://avatars.githubusercontent.com/u/93558329?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/krishnacpuvvada",
"html_url": "https://github.com/krishnacpuvvada",
"followers_url": "https://api.github.com/users/krishnacpuvvada/followers",
"following_url": "https://api.github.com/users/krishnacpuvvada/following{/other_user}",
"gists_url": "https://api.github.com/users/krishnacpuvvada/gists{/gist_id}",
"starred_url": "https://api.github.com/users/krishnacpuvvada/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/krishnacpuvvada/subscriptions",
"organizations_url": "https://api.github.com/users/krishnacpuvvada/orgs",
"repos_url": "https://api.github.com/users/krishnacpuvvada/repos",
"events_url": "https://api.github.com/users/krishnacpuvvada/events{/privacy}",
"received_events_url": "https://api.github.com/users/krishnacpuvvada/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"login": "krishnacpuvvada",
"id": 93558329,
"node_id": "U_kgDOBZOWOQ",
"avatar_url": "https://avatars.githubusercontent.com/u/93558329?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/krishnacpuvvada",
"html_url": "https://github.com/krishnacpuvvada",
"followers_url": "https://api.github.com/users/krishnacpuvvada/followers",
"following_url": "https://api.github.com/users/krishnacpuvvada/following{/other_user}",
"gists_url": "https://api.github.com/users/krishnacpuvvada/gists{/gist_id}",
"starred_url": "https://api.github.com/users/krishnacpuvvada/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/krishnacpuvvada/subscriptions",
"organizations_url": "https://api.github.com/users/krishnacpuvvada/orgs",
"repos_url": "https://api.github.com/users/krishnacpuvvada/repos",
"events_url": "https://api.github.com/users/krishnacpuvvada/events{/privacy}",
"received_events_url": "https://api.github.com/users/krishnacpuvvada/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
}
] | null | [
"I'm in the same situation. I get : \r\n\r\n```\r\n transcript = asr_model.transcribe(batch, batch_size=1)\r\n File \"/home/ubuntu/miniconda3/envs/nemo202403/lib/python3.10/site-packages/torch/utils/_contextlib.py\", line 115, in decorate_context\r\n return func(*args, **kwargs)\r\n File \"/home/ubuntu/miniconda3/envs/nemo202403/lib/python3.10/site-packages/nemo/collections/asr/models/rnnt_models.py\", line 286, in transcribe\r\n fp.write(json.dumps(entry) + '\\n')\r\n File \"/home/ubuntu/miniconda3/envs/nemo202403/lib/python3.10/json/__init__.py\", line 231, in dumps\r\n return _default_encoder.encode(obj)\r\n File \"/home/ubuntu/miniconda3/envs/nemo202403/lib/python3.10/json/encoder.py\", line 199, in encode\r\n chunks = self.iterencode(o, _one_shot=True)\r\n File \"/home/ubuntu/miniconda3/envs/nemo202403/lib/python3.10/json/encoder.py\", line 257, in iterencode\r\n return _iterencode(o, 0)\r\n File \"/home/ubuntu/miniconda3/envs/nemo202403/lib/python3.10/json/encoder.py\", line 179, in default\r\n raise TypeError(f'Object of type {o.__class__.__name__} '\r\nTypeError: Object of type Tensor is not JSON serializable\r\n```\r\n",
"@jprobichaud\r\n\r\nThe only way i got it working is by writing temporary files i can use. (json manifest + audio file)\r\n\r\nYou can have a look at my code here:\r\nhttps://github.com/Sharrnah/whispering/blob/main/Models/STT/nemo_canary.py#L189\r\n",
"Canary at this moment does not support audio as a tensor. We are working on improving this support in the coming release, but as the model is new, it will take a little bit of time to mature to full support of all of ASR domains features ",
"Fyi @pzelasko @krishnacpuvvada ",
"@titu1994 Do other models also not support ndarray or tensor as inputs currently?",
"Mlat other ASR models should support it, Multi Task models are still being developed ",
"This issue is stale because it has been open for 30 days with no activity. Remove stale label or comment or this will be closed in 7 days.",
"This issue was closed because it has been inactive for 7 days since being marked as stale."
] | 2024-02-21T10:23:43 | 2024-04-22T01:45:30 | 2024-04-22T01:45:29 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | **Describe the bug**
I am trying to use the NeMo Canary ASR model for transcribing audio in memory.
However when i try to use the audio argument of the class like it is documented here: https://docs.nvidia.com/deeplearning/nemo/user-guide/docs/en/stable/asr/results.html#transcribing-inference
i get the error `Error while processing audio: EncDecMultiTaskModel.transcribe() got an unexpected keyword argument 'audio'`
and looking at the code, it seems it expects a list of files or input manifest and nothing else.
**Steps/Code to reproduce bug**
```py
import numpy as np
from nemo.collections.asr.models import EncDecMultiTaskModel
canary_model = EncDecMultiTaskModel.from_pretrained('nvidia/canary-1b')
sample_rate = 16000
duration = 1
audio = np.random.randint(-32768, 32768, size=(sample_rate * duration), dtype=np.int16)
predicted_text = canary_model.transcribe(
audio=audio,
batch_size=16, # batch size to run the inference with
)
```
**Expected behavior**
Transcribing correctly without error or having to write files
**Environment overview (please complete the following information)**
- Environment location: Local windows PC
- Method of NeMo install: pip install git+https://github.com/NVIDIA/[email protected]#egg=nemo_toolkit[asr]
**Environment details**
If NVIDIA docker image is used you don't need to specify these.
Otherwise, please provide:
- OS version: Windows 11
- PyTorch version: 2.3.0
- Python version: 3.11
| {
"login": "github-actions[bot]",
"id": 41898282,
"node_id": "MDM6Qm90NDE4OTgyODI=",
"avatar_url": "https://avatars.githubusercontent.com/in/15368?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/github-actions%5Bbot%5D",
"html_url": "https://github.com/apps/github-actions",
"followers_url": "https://api.github.com/users/github-actions%5Bbot%5D/followers",
"following_url": "https://api.github.com/users/github-actions%5Bbot%5D/following{/other_user}",
"gists_url": "https://api.github.com/users/github-actions%5Bbot%5D/gists{/gist_id}",
"starred_url": "https://api.github.com/users/github-actions%5Bbot%5D/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/github-actions%5Bbot%5D/subscriptions",
"organizations_url": "https://api.github.com/users/github-actions%5Bbot%5D/orgs",
"repos_url": "https://api.github.com/users/github-actions%5Bbot%5D/repos",
"events_url": "https://api.github.com/users/github-actions%5Bbot%5D/events{/privacy}",
"received_events_url": "https://api.github.com/users/github-actions%5Bbot%5D/received_events",
"type": "Bot",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/8471/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/8471/timeline | null | not_planned | false |
https://api.github.com/repos/NVIDIA/NeMo/issues/8470 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/8470/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/8470/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/8470/events | https://github.com/NVIDIA/NeMo/pull/8470 | 2,146,224,400 | PR_kwDOC_bI7s5nfpQc | 8,470 | Add CTC-WS documentation | {
"login": "andrusenkoau",
"id": 52885736,
"node_id": "MDQ6VXNlcjUyODg1NzM2",
"avatar_url": "https://avatars.githubusercontent.com/u/52885736?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/andrusenkoau",
"html_url": "https://github.com/andrusenkoau",
"followers_url": "https://api.github.com/users/andrusenkoau/followers",
"following_url": "https://api.github.com/users/andrusenkoau/following{/other_user}",
"gists_url": "https://api.github.com/users/andrusenkoau/gists{/gist_id}",
"starred_url": "https://api.github.com/users/andrusenkoau/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/andrusenkoau/subscriptions",
"organizations_url": "https://api.github.com/users/andrusenkoau/orgs",
"repos_url": "https://api.github.com/users/andrusenkoau/repos",
"events_url": "https://api.github.com/users/andrusenkoau/events{/privacy}",
"received_events_url": "https://api.github.com/users/andrusenkoau/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"id": 4811884691,
"node_id": "LA_kwDOC_bI7s8AAAABHs-Ikw",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/ASR",
"name": "ASR",
"color": "F3B33E",
"default": false,
"description": ""
}
] | closed | false | null | [] | null | [
"jenkins",
"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.",
"jenkins",
"jenkins"
] | 2024-02-21T09:22:16 | 2024-03-15T14:52:57 | 2024-03-15T14:52:57 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/8470",
"html_url": "https://github.com/NVIDIA/NeMo/pull/8470",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/8470.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/8470.patch",
"merged_at": "2024-03-15T14:52:57"
} | # What does this PR do ?
Add a description of the CTC-WS context-biasing method to the documentation.
**Collection**: [ASR]
# Changelog
- Rename docs/source/asr/asr_language_modeling.rst -> docs/source/asr/asr_language_modeling_and_customization.rst
- Add context-biasing description to docs/source/asr/asr_language_modeling_and_customization.rst
- Update docs/source/asr/intro.rst
# Before your PR is "Ready for review"
**Pre checks**:
- [x] Make sure you read and followed [Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md)
- [ ] Did you write any new necessary tests?
- [ ] Did you add or update any necessary documentation?
- [ ] Does the PR affect components that are optional to install? (Ex: Numba, Pynini, Apex etc)
- [ ] Reviewer: Does the PR have correct import guards for all optional libraries?
**PR Type**:
- [ ] New Feature
- [ ] Bugfix
- [x] Documentation
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](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md) contains specific people who can review PRs to various areas.
# Additional Information
* Must wait https://github.com/NVIDIA/NeMo/pull/8462
| {
"login": "andrusenkoau",
"id": 52885736,
"node_id": "MDQ6VXNlcjUyODg1NzM2",
"avatar_url": "https://avatars.githubusercontent.com/u/52885736?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/andrusenkoau",
"html_url": "https://github.com/andrusenkoau",
"followers_url": "https://api.github.com/users/andrusenkoau/followers",
"following_url": "https://api.github.com/users/andrusenkoau/following{/other_user}",
"gists_url": "https://api.github.com/users/andrusenkoau/gists{/gist_id}",
"starred_url": "https://api.github.com/users/andrusenkoau/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/andrusenkoau/subscriptions",
"organizations_url": "https://api.github.com/users/andrusenkoau/orgs",
"repos_url": "https://api.github.com/users/andrusenkoau/repos",
"events_url": "https://api.github.com/users/andrusenkoau/events{/privacy}",
"received_events_url": "https://api.github.com/users/andrusenkoau/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/8470/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/8470/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/8469 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/8469/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/8469/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/8469/events | https://github.com/NVIDIA/NeMo/pull/8469 | 2,146,092,473 | PR_kwDOC_bI7s5nfMKL | 8,469 | Replace argsort to reduce memory footprint | {
"login": "dkurt",
"id": 25801568,
"node_id": "MDQ6VXNlcjI1ODAxNTY4",
"avatar_url": "https://avatars.githubusercontent.com/u/25801568?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dkurt",
"html_url": "https://github.com/dkurt",
"followers_url": "https://api.github.com/users/dkurt/followers",
"following_url": "https://api.github.com/users/dkurt/following{/other_user}",
"gists_url": "https://api.github.com/users/dkurt/gists{/gist_id}",
"starred_url": "https://api.github.com/users/dkurt/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/dkurt/subscriptions",
"organizations_url": "https://api.github.com/users/dkurt/orgs",
"repos_url": "https://api.github.com/users/dkurt/repos",
"events_url": "https://api.github.com/users/dkurt/events{/privacy}",
"received_events_url": "https://api.github.com/users/dkurt/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"id": 4585431311,
"node_id": "LA_kwDOC_bI7s8AAAABEVAhDw",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/stale",
"name": "stale",
"color": "ededed",
"default": false,
"description": null
},
{
"id": 4811884691,
"node_id": "LA_kwDOC_bI7s8AAAABHs-Ikw",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/ASR",
"name": "ASR",
"color": "F3B33E",
"default": false,
"description": ""
}
] | closed | false | null | [] | null | [
"@dkurt \r\nThank you for preparing this PR.\r\nLet me test this and review it.\r\nNeed to verify on multiple samples. ",
"@tango4j, any updates?",
"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.",
"@tango4j , friendly reminder. Maybe I can run some tests on my side?",
"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.",
"@tango4j, reminder",
"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 was closed because it has been inactive for 7 days since being marked as stale."
] | 2024-02-21T08:19:59 | 2024-08-19T01:52:51 | 2024-08-19T01:52:50 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/8469",
"html_url": "https://github.com/NVIDIA/NeMo/pull/8469",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/8469.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/8469.patch",
"merged_at": null
} | # What does this PR do ?
Reduce memory footprint by replacing torch.argsort. With my local sample, diarization pipeline works on 12GB. Without the patch, it failed with an error `torch.cuda.OutOfMemoryError: CUDA out of memory. Tried to allocate 4.60 GiB. GPU 0 has a total capacty of 23.64 GiB of which 3.21 GiB is free. Including non-PyTorch memory, this process has 20.35 GiB memory in use. Of the allocated memory 16.07 GiB is allocated by PyTorch, and 665.59 MiB is reserved by PyTorch but unallocated. If reserved but unallocated memory is large try setting max_split_size_mb to avoid fragmentation. See documentation for Memory Management and PYTORCH_CUDA_ALLOC_CONF`
**Collection**: [asr]
# Changelog
Replace torch.argsort to reduce memory usage
# Usage
Running MSDD on long audio sample
# Jenkins CI
To run Jenkins, a NeMo User with write access must comment `jenkins` on the PR.
# Before your PR is "Ready for review"
**Pre checks**:
- [x] Make sure you read and followed [Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md)
- [ ] Did you write any new necessary tests?
- [ ] Did you add or update any necessary documentation?
- [ ] Does the PR affect components that are optional to install? (Ex: Numba, Pynini, Apex etc)
- [ ] Reviewer: Does the PR have correct import guards for all optional libraries?
**PR Type**:
- [ ] New Feature
- [x] Bugfix
- [ ] Documentation
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](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md) contains specific people who can review PRs to various areas.
# Additional Information
* Related to # (issue)
| {
"login": "github-actions[bot]",
"id": 41898282,
"node_id": "MDM6Qm90NDE4OTgyODI=",
"avatar_url": "https://avatars.githubusercontent.com/in/15368?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/github-actions%5Bbot%5D",
"html_url": "https://github.com/apps/github-actions",
"followers_url": "https://api.github.com/users/github-actions%5Bbot%5D/followers",
"following_url": "https://api.github.com/users/github-actions%5Bbot%5D/following{/other_user}",
"gists_url": "https://api.github.com/users/github-actions%5Bbot%5D/gists{/gist_id}",
"starred_url": "https://api.github.com/users/github-actions%5Bbot%5D/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/github-actions%5Bbot%5D/subscriptions",
"organizations_url": "https://api.github.com/users/github-actions%5Bbot%5D/orgs",
"repos_url": "https://api.github.com/users/github-actions%5Bbot%5D/repos",
"events_url": "https://api.github.com/users/github-actions%5Bbot%5D/events{/privacy}",
"received_events_url": "https://api.github.com/users/github-actions%5Bbot%5D/received_events",
"type": "Bot",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/8469/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/8469/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/8468 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/8468/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/8468/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/8468/events | https://github.com/NVIDIA/NeMo/pull/8468 | 2,145,822,288 | PR_kwDOC_bI7s5neRFM | 8,468 | Add Gemma Support and Conversion Scripts | {
"login": "yaoyu-33",
"id": 54727607,
"node_id": "MDQ6VXNlcjU0NzI3NjA3",
"avatar_url": "https://avatars.githubusercontent.com/u/54727607?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yaoyu-33",
"html_url": "https://github.com/yaoyu-33",
"followers_url": "https://api.github.com/users/yaoyu-33/followers",
"following_url": "https://api.github.com/users/yaoyu-33/following{/other_user}",
"gists_url": "https://api.github.com/users/yaoyu-33/gists{/gist_id}",
"starred_url": "https://api.github.com/users/yaoyu-33/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/yaoyu-33/subscriptions",
"organizations_url": "https://api.github.com/users/yaoyu-33/orgs",
"repos_url": "https://api.github.com/users/yaoyu-33/repos",
"events_url": "https://api.github.com/users/yaoyu-33/events{/privacy}",
"received_events_url": "https://api.github.com/users/yaoyu-33/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"id": 4811886210,
"node_id": "LA_kwDOC_bI7s8AAAABHs-Ogg",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/NLP",
"name": "NLP",
"color": "CBF09A",
"default": false,
"description": ""
},
{
"id": 4847373924,
"node_id": "LA_kwDOC_bI7s8AAAABIO0OZA",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/common",
"name": "common",
"color": "c5def5",
"default": false,
"description": ""
}
] | closed | false | null | [] | null | [
"jenkins",
"jenkins",
"jenkins",
"jenkins",
"jenkins",
"jenkins",
"jenkins",
"jenkins"
] | 2024-02-21T04:43:47 | 2024-02-27T17:43:27 | 2024-02-27T17:43:26 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/8468",
"html_url": "https://github.com/NVIDIA/NeMo/pull/8468",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/8468.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/8468.patch",
"merged_at": "2024-02-27T17:43:26"
} | # What does this PR do ?
Add Gemma Support and Conversion Scripts
**Collection**: [NLP]
# Changelog
- Add specific line by line info of high level changes in this PR.
# Usage
* You can potentially add a usage example below
```python
# Add a code snippet demonstrating how to use this
```
# Jenkins CI
To run Jenkins, a NeMo User with write access must comment `jenkins` on the PR.
# Before your PR is "Ready for review"
**Pre checks**:
- [ ] Make sure you read and followed [Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md)
- [ ] Did you write any new necessary tests?
- [ ] Did you add or update any necessary documentation?
- [ ] Does the PR affect components that are optional to install? (Ex: Numba, Pynini, Apex etc)
- [ ] Reviewer: Does the PR have correct import guards for all optional libraries?
**PR Type**:
- [ ] New Feature
- [ ] Bugfix
- [ ] Documentation
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](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md) contains specific people who can review PRs to various areas.
# Additional Information
* Related to # (issue)
| {
"login": "yaoyu-33",
"id": 54727607,
"node_id": "MDQ6VXNlcjU0NzI3NjA3",
"avatar_url": "https://avatars.githubusercontent.com/u/54727607?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yaoyu-33",
"html_url": "https://github.com/yaoyu-33",
"followers_url": "https://api.github.com/users/yaoyu-33/followers",
"following_url": "https://api.github.com/users/yaoyu-33/following{/other_user}",
"gists_url": "https://api.github.com/users/yaoyu-33/gists{/gist_id}",
"starred_url": "https://api.github.com/users/yaoyu-33/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/yaoyu-33/subscriptions",
"organizations_url": "https://api.github.com/users/yaoyu-33/orgs",
"repos_url": "https://api.github.com/users/yaoyu-33/repos",
"events_url": "https://api.github.com/users/yaoyu-33/events{/privacy}",
"received_events_url": "https://api.github.com/users/yaoyu-33/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/8468/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/8468/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/8467 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/8467/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/8467/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/8467/events | https://github.com/NVIDIA/NeMo/pull/8467 | 2,145,780,043 | PR_kwDOC_bI7s5neHnU | 8,467 | Add Gemma Model Support and Conversion Scripts | {
"login": "yaoyu-33",
"id": 54727607,
"node_id": "MDQ6VXNlcjU0NzI3NjA3",
"avatar_url": "https://avatars.githubusercontent.com/u/54727607?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yaoyu-33",
"html_url": "https://github.com/yaoyu-33",
"followers_url": "https://api.github.com/users/yaoyu-33/followers",
"following_url": "https://api.github.com/users/yaoyu-33/following{/other_user}",
"gists_url": "https://api.github.com/users/yaoyu-33/gists{/gist_id}",
"starred_url": "https://api.github.com/users/yaoyu-33/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/yaoyu-33/subscriptions",
"organizations_url": "https://api.github.com/users/yaoyu-33/orgs",
"repos_url": "https://api.github.com/users/yaoyu-33/repos",
"events_url": "https://api.github.com/users/yaoyu-33/events{/privacy}",
"received_events_url": "https://api.github.com/users/yaoyu-33/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"id": 4811886210,
"node_id": "LA_kwDOC_bI7s8AAAABHs-Ogg",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/NLP",
"name": "NLP",
"color": "CBF09A",
"default": false,
"description": ""
}
] | closed | false | null | [] | null | [] | 2024-02-21T04:09:13 | 2024-02-21T04:42:03 | 2024-02-21T04:42:02 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/8467",
"html_url": "https://github.com/NVIDIA/NeMo/pull/8467",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/8467.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/8467.patch",
"merged_at": null
} | # What does this PR do ?
Add Gemma Model Support and Conversion Scripts
**Collection**: [NLP]
# Changelog
- Add specific line by line info of high level changes in this PR.
# Usage
* You can potentially add a usage example below
```python
# Add a code snippet demonstrating how to use this
```
# Jenkins CI
To run Jenkins, a NeMo User with write access must comment `jenkins` on the PR.
# Before your PR is "Ready for review"
**Pre checks**:
- [ ] Make sure you read and followed [Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md)
- [ ] Did you write any new necessary tests?
- [ ] Did you add or update any necessary documentation?
- [ ] Does the PR affect components that are optional to install? (Ex: Numba, Pynini, Apex etc)
- [ ] Reviewer: Does the PR have correct import guards for all optional libraries?
**PR Type**:
- [ ] New Feature
- [ ] Bugfix
- [ ] Documentation
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](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md) contains specific people who can review PRs to various areas.
# Additional Information
* Related to # (issue)
| {
"login": "yaoyu-33",
"id": 54727607,
"node_id": "MDQ6VXNlcjU0NzI3NjA3",
"avatar_url": "https://avatars.githubusercontent.com/u/54727607?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yaoyu-33",
"html_url": "https://github.com/yaoyu-33",
"followers_url": "https://api.github.com/users/yaoyu-33/followers",
"following_url": "https://api.github.com/users/yaoyu-33/following{/other_user}",
"gists_url": "https://api.github.com/users/yaoyu-33/gists{/gist_id}",
"starred_url": "https://api.github.com/users/yaoyu-33/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/yaoyu-33/subscriptions",
"organizations_url": "https://api.github.com/users/yaoyu-33/orgs",
"repos_url": "https://api.github.com/users/yaoyu-33/repos",
"events_url": "https://api.github.com/users/yaoyu-33/events{/privacy}",
"received_events_url": "https://api.github.com/users/yaoyu-33/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/8467/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/8467/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/8466 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/8466/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/8466/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/8466/events | https://github.com/NVIDIA/NeMo/pull/8466 | 2,145,512,612 | PR_kwDOC_bI7s5ndMmE | 8,466 | Hiddens modules bugfixes | {
"login": "jstjohn",
"id": 459014,
"node_id": "MDQ6VXNlcjQ1OTAxNA==",
"avatar_url": "https://avatars.githubusercontent.com/u/459014?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jstjohn",
"html_url": "https://github.com/jstjohn",
"followers_url": "https://api.github.com/users/jstjohn/followers",
"following_url": "https://api.github.com/users/jstjohn/following{/other_user}",
"gists_url": "https://api.github.com/users/jstjohn/gists{/gist_id}",
"starred_url": "https://api.github.com/users/jstjohn/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jstjohn/subscriptions",
"organizations_url": "https://api.github.com/users/jstjohn/orgs",
"repos_url": "https://api.github.com/users/jstjohn/repos",
"events_url": "https://api.github.com/users/jstjohn/events{/privacy}",
"received_events_url": "https://api.github.com/users/jstjohn/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"id": 4585431311,
"node_id": "LA_kwDOC_bI7s8AAAABEVAhDw",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/stale",
"name": "stale",
"color": "ededed",
"default": false,
"description": null
},
{
"id": 4811886210,
"node_id": "LA_kwDOC_bI7s8AAAABHs-Ogg",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/NLP",
"name": "NLP",
"color": "CBF09A",
"default": false,
"description": ""
}
] | closed | false | null | [] | null | [
"jenkins",
"jenkins",
"jenkins",
"jenkins",
"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.",
"I need to get back to this.\r\n\r\nOn Wed, Mar 20, 2024 at 6:44β―PM github-actions[bot] <\r\n***@***.***> wrote:\r\n\r\n> This PR is stale because it has been open for 14 days with no activity.\r\n> Remove stale label or comment or update or this will be closed in 7 days.\r\n>\r\n> β\r\n> Reply to this email directly, view it on GitHub\r\n> <https://github.com/NVIDIA/NeMo/pull/8466#issuecomment-2011033150>, or\r\n> unsubscribe\r\n> <https://github.com/notifications/unsubscribe-auth/AADQCBXYXVSTXGBJXW6C7DDYZI3QHAVCNFSM6AAAAABDSCNISGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMJRGAZTGMJVGA>\r\n> .\r\n> You are receiving this because you authored the thread.Message ID:\r\n> ***@***.***>\r\n>\r\n",
"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 was closed because it has been inactive for 7 days since being marked as stale."
] | 2024-02-21T00:15:30 | 2024-04-13T01:39:16 | 2024-04-13T01:39:16 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/8466",
"html_url": "https://github.com/NVIDIA/NeMo/pull/8466",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/8466.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/8466.patch",
"merged_at": null
} | # What does this PR do ?
Hiddens modules such as `a_mim` and `vae` output a number of keys, including `{"z", "z_mean"}` for example. The current implementation supports specifying a single key to be used as the encoder output, and generally in configs this is set to `z` for those variational losses. This is not what you expect at inference time though. In that case you want the latent space to be a point estimate (the mean) rather than a noisy sampling. This PR accomplishes this by adding an optional second encoder output key to be used at inference time, and if it is not set then the current key is used for both. Inference/training is determined by checking the pytorch module property `self.training`.
**Collection**: nlp
# Changelog
- Add specific line by line info of high level changes in this PR.
# Usage
* You can potentially add a usage example below
```python
# Add a code snippet demonstrating how to use this
```
# Jenkins CI
To run Jenkins, a NeMo User with write access must comment `jenkins` on the PR.
# Before your PR is "Ready for review"
**Pre checks**:
- [x] Make sure you read and followed [Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md)
- [ ] Did you write any new necessary tests?
- [ ] Did you add or update any necessary documentation?
- [ ] Does the PR affect components that are optional to install? (Ex: Numba, Pynini, Apex etc)
- [ ] Reviewer: Does the PR have correct import guards for all optional libraries?
**PR Type**:
- [x] New Feature
- [x] Bugfix
- [x] Documentation
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](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md) contains specific people who can review PRs to various areas.
# Additional Information
* Related to # (issue)
| {
"login": "github-actions[bot]",
"id": 41898282,
"node_id": "MDM6Qm90NDE4OTgyODI=",
"avatar_url": "https://avatars.githubusercontent.com/in/15368?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/github-actions%5Bbot%5D",
"html_url": "https://github.com/apps/github-actions",
"followers_url": "https://api.github.com/users/github-actions%5Bbot%5D/followers",
"following_url": "https://api.github.com/users/github-actions%5Bbot%5D/following{/other_user}",
"gists_url": "https://api.github.com/users/github-actions%5Bbot%5D/gists{/gist_id}",
"starred_url": "https://api.github.com/users/github-actions%5Bbot%5D/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/github-actions%5Bbot%5D/subscriptions",
"organizations_url": "https://api.github.com/users/github-actions%5Bbot%5D/orgs",
"repos_url": "https://api.github.com/users/github-actions%5Bbot%5D/repos",
"events_url": "https://api.github.com/users/github-actions%5Bbot%5D/events{/privacy}",
"received_events_url": "https://api.github.com/users/github-actions%5Bbot%5D/received_events",
"type": "Bot",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/8466/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/8466/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/8465 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/8465/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/8465/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/8465/events | https://github.com/NVIDIA/NeMo/pull/8465 | 2,144,864,348 | PR_kwDOC_bI7s5na906 | 8,465 | pin to 0.5.0 | {
"login": "ericharper",
"id": 11999610,
"node_id": "MDQ6VXNlcjExOTk5NjEw",
"avatar_url": "https://avatars.githubusercontent.com/u/11999610?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ericharper",
"html_url": "https://github.com/ericharper",
"followers_url": "https://api.github.com/users/ericharper/followers",
"following_url": "https://api.github.com/users/ericharper/following{/other_user}",
"gists_url": "https://api.github.com/users/ericharper/gists{/gist_id}",
"starred_url": "https://api.github.com/users/ericharper/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ericharper/subscriptions",
"organizations_url": "https://api.github.com/users/ericharper/orgs",
"repos_url": "https://api.github.com/users/ericharper/repos",
"events_url": "https://api.github.com/users/ericharper/events{/privacy}",
"received_events_url": "https://api.github.com/users/ericharper/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | [
"jenkins"
] | 2024-02-20T17:06:38 | 2024-02-26T03:58:34 | 2024-02-26T03:58:33 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/8465",
"html_url": "https://github.com/NVIDIA/NeMo/pull/8465",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/8465.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/8465.patch",
"merged_at": "2024-02-26T03:58:33"
} | # What does this PR do ?
Add a one line overview of what this PR aims to accomplish.
**Collection**: [Note which collection this PR will affect]
# Changelog
- Add specific line by line info of high level changes in this PR.
# Usage
* You can potentially add a usage example below
```python
# Add a code snippet demonstrating how to use this
```
# Jenkins CI
To run Jenkins, a NeMo User with write access must comment `jenkins` on the PR.
# Before your PR is "Ready for review"
**Pre checks**:
- [ ] Make sure you read and followed [Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md)
- [ ] Did you write any new necessary tests?
- [ ] Did you add or update any necessary documentation?
- [ ] Does the PR affect components that are optional to install? (Ex: Numba, Pynini, Apex etc)
- [ ] Reviewer: Does the PR have correct import guards for all optional libraries?
**PR Type**:
- [ ] New Feature
- [ ] Bugfix
- [ ] Documentation
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](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md) contains specific people who can review PRs to various areas.
# Additional Information
* Related to # (issue)
| {
"login": "ericharper",
"id": 11999610,
"node_id": "MDQ6VXNlcjExOTk5NjEw",
"avatar_url": "https://avatars.githubusercontent.com/u/11999610?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ericharper",
"html_url": "https://github.com/ericharper",
"followers_url": "https://api.github.com/users/ericharper/followers",
"following_url": "https://api.github.com/users/ericharper/following{/other_user}",
"gists_url": "https://api.github.com/users/ericharper/gists{/gist_id}",
"starred_url": "https://api.github.com/users/ericharper/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ericharper/subscriptions",
"organizations_url": "https://api.github.com/users/ericharper/orgs",
"repos_url": "https://api.github.com/users/ericharper/repos",
"events_url": "https://api.github.com/users/ericharper/events{/privacy}",
"received_events_url": "https://api.github.com/users/ericharper/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/8465/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/8465/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/8464 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/8464/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/8464/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/8464/events | https://github.com/NVIDIA/NeMo/pull/8464 | 2,144,617,447 | PR_kwDOC_bI7s5naHRv | 8,464 | Support relative audio paths in Lhotse `LazyNeMoIterator` | {
"login": "pzelasko",
"id": 15930688,
"node_id": "MDQ6VXNlcjE1OTMwNjg4",
"avatar_url": "https://avatars.githubusercontent.com/u/15930688?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/pzelasko",
"html_url": "https://github.com/pzelasko",
"followers_url": "https://api.github.com/users/pzelasko/followers",
"following_url": "https://api.github.com/users/pzelasko/following{/other_user}",
"gists_url": "https://api.github.com/users/pzelasko/gists{/gist_id}",
"starred_url": "https://api.github.com/users/pzelasko/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/pzelasko/subscriptions",
"organizations_url": "https://api.github.com/users/pzelasko/orgs",
"repos_url": "https://api.github.com/users/pzelasko/repos",
"events_url": "https://api.github.com/users/pzelasko/events{/privacy}",
"received_events_url": "https://api.github.com/users/pzelasko/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"id": 4847373924,
"node_id": "LA_kwDOC_bI7s8AAAABIO0OZA",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/common",
"name": "common",
"color": "c5def5",
"default": false,
"description": ""
}
] | closed | false | null | [] | null | [
"jenkins",
"Closing this in favor of https://github.com/NVIDIA/NeMo/pull/8449"
] | 2024-02-20T15:15:47 | 2024-02-22T15:18:14 | 2024-02-22T15:18:14 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/8464",
"html_url": "https://github.com/NVIDIA/NeMo/pull/8464",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/8464.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/8464.patch",
"merged_at": null
} | # What does this PR do ?
Support relative audio paths in Lhotse `LazyNeMoIterator`
**Collection**: ASR
# Changelog
- Support relative audio paths in Lhotse `LazyNeMoIterator`
# Usage
* You can potentially add a usage example below
```python
# Add a code snippet demonstrating how to use this
```
# Jenkins CI
To run Jenkins, a NeMo User with write access must comment `jenkins` on the PR.
# Before your PR is "Ready for review"
**Pre checks**:
- [ ] Make sure you read and followed [Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md)
- [ ] Did you write any new necessary tests?
- [ ] Did you add or update any necessary documentation?
- [ ] Does the PR affect components that are optional to install? (Ex: Numba, Pynini, Apex etc)
- [ ] Reviewer: Does the PR have correct import guards for all optional libraries?
**PR Type**:
- [x] New Feature
- [ ] Bugfix
- [ ] Documentation
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](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md) contains specific people who can review PRs to various areas.
# Additional Information
* Related to # (issue)
| {
"login": "pzelasko",
"id": 15930688,
"node_id": "MDQ6VXNlcjE1OTMwNjg4",
"avatar_url": "https://avatars.githubusercontent.com/u/15930688?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/pzelasko",
"html_url": "https://github.com/pzelasko",
"followers_url": "https://api.github.com/users/pzelasko/followers",
"following_url": "https://api.github.com/users/pzelasko/following{/other_user}",
"gists_url": "https://api.github.com/users/pzelasko/gists{/gist_id}",
"starred_url": "https://api.github.com/users/pzelasko/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/pzelasko/subscriptions",
"organizations_url": "https://api.github.com/users/pzelasko/orgs",
"repos_url": "https://api.github.com/users/pzelasko/repos",
"events_url": "https://api.github.com/users/pzelasko/events{/privacy}",
"received_events_url": "https://api.github.com/users/pzelasko/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/8464/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/8464/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/8463 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/8463/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/8463/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/8463/events | https://github.com/NVIDIA/NeMo/issues/8463 | 2,144,398,417 | I_kwDOC_bI7s5_0OxR | 8,463 | Can't load MSDD model trained together with speaker embs extractor "speaker_model_cfg is not in struct" | {
"login": "gabitza-tech",
"id": 53811655,
"node_id": "MDQ6VXNlcjUzODExNjU1",
"avatar_url": "https://avatars.githubusercontent.com/u/53811655?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gabitza-tech",
"html_url": "https://github.com/gabitza-tech",
"followers_url": "https://api.github.com/users/gabitza-tech/followers",
"following_url": "https://api.github.com/users/gabitza-tech/following{/other_user}",
"gists_url": "https://api.github.com/users/gabitza-tech/gists{/gist_id}",
"starred_url": "https://api.github.com/users/gabitza-tech/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/gabitza-tech/subscriptions",
"organizations_url": "https://api.github.com/users/gabitza-tech/orgs",
"repos_url": "https://api.github.com/users/gabitza-tech/repos",
"events_url": "https://api.github.com/users/gabitza-tech/events{/privacy}",
"received_events_url": "https://api.github.com/users/gabitza-tech/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"id": 1485815557,
"node_id": "MDU6TGFiZWwxNDg1ODE1NTU3",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": "Something isn't working"
},
{
"id": 4585431311,
"node_id": "LA_kwDOC_bI7s8AAAABEVAhDw",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/stale",
"name": "stale",
"color": "ededed",
"default": false,
"description": null
}
] | closed | false | null | [] | null | [
"Solved the issue, by providing the ckpt path, could I ask why it doesn't work using \".nemo\" files?",
"This issue is stale because it has been open for 30 days with no activity. Remove stale label or comment or this will be closed in 7 days.",
"This issue was closed because it has been inactive for 7 days since being marked as stale.",
"I've also met this problem and solved by providing `.ckpt`, not the `.nemo`. \r\nI wonder what is the difference between both files."
] | 2024-02-20T13:34:51 | 2024-04-26T14:56:11 | 2024-03-29T01:44:02 | CONTRIBUTOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | Hi, I have trained an msdd model together with it's speaker embeddings extractor unfrozen. When I try to run:
```
python3 neural_diarizer/multiscale_diar_decoder_infer.py diarizer.manifest_filepath=manifests/dev.json diarizer.oracle_vad=True diarizer.out_dir=test diarizer.msdd_model.model_path=train_msdd/msdd_experiments/exp1/checkpoints/exp1.nemo
```
I get the following error:
```
[NeMo E 2024-02-20 13:28:37 common:505] Model instantiation failed!
Target class: nemo.collections.asr.models.msdd_models.EncDecDiarLabelModel
Error(s): Key 'speaker_model_cfg' is not in struct
full_key: speaker_model_cfg
object_type=dict
Traceback (most recent call last):
File "/home/gpirlogeanu/git_repos/diarization_nemo/nemo/core/classes/common.py", line 484, in from_config_dict
instance = imported_cls(cfg=config, trainer=trainer)
File "/home/gpirlogeanu/git_repos/diarization_nemo/nemo/collections/asr/models/msdd_models.py", line 136, in __init__
self.msdd._speaker_model = EncDecSpeakerLabelModel.from_config_dict(cfg.speaker_model_cfg)
File "/usr/local/lib/python3.10/site-packages/omegaconf/dictconfig.py", line 359, in __getattr__
self._format_and_raise(key=key, value=None, cause=e)
File "/usr/local/lib/python3.10/site-packages/omegaconf/base.py", line 231, in _format_and_raise
format_and_raise(
File "/usr/local/lib/python3.10/site-packages/omegaconf/_utils.py", line 819, in format_and_raise
_raise(ex, cause)
File "/usr/local/lib/python3.10/site-packages/omegaconf/_utils.py", line 797, in _raise
raise ex.with_traceback(sys.exc_info()[2]) # set env var OC_CAUSE=1 for full trace
File "/usr/local/lib/python3.10/site-packages/omegaconf/dictconfig.py", line 351, in __getattr__
return self._get_impl(
File "/usr/local/lib/python3.10/site-packages/omegaconf/dictconfig.py", line 442, in _get_impl
node = self._get_child(
File "/usr/local/lib/python3.10/site-packages/omegaconf/basecontainer.py", line 73, in _get_child
child = self._get_node(
File "/usr/local/lib/python3.10/site-packages/omegaconf/dictconfig.py", line 475, in _get_node
self._validate_get(key)
File "/usr/local/lib/python3.10/site-packages/omegaconf/dictconfig.py", line 164, in _validate_get
self._format_and_raise(
File "/usr/local/lib/python3.10/site-packages/omegaconf/base.py", line 231, in _format_and_raise
format_and_raise(
File "/usr/local/lib/python3.10/site-packages/omegaconf/_utils.py", line 899, in format_and_raise
_raise(ex, cause)
File "/usr/local/lib/python3.10/site-packages/omegaconf/_utils.py", line 797, in _raise
raise ex.with_traceback(sys.exc_info()[2]) # set env var OC_CAUSE=1 for full trace
omegaconf.errors.ConfigAttributeError: Key 'speaker_model_cfg' is not in struct
full_key: speaker_model_cfg
object_type=dict
Error executing job with overrides: ['diarizer.manifest_filepath=manifests/dev_displace24.json', 'diarizer.oracle_vad=True', 'diarizer.out_dir=test', 'diarizer.msdd_model.model_path=train_msdd/msdd_experiments/exp1/checkpoints/exp1.nemo']
Traceback (most recent call last):
File "/home/gpirlogeanu/git_repos/diarization_nemo/diarization/neural_diarizer/multiscale_diar_decoder_infer.py", line 32, in main
diarizer_model = NeuralDiarizer(cfg=cfg)
File "/home/gpirlogeanu/git_repos/diarization_nemo/nemo/collections/asr/models/msdd_models.py", line 982, in __init__
self._init_msdd_model(cfg)
File "/home/gpirlogeanu/git_repos/diarization_nemo/nemo/collections/asr/models/msdd_models.py", line 1074, in _init_msdd_model
self.msdd_model = EncDecDiarLabelModel.restore_from(restore_path=model_path)
File "/home/gpirlogeanu/git_repos/diarization_nemo/nemo/core/classes/modelPT.py", line 316, in restore_from
instance = cls._save_restore_connector.restore_from(
File "/home/gpirlogeanu/git_repos/diarization_nemo/nemo/core/connectors/save_restore_connector.py", line 235, in restore_from
loaded_params = self.load_config_and_state_dict(
File "/home/gpirlogeanu/git_repos/diarization_nemo/nemo/core/connectors/save_restore_connector.py", line 158, in load_config_and_state_dict
instance = calling_cls.from_config_dict(config=conf, trainer=trainer)
File "/home/gpirlogeanu/git_repos/diarization_nemo/nemo/core/classes/common.py", line 506, in from_config_dict
raise e
File "/home/gpirlogeanu/git_repos/diarization_nemo/nemo/core/classes/common.py", line 498, in from_config_dict
instance = cls(cfg=config, trainer=trainer)
File "/home/gpirlogeanu/git_repos/diarization_nemo/nemo/collections/asr/models/msdd_models.py", line 136, in __init__
self.msdd._speaker_model = EncDecSpeakerLabelModel.from_config_dict(cfg.speaker_model_cfg)
omegaconf.errors.ConfigAttributeError: Key 'speaker_model_cfg' is not in struct
full_key: speaker_model_cfg
object_type=dict
```
When I run inside the EncDecDiarLabel class:
`print(msdd_model.msdd._speaker_model)`
It returns None.
Could you please help? | {
"login": "github-actions[bot]",
"id": 41898282,
"node_id": "MDM6Qm90NDE4OTgyODI=",
"avatar_url": "https://avatars.githubusercontent.com/in/15368?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/github-actions%5Bbot%5D",
"html_url": "https://github.com/apps/github-actions",
"followers_url": "https://api.github.com/users/github-actions%5Bbot%5D/followers",
"following_url": "https://api.github.com/users/github-actions%5Bbot%5D/following{/other_user}",
"gists_url": "https://api.github.com/users/github-actions%5Bbot%5D/gists{/gist_id}",
"starred_url": "https://api.github.com/users/github-actions%5Bbot%5D/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/github-actions%5Bbot%5D/subscriptions",
"organizations_url": "https://api.github.com/users/github-actions%5Bbot%5D/orgs",
"repos_url": "https://api.github.com/users/github-actions%5Bbot%5D/repos",
"events_url": "https://api.github.com/users/github-actions%5Bbot%5D/events{/privacy}",
"received_events_url": "https://api.github.com/users/github-actions%5Bbot%5D/received_events",
"type": "Bot",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/8463/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/8463/timeline | null | not_planned | false |
https://api.github.com/repos/NVIDIA/NeMo/issues/8462 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/8462/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/8462/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/8462/events | https://github.com/NVIDIA/NeMo/pull/8462 | 2,144,367,379 | PR_kwDOC_bI7s5nZQU8 | 8,462 | Add ASR context-biasing tutorial | {
"login": "andrusenkoau",
"id": 52885736,
"node_id": "MDQ6VXNlcjUyODg1NzM2",
"avatar_url": "https://avatars.githubusercontent.com/u/52885736?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/andrusenkoau",
"html_url": "https://github.com/andrusenkoau",
"followers_url": "https://api.github.com/users/andrusenkoau/followers",
"following_url": "https://api.github.com/users/andrusenkoau/following{/other_user}",
"gists_url": "https://api.github.com/users/andrusenkoau/gists{/gist_id}",
"starred_url": "https://api.github.com/users/andrusenkoau/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/andrusenkoau/subscriptions",
"organizations_url": "https://api.github.com/users/andrusenkoau/orgs",
"repos_url": "https://api.github.com/users/andrusenkoau/repos",
"events_url": "https://api.github.com/users/andrusenkoau/events{/privacy}",
"received_events_url": "https://api.github.com/users/andrusenkoau/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"id": 4811884691,
"node_id": "LA_kwDOC_bI7s8AAAABHs-Ikw",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/ASR",
"name": "ASR",
"color": "F3B33E",
"default": false,
"description": ""
}
] | closed | false | null | [] | null | [
"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.",
"@artbataev thank you so much for the review!\r\n\r\nAbout your suggestions/comments:\r\n\r\n1. Done\r\n2. Done\r\n3. I leaved installing graphviz optional. The installation takes 5-10 minutes during which the window may become glitchy.\r\n4. I made a fix, but it works only on my remote desktop. I do not know why Google Colab does not display the right colors. I removed comments about colors.\r\n5. Done\r\n6. Done\r\n7. Done \r\n",
"jenkins"
] | 2024-02-20T13:19:53 | 2024-03-14T15:32:49 | 2024-03-14T15:32:49 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/8462",
"html_url": "https://github.com/NVIDIA/NeMo/pull/8462",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/8462.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/8462.patch",
"merged_at": "2024-03-14T15:32:48"
} | # What does this PR do ?
Add a context-biasing tutorial (based on CTC-WS method) for CTC and RNN-T models.
**Collection**: [ASR]
# Changelog
- Add tutorials/asr/ASR_Context_Biasing.ipynb tutorial
# Before your PR is "Ready for review"
**Pre checks**:
- [x] Make sure you read and followed [Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md)
- [ ] Did you write any new necessary tests?
- [ ] Did you add or update any necessary documentation?
- [ ] Does the PR affect components that are optional to install? (Ex: Numba, Pynini, Apex etc)
- [ ] Reviewer: Does the PR have correct import guards for all optional libraries?
**PR Type**:
- [ ] New Feature
- [ ] Bugfix
- [x] Documentation
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](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md) contains specific people who can review PRs to various areas.
# Additional Information
* Related to # (issue)
| {
"login": "andrusenkoau",
"id": 52885736,
"node_id": "MDQ6VXNlcjUyODg1NzM2",
"avatar_url": "https://avatars.githubusercontent.com/u/52885736?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/andrusenkoau",
"html_url": "https://github.com/andrusenkoau",
"followers_url": "https://api.github.com/users/andrusenkoau/followers",
"following_url": "https://api.github.com/users/andrusenkoau/following{/other_user}",
"gists_url": "https://api.github.com/users/andrusenkoau/gists{/gist_id}",
"starred_url": "https://api.github.com/users/andrusenkoau/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/andrusenkoau/subscriptions",
"organizations_url": "https://api.github.com/users/andrusenkoau/orgs",
"repos_url": "https://api.github.com/users/andrusenkoau/repos",
"events_url": "https://api.github.com/users/andrusenkoau/events{/privacy}",
"received_events_url": "https://api.github.com/users/andrusenkoau/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/8462/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/8462/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/8461 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/8461/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/8461/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/8461/events | https://github.com/NVIDIA/NeMo/pull/8461 | 2,143,488,138 | PR_kwDOC_bI7s5nWQcV | 8,461 | Video Pre-Training for Video NeVA | {
"login": "PannuMuthu",
"id": 30813477,
"node_id": "MDQ6VXNlcjMwODEzNDc3",
"avatar_url": "https://avatars.githubusercontent.com/u/30813477?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/PannuMuthu",
"html_url": "https://github.com/PannuMuthu",
"followers_url": "https://api.github.com/users/PannuMuthu/followers",
"following_url": "https://api.github.com/users/PannuMuthu/following{/other_user}",
"gists_url": "https://api.github.com/users/PannuMuthu/gists{/gist_id}",
"starred_url": "https://api.github.com/users/PannuMuthu/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/PannuMuthu/subscriptions",
"organizations_url": "https://api.github.com/users/PannuMuthu/orgs",
"repos_url": "https://api.github.com/users/PannuMuthu/repos",
"events_url": "https://api.github.com/users/PannuMuthu/events{/privacy}",
"received_events_url": "https://api.github.com/users/PannuMuthu/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"id": 4585431311,
"node_id": "LA_kwDOC_bI7s8AAAABEVAhDw",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/stale",
"name": "stale",
"color": "ededed",
"default": false,
"description": null
}
] | closed | false | null | [] | null | [
"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 was closed because it has been inactive for 7 days since being marked as stale."
] | 2024-02-20T03:49:39 | 2024-03-15T01:44:12 | 2024-03-15T01:44:11 | CONTRIBUTOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | true | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/8461",
"html_url": "https://github.com/NVIDIA/NeMo/pull/8461",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/8461.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/8461.patch",
"merged_at": null
} | # What does this PR do ?
Code to enable video pretraining for NeVa.
[W&B Project](https://wandb.ai/joc/video_neva)
**Collection**: [Note which collection this PR will affect]
# Changelog
- Add specific line by line info of high level changes in this PR.
# Usage
* You can potentially add a usage example below
```python
# Add a code snippet demonstrating how to use this
```
# Jenkins CI
To run Jenkins, a NeMo User with write access must comment `jenkins` on the PR.
# Before your PR is "Ready for review"
**Pre checks**:
- [ ] Make sure you read and followed [Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md)
- [ ] Did you write any new necessary tests?
- [ ] Did you add or update any necessary documentation?
- [ ] Does the PR affect components that are optional to install? (Ex: Numba, Pynini, Apex etc)
- [ ] Reviewer: Does the PR have correct import guards for all optional libraries?
**PR Type**:
- [ ] New Feature
- [ ] Bugfix
- [ ] Documentation
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](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md) contains specific people who can review PRs to various areas.
# Additional Information
* Related to # (issue)
| {
"login": "github-actions[bot]",
"id": 41898282,
"node_id": "MDM6Qm90NDE4OTgyODI=",
"avatar_url": "https://avatars.githubusercontent.com/in/15368?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/github-actions%5Bbot%5D",
"html_url": "https://github.com/apps/github-actions",
"followers_url": "https://api.github.com/users/github-actions%5Bbot%5D/followers",
"following_url": "https://api.github.com/users/github-actions%5Bbot%5D/following{/other_user}",
"gists_url": "https://api.github.com/users/github-actions%5Bbot%5D/gists{/gist_id}",
"starred_url": "https://api.github.com/users/github-actions%5Bbot%5D/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/github-actions%5Bbot%5D/subscriptions",
"organizations_url": "https://api.github.com/users/github-actions%5Bbot%5D/orgs",
"repos_url": "https://api.github.com/users/github-actions%5Bbot%5D/repos",
"events_url": "https://api.github.com/users/github-actions%5Bbot%5D/events{/privacy}",
"received_events_url": "https://api.github.com/users/github-actions%5Bbot%5D/received_events",
"type": "Bot",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/8461/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/8461/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/8460 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/8460/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/8460/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/8460/events | https://github.com/NVIDIA/NeMo/issues/8460 | 2,143,398,323 | I_kwDOC_bI7s5_wamz | 8,460 | Exception running inference with MCore Distributed Checkpoint with different TP setting than training | {
"login": "ryxli",
"id": 15115526,
"node_id": "MDQ6VXNlcjE1MTE1NTI2",
"avatar_url": "https://avatars.githubusercontent.com/u/15115526?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ryxli",
"html_url": "https://github.com/ryxli",
"followers_url": "https://api.github.com/users/ryxli/followers",
"following_url": "https://api.github.com/users/ryxli/following{/other_user}",
"gists_url": "https://api.github.com/users/ryxli/gists{/gist_id}",
"starred_url": "https://api.github.com/users/ryxli/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ryxli/subscriptions",
"organizations_url": "https://api.github.com/users/ryxli/orgs",
"repos_url": "https://api.github.com/users/ryxli/repos",
"events_url": "https://api.github.com/users/ryxli/events{/privacy}",
"received_events_url": "https://api.github.com/users/ryxli/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"id": 1485815557,
"node_id": "MDU6TGFiZWwxNDg1ODE1NTU3",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": "Something isn't working"
},
{
"id": 4585431311,
"node_id": "LA_kwDOC_bI7s8AAAABEVAhDw",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/stale",
"name": "stale",
"color": "ededed",
"default": false,
"description": null
}
] | closed | false | {
"login": "dimapihtar",
"id": 37850217,
"node_id": "MDQ6VXNlcjM3ODUwMjE3",
"avatar_url": "https://avatars.githubusercontent.com/u/37850217?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dimapihtar",
"html_url": "https://github.com/dimapihtar",
"followers_url": "https://api.github.com/users/dimapihtar/followers",
"following_url": "https://api.github.com/users/dimapihtar/following{/other_user}",
"gists_url": "https://api.github.com/users/dimapihtar/gists{/gist_id}",
"starred_url": "https://api.github.com/users/dimapihtar/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/dimapihtar/subscriptions",
"organizations_url": "https://api.github.com/users/dimapihtar/orgs",
"repos_url": "https://api.github.com/users/dimapihtar/repos",
"events_url": "https://api.github.com/users/dimapihtar/events{/privacy}",
"received_events_url": "https://api.github.com/users/dimapihtar/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"login": "dimapihtar",
"id": 37850217,
"node_id": "MDQ6VXNlcjM3ODUwMjE3",
"avatar_url": "https://avatars.githubusercontent.com/u/37850217?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dimapihtar",
"html_url": "https://github.com/dimapihtar",
"followers_url": "https://api.github.com/users/dimapihtar/followers",
"following_url": "https://api.github.com/users/dimapihtar/following{/other_user}",
"gists_url": "https://api.github.com/users/dimapihtar/gists{/gist_id}",
"starred_url": "https://api.github.com/users/dimapihtar/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/dimapihtar/subscriptions",
"organizations_url": "https://api.github.com/users/dimapihtar/orgs",
"repos_url": "https://api.github.com/users/dimapihtar/repos",
"events_url": "https://api.github.com/users/dimapihtar/events{/privacy}",
"received_events_url": "https://api.github.com/users/dimapihtar/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
}
] | null | [
"@dimapihtar @ericharper \r\nSame issue occurs when trying to load the distributed checkpoint for continued training / sft.\r\n\r\nLoading distributed checkpoint with a single A100 works fine, with gbs=1,tp=1,pp=1,mbs=1. \r\nWhen scaling to 8 gpus, and changing gbs to 8, loading the checkpoint fails.\r\n\r\nHas the team been able to reproduce this internally?\r\nCurrently using the following commits:\r\nMegatron-LM ad53b1e38689a0ceed75ade7821f4e6c7554abb4\r\nNeMo 9b64e390b534d4eb5ad7f28502bcfe4c7f0c6c39\r\nTransformerEngine: da30634a6c9ccdbb6c587b6c93b1860e4b038204\r\n\r\n```\r\n[0]: model = cls.load_from_checkpoint(checkpoint_path=checkpoint_path, trainer=trainer, hparams_file=f.name)\r\n[0]: File \"/workspace/src/3rdparty/NeMo/build/__editable__.nemo_toolkit-1.23.0rc0-py3-none-any/nemo/collections/nlp/models/nlp_model.py\", line 397, in load_from_checkpoint\r\n[0]: checkpoint = dist_checkpointing.load(sharded_state_dict=checkpoint, checkpoint_dir=checkpoint_dir)\r\n[0]: File \"/workspace/src/3rdparty/Megatron-LM/build/__editable__.megatron_core-0.5.0rc0-cp310-cp310-linux_x86_64/megatron/core/dist_checkpointing/serialization.py\", line 99, in load\r\n[0]: validate_sharding_integrity(nested_values(sharded_state_dict))\r\n[0]: File \"/workspace/src/3rdparty/Megatron-LM/build/__editable__.megatron_core-0.5.0rc0-cp310-cp310-linux_x86_64/megatron/core/dist_checkpointing/serialization.py\", line 346, in validate_sharding_integrity\r\n[0]: _validate_sharding_for_key(shardings)\r\n[0]: File \"/workspace/src/3rdparty/Megatron-LM/build/__editable__.megatron_core-0.5.0rc0-cp310-cp310-linux_x86_64/megatron/core/dist_checkpointing/serialization.py\", line 384, in _validate_sharding_for_key\r\n[0]: raise CheckpointingException(f'Invalid access pattern for {rank_sharding[0][1]}')\r\n[0]:megatron.core.dist_checkpointing.core.CheckpointingException: Invalid access pattern for ShardedTensor(key='model.embedding.word_embeddings.weight')\r\n```",
"Some debug logs as well, let me know if anything else could be useful to include:\r\n\r\n```\r\n> rank_sharing[0][1]\r\n\r\n[(0, ShardedTensor(key='model.embedding.word_embeddings.weight', data=None, dtype=torch.float32, local_shape=(50304, 768), global_shape=(50304, 768), global_offset=(0, 0), axis_fragmentations=(1, 1), replica_id=(0, 0, 0), prepend_axis_num=0, allow_shape_mismatch=True, flattened_range=None)), (1, ShardedTensor(key='model.embedding.word_embeddings.weight', data=None, dtype=torch.float32, local_shape=(50304, 768), global_shape=(50304, 768), global_offset=(0, 0), axis_fragmentations=(1, 1), replica_id=(0, 0, 0), prepend_axis_num=0, allow_shape_mismatch=True, flattened_range=None)), (2, ShardedTensor(key='model.embedding.word_embeddings.weight', data=None, dtype=torch.float32, local_shape=(50304, 768), global_shape=(50304, 768), global_offset=(0, 0), axis_fragmentations=(1, 1), replica_id=(0, 0, 0), prepend_axis_num=0, allow_shape_mismatch=True, flattened_range=None)), (3, ShardedTensor(key='model.embedding.word_embeddings.weight', data=None, dtype=torch.float32, local_shape=(50304, 768), global_shape=(50304, 768), global_offset=(0, 0), axis_fragmentations=(1, 1), replica_id=(0, 0, 0), prepend_axis_num=0, allow_shape_mismatch=True, flattened_range=None)), (4, ShardedTensor(key='model.embedding.word_embeddings.weight', data=None, dtype=torch.float32, local_shape=(50304, 768), global_shape=(50304, 768), global_offset=(0, 0), axis_fragmentations=(1, 1), replica_id=(0, 0, 0), prepend_axis_num=0, allow_shape_mismatch=True, flattened_range=None)), (5, ShardedTensor(key='model.embedding.word_embeddings.weight', data=None, dtype=torch.float32, local_shape=(50304, 768), global_shape=(50304, 768), global_offset=(0, 0), axis_fragmentations=(1, 1), replica_id=(0, 0, 0), prepend_axis_num=0, allow_shape_mismatch=True, flattened_range=None)), (6, ShardedTensor(key='model.embedding.word_embeddings.weight', data=None, dtype=torch.float32, local_shape=(50304, 768), global_shape=(50304, 768), global_offset=(0, 0), axis_fragmentations=(1, 1), replica_id=(0, 0, 0), prepend_axis_num=0, allow_shape_mismatch=True, flattened_range=None)), (7, ShardedTensor(key='model.embedding.word_embeddings.weight', data=None, dtype=torch.float32, local_shape=(50304, 768), global_shape=(50304, 768), global_offset=(0, 0), axis_fragmentations=(1, 1), replica_id=(0, 0, 0), prepend_axis_num=0, allow_shape_mismatch=True, flattened_range=None))]\r\n```\r\n\r\n```\r\n> torch.zeros(rank_sharding[0][1].axis_fragmentations)\r\ntensor([[0.]])\r\n```\r\n\r\nThe assertion is checking that the shard is access once on all ranks:\r\n```\r\n if not torch.all(shard_access_cnt == 1):\r\n logger.error(f'Invalid access pattern for {rank_sharding[0][1]}: {shard_access_cnt}')\r\n raise CheckpointingException(f'Invalid access pattern for {rank_sharding[0][1]}')\r\n```\r\n\r\nBut this is the behavior I observe:\r\n```\r\n> shard_access_cnt\r\ntensor([[8]], dtype=torch.int32)\r\n\r\n>for rank, sharding in rank_sharding:\r\n print(sharding.replica_id)\r\n(0, 0, 0)\r\n(0, 0, 0)\r\n(0, 0, 0)\r\n(0, 0, 0)\r\n(0, 0, 0)\r\n(0, 0, 0)\r\n(0, 0, 0)\r\n(0, 0, 0)\r\n\r\n```\r\n\r\n\r\n\r\nNotice that there is a TODO listed to check the shard_access_cnt of replicas as well: https://github.com/NVIDIA/Megatron-LM/blob/0fecd76e995c136021d478c6c52caa57c2f9aa25/megatron/core/dist_checkpointing/serialization.py#L444C1-L447C59\r\n\r\nBut there should only be one replica per rank, which is the one above. \r\n\r\nSince I'm setting tensor parallel to 1 here, and gbs to 8, I think that the embedding_weights should not be expected to be sharded since there is only a single TP group with worldsize=8. I believe that during training, this dist ckpt also only used tp=1. So it should be fine if the embedding weights are fully replicated across all of the ranks?\r\n\r\n\r\n\r\nOff topic: \r\nI also notice that when loading from the distributed checkpoint, it loads the saved optimizer states as well, which is probably expected behavior. Is there any reference or guidance on how to load without these saved optimizer states? Or does it not matter if it gets overwritten later on?",
"Seem to have figured out the root cause.\r\n\r\n### Background\r\n\r\nWhen loading from distributed checkpoint, we call `NLPModel.load_from_checkpoint(..)` [ref](https://github.com/NVIDIA/NeMo/blob/main/nemo/collections/nlp/models/nlp_model.py#L309)\r\nFor distributed checkpoint, loading the state_dict gets [deferred until the class is initialized](https://github.com/NVIDIA/NeMo/blob/main/nemo/collections/nlp/models/nlp_model.py#L384)\r\n\r\nThe current logic is as follows:\r\n```\r\n if 'cfg' in kwargs:\r\n model = ptl_load_state(cls, checkpoint, strict=strict, **kwargs)\r\n else:\r\n model = ptl_load_state(cls, checkpoint, strict=strict, cfg=cfg, **kwargs)\r\n # cfg = checkpoint[cls.CHECKPOINT_HYPER_PARAMS_KEY].cfg\r\n\r\n if checkpoint_dir is not None:\r\n sharded_state_dict = model.sharded_state_dict()\r\n checkpoint['state_dict'] = sharded_state_dict\r\n # dist checkpointing needs torch.distributed to load the checkpoint\r\n if parallel_state.is_unitialized():\r\n\r\n def dummy():\r\n return\r\n\r\n if model.trainer.strategy.launcher is not None:\r\n model.trainer.strategy.launcher.launch(dummy, trainer=model.trainer)\r\n model.trainer.strategy.setup_environment()\r\n```\r\n\r\nFor `MegatronGPTModel(MCoreGPTModel)`, this instantiates the `LanguageModelEmbedding()` if cfg.pre_process is true.\r\n\r\nOn this line `sharded_state_dict = model.sharded_state_dict()`, we call `MegatronGPTModel.sharded_state_dict(...)` which in turn calls `VocabParallelEmbedding.sharded_state_dict(...)`:\r\n\r\n```\r\n def sharded_state_dict(\r\n self, prefix: str = '', sharded_offsets: Tuple[Tuple[int, int, int]] = ()\r\n ) -> ShardedStateDict:\r\n \"\"\" Non-default implementation for embeddings due to `allow_shape_mismatch` param \"\"\"\r\n state_dict = self.state_dict(prefix='', keep_vars=True)\r\n\r\n weight_prefix = f'{prefix}weight'\r\n return {\r\n weight_prefix: make_tp_sharded_tensor_for_checkpoint(\r\n tensor=state_dict['weight'],\r\n key=weight_prefix,\r\n allow_shape_mismatch=True,\r\n prepend_offsets=sharded_offsets,\r\n )\r\n }\r\n```\r\n\r\n[make_tp_sharded_tensor_for_checkpoint](https://github.com/NVIDIA/Megatron-LM/blob/main/megatron/core/utils.py#L186):\r\n```\r\ndef make_tp_sharded_tensor_for_checkpoint(\r\n tensor, key, tp_axis=0, replica_id=None, prepend_offsets=(), **kwargs\r\n):\r\n prepend_axis_num = len(prepend_offsets)\r\n if replica_id is None:\r\n replica_id = (0, 0, parallel_state.get_data_parallel_rank(with_context_parallel=True))\r\n ...\r\n```\r\n\r\n### The Issue\r\n\r\nAt this point, parallel_state is not yet available since `torch.distributed.is_initialized() == False`, so any data_parallel ranks return as 0 and incorrectly sets all replica_ids as (0,0,0), which in turn causes the assertion mentioned above to fail when validating the sharded tensors.\r\n\r\n### Potential Resolution\r\n\r\nIt seems like an easy fix would be to move the initialization logic before the `model.sharded_state_dict()` call, but I'm not informed enough to know what the downstream impact would be.\r\n```\r\n if checkpoint_dir is not None:\r\n sharded_state_dict = model.sharded_state_dict()\r\n checkpoint['state_dict'] = sharded_state_dict\r\n # dist checkpointing needs torch.distributed to load the checkpoint\r\n if parallel_state.is_unitialized():\r\n\r\n def dummy():\r\n return\r\n\r\n if model.trainer.strategy.launcher is not None:\r\n model.trainer.strategy.launcher.launch(dummy, trainer=model.trainer)\r\n model.trainer.strategy.setup_environment()\r\n```\r\n\r\nCan you please let me know if this is a correct understanding? \r\n\r\n@dimapihtar @ericharper",
"This issue is stale because it has been open for 30 days with no activity. Remove stale label or comment or this will be closed in 7 days.",
"any updates on this issue?",
"This issue is stale because it has been open for 30 days with no activity. Remove stale label or comment or this will be closed in 7 days.",
"This issue was closed because it has been inactive for 7 days since being marked as stale."
] | 2024-02-20T02:09:45 | 2024-05-28T01:46:53 | 2024-05-28T01:46:52 | CONTRIBUTOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | **Describe the bug**
A clear and concise description of what the bug is.
I have an mcore distributed checkpoint trained with PP=1, TP=1. When running inference with this distributed checkpoint, when I set the TP to higher than 1, it results in exceptions and inconsistent hangs.
When running inference with mcore distributed checkpoint with a tp > 1, there is an exception raised for:
```
Traceback (most recent call last):
File "/workspace/src/3rdparty/NeMo/examples/nlp/language_modeling/megatron_gpt_eval.py", line 271, in main
model = MegatronGPTModel.load_from_checkpoint(checkpoint_path, hparams_file=cfg.hparams_file, trainer=trainer, **kwargs)
File "/workspace/src/3rdparty/NeMo/nemo/collections/nlp/models/nlp_model.py", line 397, in load_from_checkpoint
checkpoint = dist_checkpointing.load(sharded_state_dict=checkpoint, checkpoint_dir=checkpoint_dir)
File "/workspace/src/3rdparty/Megatron-LM/megatron/core/dist_checkpointing/serialization.py", line 92, in load
validate_sharding_integrity(nested_values(sharded_state_dict))
File "/workspace/src/3rdparty/Megatron-LM/megatron/core/dist_checkpointing/serialization.py", line 306, in validate_sharding_integrity
_validate_sharding_for_key(shardings)
File "/workspace/src/3rdparty/Megatron-LM/megatron/core/dist_checkpointing/serialization.py", line 344, in _validate_sharding_for_key
raise CheckpointingException(f'Invalid access pattern for {rank_sharding[0][1]}')
megatron.core.dist_checkpointing.core.CheckpointingException: Invalid access pattern for ShardedTensor(key='model.embedding.word_embeddings.weight')
Error executing job with overrides: ['inference.greedy=True', 'inference.add_BOS=True', 'trainer.devices=8', 'trainer.num_nodes=1', 'tensor_model_parallel_size=8', 'pipeline_model_parallel_size=1']
Traceback (most recent call last):
File "/workspace/src/3rdparty/NeMo/examples/nlp/language_modeling/megatron_gpt_eval.py", line 308, in main
response = model.generate(
File "/workspace/src/3rdparty/NeMo/nemo/collections/nlp/models/language_modeling/megatron_gpt_model.py", line 1414, in generate
return megatron_gpt_generate(
File "/workspace/src/3rdparty/NeMo/nemo/collections/nlp/modules/common/text_generation_utils.py", line 127, in megatron_gpt_generate
output = generate(
File "/workspace/src/3rdparty/NeMo/nemo/collections/nlp/modules/common/text_generation_utils.py", line 645, in generate
output = synced_generate(
File "/workspace/src/3rdparty/NeMo/nemo/collections/nlp/modules/common/text_generation_utils.py", line 510, in synced_generate
for tokens, lengths, output_logits, full_logits in batch_token_iterator:
File "/workspace/src/3rdparty/NeMo/nemo/collections/nlp/modules/common/text_generation_utils.py", line 888, in sample_sequence_batch
torch.distributed.broadcast(done, src, group)
File "/usr/local/lib/python3.10/dist-packages/torch/distributed/c10d_logger.py", line 72, in wrapper
return func(*args, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/torch/distributed/distributed_c10d.py", line 1947, in broadcast
work = group.broadcast([tensor], opts)
torch.distributed.DistNetworkError: Broken pipe
```
**Steps/Code to reproduce bug**
Please list *minimal* steps or code snippet for us to be able to reproduce the bug.
A helpful guide on on how to craft a minimal bug report http://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports.
1. Have an existing distributed mcore gpt checkpoint saved in a directory trained with TP=1, PP=1
2. Pass checkpoint_dir, checkpoint_name into megatron_gpt_eval.py
3. [Optional] In my case, I enabled activation check pointing so I also had to pass kwargs["activations_checkpoint_granularity"] = None and kwargs["activations_checkpoint_method"] = None into `MegatronGPTModel.load_from_checkpoint`
4. Run inference with TP > 1 on a device with multiple gpus
This results in an exception everytime, and a percentage of runs are able to complete, but most of the time the process ends up hanging.
**Expected behavior**
A clear and concise description of what you expected to happen.
With mcore distributed checkpointing, I expect to be able to load an mcore model with different model parallel configs without any error using the example scripts for inference.
**Environment overview (please complete the following information)**
- Environment location: [Bare-metal, Docker, Cloud(specify cloud provider - AWS, Azure, GCP, Collab)] AWS p4de.24xlarge (A100)
- Method of NeMo install: [pip install or from source]. From source, using NeMo r1.23.0 branch and dependencies
- If method of install is [Docker], provide `docker pull` & `docker run` commands used
**Environment details**
If NVIDIA docker image is used you don't need to specify these.
Otherwise, please provide:
- OS version - Ubuntu 22.04.3 LTS (pytorch 23.12 container)
- PyTorch version - 2.2.0a0+81ea7a4
- Python version - Python 3.10.12
**Additional context**
Attaching full logs in files.
Add any other context about the problem here.
Example: GPU model
[tp8_error.log](https://github.com/NVIDIA/NeMo/files/14338551/tp8_error.log)
| {
"login": "github-actions[bot]",
"id": 41898282,
"node_id": "MDM6Qm90NDE4OTgyODI=",
"avatar_url": "https://avatars.githubusercontent.com/in/15368?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/github-actions%5Bbot%5D",
"html_url": "https://github.com/apps/github-actions",
"followers_url": "https://api.github.com/users/github-actions%5Bbot%5D/followers",
"following_url": "https://api.github.com/users/github-actions%5Bbot%5D/following{/other_user}",
"gists_url": "https://api.github.com/users/github-actions%5Bbot%5D/gists{/gist_id}",
"starred_url": "https://api.github.com/users/github-actions%5Bbot%5D/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/github-actions%5Bbot%5D/subscriptions",
"organizations_url": "https://api.github.com/users/github-actions%5Bbot%5D/orgs",
"repos_url": "https://api.github.com/users/github-actions%5Bbot%5D/repos",
"events_url": "https://api.github.com/users/github-actions%5Bbot%5D/events{/privacy}",
"received_events_url": "https://api.github.com/users/github-actions%5Bbot%5D/received_events",
"type": "Bot",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/8460/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/8460/timeline | null | not_planned | false |
https://api.github.com/repos/NVIDIA/NeMo/issues/8459 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/8459/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/8459/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/8459/events | https://github.com/NVIDIA/NeMo/issues/8459 | 2,142,727,118 | I_kwDOC_bI7s5_t2vO | 8,459 | Python 3.11 torch.jit.script segmentation fault | {
"login": "dkurt",
"id": 25801568,
"node_id": "MDQ6VXNlcjI1ODAxNTY4",
"avatar_url": "https://avatars.githubusercontent.com/u/25801568?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dkurt",
"html_url": "https://github.com/dkurt",
"followers_url": "https://api.github.com/users/dkurt/followers",
"following_url": "https://api.github.com/users/dkurt/following{/other_user}",
"gists_url": "https://api.github.com/users/dkurt/gists{/gist_id}",
"starred_url": "https://api.github.com/users/dkurt/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/dkurt/subscriptions",
"organizations_url": "https://api.github.com/users/dkurt/orgs",
"repos_url": "https://api.github.com/users/dkurt/repos",
"events_url": "https://api.github.com/users/dkurt/events{/privacy}",
"received_events_url": "https://api.github.com/users/dkurt/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"id": 1485815557,
"node_id": "MDU6TGFiZWwxNDg1ODE1NTU3",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": "Something isn't working"
}
] | closed | false | null | [] | null | [
"Probably related: https://github.com/pytorch/pytorch/issues/86566",
"Yikes. Fyi @tango4j @nithinraok @artbataev ",
"@dkurt What version of PyTorch do you use? What is the environment (OS, conda/pip, etc)?",
"@artbataev, Extremely apologize. Segmentation fault reproduced with Python `3.11.0rc1` and PyTorch 2.1.0/2.2.0. After upgrade to Python `3.11.7` everything works fine."
] | 2024-02-19T16:14:28 | 2024-02-20T11:02:23 | 2024-02-20T11:02:23 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | **Describe the bug**
Segmentation fault when import asr:
```
$ python -c "from nemo.collections.asr.models.msdd_models import NeuralDiarizer"
Segmentation fault (core dumped)
```
`faulthandler` reports a problem with `@torch.jit.script` compilation: https://github.com/NVIDIA/NeMo/blob/df5a39583e31fd99bda371759c7954f928195594/nemo/collections/asr/parts/utils/online_clustering.py#L119-L120
```
Fatal Python error: Segmentation fault
Current thread 0x00007f0df18b7000 (most recent call first):
File "/home/dkurtaev/NeMo/.venv/lib/python3.11/site-packages/torch/jit/_script.py", line 1399 in script
File "/home/dkurtaev/NeMo/.venv/lib/python3.11/site-packages/torch/jit/_recursive.py", line 1003 in try_compile_fn
File "/home/dkurtaev/NeMo/.venv/lib/python3.11/site-packages/torch/jit/_script.py", line 1395 in script
File "/home/dkurtaev/NeMo/.venv/lib/python3.11/site-packages/torch/jit/_recursive.py", line 1003 in try_compile_fn
File "/home/dkurtaev/NeMo/.venv/lib/python3.11/site-packages/torch/jit/_script.py", line 1395 in script
File "/home/dkurtaev/NeMo/.venv/lib/python3.11/site-packages/torch/jit/_recursive.py", line 1003 in try_compile_fn
File "/home/dkurtaev/NeMo/.venv/lib/python3.11/site-packages/torch/jit/_script.py", line 1395 in script
File "/home/dkurtaev/NeMo/nemo/collections/asr/parts/utils/online_clustering.py", line 119 in <module>
File "<frozen importlib._bootstrap>", line 241 in _call_with_frames_removed
File "<frozen importlib._bootstrap_external>", line 940 in exec_module
File "<frozen importlib._bootstrap>", line 690 in _load_unlocked
File "<frozen importlib._bootstrap>", line 1149 in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 1178 in _find_and_load
File "/home/dkurtaev/NeMo/nemo/collections/asr/parts/utils/longform_clustering.py", line 24 in <module>
File "<frozen importlib._bootstrap>", line 241 in _call_with_frames_removed
File "<frozen importlib._bootstrap_external>", line 940 in exec_module
File "<frozen importlib._bootstrap>", line 690 in _load_unlocked
File "<frozen importlib._bootstrap>", line 1149 in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 1178 in _find_and_load
File "/home/dkurtaev/NeMo/nemo/collections/asr/parts/utils/speaker_utils.py", line 31 in <module>
File "<frozen importlib._bootstrap>", line 241 in _call_with_frames_removed
File "<frozen importlib._bootstrap_external>", line 940 in exec_module
File "<frozen importlib._bootstrap>", line 690 in _load_unlocked
File "<frozen importlib._bootstrap>", line 1149 in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 1178 in _find_and_load
File "/home/dkurtaev/NeMo/nemo/collections/asr/parts/utils/manifest_utils.py", line 25 in <module>
File "<frozen importlib._bootstrap>", line 241 in _call_with_frames_removed
File "<frozen importlib._bootstrap_external>", line 940 in exec_module
File "<frozen importlib._bootstrap>", line 690 in _load_unlocked
File "<frozen importlib._bootstrap>", line 1149 in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 1178 in _find_and_load
File "<frozen importlib._bootstrap>", line 241 in _call_with_frames_removed
File "<frozen importlib._bootstrap>", line 1234 in _handle_fromlist
File "/home/dkurtaev/NeMo/nemo/collections/asr/models/aed_multitask_models.py", line 44 in <module>
File "<frozen importlib._bootstrap>", line 241 in _call_with_frames_removed
File "<frozen importlib._bootstrap_external>", line 940 in exec_module
File "<frozen importlib._bootstrap>", line 690 in _load_unlocked
File "<frozen importlib._bootstrap>", line 1149 in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 1178 in _find_and_load
File "/home/dkurtaev/NeMo/nemo/collections/asr/models/__init__.py", line 15 in <module>
File "<frozen importlib._bootstrap>", line 241 in _call_with_frames_removed
File "<frozen importlib._bootstrap_external>", line 940 in exec_module
File "<frozen importlib._bootstrap>", line 690 in _load_unlocked
File "<frozen importlib._bootstrap>", line 1149 in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 1178 in _find_and_load
File "<frozen importlib._bootstrap>", line 241 in _call_with_frames_removed
File "<frozen importlib._bootstrap>", line 1234 in _handle_fromlist
File "/home/dkurtaev/NeMo/nemo/collections/asr/__init__.py", line 15 in <module>
File "<frozen importlib._bootstrap>", line 241 in _call_with_frames_removed
File "<frozen importlib._bootstrap_external>", line 940 in exec_module
File "<frozen importlib._bootstrap>", line 690 in _load_unlocked
File "<frozen importlib._bootstrap>", line 1149 in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 1178 in _find_and_load
File "<frozen importlib._bootstrap>", line 241 in _call_with_frames_removed
File "<frozen importlib._bootstrap>", line 1128 in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 1178 in _find_and_load
File "<frozen importlib._bootstrap>", line 241 in _call_with_frames_removed
File "<frozen importlib._bootstrap>", line 1128 in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 1178 in _find_and_load
File "/home/dkurtaev/audio_analytics/run.py", line 54 in <module>
Extension modules: numpy.core._multiarray_umath, numpy.core._multiarray_tests, numpy.linalg._umath_linalg, numpy.fft._pocketfft_internal, numpy.random._common, numpy.random.bit_generator, numpy.random._bounded_integers, numpy.random._mt19937, numpy.random.mtrand, numpy.random._philox, numpy.random._pcg64, numpy.random._sfc64, numpy.random._generator, torch._C, torch._C._fft, torch._C._linalg, torch._C._nested, torch._C._nn, torch._C._sparse, torch._C._special, yaml._yaml, matplotlib._c_internal_utils, PIL._imaging, matplotlib._path, kiwisolver._cext, matplotlib._image, regex._regex, charset_normalizer.md, sentencepiece._sentencepiece, google._upb._message, psutil._psutil_linux, psutil._psutil_posix, _cffi_backend, scipy._lib._ccallback_c, scipy.signal._sigtools, scipy.linalg._fblas, scipy.linalg._flapack, scipy.linalg.cython_lapack, scipy.linalg._cythonized_array_utils, scipy.linalg._solve_toeplitz, scipy.linalg._flinalg, scipy.linalg._decomp_lu_cython, scipy.linalg._matfuncs_sqrtm_triu, scipy.linalg.cython_blas, scipy.linalg._matfuncs_expm, scipy.linalg._decomp_update, scipy.sparse._sparsetools, _csparsetools, scipy.sparse._csparsetools, scipy.sparse.linalg._dsolve._superlu, scipy.sparse.linalg._eigen.arpack._arpack, scipy.sparse.csgraph._tools, scipy.sparse.csgraph._shortest_path, scipy.sparse.csgraph._traversal, scipy.sparse.csgraph._min_spanning_tree, scipy.sparse.csgraph._flow, scipy.sparse.csgraph._matching, scipy.sparse.csgraph._reordering, scipy.special._ufuncs_cxx, scipy.special._ufuncs, scipy.special._specfun, scipy.special._comb, scipy.special._ellip_harm_2, scipy._lib._uarray._uarray, scipy.signal._max_len_seq_inner, scipy.signal._upfirdn_apply, scipy.signal._spline, scipy.spatial._ckdtree, scipy._lib.messagestream, scipy.spatial._qhull, scipy.spatial._voronoi, scipy.spatial._distance_wrap, scipy.spatial._hausdorff, scipy.spatial.transform._rotation, scipy.integrate._odepack, scipy.integrate._quadpack, scipy.integrate._vode, scipy.integrate._dop, scipy.integrate._lsoda, scipy.optimize._minpack2, scipy.optimize._group_columns, scipy.optimize._trlib._trlib, scipy.optimize._lbfgsb, _moduleTNC, scipy.optimize._moduleTNC, scipy.optimize._cobyla, scipy.optimize._slsqp, scipy.optimize._minpack, scipy.optimize._lsq.givens_elimination, scipy.optimize._zeros, scipy.optimize._highs.cython.src._highs_wrapper, scipy.optimize._highs._highs_wrapper, scipy.optimize._highs.cython.src._highs_constants, scipy.optimize._highs._highs_constants, scipy.linalg._interpolative, scipy.optimize._bglu_dense, scipy.optimize._lsap, scipy.optimize._direct, scipy.interpolate._fitpack, scipy.interpolate.dfitpack, scipy.interpolate._bspl, scipy.interpolate._ppoly, scipy.interpolate.interpnd, scipy.interpolate._rbfinterp_pythran, scipy.interpolate._rgi_cython, scipy.ndimage._nd_image, _ni_label, scipy.ndimage._ni_label, scipy.signal._sosfilt, scipy.signal._spectral, scipy.special.cython_special, scipy.stats._stats, scipy.stats.beta_ufunc, scipy.stats._boost.beta_ufunc, scipy.stats.binom_ufunc, scipy.stats._boost.binom_ufunc, scipy.stats.nbinom_ufunc, scipy.stats._boost.nbinom_ufunc, scipy.stats.hypergeom_ufunc, scipy.stats._boost.hypergeom_ufunc, scipy.stats.ncf_ufunc, scipy.stats._boost.ncf_ufunc, scipy.stats.ncx2_ufunc, scipy.stats._boost.ncx2_ufunc, scipy.stats.nct_ufunc, scipy.stats._boost.nct_ufunc, scipy.stats.skewnorm_ufunc, scipy.stats._boost.skewnorm_ufunc, scipy.stats.invgauss_ufunc, scipy.stats._boost.invgauss_ufunc, scipy.stats._biasedurn, scipy.stats._levy_stable.levyst, scipy.stats._stats_pythran, scipy.stats._ansari_swilk_statistics, scipy.stats._sobol, scipy.stats._qmc_cy, scipy.stats._mvn, scipy.stats._rcont.rcont, scipy.stats._unuran.unuran_wrapper, scipy.signal._peak_finding_utils, pyarrow.lib, pyarrow._hdfsio, pandas._libs.tslibs.ccalendar, pandas._libs.tslibs.np_datetime, pandas._libs.tslibs.dtypes, pandas._libs.tslibs.base, pandas._libs.tslibs.nattype, pandas._libs.tslibs.timezones, pandas._libs.tslibs.fields, pandas._libs.tslibs.timedeltas, pandas._libs.tslibs.tzconversion, pandas._libs.tslibs.timestamps, pandas._libs.properties, pandas._libs.tslibs.offsets, pandas._libs.tslibs.strptime, pandas._libs.tslibs.parsing, pandas._libs.tslibs.conversion, pandas._libs.tslibs.period, pandas._libs.tslibs.vectorized, pandas._libs.ops_dispatch, pandas._libs.missing, pandas._libs.hashtable, pandas._libs.algos, pandas._libs.interval, pandas._libs.lib, pyarrow._compute, pandas._libs.ops, pandas._libs.hashing, pandas._libs.arrays, pandas._libs.tslib, pandas._libs.sparse, pandas._libs.internals, pandas._libs.indexing, pandas._libs.index, pandas._libs.writers, pandas._libs.join, pandas._libs.window.aggregations, pandas._libs.window.indexers, pandas._libs.reshape, pandas._libs.groupby, pandas._libs.json, pandas._libs.parsers, pandas._libs.testing, numba.core.typeconv._typeconv, numba._helperlib, numba._dynfunc, numba._dispatcher, numba.core.runtime._nrt_python, numba.np.ufunc._internal, numba.experimental.jitclass._box, numba.mviewbuf, numba.types.itertools, cytoolz.utils, cytoolz.itertoolz, cytoolz.functoolz, cytoolz.dicttoolz, cytoolz.recipes (total: 197)
Segmentation fault (core dumped)
```
When use Python 3.10 or Python 3.11 with `PYTORCH_JIT=0` import passes.
**Steps/Code to reproduce bug**
```
python3.11 -m venv .venv
source .venv/bin/activate
pip install --upgrade pip
pip install -r requirements/requirements_lightning.txt
pip install -r requirements/requirements_asr.txt
pip install -r requirements/requirements.txt
pip install -r requirements/requirements_common.txt
``` | {
"login": "dkurt",
"id": 25801568,
"node_id": "MDQ6VXNlcjI1ODAxNTY4",
"avatar_url": "https://avatars.githubusercontent.com/u/25801568?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dkurt",
"html_url": "https://github.com/dkurt",
"followers_url": "https://api.github.com/users/dkurt/followers",
"following_url": "https://api.github.com/users/dkurt/following{/other_user}",
"gists_url": "https://api.github.com/users/dkurt/gists{/gist_id}",
"starred_url": "https://api.github.com/users/dkurt/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/dkurt/subscriptions",
"organizations_url": "https://api.github.com/users/dkurt/orgs",
"repos_url": "https://api.github.com/users/dkurt/repos",
"events_url": "https://api.github.com/users/dkurt/events{/privacy}",
"received_events_url": "https://api.github.com/users/dkurt/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/8459/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/8459/timeline | null | not_planned | false |
https://api.github.com/repos/NVIDIA/NeMo/issues/8458 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/8458/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/8458/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/8458/events | https://github.com/NVIDIA/NeMo/pull/8458 | 2,142,620,820 | PR_kwDOC_bI7s5nTUnR | 8,458 | FSDP support for GPT fine-tuning | {
"login": "dimapihtar",
"id": 37850217,
"node_id": "MDQ6VXNlcjM3ODUwMjE3",
"avatar_url": "https://avatars.githubusercontent.com/u/37850217?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dimapihtar",
"html_url": "https://github.com/dimapihtar",
"followers_url": "https://api.github.com/users/dimapihtar/followers",
"following_url": "https://api.github.com/users/dimapihtar/following{/other_user}",
"gists_url": "https://api.github.com/users/dimapihtar/gists{/gist_id}",
"starred_url": "https://api.github.com/users/dimapihtar/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/dimapihtar/subscriptions",
"organizations_url": "https://api.github.com/users/dimapihtar/orgs",
"repos_url": "https://api.github.com/users/dimapihtar/repos",
"events_url": "https://api.github.com/users/dimapihtar/events{/privacy}",
"received_events_url": "https://api.github.com/users/dimapihtar/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"id": 4811886210,
"node_id": "LA_kwDOC_bI7s8AAAABHs-Ogg",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/NLP",
"name": "NLP",
"color": "CBF09A",
"default": false,
"description": ""
}
] | closed | false | null | [] | null | [
"jenkins",
"jenkins"
] | 2024-02-19T15:22:59 | 2024-02-28T17:18:29 | 2024-02-28T17:18:28 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/8458",
"html_url": "https://github.com/NVIDIA/NeMo/pull/8458",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/8458.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/8458.patch",
"merged_at": "2024-02-28T17:18:28"
} | # What does this PR do ?
1) FSDP bug fix.
2) FSDP support for GPT fine-tuning.
**Collection**: [Note which collection this PR will affect]
# Changelog
- Add specific line by line info of high level changes in this PR.
# Usage
* You can potentially add a usage example below
```python
# Add a code snippet demonstrating how to use this
```
# Jenkins CI
To run Jenkins, a NeMo User with write access must comment `jenkins` on the PR.
# Before your PR is "Ready for review"
**Pre checks**:
- [ ] Make sure you read and followed [Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md)
- [ ] Did you write any new necessary tests?
- [ ] Did you add or update any necessary documentation?
- [ ] Does the PR affect components that are optional to install? (Ex: Numba, Pynini, Apex etc)
- [ ] Reviewer: Does the PR have correct import guards for all optional libraries?
**PR Type**:
- [ ] New Feature
- [ ] Bugfix
- [ ] Documentation
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](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md) contains specific people who can review PRs to various areas.
# Additional Information
* Related to # (issue)
| {
"login": "dimapihtar",
"id": 37850217,
"node_id": "MDQ6VXNlcjM3ODUwMjE3",
"avatar_url": "https://avatars.githubusercontent.com/u/37850217?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dimapihtar",
"html_url": "https://github.com/dimapihtar",
"followers_url": "https://api.github.com/users/dimapihtar/followers",
"following_url": "https://api.github.com/users/dimapihtar/following{/other_user}",
"gists_url": "https://api.github.com/users/dimapihtar/gists{/gist_id}",
"starred_url": "https://api.github.com/users/dimapihtar/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/dimapihtar/subscriptions",
"organizations_url": "https://api.github.com/users/dimapihtar/orgs",
"repos_url": "https://api.github.com/users/dimapihtar/repos",
"events_url": "https://api.github.com/users/dimapihtar/events{/privacy}",
"received_events_url": "https://api.github.com/users/dimapihtar/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/8458/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/8458/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/8456 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/8456/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/8456/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/8456/events | https://github.com/NVIDIA/NeMo/issues/8456 | 2,141,732,628 | I_kwDOC_bI7s5_qD8U | 8,456 | Which container to use for nemofw-inference. | {
"login": "Syulin7",
"id": 37265556,
"node_id": "MDQ6VXNlcjM3MjY1NTU2",
"avatar_url": "https://avatars.githubusercontent.com/u/37265556?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Syulin7",
"html_url": "https://github.com/Syulin7",
"followers_url": "https://api.github.com/users/Syulin7/followers",
"following_url": "https://api.github.com/users/Syulin7/following{/other_user}",
"gists_url": "https://api.github.com/users/Syulin7/gists{/gist_id}",
"starred_url": "https://api.github.com/users/Syulin7/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Syulin7/subscriptions",
"organizations_url": "https://api.github.com/users/Syulin7/orgs",
"repos_url": "https://api.github.com/users/Syulin7/repos",
"events_url": "https://api.github.com/users/Syulin7/events{/privacy}",
"received_events_url": "https://api.github.com/users/Syulin7/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"id": 4585431311,
"node_id": "LA_kwDOC_bI7s8AAAABEVAhDw",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/stale",
"name": "stale",
"color": "ededed",
"default": false,
"description": null
}
] | closed | false | {
"login": "okuchaiev",
"id": 22035961,
"node_id": "MDQ6VXNlcjIyMDM1OTYx",
"avatar_url": "https://avatars.githubusercontent.com/u/22035961?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/okuchaiev",
"html_url": "https://github.com/okuchaiev",
"followers_url": "https://api.github.com/users/okuchaiev/followers",
"following_url": "https://api.github.com/users/okuchaiev/following{/other_user}",
"gists_url": "https://api.github.com/users/okuchaiev/gists{/gist_id}",
"starred_url": "https://api.github.com/users/okuchaiev/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/okuchaiev/subscriptions",
"organizations_url": "https://api.github.com/users/okuchaiev/orgs",
"repos_url": "https://api.github.com/users/okuchaiev/repos",
"events_url": "https://api.github.com/users/okuchaiev/events{/privacy}",
"received_events_url": "https://api.github.com/users/okuchaiev/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"login": "okuchaiev",
"id": 22035961,
"node_id": "MDQ6VXNlcjIyMDM1OTYx",
"avatar_url": "https://avatars.githubusercontent.com/u/22035961?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/okuchaiev",
"html_url": "https://github.com/okuchaiev",
"followers_url": "https://api.github.com/users/okuchaiev/followers",
"following_url": "https://api.github.com/users/okuchaiev/following{/other_user}",
"gists_url": "https://api.github.com/users/okuchaiev/gists{/gist_id}",
"starred_url": "https://api.github.com/users/okuchaiev/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/okuchaiev/subscriptions",
"organizations_url": "https://api.github.com/users/okuchaiev/orgs",
"repos_url": "https://api.github.com/users/okuchaiev/repos",
"events_url": "https://api.github.com/users/okuchaiev/events{/privacy}",
"received_events_url": "https://api.github.com/users/okuchaiev/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
}
] | null | [
"Hi, can you add me to the org/team ea-bignlp/ga-participants. I can't get any info about private repository, so i can't pull that container. Thanks you so much!",
"This issue is stale because it has been open for 30 days with no activity. Remove stale label or comment or this will be closed in 7 days.",
"This issue was closed because it has been inactive for 7 days since being marked as stale."
] | 2024-02-19T07:50:05 | 2024-04-08T01:44:40 | 2024-04-08T01:44:40 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | In https://github.com/NVIDIA/NeMo-Megatron-Launcher/pull/233,
training container image update to `nvcr.io/nvidia/nemo:24.01.framework`
but nemo inference container image is still in private repository `nvcr.io/ea-bignlp/ga-participants/nemofw-inference`
Is there a plan to migrate the nemo inference container image to nvcr.io/nvidia as well? | {
"login": "github-actions[bot]",
"id": 41898282,
"node_id": "MDM6Qm90NDE4OTgyODI=",
"avatar_url": "https://avatars.githubusercontent.com/in/15368?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/github-actions%5Bbot%5D",
"html_url": "https://github.com/apps/github-actions",
"followers_url": "https://api.github.com/users/github-actions%5Bbot%5D/followers",
"following_url": "https://api.github.com/users/github-actions%5Bbot%5D/following{/other_user}",
"gists_url": "https://api.github.com/users/github-actions%5Bbot%5D/gists{/gist_id}",
"starred_url": "https://api.github.com/users/github-actions%5Bbot%5D/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/github-actions%5Bbot%5D/subscriptions",
"organizations_url": "https://api.github.com/users/github-actions%5Bbot%5D/orgs",
"repos_url": "https://api.github.com/users/github-actions%5Bbot%5D/repos",
"events_url": "https://api.github.com/users/github-actions%5Bbot%5D/events{/privacy}",
"received_events_url": "https://api.github.com/users/github-actions%5Bbot%5D/received_events",
"type": "Bot",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/8456/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/8456/timeline | null | not_planned | false |
https://api.github.com/repos/NVIDIA/NeMo/issues/8453 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/8453/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/8453/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/8453/events | https://github.com/NVIDIA/NeMo/issues/8453 | 2,141,211,066 | I_kwDOC_bI7s5_oEm6 | 8,453 | Prepare a dataset for speaker verification training | {
"login": "omarabb315",
"id": 49747434,
"node_id": "MDQ6VXNlcjQ5NzQ3NDM0",
"avatar_url": "https://avatars.githubusercontent.com/u/49747434?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/omarabb315",
"html_url": "https://github.com/omarabb315",
"followers_url": "https://api.github.com/users/omarabb315/followers",
"following_url": "https://api.github.com/users/omarabb315/following{/other_user}",
"gists_url": "https://api.github.com/users/omarabb315/gists{/gist_id}",
"starred_url": "https://api.github.com/users/omarabb315/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/omarabb315/subscriptions",
"organizations_url": "https://api.github.com/users/omarabb315/orgs",
"repos_url": "https://api.github.com/users/omarabb315/repos",
"events_url": "https://api.github.com/users/omarabb315/events{/privacy}",
"received_events_url": "https://api.github.com/users/omarabb315/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"id": 4585431311,
"node_id": "LA_kwDOC_bI7s8AAAABEVAhDw",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/stale",
"name": "stale",
"color": "ededed",
"default": false,
"description": null
}
] | closed | false | null | [] | null | [
"This issue is stale because it has been open for 30 days with no activity. Remove stale label or comment or this will be closed in 7 days.",
"This issue was closed because it has been inactive for 7 days since being marked as stale."
] | 2024-02-18T22:17:39 | 2024-03-27T01:44:10 | 2024-03-27T01:44:09 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | Hello, how can I prepare a dataset to fine-tune or pretrain a model for speaker verification task, knowing that my current dataset has these fields: (audio, transcription, speaker-id)?
Thank you | {
"login": "github-actions[bot]",
"id": 41898282,
"node_id": "MDM6Qm90NDE4OTgyODI=",
"avatar_url": "https://avatars.githubusercontent.com/in/15368?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/github-actions%5Bbot%5D",
"html_url": "https://github.com/apps/github-actions",
"followers_url": "https://api.github.com/users/github-actions%5Bbot%5D/followers",
"following_url": "https://api.github.com/users/github-actions%5Bbot%5D/following{/other_user}",
"gists_url": "https://api.github.com/users/github-actions%5Bbot%5D/gists{/gist_id}",
"starred_url": "https://api.github.com/users/github-actions%5Bbot%5D/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/github-actions%5Bbot%5D/subscriptions",
"organizations_url": "https://api.github.com/users/github-actions%5Bbot%5D/orgs",
"repos_url": "https://api.github.com/users/github-actions%5Bbot%5D/repos",
"events_url": "https://api.github.com/users/github-actions%5Bbot%5D/events{/privacy}",
"received_events_url": "https://api.github.com/users/github-actions%5Bbot%5D/received_events",
"type": "Bot",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/8453/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/8453/timeline | null | not_planned | false |
https://api.github.com/repos/NVIDIA/NeMo/issues/8452 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/8452/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/8452/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/8452/events | https://github.com/NVIDIA/NeMo/issues/8452 | 2,140,910,099 | I_kwDOC_bI7s5_m7IT | 8,452 | How to discriminate valid phones and silence using nemo forced aligner | {
"login": "ozmemory",
"id": 20535079,
"node_id": "MDQ6VXNlcjIwNTM1MDc5",
"avatar_url": "https://avatars.githubusercontent.com/u/20535079?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ozmemory",
"html_url": "https://github.com/ozmemory",
"followers_url": "https://api.github.com/users/ozmemory/followers",
"following_url": "https://api.github.com/users/ozmemory/following{/other_user}",
"gists_url": "https://api.github.com/users/ozmemory/gists{/gist_id}",
"starred_url": "https://api.github.com/users/ozmemory/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ozmemory/subscriptions",
"organizations_url": "https://api.github.com/users/ozmemory/orgs",
"repos_url": "https://api.github.com/users/ozmemory/repos",
"events_url": "https://api.github.com/users/ozmemory/events{/privacy}",
"received_events_url": "https://api.github.com/users/ozmemory/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"id": 4585431311,
"node_id": "LA_kwDOC_bI7s8AAAABEVAhDw",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/stale",
"name": "stale",
"color": "ededed",
"default": false,
"description": null
}
] | closed | false | {
"login": "okuchaiev",
"id": 22035961,
"node_id": "MDQ6VXNlcjIyMDM1OTYx",
"avatar_url": "https://avatars.githubusercontent.com/u/22035961?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/okuchaiev",
"html_url": "https://github.com/okuchaiev",
"followers_url": "https://api.github.com/users/okuchaiev/followers",
"following_url": "https://api.github.com/users/okuchaiev/following{/other_user}",
"gists_url": "https://api.github.com/users/okuchaiev/gists{/gist_id}",
"starred_url": "https://api.github.com/users/okuchaiev/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/okuchaiev/subscriptions",
"organizations_url": "https://api.github.com/users/okuchaiev/orgs",
"repos_url": "https://api.github.com/users/okuchaiev/repos",
"events_url": "https://api.github.com/users/okuchaiev/events{/privacy}",
"received_events_url": "https://api.github.com/users/okuchaiev/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"login": "okuchaiev",
"id": 22035961,
"node_id": "MDQ6VXNlcjIyMDM1OTYx",
"avatar_url": "https://avatars.githubusercontent.com/u/22035961?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/okuchaiev",
"html_url": "https://github.com/okuchaiev",
"followers_url": "https://api.github.com/users/okuchaiev/followers",
"following_url": "https://api.github.com/users/okuchaiev/following{/other_user}",
"gists_url": "https://api.github.com/users/okuchaiev/gists{/gist_id}",
"starred_url": "https://api.github.com/users/okuchaiev/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/okuchaiev/subscriptions",
"organizations_url": "https://api.github.com/users/okuchaiev/orgs",
"repos_url": "https://api.github.com/users/okuchaiev/repos",
"events_url": "https://api.github.com/users/okuchaiev/events{/privacy}",
"received_events_url": "https://api.github.com/users/okuchaiev/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
}
] | null | [
"This issue is stale because it has been open for 30 days with no activity. Remove stale label or comment or this will be closed in 7 days.",
"This issue was closed because it has been inactive for 7 days since being marked as stale."
] | 2024-02-18T10:25:42 | 2024-03-27T01:44:12 | 2024-03-27T01:44:11 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | **Is your feature request related to a problem? Please describe.**
I tried to use forced aligner to generate timestamps for my audio files, I got ctm results in tokens like this:
100001 1 0.00 0.44 \<b>
100001 1 0.44 0.04 WORD1
100001 1 0.48 0.20 \<b>
100001 1 0.68 0.04 WORD2
100001 1 0.72 0.20 \<b>
100001 1 0.92 0.04 WORD3
100001 1 0.96 0.16 \<b>
100001 1 1.12 0.04 WORD4
Every valid token(none blank ones) has the same duration 0.04, while \<b>'s duration changes. when I tried to use another model , the fixed value changed from 0.04 to 0.08, but still keeps the same for valid phones.
I believe the real duration for a valid phone varies, and some parts of the vowels were wrongly moved to \<b>, which makes it hard to discriminate valid phones and real silence part. It should be quite common that there are no noteworthy silence between words in some sentences.
**Describe the solution you'd like**
Is it possible to make the timestamp around \<b> more accurate, or add some other symbols for noteworthy silence like "sp"/"sil"?
| {
"login": "github-actions[bot]",
"id": 41898282,
"node_id": "MDM6Qm90NDE4OTgyODI=",
"avatar_url": "https://avatars.githubusercontent.com/in/15368?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/github-actions%5Bbot%5D",
"html_url": "https://github.com/apps/github-actions",
"followers_url": "https://api.github.com/users/github-actions%5Bbot%5D/followers",
"following_url": "https://api.github.com/users/github-actions%5Bbot%5D/following{/other_user}",
"gists_url": "https://api.github.com/users/github-actions%5Bbot%5D/gists{/gist_id}",
"starred_url": "https://api.github.com/users/github-actions%5Bbot%5D/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/github-actions%5Bbot%5D/subscriptions",
"organizations_url": "https://api.github.com/users/github-actions%5Bbot%5D/orgs",
"repos_url": "https://api.github.com/users/github-actions%5Bbot%5D/repos",
"events_url": "https://api.github.com/users/github-actions%5Bbot%5D/events{/privacy}",
"received_events_url": "https://api.github.com/users/github-actions%5Bbot%5D/received_events",
"type": "Bot",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/8452/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/8452/timeline | null | not_planned | false |
https://api.github.com/repos/NVIDIA/NeMo/issues/8451 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/8451/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/8451/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/8451/events | https://github.com/NVIDIA/NeMo/issues/8451 | 2,139,927,821 | I_kwDOC_bI7s5_jLUN | 8,451 | Failed to generate timestamp for nvidia/parakeet-tdt-1.1b | {
"login": "leohuang2013",
"id": 4549946,
"node_id": "MDQ6VXNlcjQ1NDk5NDY=",
"avatar_url": "https://avatars.githubusercontent.com/u/4549946?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/leohuang2013",
"html_url": "https://github.com/leohuang2013",
"followers_url": "https://api.github.com/users/leohuang2013/followers",
"following_url": "https://api.github.com/users/leohuang2013/following{/other_user}",
"gists_url": "https://api.github.com/users/leohuang2013/gists{/gist_id}",
"starred_url": "https://api.github.com/users/leohuang2013/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/leohuang2013/subscriptions",
"organizations_url": "https://api.github.com/users/leohuang2013/orgs",
"repos_url": "https://api.github.com/users/leohuang2013/repos",
"events_url": "https://api.github.com/users/leohuang2013/events{/privacy}",
"received_events_url": "https://api.github.com/users/leohuang2013/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"id": 1485815557,
"node_id": "MDU6TGFiZWwxNDg1ODE1NTU3",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": "Something isn't working"
},
{
"id": 4585431311,
"node_id": "LA_kwDOC_bI7s8AAAABEVAhDw",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/stale",
"name": "stale",
"color": "ededed",
"default": false,
"description": null
}
] | closed | false | null | [] | null | [
"Also seeing this error.\r\n\r\nMy temporary workaround is to catch ValueErrors and just add a second or two of blank audio to the end of the file before re-processing which seems to work as a temporary stop-gap until this can be fixed.",
"This issue is stale because it has been open for 30 days with no activity. Remove stale label or comment or this will be closed in 7 days.",
"Adding comment to prevent this issue from closing.",
"This issue is stale because it has been open for 30 days with no activity. Remove stale label or comment or this will be closed in 7 days.",
"This issue was closed because it has been inactive for 7 days since being marked as stale.",
"@bradmurray-dt Still facing this issue with 'parakeet-tdt-1.1b' and 'parakeet-tdt-ctc-1.1b':\r\n\r\n```\r\n File \"/lib/python3.10/site-packages/nemo/collections/asr/parts/submodules/rnnt_decoding.py\", line 510, in rnnt_decoder_predictions_tensor\r\n hypotheses[hyp_idx] = self.compute_rnnt_timestamps(hypotheses[hyp_idx], timestamp_type)\r\n File \"/lib/python3.10/site-packages/nemo/collections/asr/parts/submodules/rnnt_decoding.py\", line 753, in compute_rnnt_timestamps\r\n raise ValueError(\r\nValueError: `char_offsets`: [{'char': [tensor(386, dtype=torch.int32)], 'start_offset': 2, 'end_offset': 3},.....\r\nhave to be of the same length, but are: `len(offsets)`: 102 and `len(processed_tokens)`: 103\r\n```"
] | 2024-02-17T10:08:31 | 2024-06-19T01:54:08 | 2024-05-18T01:45:29 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | **Describe the bug**
When I tried to generate timestamp with model: nvidia/parakeet-tdt-1.1b, I got following error,
ValueError: `char_offsets`: [{'char': [tensor(607, dtype=torch.int32)], 'start_offset': 28, 'end_offset': 29}....
call stack,
```
Traceback (most recent call last):
File "/tmp/inference/nvidia_asr.py", line 103, in <module>
main()
File "/tmp/inference/nvidia_asr.py", line 94, in main
tt = parakeet_rnnt( audio, 'tdt' )
File "/tmp/inference/nvidia_asr.py", line 45, in parakeet_rnnt
hypothesis = asr_model.transcribe([audio], return_hypotheses=True)[0][0]
File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 115, in decorate_context
return func(*args, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/nemo/collections/asr/models/rnnt_models.py", line 298, in transcribe
best_hyp, all_hyp = self.decoding.rnnt_decoder_predictions_tensor(
File "/usr/local/lib/python3.10/dist-packages/nemo/collections/asr/metrics/rnnt_wer.py", line 497, in rnnt_decoder_predictions_tensor
hypotheses[hyp_idx] = self.compute_rnnt_timestamps(hypotheses[hyp_idx], timestamp_type)
File "/usr/local/lib/python3.10/dist-packages/nemo/collections/asr/metrics/rnnt_wer.py", line 699, in compute_rnnt_timestamps
raise ValueError(
```
**Steps/Code to reproduce bug**
The code to reproduce above the bug,
(The code below can be used to get timestamp if use parakeet rnnt-1.1b model )
```
asr_model = nemo_asr.models.ASRModel.from_pretrained("nvidia/parakeet-tdt-1.1b")
decoding_cfg = asr_model.cfg.decoding
with open_dict(decoding_cfg):
decoding_cfg.preserve_alignments = True
decoding_cfg.compute_timestamps = True
decoding_cfg.rnnt_timestamp_type = 'word'
asr_model.change_decoding_strategy(decoding_cfg)
hypothesis = asr_model.transcribe([audio], return_hypotheses=True)[0][0]
timestamp_dict = hypothesis.timestep
word_timestamps = timestamp_dict['word']
print(word_timestamps)
```
**Expected behavior**
It should output word timestamps instead of exception.
**Environment overview (please complete the following information)**
- Environment location: run in local ubuntu22.04 machine.
- Method of NeMo install: pip install nemo_toolkit['all']
**Environment details**
If NVIDIA docker image is used you don't need to specify these.
Otherwise, please provide:
- OS version: ubuntu 22.04
- PyTorch version: 2.2.0+cu118
- Python version: 3.10.12
**Additional context**
Add any other context about the problem here.
GPU model: GTX 1080T
| {
"login": "github-actions[bot]",
"id": 41898282,
"node_id": "MDM6Qm90NDE4OTgyODI=",
"avatar_url": "https://avatars.githubusercontent.com/in/15368?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/github-actions%5Bbot%5D",
"html_url": "https://github.com/apps/github-actions",
"followers_url": "https://api.github.com/users/github-actions%5Bbot%5D/followers",
"following_url": "https://api.github.com/users/github-actions%5Bbot%5D/following{/other_user}",
"gists_url": "https://api.github.com/users/github-actions%5Bbot%5D/gists{/gist_id}",
"starred_url": "https://api.github.com/users/github-actions%5Bbot%5D/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/github-actions%5Bbot%5D/subscriptions",
"organizations_url": "https://api.github.com/users/github-actions%5Bbot%5D/orgs",
"repos_url": "https://api.github.com/users/github-actions%5Bbot%5D/repos",
"events_url": "https://api.github.com/users/github-actions%5Bbot%5D/events{/privacy}",
"received_events_url": "https://api.github.com/users/github-actions%5Bbot%5D/received_events",
"type": "Bot",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/8451/reactions",
"total_count": 1,
"+1": 1,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/8451/timeline | null | not_planned | false |
https://api.github.com/repos/NVIDIA/NeMo/issues/8450 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/8450/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/8450/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/8450/events | https://github.com/NVIDIA/NeMo/issues/8450 | 2,139,848,954 | I_kwDOC_bI7s5_i4D6 | 8,450 | How to do fine-tuning for Nvidia - NEMO canary-1b models | {
"login": "kurianbenoy",
"id": 24592806,
"node_id": "MDQ6VXNlcjI0NTkyODA2",
"avatar_url": "https://avatars.githubusercontent.com/u/24592806?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kurianbenoy",
"html_url": "https://github.com/kurianbenoy",
"followers_url": "https://api.github.com/users/kurianbenoy/followers",
"following_url": "https://api.github.com/users/kurianbenoy/following{/other_user}",
"gists_url": "https://api.github.com/users/kurianbenoy/gists{/gist_id}",
"starred_url": "https://api.github.com/users/kurianbenoy/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/kurianbenoy/subscriptions",
"organizations_url": "https://api.github.com/users/kurianbenoy/orgs",
"repos_url": "https://api.github.com/users/kurianbenoy/repos",
"events_url": "https://api.github.com/users/kurianbenoy/events{/privacy}",
"received_events_url": "https://api.github.com/users/kurianbenoy/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | {
"login": "okuchaiev",
"id": 22035961,
"node_id": "MDQ6VXNlcjIyMDM1OTYx",
"avatar_url": "https://avatars.githubusercontent.com/u/22035961?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/okuchaiev",
"html_url": "https://github.com/okuchaiev",
"followers_url": "https://api.github.com/users/okuchaiev/followers",
"following_url": "https://api.github.com/users/okuchaiev/following{/other_user}",
"gists_url": "https://api.github.com/users/okuchaiev/gists{/gist_id}",
"starred_url": "https://api.github.com/users/okuchaiev/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/okuchaiev/subscriptions",
"organizations_url": "https://api.github.com/users/okuchaiev/orgs",
"repos_url": "https://api.github.com/users/okuchaiev/repos",
"events_url": "https://api.github.com/users/okuchaiev/events{/privacy}",
"received_events_url": "https://api.github.com/users/okuchaiev/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"login": "okuchaiev",
"id": 22035961,
"node_id": "MDQ6VXNlcjIyMDM1OTYx",
"avatar_url": "https://avatars.githubusercontent.com/u/22035961?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/okuchaiev",
"html_url": "https://github.com/okuchaiev",
"followers_url": "https://api.github.com/users/okuchaiev/followers",
"following_url": "https://api.github.com/users/okuchaiev/following{/other_user}",
"gists_url": "https://api.github.com/users/okuchaiev/gists{/gist_id}",
"starred_url": "https://api.github.com/users/okuchaiev/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/okuchaiev/subscriptions",
"organizations_url": "https://api.github.com/users/okuchaiev/orgs",
"repos_url": "https://api.github.com/users/okuchaiev/repos",
"events_url": "https://api.github.com/users/okuchaiev/events{/privacy}",
"received_events_url": "https://api.github.com/users/okuchaiev/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
}
] | null | [
"For Parakeet, we have several tutorials in the Nemo tutorials directory - here is one to get started - https://github.com/NVIDIA/NeMo/blob/main/tutorials/asr/ASR_CTC_Language_Finetuning.ipynb\r\n\r\nMost of the concepts will apply to Parakeet CTC / RNNT/ TDT. \r\n\r\nFor Canary, it is a very new model, we are still adding documentation and tutorials for finetuning and scratch training ",
"Also, if you want a finetune script, you can use this - https://github.com/NVIDIA/NeMo/blob/main/examples/asr/speech_to_text_finetune.py",
"Thank @titu1994 for sharing these details",
"> For Parakeet, we have several tutorials in the Nemo tutorials directory - here is one to get started - https://github.com/NVIDIA/NeMo/blob/main/tutorials/asr/ASR_CTC_Language_Finetuning.ipynb\n> \n> Most of the concepts will apply to Parakeet CTC / RNNT/ TDT.\n> \n> For Canary, it is a very new model, we are still adding documentation and tutorials for finetuning and scratch training\n\nHello, I would like to know about the progress on Canary finetuning. Thanks."
] | 2024-02-17T05:56:31 | 2024-12-04T08:27:19 | 2024-02-19T18:21:13 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | **Is your feature request related to a problem? Please describe.**
- Can you explain, how to fine-tune Nvidia latest ASR models like Canary 1B and NeMo Parakeet ASR Models.
https://nvidia.github.io/NeMo/blogs/2024/2024-02-canary/
https://nvidia.github.io/NeMo/blogs/2024/2024-01-parakeet/
**Describe the solution you'd like**
- A notebook/code block explaining how to fine-tune Nvidia Canary models for low-resource Indic languages like Malayalam.
| {
"login": "kurianbenoy",
"id": 24592806,
"node_id": "MDQ6VXNlcjI0NTkyODA2",
"avatar_url": "https://avatars.githubusercontent.com/u/24592806?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kurianbenoy",
"html_url": "https://github.com/kurianbenoy",
"followers_url": "https://api.github.com/users/kurianbenoy/followers",
"following_url": "https://api.github.com/users/kurianbenoy/following{/other_user}",
"gists_url": "https://api.github.com/users/kurianbenoy/gists{/gist_id}",
"starred_url": "https://api.github.com/users/kurianbenoy/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/kurianbenoy/subscriptions",
"organizations_url": "https://api.github.com/users/kurianbenoy/orgs",
"repos_url": "https://api.github.com/users/kurianbenoy/repos",
"events_url": "https://api.github.com/users/kurianbenoy/events{/privacy}",
"received_events_url": "https://api.github.com/users/kurianbenoy/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/8450/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/8450/timeline | null | completed | false |
https://api.github.com/repos/NVIDIA/NeMo/issues/8449 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/8449/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/8449/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/8449/events | https://github.com/NVIDIA/NeMo/pull/8449 | 2,139,741,659 | PR_kwDOC_bI7s5nJhCo | 8,449 | fix canary chunk infer bug | {
"login": "stevehuang52",
"id": 105218074,
"node_id": "U_kgDOBkWAGg",
"avatar_url": "https://avatars.githubusercontent.com/u/105218074?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stevehuang52",
"html_url": "https://github.com/stevehuang52",
"followers_url": "https://api.github.com/users/stevehuang52/followers",
"following_url": "https://api.github.com/users/stevehuang52/following{/other_user}",
"gists_url": "https://api.github.com/users/stevehuang52/gists{/gist_id}",
"starred_url": "https://api.github.com/users/stevehuang52/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/stevehuang52/subscriptions",
"organizations_url": "https://api.github.com/users/stevehuang52/orgs",
"repos_url": "https://api.github.com/users/stevehuang52/repos",
"events_url": "https://api.github.com/users/stevehuang52/events{/privacy}",
"received_events_url": "https://api.github.com/users/stevehuang52/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"id": 4811884691,
"node_id": "LA_kwDOC_bI7s8AAAABHs-Ikw",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/ASR",
"name": "ASR",
"color": "F3B33E",
"default": false,
"description": ""
},
{
"id": 4847373924,
"node_id": "LA_kwDOC_bI7s8AAAABIO0OZA",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/common",
"name": "common",
"color": "c5def5",
"default": false,
"description": ""
}
] | closed | false | null | [] | null | [
"jenkins",
"jenkins",
"jenkins",
"jenkins",
"could you add unit tests that cover these edge cases? btw I didn't see that PR earlier and added the relative audio path support independently; we can either merge my PR or port the test I wrote to yours and close mine (up to you) https://github.com/NVIDIA/NeMo/pull/8464",
"> could you add unit tests that cover these edge cases? btw I didn't see that PR earlier and added the relative audio path support independently; we can either merge my PR or port the test I wrote to yours and close mine (up to you) #8464\r\n\r\nSure I'll add the tests~I think it's better to use the `get_full_path` function to resolve the relative paths, since it's well tested.",
"jenkins",
"jenkins",
"jenkins",
"jenkins"
] | 2024-02-17T01:59:43 | 2024-02-22T19:15:37 | 2024-02-22T19:15:36 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/8449",
"html_url": "https://github.com/NVIDIA/NeMo/pull/8449",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/8449.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/8449.patch",
"merged_at": "2024-02-22T19:15:36"
} | # What does this PR do ?
- fix canary chunk infer rare bug, where the last segment might have mismatched shape with pre-allocated buffer.
- update audio_segment.py to allow duration is None
- add lhotse support for relative audio paths
| {
"login": "stevehuang52",
"id": 105218074,
"node_id": "U_kgDOBkWAGg",
"avatar_url": "https://avatars.githubusercontent.com/u/105218074?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stevehuang52",
"html_url": "https://github.com/stevehuang52",
"followers_url": "https://api.github.com/users/stevehuang52/followers",
"following_url": "https://api.github.com/users/stevehuang52/following{/other_user}",
"gists_url": "https://api.github.com/users/stevehuang52/gists{/gist_id}",
"starred_url": "https://api.github.com/users/stevehuang52/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/stevehuang52/subscriptions",
"organizations_url": "https://api.github.com/users/stevehuang52/orgs",
"repos_url": "https://api.github.com/users/stevehuang52/repos",
"events_url": "https://api.github.com/users/stevehuang52/events{/privacy}",
"received_events_url": "https://api.github.com/users/stevehuang52/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/8449/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/8449/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/8448 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/8448/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/8448/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/8448/events | https://github.com/NVIDIA/NeMo/pull/8448 | 2,139,638,996 | PR_kwDOC_bI7s5nJKDl | 8,448 | Adding landing pages to collections | {
"login": "ntajbakhsh",
"id": 12647849,
"node_id": "MDQ6VXNlcjEyNjQ3ODQ5",
"avatar_url": "https://avatars.githubusercontent.com/u/12647849?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ntajbakhsh",
"html_url": "https://github.com/ntajbakhsh",
"followers_url": "https://api.github.com/users/ntajbakhsh/followers",
"following_url": "https://api.github.com/users/ntajbakhsh/following{/other_user}",
"gists_url": "https://api.github.com/users/ntajbakhsh/gists{/gist_id}",
"starred_url": "https://api.github.com/users/ntajbakhsh/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ntajbakhsh/subscriptions",
"organizations_url": "https://api.github.com/users/ntajbakhsh/orgs",
"repos_url": "https://api.github.com/users/ntajbakhsh/repos",
"events_url": "https://api.github.com/users/ntajbakhsh/events{/privacy}",
"received_events_url": "https://api.github.com/users/ntajbakhsh/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"id": 4418253970,
"node_id": "LA_kwDOC_bI7s8AAAABB1k0kg",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/TTS",
"name": "TTS",
"color": "49AF28",
"default": false,
"description": ""
},
{
"id": 4585431311,
"node_id": "LA_kwDOC_bI7s8AAAABEVAhDw",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/stale",
"name": "stale",
"color": "ededed",
"default": false,
"description": null
},
{
"id": 4811884691,
"node_id": "LA_kwDOC_bI7s8AAAABHs-Ikw",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/ASR",
"name": "ASR",
"color": "F3B33E",
"default": false,
"description": ""
},
{
"id": 4811886210,
"node_id": "LA_kwDOC_bI7s8AAAABHs-Ogg",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/NLP",
"name": "NLP",
"color": "CBF09A",
"default": false,
"description": ""
}
] | closed | false | null | [] | null | [
"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 was closed because it has been inactive for 7 days since being marked as stale."
] | 2024-02-16T23:41:18 | 2024-03-10T01:44:47 | 2024-03-10T01:44:46 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/8448",
"html_url": "https://github.com/NVIDIA/NeMo/pull/8448",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/8448.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/8448.patch",
"merged_at": null
} | # What does this PR do ?
This PR adds landing pages for LLM, CV, and multimodal collections. Also, some suggestions on how to split the introduction into a few sections for better readability.
**Collection**: [Note which collection this PR will affect]
# Changelog
- Add specific line by line info of high level changes in this PR.
# Usage
* You can potentially add a usage example below
```python
# Add a code snippet demonstrating how to use this
```
# Jenkins CI
To run Jenkins, a NeMo User with write access must comment `jenkins` on the PR.
# Before your PR is "Ready for review"
**Pre checks**:
- [ ] Make sure you read and followed [Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md)
- [ ] Did you write any new necessary tests?
- [ ] Did you add or update any necessary documentation?
- [ ] Does the PR affect components that are optional to install? (Ex: Numba, Pynini, Apex etc)
- [ ] Reviewer: Does the PR have correct import guards for all optional libraries?
**PR Type**:
- [ ] New Feature
- [ ] Bugfix
- [ ] Documentation
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](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md) contains specific people who can review PRs to various areas.
# Additional Information
* Related to # (issue)
| {
"login": "github-actions[bot]",
"id": 41898282,
"node_id": "MDM6Qm90NDE4OTgyODI=",
"avatar_url": "https://avatars.githubusercontent.com/in/15368?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/github-actions%5Bbot%5D",
"html_url": "https://github.com/apps/github-actions",
"followers_url": "https://api.github.com/users/github-actions%5Bbot%5D/followers",
"following_url": "https://api.github.com/users/github-actions%5Bbot%5D/following{/other_user}",
"gists_url": "https://api.github.com/users/github-actions%5Bbot%5D/gists{/gist_id}",
"starred_url": "https://api.github.com/users/github-actions%5Bbot%5D/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/github-actions%5Bbot%5D/subscriptions",
"organizations_url": "https://api.github.com/users/github-actions%5Bbot%5D/orgs",
"repos_url": "https://api.github.com/users/github-actions%5Bbot%5D/repos",
"events_url": "https://api.github.com/users/github-actions%5Bbot%5D/events{/privacy}",
"received_events_url": "https://api.github.com/users/github-actions%5Bbot%5D/received_events",
"type": "Bot",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/8448/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/8448/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/8447 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/8447/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/8447/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/8447/events | https://github.com/NVIDIA/NeMo/pull/8447 | 2,139,619,804 | PR_kwDOC_bI7s5nJF1C | 8,447 | Support S3 data loading | {
"login": "jrocmar",
"id": 153314776,
"node_id": "U_kgDOCSNl2A",
"avatar_url": "https://avatars.githubusercontent.com/u/153314776?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jrocmar",
"html_url": "https://github.com/jrocmar",
"followers_url": "https://api.github.com/users/jrocmar/followers",
"following_url": "https://api.github.com/users/jrocmar/following{/other_user}",
"gists_url": "https://api.github.com/users/jrocmar/gists{/gist_id}",
"starred_url": "https://api.github.com/users/jrocmar/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jrocmar/subscriptions",
"organizations_url": "https://api.github.com/users/jrocmar/orgs",
"repos_url": "https://api.github.com/users/jrocmar/repos",
"events_url": "https://api.github.com/users/jrocmar/events{/privacy}",
"received_events_url": "https://api.github.com/users/jrocmar/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"id": 4585431311,
"node_id": "LA_kwDOC_bI7s8AAAABEVAhDw",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/stale",
"name": "stale",
"color": "ededed",
"default": false,
"description": null
},
{
"id": 4811886210,
"node_id": "LA_kwDOC_bI7s8AAAABHs-Ogg",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/NLP",
"name": "NLP",
"color": "CBF09A",
"default": false,
"description": ""
}
] | closed | false | null | [] | null | [
"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 was closed because it has been inactive for 7 days since being marked as stale."
] | 2024-02-16T23:17:06 | 2024-03-10T01:44:48 | 2024-03-10T01:44:47 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | true | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/8447",
"html_url": "https://github.com/NVIDIA/NeMo/pull/8447",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/8447.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/8447.patch",
"merged_at": null
} | # What does this PR do ?
Support S3 data loading for the GPTDataset
This PR introduces the S3IndexedDataset, which supports loading a dataset stored in S3 in the same format as the MMapIndexedDataset. In particular, the .idx file is downloaded to a local directory at initialization so that we can memory map it and the .bin file is streamed into memory block-by-block.
In order for S3 data loading to be performant, we introduce block shuffling to GPTDataset, where we divide samples into blocks, shuffle the blocks and then shuffle within the blocks. In this way, we introduce a minimal amount of correlation into the shuffle, which can be exploited to download larger, contiguous chunks of data from S3. We set the default block size for shuffling to 1, which recovers the shuffling behavior before this commit.
## Example
I now describe the S3 data loading strategy in more detail by walking through a small example. In NeMo, a sample consists of `seq_length` tokens. For simplicity, suppose each token is 1 byte and `seq_length` is 100.
Each sample then takes 100 bytes.
Suppose we have a dataset with 12 samples.
Sample index 0 is stored in bytes [0, 100), sample index 1 is stored in bytes [100, 200), ..., and sample index 11 is stored in bytes [1100, 1200).
Currently, NeMo takes the list of sample indices:
[0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11]
And produces a `shuffle_idx`, which is just a permutation of those sample indices like:
[11, 3, 0, 6, 1, 9, 10, 2, 5, 7, 4, 8]
The `shuffle_idx` determines the order in which NeMo processes samples.
We could have the `S3IndexedDataset` just grab the bytes for a sample at a time. The first request would be for the bytes [1100, 1200), the second request would be for the bytes [300, 400), the third request would be for the bytes [0, 100) and so on in the order determined by `shuffle_idx`. That works, but it's slow, because you're making one request for each sample.
Let's try to introduce an in-memory cache. In particular, suppose the S3IndexedDataset does this:
* If the requested bytes range [`start`, `end`) is in the cache, then extract the requested bytes range from the cache.
* Otherwise, first refresh the cache by downloading the bytes range [`start`, `start` + `cache_nbytes`) and then extract the requested bytes range from the cache.
Suppose the `cache_nbytes` is 400. The first request would be for the bytes [1100, 1200). The cache is initially empty, so we refresh the cache by downloading the bytes [1100, 1500) and then extract the requested bytes range from the cache. The second request would be for the bytes [300, 400). Those bytes are not in the cache, so we refresh the cache by downloading the bytes [300, 700) and then extract the requested bytes range from that cache. And so on.
We actually made the problem worse. For most samples, we have to refresh the cache, so we have not reduced the number of requests much. We've just made the requests have to download a larger number of bytes. The issue is that the bytes needed for a sample index are probably not next to the bytes needed for the previous sample index.
To use the cache effectively, we have to introduce some correlation in the shuffle. In particular, we divide the original list of sample indices into blocks like:
* [0, 1, 2, 3]
* [4, 5, 6, 7]
* [8, 9, 10, 11]
We then shuffle within the blocks like:
* [3, 0, 2, 1]
* [4, 6, 5, 7]
* [11, 10, 8, 9]
We then shuffle the order of the blocks like:
* [11, 10, 8, 9]
* [4, 6, 5, 7]
* [3, 0, 2, 1]
And we construct the block-shuffled `shuffle_idx` like:
[11, 10, 8, 9, 4, 6, 5, 7, 3, 0, 2, 1]
We also have to change which bytes we download on a cache miss. In particular, we download the bytes [`cache_start`, `cache_start` + `cache_nbytes`), where cache_start is (`start`//`cache_nbytes`) * `cache_nbytes`.
The first request would be for the bytes [1100, 1200). The cache is initially empty, so we refresh the cache by downloading the bytes [800, 1200) and then extract the requested bytes range from that cache. The second request would be for the bytes [1000, 1100). We extract those bytes from the cache. The third request would be for the bytes [800, 1200). We extract those bytes from the cache. And so on. In this way, we only have to refresh cache at the start of each new block.
**Collection**: nlp
## Known issues
Each data worker will download the same cache (though still prepare different batches). It does not look like there's a straightforward, performant way to avoid that.
## Alternatives
We could remove block shuffling and add an option to disable shuffling under the assumption that the dataset is preshuffled.
# Changelog
- Add specific line by line info of high level changes in this PR.
# Usage
Here's an example data config:
```
data:
data_impl: mmap
seq_length: 2048
# 128 * 1024 * 1024, i.e., 128 MiB
data_cache_nbytes: 134217728
# data_cache_nbytes / (bytes per token * seq_length)
# = (128 * 1024 * 1024) / (2 * 2048) = 32768
shuffle_block_size: 32768
shuffle_documents: false
no_seqlen_plus_one_input_tokens: true
data_prefix:
- 0.1
- s3://path/to/shard0
- 0.1
- s3://path/to/shard1
...
```
# Jenkins CI
To run Jenkins, a NeMo User with write access must comment `jenkins` on the PR.
# Before your PR is "Ready for review"
**Pre checks**:
- [x] Make sure you read and followed [Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md)
- [x] Did you write any new necessary tests?
- [x] Did you add or update any necessary documentation?
- [ ] Does the PR affect components that are optional to install? (Ex: Numba, Pynini, Apex etc)
- [ ] Reviewer: Does the PR have correct import guards for all optional libraries?
**PR Type**:
- [x] New Feature
- [ ] Bugfix
- [ ] Documentation
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](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md) contains specific people who can review PRs to various areas.
# Additional Information
* Related to # (issue)
| {
"login": "github-actions[bot]",
"id": 41898282,
"node_id": "MDM6Qm90NDE4OTgyODI=",
"avatar_url": "https://avatars.githubusercontent.com/in/15368?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/github-actions%5Bbot%5D",
"html_url": "https://github.com/apps/github-actions",
"followers_url": "https://api.github.com/users/github-actions%5Bbot%5D/followers",
"following_url": "https://api.github.com/users/github-actions%5Bbot%5D/following{/other_user}",
"gists_url": "https://api.github.com/users/github-actions%5Bbot%5D/gists{/gist_id}",
"starred_url": "https://api.github.com/users/github-actions%5Bbot%5D/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/github-actions%5Bbot%5D/subscriptions",
"organizations_url": "https://api.github.com/users/github-actions%5Bbot%5D/orgs",
"repos_url": "https://api.github.com/users/github-actions%5Bbot%5D/repos",
"events_url": "https://api.github.com/users/github-actions%5Bbot%5D/events{/privacy}",
"received_events_url": "https://api.github.com/users/github-actions%5Bbot%5D/received_events",
"type": "Bot",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/8447/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/8447/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/8446 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/8446/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/8446/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/8446/events | https://github.com/NVIDIA/NeMo/pull/8446 | 2,139,238,564 | PR_kwDOC_bI7s5nHxGL | 8,446 | add draft support | {
"login": "JRD971000",
"id": 71892896,
"node_id": "MDQ6VXNlcjcxODkyODk2",
"avatar_url": "https://avatars.githubusercontent.com/u/71892896?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/JRD971000",
"html_url": "https://github.com/JRD971000",
"followers_url": "https://api.github.com/users/JRD971000/followers",
"following_url": "https://api.github.com/users/JRD971000/following{/other_user}",
"gists_url": "https://api.github.com/users/JRD971000/gists{/gist_id}",
"starred_url": "https://api.github.com/users/JRD971000/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/JRD971000/subscriptions",
"organizations_url": "https://api.github.com/users/JRD971000/orgs",
"repos_url": "https://api.github.com/users/JRD971000/repos",
"events_url": "https://api.github.com/users/JRD971000/events{/privacy}",
"received_events_url": "https://api.github.com/users/JRD971000/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"id": 4585431311,
"node_id": "LA_kwDOC_bI7s8AAAABEVAhDw",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/stale",
"name": "stale",
"color": "ededed",
"default": false,
"description": null
},
{
"id": 4811886210,
"node_id": "LA_kwDOC_bI7s8AAAABHs-Ogg",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/NLP",
"name": "NLP",
"color": "CBF09A",
"default": false,
"description": ""
}
] | closed | false | {
"login": "JRD971000",
"id": 71892896,
"node_id": "MDQ6VXNlcjcxODkyODk2",
"avatar_url": "https://avatars.githubusercontent.com/u/71892896?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/JRD971000",
"html_url": "https://github.com/JRD971000",
"followers_url": "https://api.github.com/users/JRD971000/followers",
"following_url": "https://api.github.com/users/JRD971000/following{/other_user}",
"gists_url": "https://api.github.com/users/JRD971000/gists{/gist_id}",
"starred_url": "https://api.github.com/users/JRD971000/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/JRD971000/subscriptions",
"organizations_url": "https://api.github.com/users/JRD971000/orgs",
"repos_url": "https://api.github.com/users/JRD971000/repos",
"events_url": "https://api.github.com/users/JRD971000/events{/privacy}",
"received_events_url": "https://api.github.com/users/JRD971000/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"login": "JRD971000",
"id": 71892896,
"node_id": "MDQ6VXNlcjcxODkyODk2",
"avatar_url": "https://avatars.githubusercontent.com/u/71892896?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/JRD971000",
"html_url": "https://github.com/JRD971000",
"followers_url": "https://api.github.com/users/JRD971000/followers",
"following_url": "https://api.github.com/users/JRD971000/following{/other_user}",
"gists_url": "https://api.github.com/users/JRD971000/gists{/gist_id}",
"starred_url": "https://api.github.com/users/JRD971000/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/JRD971000/subscriptions",
"organizations_url": "https://api.github.com/users/JRD971000/orgs",
"repos_url": "https://api.github.com/users/JRD971000/repos",
"events_url": "https://api.github.com/users/JRD971000/events{/privacy}",
"received_events_url": "https://api.github.com/users/JRD971000/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
}
] | null | [
"jenkins",
"jenkins",
"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 was closed because it has been inactive for 7 days since being marked as stale."
] | 2024-02-16T19:02:26 | 2024-03-14T01:43:56 | 2024-03-14T01:43:55 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/8446",
"html_url": "https://github.com/NVIDIA/NeMo/pull/8446",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/8446.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/8446.patch",
"merged_at": null
} | # What does this PR do ?
Add a one line overview of what this PR aims to accomplish.
**Collection**: [Note which collection this PR will affect]
# Changelog
- Add specific line by line info of high level changes in this PR.
# Usage
* You can potentially add a usage example below
```python
# Add a code snippet demonstrating how to use this
```
# Jenkins CI
To run Jenkins, a NeMo User with write access must comment `jenkins` on the PR.
# Before your PR is "Ready for review"
**Pre checks**:
- [ ] Make sure you read and followed [Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md)
- [ ] Did you write any new necessary tests?
- [ ] Did you add or update any necessary documentation?
- [ ] Does the PR affect components that are optional to install? (Ex: Numba, Pynini, Apex etc)
- [ ] Reviewer: Does the PR have correct import guards for all optional libraries?
**PR Type**:
- [ ] New Feature
- [ ] Bugfix
- [ ] Documentation
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](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md) contains specific people who can review PRs to various areas.
# Additional Information
* Related to # (issue)
| {
"login": "github-actions[bot]",
"id": 41898282,
"node_id": "MDM6Qm90NDE4OTgyODI=",
"avatar_url": "https://avatars.githubusercontent.com/in/15368?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/github-actions%5Bbot%5D",
"html_url": "https://github.com/apps/github-actions",
"followers_url": "https://api.github.com/users/github-actions%5Bbot%5D/followers",
"following_url": "https://api.github.com/users/github-actions%5Bbot%5D/following{/other_user}",
"gists_url": "https://api.github.com/users/github-actions%5Bbot%5D/gists{/gist_id}",
"starred_url": "https://api.github.com/users/github-actions%5Bbot%5D/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/github-actions%5Bbot%5D/subscriptions",
"organizations_url": "https://api.github.com/users/github-actions%5Bbot%5D/orgs",
"repos_url": "https://api.github.com/users/github-actions%5Bbot%5D/repos",
"events_url": "https://api.github.com/users/github-actions%5Bbot%5D/events{/privacy}",
"received_events_url": "https://api.github.com/users/github-actions%5Bbot%5D/received_events",
"type": "Bot",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/8446/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/8446/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/8445 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/8445/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/8445/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/8445/events | https://github.com/NVIDIA/NeMo/pull/8445 | 2,139,220,601 | PR_kwDOC_bI7s5nHtEc | 8,445 | add sbert to IR | {
"login": "JRD971000",
"id": 71892896,
"node_id": "MDQ6VXNlcjcxODkyODk2",
"avatar_url": "https://avatars.githubusercontent.com/u/71892896?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/JRD971000",
"html_url": "https://github.com/JRD971000",
"followers_url": "https://api.github.com/users/JRD971000/followers",
"following_url": "https://api.github.com/users/JRD971000/following{/other_user}",
"gists_url": "https://api.github.com/users/JRD971000/gists{/gist_id}",
"starred_url": "https://api.github.com/users/JRD971000/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/JRD971000/subscriptions",
"organizations_url": "https://api.github.com/users/JRD971000/orgs",
"repos_url": "https://api.github.com/users/JRD971000/repos",
"events_url": "https://api.github.com/users/JRD971000/events{/privacy}",
"received_events_url": "https://api.github.com/users/JRD971000/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"id": 4811886210,
"node_id": "LA_kwDOC_bI7s8AAAABHs-Ogg",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/NLP",
"name": "NLP",
"color": "CBF09A",
"default": false,
"description": ""
},
{
"id": 4847373924,
"node_id": "LA_kwDOC_bI7s8AAAABIO0OZA",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/common",
"name": "common",
"color": "c5def5",
"default": false,
"description": ""
}
] | closed | false | {
"login": "JRD971000",
"id": 71892896,
"node_id": "MDQ6VXNlcjcxODkyODk2",
"avatar_url": "https://avatars.githubusercontent.com/u/71892896?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/JRD971000",
"html_url": "https://github.com/JRD971000",
"followers_url": "https://api.github.com/users/JRD971000/followers",
"following_url": "https://api.github.com/users/JRD971000/following{/other_user}",
"gists_url": "https://api.github.com/users/JRD971000/gists{/gist_id}",
"starred_url": "https://api.github.com/users/JRD971000/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/JRD971000/subscriptions",
"organizations_url": "https://api.github.com/users/JRD971000/orgs",
"repos_url": "https://api.github.com/users/JRD971000/repos",
"events_url": "https://api.github.com/users/JRD971000/events{/privacy}",
"received_events_url": "https://api.github.com/users/JRD971000/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"login": "JRD971000",
"id": 71892896,
"node_id": "MDQ6VXNlcjcxODkyODk2",
"avatar_url": "https://avatars.githubusercontent.com/u/71892896?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/JRD971000",
"html_url": "https://github.com/JRD971000",
"followers_url": "https://api.github.com/users/JRD971000/followers",
"following_url": "https://api.github.com/users/JRD971000/following{/other_user}",
"gists_url": "https://api.github.com/users/JRD971000/gists{/gist_id}",
"starred_url": "https://api.github.com/users/JRD971000/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/JRD971000/subscriptions",
"organizations_url": "https://api.github.com/users/JRD971000/orgs",
"repos_url": "https://api.github.com/users/JRD971000/repos",
"events_url": "https://api.github.com/users/JRD971000/events{/privacy}",
"received_events_url": "https://api.github.com/users/JRD971000/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
}
] | null | [
"jenkins",
"jenkins",
"jenkins",
"jenkins"
] | 2024-02-16T18:52:06 | 2024-02-17T00:58:48 | 2024-02-17T00:58:48 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/8445",
"html_url": "https://github.com/NVIDIA/NeMo/pull/8445",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/8445.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/8445.patch",
"merged_at": "2024-02-17T00:58:48"
} | # What does this PR do ?
Add a one line overview of what this PR aims to accomplish.
**Collection**: [Note which collection this PR will affect]
# Changelog
- Add specific line by line info of high level changes in this PR.
# Usage
* You can potentially add a usage example below
```python
# Add a code snippet demonstrating how to use this
```
# Jenkins CI
To run Jenkins, a NeMo User with write access must comment `jenkins` on the PR.
# Before your PR is "Ready for review"
**Pre checks**:
- [ ] Make sure you read and followed [Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md)
- [ ] Did you write any new necessary tests?
- [ ] Did you add or update any necessary documentation?
- [ ] Does the PR affect components that are optional to install? (Ex: Numba, Pynini, Apex etc)
- [ ] Reviewer: Does the PR have correct import guards for all optional libraries?
**PR Type**:
- [ ] New Feature
- [ ] Bugfix
- [ ] Documentation
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](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md) contains specific people who can review PRs to various areas.
# Additional Information
* Related to # (issue)
| {
"login": "ericharper",
"id": 11999610,
"node_id": "MDQ6VXNlcjExOTk5NjEw",
"avatar_url": "https://avatars.githubusercontent.com/u/11999610?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ericharper",
"html_url": "https://github.com/ericharper",
"followers_url": "https://api.github.com/users/ericharper/followers",
"following_url": "https://api.github.com/users/ericharper/following{/other_user}",
"gists_url": "https://api.github.com/users/ericharper/gists{/gist_id}",
"starred_url": "https://api.github.com/users/ericharper/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ericharper/subscriptions",
"organizations_url": "https://api.github.com/users/ericharper/orgs",
"repos_url": "https://api.github.com/users/ericharper/repos",
"events_url": "https://api.github.com/users/ericharper/events{/privacy}",
"received_events_url": "https://api.github.com/users/ericharper/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/8445/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/8445/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/8444 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/8444/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/8444/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/8444/events | https://github.com/NVIDIA/NeMo/pull/8444 | 2,139,186,232 | PR_kwDOC_bI7s5nHlVL | 8,444 | AMMO Integration with Llama2 Post-Training Quantization Example and Tests | {
"login": "janekl",
"id": 5582967,
"node_id": "MDQ6VXNlcjU1ODI5Njc=",
"avatar_url": "https://avatars.githubusercontent.com/u/5582967?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/janekl",
"html_url": "https://github.com/janekl",
"followers_url": "https://api.github.com/users/janekl/followers",
"following_url": "https://api.github.com/users/janekl/following{/other_user}",
"gists_url": "https://api.github.com/users/janekl/gists{/gist_id}",
"starred_url": "https://api.github.com/users/janekl/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/janekl/subscriptions",
"organizations_url": "https://api.github.com/users/janekl/orgs",
"repos_url": "https://api.github.com/users/janekl/repos",
"events_url": "https://api.github.com/users/janekl/events{/privacy}",
"received_events_url": "https://api.github.com/users/janekl/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"id": 4811886210,
"node_id": "LA_kwDOC_bI7s8AAAABHs-Ogg",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/NLP",
"name": "NLP",
"color": "CBF09A",
"default": false,
"description": ""
},
{
"id": 4840216855,
"node_id": "LA_kwDOC_bI7s8AAAABIH_ZFw",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/CI",
"name": "CI",
"color": "1D76DB",
"default": false,
"description": ""
}
] | closed | false | null | [] | null | [
"jenkins",
"jenkins",
"jenkins"
] | 2024-02-16T18:33:51 | 2024-03-13T15:28:57 | 2024-03-13T15:28:56 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/8444",
"html_url": "https://github.com/NVIDIA/NeMo/pull/8444",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/8444.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/8444.patch",
"merged_at": "2024-03-13T15:28:56"
} | # What does this PR do ?
Integrating AMMO library to the project and providing utilities for quantizing models with Llama2 PTQ example.
Different quantization algorithms are available including **INT8 SmoothQuant**, **INT4 AWQ**, and **FP8**.
Main class `Quantizer` from the `nemo.export.quantize` submodule produces directory or **.qnemo** tarball to be consumed by TensorRT-LLM toolbox for efficient inference. This will be a part of NeMo Framework Inference Container.
**Collection**: [NLP]
# Changelog
- Adding **nvidia-ammo** package to requirements
- Adding `nemo.export.quantize` submodule for quantizing models
- Adding `tests.setup` module to facilitate Jenkins setup
- Adding PTQ test to Jenkins
# Usage
Example for INT8 SmoothQuant method:
```
python examples/nlp/language_modeling/megatron_llama_quantization.py \
model_file=llama2-7b-fp16.nemo \
model_save=llama2-7b-int8_sq.qnemo \
quantization.algorithm=int8_sq \
export.decoder_type=llama \
export.inference_tensor_parallel=1
```
# Jenkins CI
To run Jenkins, a NeMo User with write access must comment `jenkins` on the PR.
# Before your PR is "Ready for review"
**Pre checks**:
- [x] Make sure you read and followed [Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md)
- [x] Did you write any new necessary tests?
- [x] Did you add or update any necessary documentation?
- [ ] Does the PR affect components that are optional to install? (Ex: Numba, Pynini, Apex etc)
- [ ] Reviewer: Does the PR have correct import guards for all optional libraries?
**PR Type**:
- [x] New Feature
- [ ] Bugfix
- [ ] Documentation
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](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md) contains specific people who can review PRs to various areas.
# Additional Information
For more transparent and easier review process some components were isolated into individual MRs:
* https://github.com/NVIDIA/NeMo/pull/8281
* https://github.com/NVIDIA/NeMo/pull/8429 | {
"login": "ericharper",
"id": 11999610,
"node_id": "MDQ6VXNlcjExOTk5NjEw",
"avatar_url": "https://avatars.githubusercontent.com/u/11999610?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ericharper",
"html_url": "https://github.com/ericharper",
"followers_url": "https://api.github.com/users/ericharper/followers",
"following_url": "https://api.github.com/users/ericharper/following{/other_user}",
"gists_url": "https://api.github.com/users/ericharper/gists{/gist_id}",
"starred_url": "https://api.github.com/users/ericharper/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ericharper/subscriptions",
"organizations_url": "https://api.github.com/users/ericharper/orgs",
"repos_url": "https://api.github.com/users/ericharper/repos",
"events_url": "https://api.github.com/users/ericharper/events{/privacy}",
"received_events_url": "https://api.github.com/users/ericharper/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/8444/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/8444/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/8443 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/8443/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/8443/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/8443/events | https://github.com/NVIDIA/NeMo/pull/8443 | 2,139,034,331 | PR_kwDOC_bI7s5nHDHs | 8,443 | Fixing mcore bert for TP, PP and SP | {
"login": "github-actions[bot]",
"id": 41898282,
"node_id": "MDM6Qm90NDE4OTgyODI=",
"avatar_url": "https://avatars.githubusercontent.com/in/15368?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/github-actions%5Bbot%5D",
"html_url": "https://github.com/apps/github-actions",
"followers_url": "https://api.github.com/users/github-actions%5Bbot%5D/followers",
"following_url": "https://api.github.com/users/github-actions%5Bbot%5D/following{/other_user}",
"gists_url": "https://api.github.com/users/github-actions%5Bbot%5D/gists{/gist_id}",
"starred_url": "https://api.github.com/users/github-actions%5Bbot%5D/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/github-actions%5Bbot%5D/subscriptions",
"organizations_url": "https://api.github.com/users/github-actions%5Bbot%5D/orgs",
"repos_url": "https://api.github.com/users/github-actions%5Bbot%5D/repos",
"events_url": "https://api.github.com/users/github-actions%5Bbot%5D/events{/privacy}",
"received_events_url": "https://api.github.com/users/github-actions%5Bbot%5D/received_events",
"type": "Bot",
"user_view_type": "public",
"site_admin": false
} | [
{
"id": 4556669155,
"node_id": "LA_kwDOC_bI7s8AAAABD5lA4w",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/cherry-pick",
"name": "cherry-pick",
"color": "ededed",
"default": false,
"description": null
},
{
"id": 4811886210,
"node_id": "LA_kwDOC_bI7s8AAAABHs-Ogg",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/NLP",
"name": "NLP",
"color": "CBF09A",
"default": false,
"description": ""
}
] | closed | false | null | [] | null | [
"jenkins",
"jenkins",
"jenkins"
] | 2024-02-16T17:14:42 | 2024-02-20T23:09:06 | 2024-02-20T23:09:06 | CONTRIBUTOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/8443",
"html_url": "https://github.com/NVIDIA/NeMo/pull/8443",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/8443.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/8443.patch",
"merged_at": "2024-02-20T23:09:06"
} | # What does this PR do ?
Adds bug fixes to support TP, PP =and SP
Add a one line overview of what this PR aims to accomplish.
**Collection**: [Note which collection this PR will affect]
# Changelog
- Add specific line by line info of high level changes in this PR.
# Usage
* You can potentially add a usage example below
```python
# Add a code snippet demonstrating how to use this
```
# Jenkins CI
To run Jenkins, a NeMo User with write access must comment `jenkins` on the PR.
# Before your PR is "Ready for review"
**Pre checks**:
- [ ] Make sure you read and followed [Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md)
- [ ] Did you write any new necessary tests?
- [ ] Did you add or update any necessary documentation?
- [ ] Does the PR affect components that are optional to install? (Ex: Numba, Pynini, Apex etc)
- [ ] Reviewer: Does the PR have correct import guards for all optional libraries?
**PR Type**:
- [ ] New Feature
- [ ] Bugfix
- [ ] Documentation
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](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md) contains specific people who can review PRs to various areas.
# Additional Information
* Related to # (issue)
| {
"login": "ericharper",
"id": 11999610,
"node_id": "MDQ6VXNlcjExOTk5NjEw",
"avatar_url": "https://avatars.githubusercontent.com/u/11999610?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ericharper",
"html_url": "https://github.com/ericharper",
"followers_url": "https://api.github.com/users/ericharper/followers",
"following_url": "https://api.github.com/users/ericharper/following{/other_user}",
"gists_url": "https://api.github.com/users/ericharper/gists{/gist_id}",
"starred_url": "https://api.github.com/users/ericharper/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ericharper/subscriptions",
"organizations_url": "https://api.github.com/users/ericharper/orgs",
"repos_url": "https://api.github.com/users/ericharper/repos",
"events_url": "https://api.github.com/users/ericharper/events{/privacy}",
"received_events_url": "https://api.github.com/users/ericharper/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/8443/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/8443/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/8442 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/8442/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/8442/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/8442/events | https://github.com/NVIDIA/NeMo/pull/8442 | 2,139,029,824 | PR_kwDOC_bI7s5nHCI3 | 8,442 | Akoumparouli/mistral bugfix | {
"login": "github-actions[bot]",
"id": 41898282,
"node_id": "MDM6Qm90NDE4OTgyODI=",
"avatar_url": "https://avatars.githubusercontent.com/in/15368?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/github-actions%5Bbot%5D",
"html_url": "https://github.com/apps/github-actions",
"followers_url": "https://api.github.com/users/github-actions%5Bbot%5D/followers",
"following_url": "https://api.github.com/users/github-actions%5Bbot%5D/following{/other_user}",
"gists_url": "https://api.github.com/users/github-actions%5Bbot%5D/gists{/gist_id}",
"starred_url": "https://api.github.com/users/github-actions%5Bbot%5D/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/github-actions%5Bbot%5D/subscriptions",
"organizations_url": "https://api.github.com/users/github-actions%5Bbot%5D/orgs",
"repos_url": "https://api.github.com/users/github-actions%5Bbot%5D/repos",
"events_url": "https://api.github.com/users/github-actions%5Bbot%5D/events{/privacy}",
"received_events_url": "https://api.github.com/users/github-actions%5Bbot%5D/received_events",
"type": "Bot",
"user_view_type": "public",
"site_admin": false
} | [
{
"id": 4556669155,
"node_id": "LA_kwDOC_bI7s8AAAABD5lA4w",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/cherry-pick",
"name": "cherry-pick",
"color": "ededed",
"default": false,
"description": null
}
] | closed | false | null | [] | null | [
"jenkins",
"jenkins",
"jenkins",
"jenkins",
"jenkins",
"jenkins",
"jenkins"
] | 2024-02-16T17:11:39 | 2024-02-21T11:04:35 | 2024-02-20T16:37:41 | CONTRIBUTOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/8442",
"html_url": "https://github.com/NVIDIA/NeMo/pull/8442",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/8442.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/8442.patch",
"merged_at": "2024-02-20T16:37:41"
} | # What does this PR do ?
Fixes conversion script for NeMo to HF for mistral-7B.
**Collection**: [Note which collection this PR will affect]
# Changelog
- Add specific line by line info of high level changes in this PR.
# Usage
* You can potentially add a usage example below
```python
# Add a code snippet demonstrating how to use this
```
# Jenkins CI
To run Jenkins, a NeMo User with write access must comment `jenkins` on the PR.
# Before your PR is "Ready for review"
**Pre checks**:
- [ ] Make sure you read and followed [Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md)
- [ ] Did you write any new necessary tests?
- [ ] Did you add or update any necessary documentation?
- [ ] Does the PR affect components that are optional to install? (Ex: Numba, Pynini, Apex etc)
- [ ] Reviewer: Does the PR have correct import guards for all optional libraries?
**PR Type**:
- [ ] New Feature
- [ ] Bugfix
- [ ] Documentation
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](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md) contains specific people who can review PRs to various areas.
# Additional Information
* Related to # (issue)
| {
"login": "ericharper",
"id": 11999610,
"node_id": "MDQ6VXNlcjExOTk5NjEw",
"avatar_url": "https://avatars.githubusercontent.com/u/11999610?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ericharper",
"html_url": "https://github.com/ericharper",
"followers_url": "https://api.github.com/users/ericharper/followers",
"following_url": "https://api.github.com/users/ericharper/following{/other_user}",
"gists_url": "https://api.github.com/users/ericharper/gists{/gist_id}",
"starred_url": "https://api.github.com/users/ericharper/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ericharper/subscriptions",
"organizations_url": "https://api.github.com/users/ericharper/orgs",
"repos_url": "https://api.github.com/users/ericharper/repos",
"events_url": "https://api.github.com/users/ericharper/events{/privacy}",
"received_events_url": "https://api.github.com/users/ericharper/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/8442/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/8442/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/8441 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/8441/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/8441/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/8441/events | https://github.com/NVIDIA/NeMo/issues/8441 | 2,138,868,009 | I_kwDOC_bI7s5_fIkp | 8,441 | Timeout DDP training using BioNeMo default configs | {
"login": "pengzhangzhi",
"id": 59241275,
"node_id": "MDQ6VXNlcjU5MjQxMjc1",
"avatar_url": "https://avatars.githubusercontent.com/u/59241275?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/pengzhangzhi",
"html_url": "https://github.com/pengzhangzhi",
"followers_url": "https://api.github.com/users/pengzhangzhi/followers",
"following_url": "https://api.github.com/users/pengzhangzhi/following{/other_user}",
"gists_url": "https://api.github.com/users/pengzhangzhi/gists{/gist_id}",
"starred_url": "https://api.github.com/users/pengzhangzhi/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/pengzhangzhi/subscriptions",
"organizations_url": "https://api.github.com/users/pengzhangzhi/orgs",
"repos_url": "https://api.github.com/users/pengzhangzhi/repos",
"events_url": "https://api.github.com/users/pengzhangzhi/events{/privacy}",
"received_events_url": "https://api.github.com/users/pengzhangzhi/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"id": 1485815557,
"node_id": "MDU6TGFiZWwxNDg1ODE1NTU3",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": "Something isn't working"
},
{
"id": 4585431311,
"node_id": "LA_kwDOC_bI7s8AAAABEVAhDw",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/stale",
"name": "stale",
"color": "ededed",
"default": false,
"description": null
}
] | closed | false | null | [] | null | [
"Running into a similar issue training the conformer large model \r\nin a docker container with the latest `nvcr.io/nvidia/nemo:23.10` image, on p2.16xlarge (V100 instances). What is your training environment like?",
"This is my docker container\r\n\r\n```\r\nnvcr.io/nvidia/clara/bionemo-framework:latest \"/workspace/bionemo/β¦\" 4 days ago Up 13 hours bionemo\r\n```",
"This issue is stale because it has been open for 30 days with no activity. Remove stale label or comment or this will be closed in 7 days.",
"This issue was closed because it has been inactive for 7 days since being marked as stale.",
"I am facing the same issue on a multi node multi GPU and without docker.\r\nI am utilizing slurm to run the job."
] | 2024-02-16T15:40:24 | 2024-05-25T14:37:01 | 2024-03-26T01:44:06 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null |
I am using the default configs, code and data to train a model within BioNeMo framework. The timeout occurs at the middle of the training.
```
Epoch 0: 6%|ββ | 32040/500150 [6:28:43<94:39:17, 1.37it/s, loss=2.6, v_num=95nc, reduced_train_loss=2.590, global_step=3.2e+4, consumed_samples=2.56e+7][E ProcessGroupNCCL.cpp:458] [Rank 0] Watchdog caught collective operation timeout: WorkNCCL(SeqNum=96120, OpType=ALLREDUCE, Timeout(ms)=1800000) ran for 25624887 milliseconds before timing out.
[E ProcessGroupNCCL.cpp:458] [Rank 0] Watchdog caught collective operation timeout: WorkNCCL(SeqNum=96117, OpType=ALLREDUCE, Timeout(ms)=1800000) ran for 25625613 milliseconds before timing out.
[E ProcessGroupNCCL.cpp:458] [Rank 0] Watchdog caught collective operation timeout: WorkNCCL(SeqNum=96125, OpType=ALLREDUCE, Timeout(ms)=1800000) ran for 25625593 milliseconds before timing out.
[E ProcessGroupNCCL.cpp:458] [Rank 0] Watchdog caught collective operation timeout: WorkNCCL(SeqNum=96125, OpType=ALLREDUCE, Timeout(ms)=1800000) ran for 25625593 milliseconds before timing out.
[E ProcessGroupNCCL.cpp:458] [Rank 7] Watchdog caught collective operation timeout: WorkNCCL(SeqNum=64088, OpType=ALLREDUCE, Timeout(ms)=1800000) ran for 25625251 milliseconds before timing out.
[E ProcessGroupNCCL.cpp:458] [Rank 0] Watchdog caught collective operation timeout: WorkNCCL(SeqNum=96117, OpType=ALLREDUCE, Timeout(ms)=1800000) ran for 25625613 milliseconds before timing out.
[E ProcessGroupNCCL.cpp:458] [Rank 2] Watchdog caught collective operation timeout: WorkNCCL(SeqNum=64088, OpType=ALLREDUCE, Timeout(ms)=1800000) ran for 25625251 milliseconds before timing out.
[E ProcessGroupNCCL.cpp:458] [Rank 0] Watchdog caught collective operation timeout: WorkNCCL(SeqNum=96117, OpType=ALLREDUCE, Timeout(ms)=1800000) ran for 25625613 milliseconds before timing out.
[E ProcessGroupNCCL.cpp:458] [Rank 0] Watchdog caught collective operation timeout: WorkNCCL(SeqNum=96120, OpType=ALLREDUCE, Timeout(ms)=1800000) ran for 25624887 milliseconds before timing out.
[E ProcessGroupNCCL.cpp:458] [Rank 3] Watchdog caught collective operation timeout: WorkNCCL(SeqNum=64088, OpType=ALLREDUCE, Timeout(ms)=1800000) ran for 25625251 milliseconds before timing out.
[E ProcessGroupNCCL.cpp:458] [Rank 0] Watchdog caught collective operation timeout: WorkNCCL(SeqNum=96120, OpType=ALLREDUCE, Timeout(ms)=1800000) ran for 25624886 milliseconds before timing out.
[E ProcessGroupNCCL.cpp:458] [Rank 0] Watchdog caught collective operation timeout: WorkNCCL(SeqNum=96120, OpType=ALLREDUCE, Timeout(ms)=1800000) ran for 25624887 milliseconds before timing out.
[E ProcessGroupNCCL.cpp:472] Some NCCL operations have failed or timed out. Due to the asynchronous nature of CUDA kernels, subsequent GPU operations might run on corrupted/incomplete data.
[E ProcessGroupNCCL.cpp:478] To avoid data inconsistency, we are taking the entire process down.
[E ProcessGroupNCCL.cpp:830] [Rank 0] NCCL watchdog thread terminated with exception: [Rank 0] Watchdog caught collective operation timeout: WorkNCCL(SeqNum=96117, OpType=ALLREDUCE, Timeout(ms)=1800000) ran for 25625613 milliseconds before timing out.
terminate called after throwing an instance of 'std::runtime_error'
what(): [Rank 0] NCCL watchdog thread terminated with exception: [Rank 0] Watchdog caught collective operation timeout: WorkNCCL(SeqNum=96117, OpType=ALLREDUCE, Timeout(ms)=1800000) ran for 25625613 milliseconds before timing out.
[E ProcessGroupNCCL.cpp:472] Some NCCL operations have failed or timed out. Due to the asynchronous nature of CUDA kernels, subsequent GPU operations might run on corrupted/incomplete data.
[E ProcessGroupNCCL.cpp:478] To avoid data inconsistency, we are taking the entire process down.
[E ProcessGroupNCCL.cpp:830] [Rank 0] NCCL watchdog thread terminated with exception: [Rank 0] Watchdog caught collective operation timeout: WorkNCCL(SeqNum=96125, OpType=ALLREDUCE, Timeout(ms)=1800000) ran for 25625593 milliseconds before timing out.
terminate called after throwing an instance of 'std::runtime_error'
what(): [Rank 0] NCCL watchdog thread terminated with exception: [Rank 0] Watchdog caught collective operation timeout: WorkNCCL(SeqNum=96125, OpType=ALLREDUCE, Timeout(ms)=1800000) ran for 25625593 milliseconds before timing out.
[E ProcessGroupNCCL.cpp:472] Some NCCL operations have failed or timed out. Due to the asynchronous nature of CUDA kernels, subsequent GPU operations might run on corrupted/incomplete data.
[E ProcessGroupNCCL.cpp:478] To avoid data inconsistency, we are taking the entire process down.
[E ProcessGroupNCCL.cpp:830] [Rank 0] NCCL watchdog thread terminated with exception: [Rank 0] Watchdog caught collective operation timeout: WorkNCCL(SeqNum=96117, OpType=ALLREDUCE, Timeout(ms)=1800000) ran for 25625613 milliseconds before timing out.
terminate called after throwing an instance of 'std::runtime_error'
what(): [Rank 0] NCCL watchdog thread terminated with exception: [Rank 0] Watchdog caught collective operation timeout: WorkNCCL(SeqNum=96117, OpType=ALLREDUCE, Timeout(ms)=1800000) ran for 25625613 milliseconds before timing out.
[E ProcessGroupNCCL.cpp:458] [Rank 4] Watchdog caught collective operation timeout: WorkNCCL(SeqNum=64090, OpType=ALLREDUCE, Timeout(ms)=1800000) ran for 1800741 milliseconds before timing out.
[E ProcessGroupNCCL.cpp:458] [Rank 5] Watchdog caught collective operation timeout: WorkNCCL(SeqNum=64090, OpType=ALLREDUCE, Timeout(ms)=1800000) ran for 1800733 milliseconds before timing out.
[E ProcessGroupNCCL.cpp:458] [Rank 1] Watchdog caught collective operation timeout: WorkNCCL(SeqNum=64090, OpType=ALLREDUCE, Timeout(ms)=1800000) ran for 1800769 milliseconds before timing out.
[E ProcessGroupNCCL.cpp:458] [Rank 6] Watchdog caught collective operation timeout: WorkNCCL(SeqNum=64090, OpType=ALLREDUCE, Timeout(ms)=1800000) ran for 1800781 milliseconds before timing out.
[E ProcessGroupNCCL.cpp:458] [Rank 0] Watchdog caught collective operation timeout: WorkNCCL(SeqNum=64090, OpType=ALLREDUCE, Timeout(ms)=1800000) ran for 1800847 milliseconds before timing out.
^C
```
The configs are:
```
name: esm2nv
do_training: True # set to false if data preprocessing steps must be completed
do_testing: False # set to true to run evaluation on test data after training, requires test_dataset section
restore_from_path: null # used when starting from a .nemo file
trainer:
devices: 8 # number of GPUs or CPUs
num_nodes: 1
accelerator: gpu #gpu or cpu
precision: 16 #16 or 32
logger: False # logger is provided by NeMo exp_manager
enable_checkpointing: False # checkpointing is done by NeMo exp_manager
replace_sampler_ddp: False # use NeMo Megatron samplers
max_epochs: null # # use max_steps instead with NeMo Megatron model
log_every_n_steps: 10 # number of interations between logging
val_check_interval: 15e4
limit_val_batches: 50 # number of batches in validation step, use fraction for fraction of data, 0 to disable
limit_test_batches: 500 # number of batches in test step, use fraction for fraction of data, 0 to disable
accumulate_grad_batches: 1
gradient_clip_val: 1.0
benchmark: False
max_steps: 500000
exp_manager:
name: ${name}
exp_dir: ${oc.env:BIONEMO_HOME}/results/nemo_experiments/${.name}/${.wandb_logger_kwargs.name}
explicit_log_dir: ${.exp_dir}
create_wandb_logger: True
create_tensorboard_logger: True
wandb_logger_kwargs:
project: ${name}_pretraining
name: ${name}_pretraining
group: ${name}
job_type: Localhost_nodes_${trainer.num_nodes}_gpus_${trainer.devices}
notes: "date: ${now:%y%m%d-%H%M%S}"
tags:
- ${name}
offline: False # set to True if there are issues uploading to WandB during training
resume_if_exists: True # automatically resume if checkpoint exists
resume_ignore_no_checkpoint: True # leave as True, will start new training if resume_if_exists is True but no checkpoint exists
create_checkpoint_callback: True # leave as True, use exp_manger for for checkpoints
checkpoint_callback_params:
monitor: val_loss
save_top_k: 10 # number of checkpoints to save
mode: min # use min or max of monitored metric to select best checkpoints
always_save_nemo: False # saves nemo file during validation, not implemented for model parallel
filename: 'megatron_bert--{val_loss:.2f}-{step}-{consumed_samples}'
model_parallel_size: ${multiply:${model.tensor_model_parallel_size}, ${model.pipeline_model_parallel_size}}
model:
precision: 16
# ESM2-specific parameters
micro_batch_size: 100
seq_length: 1024
num_layers: 6
hidden_size: 320
ffn_hidden_size: ${multiply:${model.hidden_size}, 4} # Transformer FFN hidden size. Usually 4 * hidden_size.
num_attention_heads: 20
megatron_legacy: false
position_embedding_type: rope # ESM2 uses relative positional encoding 'ROPE' to extrapolate to longer sequences unseen during training
hidden_dropout: 0 # ESM2 removes dropout from hidden layers and attention
embedding_use_attention_mask: True # ESM2 uses attention masking on the embeddings
embedding_token_dropout: True # ESM2 rescales embeddings based on masked tokens
mask_token_id: ${.tokenizer.mask_id} # Needed for token dropout rescaling
attention_dropout: 0.0 # ESM2 does not use attention dropout
normalize_attention_scores: False # ESM2 does not use normalized attention scores
tensor_model_parallel_size: 1 # model parallelism
pipeline_model_parallel_size: 1 # model parallelism. If enabled, you need to set data.dynamic_padding to False as pipeline parallelism requires fixed-length padding.
bias_gelu_fusion: False
# NOTE: these are compatability features
use_esm_attention: True # Use specific attention modifications for ESM2
esm_gelu: True # ESM2 uses custom gelu in the ML layer
use_pt_layernorm: False # Use pytorch implementation of layernorm instead of fused nemo layernorm. Important for equivalency of results with ESM2.
use_pt_mlp_out: False # Use pytorch implementation of attention output mlp instead of the nemo version. Important for equivalency of results with ESM2.
# Not specified in ESM2 models:
# model architecture
max_position_embeddings: ${.seq_length}
encoder_seq_length: ${.seq_length}
optim:
name: fused_adam # fused optimizers used by Megatron model
lr: 4e-4
weight_decay: 0.01
betas:
- 0.9
- 0.98
sched:
name: CosineAnnealing
warmup_steps: 2000
constant_steps: 50000
min_lr: 4e-5
init_method_std: 0.02 # Standard deviation of the zero mean normal distribution used for weight initialization.')
kv_channels: null # Projection weights dimension in multi-head attention. Set to hidden_size // num_attention_heads if null
apply_query_key_layer_scaling: True # scale Q * K^T by 1 / layer-number.
layernorm_epsilon: 1e-5
make_vocab_size_divisible_by: 128 # Pad the vocab size to be divisible by this value for computation efficiency.
pre_process: True # add embedding
post_process: True # add pooler
bert_binary_head: False # BERT binary head
resume_from_checkpoint: null # manually set the checkpoint file to load from
# NOTE: is this one of the new fields?
masked_softmax_fusion: True # Use a kernel that fuses the attention softmax with it's mask.
tokenizer:
# Use ESM2 tokenizers from HF
library: 'huggingface'
type: 'BertWordPieceLowerCase'
model_name: "???"
mask_id: 32
model: null
vocab_file: null
merge_file: null
# precision
native_amp_init_scale: 4294967296 # 2 ** 32
native_amp_growth_interval: 1000
fp32_residual_connection: False # Move residual connections to fp32
fp16_lm_cross_entropy: False # Move the cross entropy unreduced loss calculation for lm head to fp16
# miscellaneous
seed: 1234
use_cpu_initialization: False # Init weights on the CPU (slow for large model)
onnx_safe: False # Use work-arounds for known problems with Torch ONNX exporter.
# not implemented in NeMo yet
activations_checkpoint_method: null # 'uniform', 'block'
activations_checkpoint_num_layers: 1
data:
ngc_registry_target: uniref50_2022_05
ngc_registry_version: v23.06
data_prefix: "" # must be null or ""
num_workers: 8
dataloader_type: single # cyclic
reset_position_ids: False # Reset position ids after end-of-document token
reset_attention_mask: False # Reset attention mask after end-of-document token
eod_mask_loss: False # Mask loss for the end of document tokens
masked_lm_prob: 0.15 # Probability of replacing a token with mask.
short_seq_prob: 0.1 # Probability of producing a short sequence.
skip_lines: 0
drop_last: False
pin_memory: False
dynamic_padding: False # If True, each batch is padded to the maximum sequence length within that batch.
# Set it to False when model.pipeline_model_parallel_size > 1, as pipeline parallelism requires fixed-length padding.
# Below is the configuration for UF90 resampling.
force_regen_sample_mapping: false # When true, will always generate a new uf90 resampling. otherwise, change the seed.
data_impl: "csv_mmap"
# Supported kwargs (with default values):
# text_mmap (newline_int=10, header_lines=0, workers=None, sort_dataset_paths=True)
# csv_mmap (newline_int=10, header_lines=0,workers=None, sort_dataset_paths=True, data_col=1, data_sep=",")
dataset: # inclusive range of data files to load x[000..049] or can a single file, e.g. x000
train: x[000..049]
test: x[000..049]
val: x[000..049]
data_impl_kwargs:
csv_mmap:
data_col: 1 # 0-based
header_lines: 1
# Rest of these are inherited
uf50_datapath: ${oc.env:BIONEMO_HOME}/data/uniref50_90_202104_esm2nv_v1.0/uniref50_train_filt.fasta
uf90_datapath: ${oc.env:BIONEMO_HOME}/data/uniref50_90_202104_esm2nv_v1.0/uniref90membersandreps_ur50trainfiltreps.fasta
cluster_mapping_tsv: ${oc.env:BIONEMO_HOME}/data/uniref50_90_202104_esm2nv_v1.0/mapping.tsv
# TODO These need to be updated to values we actually like
dataset_path: ${oc.env:BIONEMO_HOME}/data/uniref50_90_202104_esm2nv_v1.0/uf50 # parent directory for data, contains train / val / test folders. Needs to be writeable for index creation.
# NOTE test_size and val_size must be smaller than the total dataset size.
# you can check this with grep -c '>' <uf50_datapath.fasta>
val_size: 5000
test_size: 1000000
sort_fastas: false # If true, assumes the input files are not sorted, and sorts them before creating the cluster mapping. Unsorted fastas will break the cluster map.
uf90:
uniref90_path: ${oc.env:BIONEMO_HOME}/data/uniref50_90_202104_esm2nv_v1.0/uf90/ # created and populated my preprocessing
dataset:
uf90_csvs: x[000..049] # created and populated by preprocessing, this key is a directory inside uniref90_path
data_impl: 'csv_fields_mmap'
data_impl_kwargs:
csv_fields_mmap:
header_lines: 1
newline_int: 10 # byte-value of newline
workers: ${model.data.num_workers} # number of workers when creating missing index files (null defaults to cpu_num / 2)
sort_dataset_paths: True # if True datasets will be sorted by name
data_sep: ',' # string to split text into columns
data_fields:
sequence: 3
sequence_id: 1
index_mapping_dir: ${model.data.index_mapping_dir}
use_upsampling: True # if the data should be upsampled to max number of steps in the training
seed: ${model.seed} # Random seed
max_seq_length: ${model.seq_length} # Maximum input sequence length. Longer sequences are truncated
modify_percent: 0.1 # Percentage of characters in a protein sequence to modify. (Modification means replacing with another amino acid or with a mask token)
perturb_percent: 0.5 # Of the modify_percent, what percentage of characters are to be replaced with another amino acid.
index_mapping_dir: ${oc.env:BIONEMO_HOME}/data/uniref50_90_202104_esm2nv_v1.0/
dwnstr_task_validation:
enabled: False
dataset:
class: bionemo.model.core.dwnstr_task_callbacks.PerTokenPredictionCallback
task_type: token-level-classification
infer_target: bionemo.model.protein.esm1nv.infer.ESM1nvInference
max_seq_length: ${model.seq_length}
emb_batch_size: 128
batch_size: 128
num_epochs: 10
shuffle: True
num_workers: 8
task_name: secondary_structure
dataset_path: ${oc.env:BIONEMO_HOME}/data/FLIP/${model.dwnstr_task_validation.dataset.task_name}
dataset:
train: x000
test: x000
sequence_column: "sequence" # name of column with protein sequence in csv file
target_column: [ "3state", "resolved" ] # names of label columns in csv file
target_sizes: [ 3, 2 ] # number of classes in each label
mask_column: [ "resolved", null ] # names of mask columns in csv file, masks must be 0 or 1
random_seed: 1234
optim:
name: adam
lr: 0.0001
betas:
- 0.9
- 0.999
eps: 1e-8
weight_decay: 0.01
sched:
name: WarmupAnnealing
min_lr: 0.00001
last_epoch: -1
warmup_ratio: 0.01
max_steps: 1000
``` | {
"login": "github-actions[bot]",
"id": 41898282,
"node_id": "MDM6Qm90NDE4OTgyODI=",
"avatar_url": "https://avatars.githubusercontent.com/in/15368?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/github-actions%5Bbot%5D",
"html_url": "https://github.com/apps/github-actions",
"followers_url": "https://api.github.com/users/github-actions%5Bbot%5D/followers",
"following_url": "https://api.github.com/users/github-actions%5Bbot%5D/following{/other_user}",
"gists_url": "https://api.github.com/users/github-actions%5Bbot%5D/gists{/gist_id}",
"starred_url": "https://api.github.com/users/github-actions%5Bbot%5D/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/github-actions%5Bbot%5D/subscriptions",
"organizations_url": "https://api.github.com/users/github-actions%5Bbot%5D/orgs",
"repos_url": "https://api.github.com/users/github-actions%5Bbot%5D/repos",
"events_url": "https://api.github.com/users/github-actions%5Bbot%5D/events{/privacy}",
"received_events_url": "https://api.github.com/users/github-actions%5Bbot%5D/received_events",
"type": "Bot",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/8441/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/8441/timeline | null | not_planned | false |
https://api.github.com/repos/NVIDIA/NeMo/issues/8440 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/8440/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/8440/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/8440/events | https://github.com/NVIDIA/NeMo/pull/8440 | 2,137,958,415 | PR_kwDOC_bI7s5nDW5A | 8,440 | Update readme | {
"login": "ericharper",
"id": 11999610,
"node_id": "MDQ6VXNlcjExOTk5NjEw",
"avatar_url": "https://avatars.githubusercontent.com/u/11999610?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ericharper",
"html_url": "https://github.com/ericharper",
"followers_url": "https://api.github.com/users/ericharper/followers",
"following_url": "https://api.github.com/users/ericharper/following{/other_user}",
"gists_url": "https://api.github.com/users/ericharper/gists{/gist_id}",
"starred_url": "https://api.github.com/users/ericharper/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ericharper/subscriptions",
"organizations_url": "https://api.github.com/users/ericharper/orgs",
"repos_url": "https://api.github.com/users/ericharper/repos",
"events_url": "https://api.github.com/users/ericharper/events{/privacy}",
"received_events_url": "https://api.github.com/users/ericharper/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"id": 4418253970,
"node_id": "LA_kwDOC_bI7s8AAAABB1k0kg",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/TTS",
"name": "TTS",
"color": "49AF28",
"default": false,
"description": ""
},
{
"id": 4811884691,
"node_id": "LA_kwDOC_bI7s8AAAABHs-Ikw",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/ASR",
"name": "ASR",
"color": "F3B33E",
"default": false,
"description": ""
},
{
"id": 4811886210,
"node_id": "LA_kwDOC_bI7s8AAAABHs-Ogg",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/NLP",
"name": "NLP",
"color": "CBF09A",
"default": false,
"description": ""
}
] | closed | false | null | [] | null | [] | 2024-02-16T06:28:53 | 2024-02-17T02:38:37 | 2024-02-17T02:38:36 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/8440",
"html_url": "https://github.com/NVIDIA/NeMo/pull/8440",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/8440.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/8440.patch",
"merged_at": "2024-02-17T02:38:36"
} | # What does this PR do ?
Updates the NeMo readme to include new generative ai focus and move domain centric info to domain readmes.
**Collection**: [Note which collection this PR will affect]
# Changelog
- Add specific line by line info of high level changes in this PR.
# Usage
* You can potentially add a usage example below
```python
# Add a code snippet demonstrating how to use this
```
# Jenkins CI
To run Jenkins, a NeMo User with write access must comment `jenkins` on the PR.
# Before your PR is "Ready for review"
**Pre checks**:
- [ ] Make sure you read and followed [Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md)
- [ ] Did you write any new necessary tests?
- [ ] Did you add or update any necessary documentation?
- [ ] Does the PR affect components that are optional to install? (Ex: Numba, Pynini, Apex etc)
- [ ] Reviewer: Does the PR have correct import guards for all optional libraries?
**PR Type**:
- [ ] New Feature
- [ ] Bugfix
- [ ] Documentation
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](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md) contains specific people who can review PRs to various areas.
# Additional Information
* Related to # (issue)
| {
"login": "ericharper",
"id": 11999610,
"node_id": "MDQ6VXNlcjExOTk5NjEw",
"avatar_url": "https://avatars.githubusercontent.com/u/11999610?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ericharper",
"html_url": "https://github.com/ericharper",
"followers_url": "https://api.github.com/users/ericharper/followers",
"following_url": "https://api.github.com/users/ericharper/following{/other_user}",
"gists_url": "https://api.github.com/users/ericharper/gists{/gist_id}",
"starred_url": "https://api.github.com/users/ericharper/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ericharper/subscriptions",
"organizations_url": "https://api.github.com/users/ericharper/orgs",
"repos_url": "https://api.github.com/users/ericharper/repos",
"events_url": "https://api.github.com/users/ericharper/events{/privacy}",
"received_events_url": "https://api.github.com/users/ericharper/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/8440/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/8440/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/8439 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/8439/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/8439/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/8439/events | https://github.com/NVIDIA/NeMo/pull/8439 | 2,137,936,754 | PR_kwDOC_bI7s5nDSLJ | 8,439 | Update Jenkinsfile | {
"login": "shanmugamr1992",
"id": 111910568,
"node_id": "U_kgDOBqueqA",
"avatar_url": "https://avatars.githubusercontent.com/u/111910568?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/shanmugamr1992",
"html_url": "https://github.com/shanmugamr1992",
"followers_url": "https://api.github.com/users/shanmugamr1992/followers",
"following_url": "https://api.github.com/users/shanmugamr1992/following{/other_user}",
"gists_url": "https://api.github.com/users/shanmugamr1992/gists{/gist_id}",
"starred_url": "https://api.github.com/users/shanmugamr1992/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/shanmugamr1992/subscriptions",
"organizations_url": "https://api.github.com/users/shanmugamr1992/orgs",
"repos_url": "https://api.github.com/users/shanmugamr1992/repos",
"events_url": "https://api.github.com/users/shanmugamr1992/events{/privacy}",
"received_events_url": "https://api.github.com/users/shanmugamr1992/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"id": 4840216855,
"node_id": "LA_kwDOC_bI7s8AAAABIH_ZFw",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/CI",
"name": "CI",
"color": "1D76DB",
"default": false,
"description": ""
}
] | closed | false | null | [] | null | [
"jenkins"
] | 2024-02-16T06:07:04 | 2024-02-18T06:42:27 | 2024-02-18T06:42:23 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/8439",
"html_url": "https://github.com/NVIDIA/NeMo/pull/8439",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/8439.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/8439.patch",
"merged_at": null
} | # What does this PR do ?
Add a one line overview of what this PR aims to accomplish.
**Collection**: [Note which collection this PR will affect]
# Changelog
- Add specific line by line info of high level changes in this PR.
# Usage
* You can potentially add a usage example below
```python
# Add a code snippet demonstrating how to use this
```
# Jenkins CI
To run Jenkins, a NeMo User with write access must comment `jenkins` on the PR.
# Before your PR is "Ready for review"
**Pre checks**:
- [ ] Make sure you read and followed [Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md)
- [ ] Did you write any new necessary tests?
- [ ] Did you add or update any necessary documentation?
- [ ] Does the PR affect components that are optional to install? (Ex: Numba, Pynini, Apex etc)
- [ ] Reviewer: Does the PR have correct import guards for all optional libraries?
**PR Type**:
- [ ] New Feature
- [ ] Bugfix
- [ ] Documentation
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](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md) contains specific people who can review PRs to various areas.
# Additional Information
* Related to # (issue)
| {
"login": "shanmugamr1992",
"id": 111910568,
"node_id": "U_kgDOBqueqA",
"avatar_url": "https://avatars.githubusercontent.com/u/111910568?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/shanmugamr1992",
"html_url": "https://github.com/shanmugamr1992",
"followers_url": "https://api.github.com/users/shanmugamr1992/followers",
"following_url": "https://api.github.com/users/shanmugamr1992/following{/other_user}",
"gists_url": "https://api.github.com/users/shanmugamr1992/gists{/gist_id}",
"starred_url": "https://api.github.com/users/shanmugamr1992/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/shanmugamr1992/subscriptions",
"organizations_url": "https://api.github.com/users/shanmugamr1992/orgs",
"repos_url": "https://api.github.com/users/shanmugamr1992/repos",
"events_url": "https://api.github.com/users/shanmugamr1992/events{/privacy}",
"received_events_url": "https://api.github.com/users/shanmugamr1992/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/8439/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/8439/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/8438 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/8438/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/8438/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/8438/events | https://github.com/NVIDIA/NeMo/pull/8438 | 2,137,744,743 | PR_kwDOC_bI7s5nCovN | 8,438 | add fastconformer timestamp (reopen) | {
"login": "biscayan",
"id": 56914074,
"node_id": "MDQ6VXNlcjU2OTE0MDc0",
"avatar_url": "https://avatars.githubusercontent.com/u/56914074?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/biscayan",
"html_url": "https://github.com/biscayan",
"followers_url": "https://api.github.com/users/biscayan/followers",
"following_url": "https://api.github.com/users/biscayan/following{/other_user}",
"gists_url": "https://api.github.com/users/biscayan/gists{/gist_id}",
"starred_url": "https://api.github.com/users/biscayan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/biscayan/subscriptions",
"organizations_url": "https://api.github.com/users/biscayan/orgs",
"repos_url": "https://api.github.com/users/biscayan/repos",
"events_url": "https://api.github.com/users/biscayan/events{/privacy}",
"received_events_url": "https://api.github.com/users/biscayan/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"id": 4585431311,
"node_id": "LA_kwDOC_bI7s8AAAABEVAhDw",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/stale",
"name": "stale",
"color": "ededed",
"default": false,
"description": null
},
{
"id": 4811884691,
"node_id": "LA_kwDOC_bI7s8AAAABHs-Ikw",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/ASR",
"name": "ASR",
"color": "F3B33E",
"default": false,
"description": ""
}
] | closed | false | null | [] | null | [
"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.",
"@biscayan \r\n\r\nDo you remember how you come up with the model_stride_sec = 0.08? [Link to the line](https://github.com/biscayan/NeMo/blob/9f50dbdabed105d2649384e403c71147d57b4bae/nemo/collections/asr/parts/utils/decoder_timestamps_utils.py#L357C1-L358C1)\r\nWith 0.08 sec, fast conformer is not yielding the right timestamp. It is generating slightly longer sample length.\r\n\r\nThis needs more investigation on time-stamp generation on FastConformer Model. \r\n",
"@tango4j \r\nThank you for reviewing.\r\nIn the fastconformer paper, it is explained that fastconformer model has downsampling schema with 80ms frame rate.\r\nIt means that the time of one frame is 80ms.\r\nI tested the extracted timestamps while listening the wav file. \r\nWhen I set the model_stride_sec=0.04, the timestamps do not match with the wavfile, and after changing the model_stride_sec from 0.04 to 0.08, timestamps accurately match with the wavfile\r\n",
"jenkins",
"@biscayan \r\nDid you check the cpWER ? or you just checked DER ?\r\nWhen I tested with CallHome data, the fast conformer was showing 50% ish cpWER while other CTC models are showing 18~20% errors.\r\nI think there is some issues with chunk-based ASR system. ",
"@tango4j \r\nI didn't compute the cpWER for fastconformer model.\r\nI just compared the asr result and the transcript in clean speech data, and the result is almost accurate.\r\nHowever, I also faced the problem in real reverberated meeting data, the model has low asr performance. ",
"@tango4j what are other CTC models you were comparing, are both of similar sizes? ",
"@nithinraok \r\nModel size does not affect the timestamp issue with chunk based ASR. Only fast-conformer CTC models are returning the inaccurate timestamps with chunk based ASR.\r\nWe use ConformerCTC large `stt_en_conformer_ctc_large` for test purpose. \t",
"@tango4j \r\nShould I do something more for the review?",
"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 was closed because it has been inactive for 7 days since being marked as stale.",
"@KunalDhawan pls test this PR on a known set to compare against similar sized conformer model",
"Also add a integration test for testing purposes! testing on English dataset is good enough. ",
"Hi @KunalDhawan \r\nThank you for your report. \r\nI will develop the PR later. \r\nThank you."
] | 2024-02-16T02:04:16 | 2024-05-21T23:57:18 | 2024-05-21T21:48:22 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/8438",
"html_url": "https://github.com/NVIDIA/NeMo/pull/8438",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/8438.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/8438.patch",
"merged_at": null
} | # What does this PR do ?
I closed a pull request #8341 because of lots of conflicts in the branch.
I tried to solve, but finally I deleted the branch, made new one, and add sign-off to the commit.
Sorry for my mistakes.
**Collection**: [Note which collection this PR will affect]
# Changelog
- Add specific line by line info of high level changes in this PR.
# Usage
* You can potentially add a usage example below
```python
# Add a code snippet demonstrating how to use this
```
# Jenkins CI
To run Jenkins, a NeMo User with write access must comment `jenkins` on the PR.
# Before your PR is "Ready for review"
**Pre checks**:
- [ ] Make sure you read and followed [Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md)
- [ ] Did you write any new necessary tests?
- [ ] Did you add or update any necessary documentation?
- [ ] Does the PR affect components that are optional to install? (Ex: Numba, Pynini, Apex etc)
- [ ] Reviewer: Does the PR have correct import guards for all optional libraries?
**PR Type**:
- [ ] New Feature
- [ ] Bugfix
- [ ] Documentation
If you haven't finished some of the above items you can still open "Draft" PR.
## Who can review?
@titu1994 @nithinraok @tango4j
Anyone in the community is free to review the PR once the checks have passed.
[Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md) contains specific people who can review PRs to various areas.
# Additional Information
* Related to # (issue)
| {
"login": "KunalDhawan",
"id": 15515031,
"node_id": "MDQ6VXNlcjE1NTE1MDMx",
"avatar_url": "https://avatars.githubusercontent.com/u/15515031?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/KunalDhawan",
"html_url": "https://github.com/KunalDhawan",
"followers_url": "https://api.github.com/users/KunalDhawan/followers",
"following_url": "https://api.github.com/users/KunalDhawan/following{/other_user}",
"gists_url": "https://api.github.com/users/KunalDhawan/gists{/gist_id}",
"starred_url": "https://api.github.com/users/KunalDhawan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/KunalDhawan/subscriptions",
"organizations_url": "https://api.github.com/users/KunalDhawan/orgs",
"repos_url": "https://api.github.com/users/KunalDhawan/repos",
"events_url": "https://api.github.com/users/KunalDhawan/events{/privacy}",
"received_events_url": "https://api.github.com/users/KunalDhawan/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/8438/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/8438/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/8437 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/8437/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/8437/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/8437/events | https://github.com/NVIDIA/NeMo/pull/8437 | 2,137,675,543 | PR_kwDOC_bI7s5nCa-Z | 8,437 | mcore customization doc minor fix | {
"login": "github-actions[bot]",
"id": 41898282,
"node_id": "MDM6Qm90NDE4OTgyODI=",
"avatar_url": "https://avatars.githubusercontent.com/in/15368?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/github-actions%5Bbot%5D",
"html_url": "https://github.com/apps/github-actions",
"followers_url": "https://api.github.com/users/github-actions%5Bbot%5D/followers",
"following_url": "https://api.github.com/users/github-actions%5Bbot%5D/following{/other_user}",
"gists_url": "https://api.github.com/users/github-actions%5Bbot%5D/gists{/gist_id}",
"starred_url": "https://api.github.com/users/github-actions%5Bbot%5D/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/github-actions%5Bbot%5D/subscriptions",
"organizations_url": "https://api.github.com/users/github-actions%5Bbot%5D/orgs",
"repos_url": "https://api.github.com/users/github-actions%5Bbot%5D/repos",
"events_url": "https://api.github.com/users/github-actions%5Bbot%5D/events{/privacy}",
"received_events_url": "https://api.github.com/users/github-actions%5Bbot%5D/received_events",
"type": "Bot",
"user_view_type": "public",
"site_admin": false
} | [
{
"id": 4556669155,
"node_id": "LA_kwDOC_bI7s8AAAABD5lA4w",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/cherry-pick",
"name": "cherry-pick",
"color": "ededed",
"default": false,
"description": null
},
{
"id": 4811886210,
"node_id": "LA_kwDOC_bI7s8AAAABHs-Ogg",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/NLP",
"name": "NLP",
"color": "CBF09A",
"default": false,
"description": ""
}
] | closed | false | null | [] | null | [] | 2024-02-16T00:46:13 | 2024-02-16T06:54:43 | 2024-02-16T06:54:42 | CONTRIBUTOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/8437",
"html_url": "https://github.com/NVIDIA/NeMo/pull/8437",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/8437.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/8437.patch",
"merged_at": "2024-02-16T06:54:42"
} | # What does this PR do ?
Address mcore support transformer models instead of just decoder/GPT models.
**Collection**: [Note which collection this PR will affect]
# Changelog
- Add specific line by line info of high level changes in this PR.
# Usage
* You can potentially add a usage example below
```python
# Add a code snippet demonstrating how to use this
```
# Jenkins CI
To run Jenkins, a NeMo User with write access must comment `jenkins` on the PR.
# Before your PR is "Ready for review"
**Pre checks**:
- [ ] Make sure you read and followed [Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md)
- [ ] Did you write any new necessary tests?
- [ ] Did you add or update any necessary documentation?
- [ ] Does the PR affect components that are optional to install? (Ex: Numba, Pynini, Apex etc)
- [ ] Reviewer: Does the PR have correct import guards for all optional libraries?
**PR Type**:
- [ ] New Feature
- [ ] Bugfix
- [ ] Documentation
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](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md) contains specific people who can review PRs to various areas.
# Additional Information
* Related to # (issue)
| {
"login": "ericharper",
"id": 11999610,
"node_id": "MDQ6VXNlcjExOTk5NjEw",
"avatar_url": "https://avatars.githubusercontent.com/u/11999610?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ericharper",
"html_url": "https://github.com/ericharper",
"followers_url": "https://api.github.com/users/ericharper/followers",
"following_url": "https://api.github.com/users/ericharper/following{/other_user}",
"gists_url": "https://api.github.com/users/ericharper/gists{/gist_id}",
"starred_url": "https://api.github.com/users/ericharper/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ericharper/subscriptions",
"organizations_url": "https://api.github.com/users/ericharper/orgs",
"repos_url": "https://api.github.com/users/ericharper/repos",
"events_url": "https://api.github.com/users/ericharper/events{/privacy}",
"received_events_url": "https://api.github.com/users/ericharper/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/8437/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/8437/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/8436 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/8436/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/8436/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/8436/events | https://github.com/NVIDIA/NeMo/issues/8436 | 2,137,592,510 | I_kwDOC_bI7s5_aRK- | 8,436 | Consider making the decoding classes subclasses of torch.nn.Module and registering them via add_module() | {
"login": "galv",
"id": 4767568,
"node_id": "MDQ6VXNlcjQ3Njc1Njg=",
"avatar_url": "https://avatars.githubusercontent.com/u/4767568?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/galv",
"html_url": "https://github.com/galv",
"followers_url": "https://api.github.com/users/galv/followers",
"following_url": "https://api.github.com/users/galv/following{/other_user}",
"gists_url": "https://api.github.com/users/galv/gists{/gist_id}",
"starred_url": "https://api.github.com/users/galv/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/galv/subscriptions",
"organizations_url": "https://api.github.com/users/galv/orgs",
"repos_url": "https://api.github.com/users/galv/repos",
"events_url": "https://api.github.com/users/galv/events{/privacy}",
"received_events_url": "https://api.github.com/users/galv/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | {
"login": "okuchaiev",
"id": 22035961,
"node_id": "MDQ6VXNlcjIyMDM1OTYx",
"avatar_url": "https://avatars.githubusercontent.com/u/22035961?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/okuchaiev",
"html_url": "https://github.com/okuchaiev",
"followers_url": "https://api.github.com/users/okuchaiev/followers",
"following_url": "https://api.github.com/users/okuchaiev/following{/other_user}",
"gists_url": "https://api.github.com/users/okuchaiev/gists{/gist_id}",
"starred_url": "https://api.github.com/users/okuchaiev/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/okuchaiev/subscriptions",
"organizations_url": "https://api.github.com/users/okuchaiev/orgs",
"repos_url": "https://api.github.com/users/okuchaiev/repos",
"events_url": "https://api.github.com/users/okuchaiev/events{/privacy}",
"received_events_url": "https://api.github.com/users/okuchaiev/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"login": "okuchaiev",
"id": 22035961,
"node_id": "MDQ6VXNlcjIyMDM1OTYx",
"avatar_url": "https://avatars.githubusercontent.com/u/22035961?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/okuchaiev",
"html_url": "https://github.com/okuchaiev",
"followers_url": "https://api.github.com/users/okuchaiev/followers",
"following_url": "https://api.github.com/users/okuchaiev/following{/other_user}",
"gists_url": "https://api.github.com/users/okuchaiev/gists{/gist_id}",
"starred_url": "https://api.github.com/users/okuchaiev/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/okuchaiev/subscriptions",
"organizations_url": "https://api.github.com/users/okuchaiev/orgs",
"repos_url": "https://api.github.com/users/okuchaiev/repos",
"events_url": "https://api.github.com/users/okuchaiev/events{/privacy}",
"received_events_url": "https://api.github.com/users/okuchaiev/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
}
] | null | [
"There's a reason those decoding classes aren't modules. When rnnt was being developed it turned out there was a memory leak due to pt graph tracking and Autoregressive calls to the decoder joint. That's why .freeze(), .as_frozen() was developed in NeMos core to deal with that. \r\n\r\nI dunno if that reason is still valid in pytorch after the inference_mode() decorator was added, maybe safe to make them modules again. \r\n\r\nAs you've mentioned, it is a lot of work to do this change, and I don't feel it is super high priority, but if someone wants to take a look that's fine. \r\n\r\nTo get device inside the decoding classes, the preferred mechanism is mostly `next(module.parameters()).device` and cache that value inside the inner forwards. \r\n\r\n> CUDA_VISIBLE_DEVICES environment variable appropriately before starting a process (and remove the cuda=1\r\n\r\nThis is not a good user experience and I want to avoid it. Users should not have to use any env flags for use Nemo ASR as a necessity. \r\n\r\n> Do we have any use for multiple cuda devices in a single process in NeMo?\r\n\r\nWell if you're training, yes, but it's handled by ptl. During inference, we stick to single GPU for now, but with larger models we may consider doing multi GPU in the future. ",
"I frequently use in the notebooks `model.to(\"cuda:1\")`, and expect this to work (I have multiple GPUs). It is inconvenient to use `CUDA_VISIBLE_DEVICES` with notebooks.\r\n\r\nI think that there are two possible approaches:\r\n- if the decoder wants to store anything on the GPU (or MPS), it should be responsible for auto-transferring self-state to the device. This is due to `Infer` classes, which are not `nn.Module` instances (but have Joint/Prednet as submodules). In this case, everything will work, but the code's author should care about this.\r\n- redesign the RNN-T in the following way using `nn.Module`s\r\n - `DecodingWrapper` is an `nn.Module` instance and owns Joint and Prednet\r\n - decoding strategies inherit from `DecodingWrapper` (e.g., `BatchedGreedyDecodingWrapper`)\r\n - the core RNN-T model does not have joint/prednet members anymore, only through `DecodingWrapper`s subclasses\r\n - so, everything inherits `nn.Module`, no duplication of ownership of joint/prednet, buffers are automatically moved to the appropriate device\r\n - changing the decoding strategy implies changing a subclass of `DecodingWrapper` (transferring Joint/Prednet from the current wrapper)\r\n\r\nHowever, such a redesign will break the current checkpoints and will require a lot of work and testing.\r\n",
"It's a few lines to manually manage device type from the encoder, decoder or joints param dtype, we shouldn't have such breaking changes for this ",
"On top of this, yes the fact that parameter count would be double counted for decoder and joint with such a redesign is also bad. ",
"I agree that, for now, such breaking changes are undesirable.\r\n\r\n> On top of this, yes the fact that parameter count would be double counted for decoder and joint with such a redesign is also bad\r\nNope, the concept aim is exactly to avoid parameter duplication.\r\n\r\n**Currently**, rnnt model owns:\r\n- encoder\r\n- joint\r\n- prediction network\r\n- `*Infer` (not nn.Module), owns\r\n - joint (duplicate)\r\n - prediction network (duplicate)\r\n\r\n**Proposed**, rnnt model owns:\r\n- encoder\r\n- `*DecodingWrapper`, owns\r\n - joint\r\n - prediction network",
"That's just bad design, why merge the transcription and prediction network when in all literature it's denoted as separate modules. Also, you don't always call the prednet and decoder network with the same set of inputs (train time prepends blank, eval time it starts with blank as first token for autoregressive decoding). \r\n\r\nThis is not a viable proposal in my opinion ",
"I don't really get what's the big issue with the decoding framework not being a neural module. It's responsibility is not to act as a parameter based operation on NN network as part of the forward, it's a agnostic layer that provides a stable interface (Hypothesis) to map the enc Dec Joint logprobs to text. It's a logical separation, not a module dependency. \r\n\r\nI understand that certain issues can arise due to current design, that's cause we're using more advanced design. However very simple solution to this exists which Daniel has already implemented and is trivial to do (and also recommended by pytorch btw - to base new tensors on the device of the current active ones that it will interact with). \r\n\r\nI don't see why such a thing requires a refactoring of the deciding framework. If there's a bug we fix it, we don't scrap the entire thing and do it all over cause of \"pytorch design pattern\" (which Nemo does not fully follow by design, we instead use PTL design pattern) ",
"My overall conclusion is that I have encountered an edge case, and the right approach is just to recreate the appropriate state tensors anytime that the device of the input tensors changes from what was being used before.",
"Closing this. The better way is lazy initialization given how nemo currently is."
] | 2024-02-15T23:05:26 | 2024-02-28T23:40:35 | 2024-02-28T23:40:35 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | **Is your feature request related to a problem? Please describe.**
@artbataev pointed out to me an issue with calling this when the model is using the cuda graph rnn-t decoder:
```
from nemo.collections.asr.models import ASRModel
import torch
asr_model = ASRModel.from_pretrained(model_name, map_location=torch.device("cuda:0"))
asr_model = asr_model.to(torch.device("cuda:1"))
```
Basically, if I initialize the cuda decoder with instance variable buffers (or parameters) that are torch.Tensors on device cuda:0, the "to()" method won't move them over to device cuda:1, because to() recurses only into members that are also torch.nn.Modules: https://github.com/pytorch/pytorch/blob/c3b4d78e175920141de210f44d292971d7c52ff0/torch/nn/modules/module.py#L572
In order to make that behavior work, I would need to every class that transitively uses an instance of RNNTGreedyDecodeCudaGraph to inherit from torch.nn.Module, so that to() will act properly. This seems like a lot of work, but would allow this API call to work as expected. Otherwise, you get an error as Vladimir shows here: https://github.com/NVIDIA/NeMo/pull/8191#discussion_r1491227311
.to() is being called here transitively https://github.com/NVIDIA/NeMo/blob/21990e4e2182cfa1f33d88c21ec4797f79e3ef24/nemo/core/connectors/save_restore_connector.py#L179 by setup_model() here: https://github.com/NVIDIA/NeMo/blob/21990e4e2182cfa1f33d88c21ec4797f79e3ef24/examples/asr/transcribe_speech.py#L217-L241
in his transcribe_speech.py command line.
Basically any code in NeMo that allocates a torch.tensor that isn't tracked by pytorch's tracking of torch.Tensors (via wrapping it in either a parameter or a buffer and putting it inside a torch.nn.Module) will fail to be converted properly by to(). This could also cause subtle bugs in converting a model from float32 to bfloat16 as well. @erastorgueva-nv I don't think this is what you might be seeing in your Canary debugging, but FYI.
I ultimately don't think this is a good idea since it seems like a lot of work. I think a better way to fix this is to avoid calling to() at all, and instead have users set CUDA_VISIBLE_DEVICES environment variable appropriately before starting a process (and remove the cuda=1 config option in transcribe_speech.py). Note that using CUDA_VISIBLE_DEVICES to specify a single GPU and simply using torch.device("cuda") instead of specifying a device index in code via torch.device("cuda", my_index) is what's recommend: https://pytorch.org/docs/stable/generated/torch.cuda.set_device.html#torch.cuda.set_device
Do we have any use for multiple cuda devices in a single process in NeMo? | {
"login": "galv",
"id": 4767568,
"node_id": "MDQ6VXNlcjQ3Njc1Njg=",
"avatar_url": "https://avatars.githubusercontent.com/u/4767568?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/galv",
"html_url": "https://github.com/galv",
"followers_url": "https://api.github.com/users/galv/followers",
"following_url": "https://api.github.com/users/galv/following{/other_user}",
"gists_url": "https://api.github.com/users/galv/gists{/gist_id}",
"starred_url": "https://api.github.com/users/galv/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/galv/subscriptions",
"organizations_url": "https://api.github.com/users/galv/orgs",
"repos_url": "https://api.github.com/users/galv/repos",
"events_url": "https://api.github.com/users/galv/events{/privacy}",
"received_events_url": "https://api.github.com/users/galv/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/8436/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/8436/timeline | null | completed | false |
https://api.github.com/repos/NVIDIA/NeMo/issues/8435 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/8435/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/8435/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/8435/events | https://github.com/NVIDIA/NeMo/pull/8435 | 2,137,145,813 | PR_kwDOC_bI7s5nAoI0 | 8,435 | Unify HF converter scripts and arguments | {
"login": "yaoyu-33",
"id": 54727607,
"node_id": "MDQ6VXNlcjU0NzI3NjA3",
"avatar_url": "https://avatars.githubusercontent.com/u/54727607?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yaoyu-33",
"html_url": "https://github.com/yaoyu-33",
"followers_url": "https://api.github.com/users/yaoyu-33/followers",
"following_url": "https://api.github.com/users/yaoyu-33/following{/other_user}",
"gists_url": "https://api.github.com/users/yaoyu-33/gists{/gist_id}",
"starred_url": "https://api.github.com/users/yaoyu-33/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/yaoyu-33/subscriptions",
"organizations_url": "https://api.github.com/users/yaoyu-33/orgs",
"repos_url": "https://api.github.com/users/yaoyu-33/repos",
"events_url": "https://api.github.com/users/yaoyu-33/events{/privacy}",
"received_events_url": "https://api.github.com/users/yaoyu-33/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"id": 4840216855,
"node_id": "LA_kwDOC_bI7s8AAAABIH_ZFw",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/CI",
"name": "CI",
"color": "1D76DB",
"default": false,
"description": ""
}
] | closed | false | null | [] | null | [
"jenkins",
"jenkins",
"jenkins",
"jenkins",
"jenkins",
"jenkins",
"jenkins",
"jenkins",
"jenkins",
"jenkins",
"jenkins",
"jenkins",
"jenkins",
"jenkins",
"jenkins",
"jenkins",
"jenkins",
"jenkins",
"jenkins",
"jenkins",
"jenkins",
"jenkins",
"jenkins",
"jenkins"
] | 2024-02-15T18:13:20 | 2024-03-19T21:32:07 | 2024-03-19T21:32:06 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/8435",
"html_url": "https://github.com/NVIDIA/NeMo/pull/8435",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/8435.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/8435.patch",
"merged_at": "2024-03-19T21:32:06"
} | # What does this PR do ?
Unify HF converter scripts and arguments. Moved from https://github.com/NVIDIA/NeMo/pull/8307. Change target to main.
# Jenkins CI
To run Jenkins, a NeMo User with write access must comment `jenkins` on the PR.
# Before your PR is "Ready for review"
**Pre checks**:
- [ ] Make sure you read and followed [Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md)
- [ ] Did you write any new necessary tests?
- [ ] Did you add or update any necessary documentation?
- [ ] Does the PR affect components that are optional to install? (Ex: Numba, Pynini, Apex etc)
- [ ] Reviewer: Does the PR have correct import guards for all optional libraries?
**PR Type**:
- [ ] New Feature
- [ ] Bugfix
- [ ] Documentation
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](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md) contains specific people who can review PRs to various areas.
# Additional Information
* Related to # (issue)
| {
"login": "ericharper",
"id": 11999610,
"node_id": "MDQ6VXNlcjExOTk5NjEw",
"avatar_url": "https://avatars.githubusercontent.com/u/11999610?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ericharper",
"html_url": "https://github.com/ericharper",
"followers_url": "https://api.github.com/users/ericharper/followers",
"following_url": "https://api.github.com/users/ericharper/following{/other_user}",
"gists_url": "https://api.github.com/users/ericharper/gists{/gist_id}",
"starred_url": "https://api.github.com/users/ericharper/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ericharper/subscriptions",
"organizations_url": "https://api.github.com/users/ericharper/orgs",
"repos_url": "https://api.github.com/users/ericharper/repos",
"events_url": "https://api.github.com/users/ericharper/events{/privacy}",
"received_events_url": "https://api.github.com/users/ericharper/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/8435/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/8435/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/8434 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/8434/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/8434/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/8434/events | https://github.com/NVIDIA/NeMo/pull/8434 | 2,137,111,155 | PR_kwDOC_bI7s5nAguj | 8,434 | adding SBert | {
"login": "JRD971000",
"id": 71892896,
"node_id": "MDQ6VXNlcjcxODkyODk2",
"avatar_url": "https://avatars.githubusercontent.com/u/71892896?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/JRD971000",
"html_url": "https://github.com/JRD971000",
"followers_url": "https://api.github.com/users/JRD971000/followers",
"following_url": "https://api.github.com/users/JRD971000/following{/other_user}",
"gists_url": "https://api.github.com/users/JRD971000/gists{/gist_id}",
"starred_url": "https://api.github.com/users/JRD971000/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/JRD971000/subscriptions",
"organizations_url": "https://api.github.com/users/JRD971000/orgs",
"repos_url": "https://api.github.com/users/JRD971000/repos",
"events_url": "https://api.github.com/users/JRD971000/events{/privacy}",
"received_events_url": "https://api.github.com/users/JRD971000/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"id": 1923495043,
"node_id": "MDU6TGFiZWwxOTIzNDk1MDQz",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/core",
"name": "core",
"color": "f25e3a",
"default": false,
"description": "Changes to NeMo Core"
},
{
"id": 4811884691,
"node_id": "LA_kwDOC_bI7s8AAAABHs-Ikw",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/ASR",
"name": "ASR",
"color": "F3B33E",
"default": false,
"description": ""
},
{
"id": 4811886210,
"node_id": "LA_kwDOC_bI7s8AAAABHs-Ogg",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/NLP",
"name": "NLP",
"color": "CBF09A",
"default": false,
"description": ""
},
{
"id": 4840216855,
"node_id": "LA_kwDOC_bI7s8AAAABIH_ZFw",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/CI",
"name": "CI",
"color": "1D76DB",
"default": false,
"description": ""
},
{
"id": 4847373924,
"node_id": "LA_kwDOC_bI7s8AAAABIO0OZA",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/common",
"name": "common",
"color": "c5def5",
"default": false,
"description": ""
}
] | closed | false | {
"login": "JRD971000",
"id": 71892896,
"node_id": "MDQ6VXNlcjcxODkyODk2",
"avatar_url": "https://avatars.githubusercontent.com/u/71892896?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/JRD971000",
"html_url": "https://github.com/JRD971000",
"followers_url": "https://api.github.com/users/JRD971000/followers",
"following_url": "https://api.github.com/users/JRD971000/following{/other_user}",
"gists_url": "https://api.github.com/users/JRD971000/gists{/gist_id}",
"starred_url": "https://api.github.com/users/JRD971000/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/JRD971000/subscriptions",
"organizations_url": "https://api.github.com/users/JRD971000/orgs",
"repos_url": "https://api.github.com/users/JRD971000/repos",
"events_url": "https://api.github.com/users/JRD971000/events{/privacy}",
"received_events_url": "https://api.github.com/users/JRD971000/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"login": "JRD971000",
"id": 71892896,
"node_id": "MDQ6VXNlcjcxODkyODk2",
"avatar_url": "https://avatars.githubusercontent.com/u/71892896?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/JRD971000",
"html_url": "https://github.com/JRD971000",
"followers_url": "https://api.github.com/users/JRD971000/followers",
"following_url": "https://api.github.com/users/JRD971000/following{/other_user}",
"gists_url": "https://api.github.com/users/JRD971000/gists{/gist_id}",
"starred_url": "https://api.github.com/users/JRD971000/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/JRD971000/subscriptions",
"organizations_url": "https://api.github.com/users/JRD971000/orgs",
"repos_url": "https://api.github.com/users/JRD971000/repos",
"events_url": "https://api.github.com/users/JRD971000/events{/privacy}",
"received_events_url": "https://api.github.com/users/JRD971000/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
}
] | null | [
"jenkins",
"jenkins",
"unrelated changes after rebasing with main"
] | 2024-02-15T17:51:21 | 2024-02-16T18:53:17 | 2024-02-16T18:52:41 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/8434",
"html_url": "https://github.com/NVIDIA/NeMo/pull/8434",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/8434.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/8434.patch",
"merged_at": null
} | # What does this PR do ?
Add a one line overview of what this PR aims to accomplish.
**Collection**: [Note which collection this PR will affect]
# Changelog
- Add specific line by line info of high level changes in this PR.
# Usage
* You can potentially add a usage example below
```python
# Add a code snippet demonstrating how to use this
```
# Jenkins CI
To run Jenkins, a NeMo User with write access must comment `jenkins` on the PR.
# Before your PR is "Ready for review"
**Pre checks**:
- [ ] Make sure you read and followed [Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md)
- [ ] Did you write any new necessary tests?
- [ ] Did you add or update any necessary documentation?
- [ ] Does the PR affect components that are optional to install? (Ex: Numba, Pynini, Apex etc)
- [ ] Reviewer: Does the PR have correct import guards for all optional libraries?
**PR Type**:
- [ ] New Feature
- [ ] Bugfix
- [ ] Documentation
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](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md) contains specific people who can review PRs to various areas.
# Additional Information
* Related to # (issue)
| {
"login": "JRD971000",
"id": 71892896,
"node_id": "MDQ6VXNlcjcxODkyODk2",
"avatar_url": "https://avatars.githubusercontent.com/u/71892896?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/JRD971000",
"html_url": "https://github.com/JRD971000",
"followers_url": "https://api.github.com/users/JRD971000/followers",
"following_url": "https://api.github.com/users/JRD971000/following{/other_user}",
"gists_url": "https://api.github.com/users/JRD971000/gists{/gist_id}",
"starred_url": "https://api.github.com/users/JRD971000/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/JRD971000/subscriptions",
"organizations_url": "https://api.github.com/users/JRD971000/orgs",
"repos_url": "https://api.github.com/users/JRD971000/repos",
"events_url": "https://api.github.com/users/JRD971000/events{/privacy}",
"received_events_url": "https://api.github.com/users/JRD971000/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/8434/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/8434/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/8433 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/8433/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/8433/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/8433/events | https://github.com/NVIDIA/NeMo/pull/8433 | 2,137,098,821 | PR_kwDOC_bI7s5nAeFf | 8,433 | add ensemble decoding fix | {
"login": "github-actions[bot]",
"id": 41898282,
"node_id": "MDM6Qm90NDE4OTgyODI=",
"avatar_url": "https://avatars.githubusercontent.com/in/15368?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/github-actions%5Bbot%5D",
"html_url": "https://github.com/apps/github-actions",
"followers_url": "https://api.github.com/users/github-actions%5Bbot%5D/followers",
"following_url": "https://api.github.com/users/github-actions%5Bbot%5D/following{/other_user}",
"gists_url": "https://api.github.com/users/github-actions%5Bbot%5D/gists{/gist_id}",
"starred_url": "https://api.github.com/users/github-actions%5Bbot%5D/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/github-actions%5Bbot%5D/subscriptions",
"organizations_url": "https://api.github.com/users/github-actions%5Bbot%5D/orgs",
"repos_url": "https://api.github.com/users/github-actions%5Bbot%5D/repos",
"events_url": "https://api.github.com/users/github-actions%5Bbot%5D/events{/privacy}",
"received_events_url": "https://api.github.com/users/github-actions%5Bbot%5D/received_events",
"type": "Bot",
"user_view_type": "public",
"site_admin": false
} | [
{
"id": 4556669155,
"node_id": "LA_kwDOC_bI7s8AAAABD5lA4w",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/cherry-pick",
"name": "cherry-pick",
"color": "ededed",
"default": false,
"description": null
},
{
"id": 4811884691,
"node_id": "LA_kwDOC_bI7s8AAAABHs-Ikw",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/ASR",
"name": "ASR",
"color": "F3B33E",
"default": false,
"description": ""
}
] | closed | false | null | [] | null | [
"jenkins"
] | 2024-02-15T17:43:49 | 2024-02-16T00:35:09 | 2024-02-16T00:35:08 | CONTRIBUTOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/8433",
"html_url": "https://github.com/NVIDIA/NeMo/pull/8433",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/8433.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/8433.patch",
"merged_at": "2024-02-16T00:35:08"
} | # What does this PR do ?
Add fix for ensemble model decoding.
**Collection**: ASR
# Changelog
- During addition of MultitaskAED decoding, condition to handle ConfidenseEnsembleModel was missed.
**PR Type**:
- [ ] New Feature
- [x] Bugfix
- [ ] Documentation
| {
"login": "ericharper",
"id": 11999610,
"node_id": "MDQ6VXNlcjExOTk5NjEw",
"avatar_url": "https://avatars.githubusercontent.com/u/11999610?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ericharper",
"html_url": "https://github.com/ericharper",
"followers_url": "https://api.github.com/users/ericharper/followers",
"following_url": "https://api.github.com/users/ericharper/following{/other_user}",
"gists_url": "https://api.github.com/users/ericharper/gists{/gist_id}",
"starred_url": "https://api.github.com/users/ericharper/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ericharper/subscriptions",
"organizations_url": "https://api.github.com/users/ericharper/orgs",
"repos_url": "https://api.github.com/users/ericharper/repos",
"events_url": "https://api.github.com/users/ericharper/events{/privacy}",
"received_events_url": "https://api.github.com/users/ericharper/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/8433/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/8433/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/8432 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/8432/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/8432/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/8432/events | https://github.com/NVIDIA/NeMo/pull/8432 | 2,136,903,783 | PR_kwDOC_bI7s5m_0Z7 | 8,432 | Canary: inference tokenization improvements; preserving custom keys when creating tarred manifests | {
"login": "pzelasko",
"id": 15930688,
"node_id": "MDQ6VXNlcjE1OTMwNjg4",
"avatar_url": "https://avatars.githubusercontent.com/u/15930688?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/pzelasko",
"html_url": "https://github.com/pzelasko",
"followers_url": "https://api.github.com/users/pzelasko/followers",
"following_url": "https://api.github.com/users/pzelasko/following{/other_user}",
"gists_url": "https://api.github.com/users/pzelasko/gists{/gist_id}",
"starred_url": "https://api.github.com/users/pzelasko/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/pzelasko/subscriptions",
"organizations_url": "https://api.github.com/users/pzelasko/orgs",
"repos_url": "https://api.github.com/users/pzelasko/repos",
"events_url": "https://api.github.com/users/pzelasko/events{/privacy}",
"received_events_url": "https://api.github.com/users/pzelasko/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"id": 4811884691,
"node_id": "LA_kwDOC_bI7s8AAAABHs-Ikw",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/ASR",
"name": "ASR",
"color": "F3B33E",
"default": false,
"description": ""
},
{
"id": 4847373924,
"node_id": "LA_kwDOC_bI7s8AAAABIO0OZA",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/common",
"name": "common",
"color": "c5def5",
"default": false,
"description": ""
}
] | closed | false | null | [] | null | [
"jenkins",
"jenkins"
] | 2024-02-15T16:01:28 | 2024-02-16T19:50:55 | 2024-02-16T19:50:54 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/8432",
"html_url": "https://github.com/NVIDIA/NeMo/pull/8432",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/8432.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/8432.patch",
"merged_at": "2024-02-16T19:50:54"
} | # What does this PR do ?
Improvements for Canary:
- carry over custom keys when creating tarred manifests
- selectable text field in ASR eval
- get rid of prompt slicing, create proper inference prompts
**Collection**: ASR
# Changelog
- carry over custom manifest keys when creating tarred manifests
- selectable text field in ASR eval
- get rid of prompt slicing, create proper inference prompts
# Usage
* You can potentially add a usage example below
```python
# Add a code snippet demonstrating how to use this
```
# Jenkins CI
To run Jenkins, a NeMo User with write access must comment `jenkins` on the PR.
# Before your PR is "Ready for review"
**Pre checks**:
- [ ] Make sure you read and followed [Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md)
- [ ] Did you write any new necessary tests?
- [ ] Did you add or update any necessary documentation?
- [ ] Does the PR affect components that are optional to install? (Ex: Numba, Pynini, Apex etc)
- [ ] Reviewer: Does the PR have correct import guards for all optional libraries?
**PR Type**:
- [ ] New Feature
- [x] Bugfix
- [ ] Documentation
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](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md) contains specific people who can review PRs to various areas.
# Additional Information
* Related to # (issue)
| {
"login": "stevehuang52",
"id": 105218074,
"node_id": "U_kgDOBkWAGg",
"avatar_url": "https://avatars.githubusercontent.com/u/105218074?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stevehuang52",
"html_url": "https://github.com/stevehuang52",
"followers_url": "https://api.github.com/users/stevehuang52/followers",
"following_url": "https://api.github.com/users/stevehuang52/following{/other_user}",
"gists_url": "https://api.github.com/users/stevehuang52/gists{/gist_id}",
"starred_url": "https://api.github.com/users/stevehuang52/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/stevehuang52/subscriptions",
"organizations_url": "https://api.github.com/users/stevehuang52/orgs",
"repos_url": "https://api.github.com/users/stevehuang52/repos",
"events_url": "https://api.github.com/users/stevehuang52/events{/privacy}",
"received_events_url": "https://api.github.com/users/stevehuang52/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/8432/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/8432/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/8431 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/8431/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/8431/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/8431/events | https://github.com/NVIDIA/NeMo/pull/8431 | 2,136,696,449 | PR_kwDOC_bI7s5m_GYU | 8,431 | SDE: Added support of GPU-acceleration and running inside Docker | {
"login": "ssh-meister",
"id": 117230141,
"node_id": "U_kgDOBvzKPQ",
"avatar_url": "https://avatars.githubusercontent.com/u/117230141?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ssh-meister",
"html_url": "https://github.com/ssh-meister",
"followers_url": "https://api.github.com/users/ssh-meister/followers",
"following_url": "https://api.github.com/users/ssh-meister/following{/other_user}",
"gists_url": "https://api.github.com/users/ssh-meister/gists{/gist_id}",
"starred_url": "https://api.github.com/users/ssh-meister/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ssh-meister/subscriptions",
"organizations_url": "https://api.github.com/users/ssh-meister/orgs",
"repos_url": "https://api.github.com/users/ssh-meister/repos",
"events_url": "https://api.github.com/users/ssh-meister/events{/privacy}",
"received_events_url": "https://api.github.com/users/ssh-meister/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | [] | 2024-02-15T14:37:09 | 2024-02-19T15:16:55 | 2024-02-19T15:16:55 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/8431",
"html_url": "https://github.com/NVIDIA/NeMo/pull/8431",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/8431.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/8431.patch",
"merged_at": null
} | #7940 continue
GPU acceleration added,
Data loading optimization with adding multiprocessing,
Code refactoring started
+ Added support for running inside the docker container
@vsl9
| {
"login": "ssh-meister",
"id": 117230141,
"node_id": "U_kgDOBvzKPQ",
"avatar_url": "https://avatars.githubusercontent.com/u/117230141?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ssh-meister",
"html_url": "https://github.com/ssh-meister",
"followers_url": "https://api.github.com/users/ssh-meister/followers",
"following_url": "https://api.github.com/users/ssh-meister/following{/other_user}",
"gists_url": "https://api.github.com/users/ssh-meister/gists{/gist_id}",
"starred_url": "https://api.github.com/users/ssh-meister/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ssh-meister/subscriptions",
"organizations_url": "https://api.github.com/users/ssh-meister/orgs",
"repos_url": "https://api.github.com/users/ssh-meister/repos",
"events_url": "https://api.github.com/users/ssh-meister/events{/privacy}",
"received_events_url": "https://api.github.com/users/ssh-meister/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/8431/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/8431/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/8430 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/8430/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/8430/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/8430/events | https://github.com/NVIDIA/NeMo/pull/8430 | 2,136,521,975 | PR_kwDOC_bI7s5m-fP3 | 8,430 | SDE bugfix log | {
"login": "Jorjeous",
"id": 37293288,
"node_id": "MDQ6VXNlcjM3MjkzMjg4",
"avatar_url": "https://avatars.githubusercontent.com/u/37293288?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Jorjeous",
"html_url": "https://github.com/Jorjeous",
"followers_url": "https://api.github.com/users/Jorjeous/followers",
"following_url": "https://api.github.com/users/Jorjeous/following{/other_user}",
"gists_url": "https://api.github.com/users/Jorjeous/gists{/gist_id}",
"starred_url": "https://api.github.com/users/Jorjeous/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Jorjeous/subscriptions",
"organizations_url": "https://api.github.com/users/Jorjeous/orgs",
"repos_url": "https://api.github.com/users/Jorjeous/repos",
"events_url": "https://api.github.com/users/Jorjeous/events{/privacy}",
"received_events_url": "https://api.github.com/users/Jorjeous/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | {
"login": "Jorjeous",
"id": 37293288,
"node_id": "MDQ6VXNlcjM3MjkzMjg4",
"avatar_url": "https://avatars.githubusercontent.com/u/37293288?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Jorjeous",
"html_url": "https://github.com/Jorjeous",
"followers_url": "https://api.github.com/users/Jorjeous/followers",
"following_url": "https://api.github.com/users/Jorjeous/following{/other_user}",
"gists_url": "https://api.github.com/users/Jorjeous/gists{/gist_id}",
"starred_url": "https://api.github.com/users/Jorjeous/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Jorjeous/subscriptions",
"organizations_url": "https://api.github.com/users/Jorjeous/orgs",
"repos_url": "https://api.github.com/users/Jorjeous/repos",
"events_url": "https://api.github.com/users/Jorjeous/events{/privacy}",
"received_events_url": "https://api.github.com/users/Jorjeous/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"login": "Jorjeous",
"id": 37293288,
"node_id": "MDQ6VXNlcjM3MjkzMjg4",
"avatar_url": "https://avatars.githubusercontent.com/u/37293288?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Jorjeous",
"html_url": "https://github.com/Jorjeous",
"followers_url": "https://api.github.com/users/Jorjeous/followers",
"following_url": "https://api.github.com/users/Jorjeous/following{/other_user}",
"gists_url": "https://api.github.com/users/Jorjeous/gists{/gist_id}",
"starred_url": "https://api.github.com/users/Jorjeous/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Jorjeous/subscriptions",
"organizations_url": "https://api.github.com/users/Jorjeous/orgs",
"repos_url": "https://api.github.com/users/Jorjeous/repos",
"events_url": "https://api.github.com/users/Jorjeous/events{/privacy}",
"received_events_url": "https://api.github.com/users/Jorjeous/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
}
] | null | [
"jenkins",
"jenkins"
] | 2024-02-15T13:26:52 | 2024-02-15T18:32:49 | 2024-02-15T18:32:48 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/8430",
"html_url": "https://github.com/NVIDIA/NeMo/pull/8430",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/8430.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/8430.patch",
"merged_at": "2024-02-15T18:32:48"
} | # What does this PR do ?
Hotfix
Add a one line overview of what this PR aims to accomplish.
**Collection**: [Note which collection this PR will affect]
# Changelog
- Add specific line by line info of high level changes in this PR.
# Usage
* You can potentially add a usage example below
```python
# Add a code snippet demonstrating how to use this
```
# Jenkins CI
To run Jenkins, a NeMo User with write access must comment `jenkins` on the PR.
# Before your PR is "Ready for review"
**Pre checks**:
- [ ] Make sure you read and followed [Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md)
- [ ] Did you write any new necessary tests?
- [ ] Did you add or update any necessary documentation?
- [ ] Does the PR affect components that are optional to install? (Ex: Numba, Pynini, Apex etc)
- [ ] Reviewer: Does the PR have correct import guards for all optional libraries?
**PR Type**:
- [ ] New Feature
- [x] Bugfix
- [x] Documentation
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](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md) contains specific people who can review PRs to various areas.
# Additional Information
* Related to # (issue)
| {
"login": "ericharper",
"id": 11999610,
"node_id": "MDQ6VXNlcjExOTk5NjEw",
"avatar_url": "https://avatars.githubusercontent.com/u/11999610?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ericharper",
"html_url": "https://github.com/ericharper",
"followers_url": "https://api.github.com/users/ericharper/followers",
"following_url": "https://api.github.com/users/ericharper/following{/other_user}",
"gists_url": "https://api.github.com/users/ericharper/gists{/gist_id}",
"starred_url": "https://api.github.com/users/ericharper/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ericharper/subscriptions",
"organizations_url": "https://api.github.com/users/ericharper/orgs",
"repos_url": "https://api.github.com/users/ericharper/repos",
"events_url": "https://api.github.com/users/ericharper/events{/privacy}",
"received_events_url": "https://api.github.com/users/ericharper/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/8430/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/8430/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/8429 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/8429/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/8429/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/8429/events | https://github.com/NVIDIA/NeMo/pull/8429 | 2,136,125,325 | PR_kwDOC_bI7s5m9HF7 | 8,429 | Account for mpirun use case in get_rank | {
"login": "janekl",
"id": 5582967,
"node_id": "MDQ6VXNlcjU1ODI5Njc=",
"avatar_url": "https://avatars.githubusercontent.com/u/5582967?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/janekl",
"html_url": "https://github.com/janekl",
"followers_url": "https://api.github.com/users/janekl/followers",
"following_url": "https://api.github.com/users/janekl/following{/other_user}",
"gists_url": "https://api.github.com/users/janekl/gists{/gist_id}",
"starred_url": "https://api.github.com/users/janekl/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/janekl/subscriptions",
"organizations_url": "https://api.github.com/users/janekl/orgs",
"repos_url": "https://api.github.com/users/janekl/repos",
"events_url": "https://api.github.com/users/janekl/events{/privacy}",
"received_events_url": "https://api.github.com/users/janekl/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | [
"> Nice ! Thanks for the improvement !\r\n\r\nThanks, I'm merging.."
] | 2024-02-15T10:11:01 | 2024-02-22T10:23:52 | 2024-02-22T10:23:52 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/8429",
"html_url": "https://github.com/NVIDIA/NeMo/pull/8429",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/8429.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/8429.patch",
"merged_at": "2024-02-22T10:23:52"
} | # What does this PR do ?
Some distributed workloads can possibly be launched "manually" with `mpirun -n N python ...`. I'm adapting `nemo.utils.get_rank.py` module to take it into account and produce correct rank information in such cases.
Currently the below **rank_example.py** script (with [the project pattern for setting up distributed environment](https://github.com/NVIDIA/NeMo/blob/21990e4e2182cfa1f33d88c21ec4797f79e3ef24/nemo/collections/nlp/models/language_modeling/megatron_gpt_model.py#L1378-L1385)) when launched with, for example, `mpirun -n 2 python rank_example.py` outputs
```
RANKS (NeMo, PyT): (0, 0)
RANKS (NeMo, PyT): (0, 1)
```
while the expected output is
```
RANKS (NeMo, PyT): (0, 0)
RANKS (NeMo, PyT): (1, 1)
```
The MR fixes this.
**rank_example.py**:
```
import torch.distributed as dist
from pytorch_lightning.trainer.trainer import Trainer
from nemo.collections.nlp.parts.nlp_overrides import NLPDDPStrategy
from nemo.utils.get_rank import get_rank
trainer = Trainer(
strategy=NLPDDPStrategy(),
devices=-1,
num_nodes=1,
accelerator="gpu",
logger=False,
precision="bf16",
enable_checkpointing=False,
)
def dummy():
return
if trainer.strategy.launcher is not None:
trainer.strategy.launcher.launch(dummy, trainer=trainer)
trainer.strategy.setup_environment()
print("RANKS (NeMo, PyT):", (get_rank(), dist.get_rank()))
```
**Collection**: [ALL]
# Changelog
- Fixing `is_global_rank_zero` and `get_rank` helper functions in case of using `mpirun` by considering `OMPI_COMM_WORLD_RANK` env var.
# Jenkins CI
To run Jenkins, a NeMo User with write access must comment `jenkins` on the PR.
# Before your PR is "Ready for review"
**Pre checks**:
- [x] Make sure you read and followed [Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md)
- [ ] Did you write any new necessary tests?
- [x] Did you add or update any necessary documentation?
- [ ] Does the PR affect components that are optional to install? (Ex: Numba, Pynini, Apex etc)
- [ ] Reviewer: Does the PR have correct import guards for all optional libraries?
**PR Type**:
- [x] Bugfix
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](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md) contains specific people who can review PRs to various areas.
| {
"login": "janekl",
"id": 5582967,
"node_id": "MDQ6VXNlcjU1ODI5Njc=",
"avatar_url": "https://avatars.githubusercontent.com/u/5582967?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/janekl",
"html_url": "https://github.com/janekl",
"followers_url": "https://api.github.com/users/janekl/followers",
"following_url": "https://api.github.com/users/janekl/following{/other_user}",
"gists_url": "https://api.github.com/users/janekl/gists{/gist_id}",
"starred_url": "https://api.github.com/users/janekl/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/janekl/subscriptions",
"organizations_url": "https://api.github.com/users/janekl/orgs",
"repos_url": "https://api.github.com/users/janekl/repos",
"events_url": "https://api.github.com/users/janekl/events{/privacy}",
"received_events_url": "https://api.github.com/users/janekl/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/8429/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/8429/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/8428 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/8428/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/8428/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/8428/events | https://github.com/NVIDIA/NeMo/pull/8428 | 2,135,810,133 | PR_kwDOC_bI7s5m8Bsy | 8,428 | Flashlight and Pyctcdecode decoders | {
"login": "karpnv",
"id": 1645775,
"node_id": "MDQ6VXNlcjE2NDU3NzU=",
"avatar_url": "https://avatars.githubusercontent.com/u/1645775?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/karpnv",
"html_url": "https://github.com/karpnv",
"followers_url": "https://api.github.com/users/karpnv/followers",
"following_url": "https://api.github.com/users/karpnv/following{/other_user}",
"gists_url": "https://api.github.com/users/karpnv/gists{/gist_id}",
"starred_url": "https://api.github.com/users/karpnv/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/karpnv/subscriptions",
"organizations_url": "https://api.github.com/users/karpnv/orgs",
"repos_url": "https://api.github.com/users/karpnv/repos",
"events_url": "https://api.github.com/users/karpnv/events{/privacy}",
"received_events_url": "https://api.github.com/users/karpnv/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"id": 4585431311,
"node_id": "LA_kwDOC_bI7s8AAAABEVAhDw",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/stale",
"name": "stale",
"color": "ededed",
"default": false,
"description": null
},
{
"id": 4811884691,
"node_id": "LA_kwDOC_bI7s8AAAABHs-Ikw",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/ASR",
"name": "ASR",
"color": "F3B33E",
"default": false,
"description": ""
}
] | closed | false | null | [] | null | [
"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 was closed because it has been inactive for 7 days since being marked as stale.",
"@karpnv is this being worked on ?",
"@karpnv i'll provide a review later this week (bandwidth limited)",
"@titu1994 I covered half of [the table](https://docs.google.com/spreadsheets/d/11feRNo9Bx0jnS947PkeGd0j8wPOgw4CIVfRnzpqZe48/edit?usp=sharing) and PR already huge. let's review it first. Then will continue with AggregateTokenizer",
"Jenkins",
"Note: `eval_beamsearch_ngram_ctc.py` and transducer.py I guess also requires changes for hypothesis that was updated recently for log probs. ",
"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 was closed because it has been inactive for 7 days since being marked as stale.",
"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 was closed because it has been inactive for 7 days since being marked as stale.",
"[π€]: Hi @karpnv π,\n\nI just wanted to let you know that, you know, a [CICD pipeline](https://github.com/NVIDIA/NeMo/actions/runs/11126811833) for this PR just finished successfully β¨\n\nSo it might be time to merge this PR or like to get some approvals π\n\nBut I'm just a π€ so I'll leave it you what to do next.\n\nHave a great day! \n\n//cc @ko3n1g",
"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.",
"can we merge this? ",
"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.",
"@karpnv could you fix merge conflicts so this can be merged?",
"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.",
"@karpnv is this going to be completed or should we close it?",
"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.",
"<!-- pylint-output-strict-mode-false -->\n\nbeep boop π€: π The following files have warnings. In case you are familiar with these, please try helping us to improve the code base.\n\n---\n\nYour code was analyzed with PyLint. The following annotations have been identified:\n\n```\n************* Module speech_to_text_eval\nexamples/asr/speech_to_text_eval.py:86:0: C0115: Missing class docstring (missing-class-docstring)\nexamples/asr/speech_to_text_eval.py:113:0: C0116: Missing function or method docstring (missing-function-docstring)\n************* Module transcribe_speech\nexamples/asr/transcribe_speech.py:174:0: C0301: Line too long (139/119) (line-too-long)\nexamples/asr/transcribe_speech.py:382:0: C0301: Line too long (134/119) (line-too-long)\nexamples/asr/transcribe_speech.py:111:0: C0115: Missing class docstring (missing-class-docstring)\nexamples/asr/transcribe_speech.py:118:0: C0115: Missing class docstring (missing-class-docstring)\nexamples/asr/transcribe_speech.py:210:0: C0116: Missing function or method docstring (missing-function-docstring)\nexamples/asr/transcribe_speech.py:15:0: W0611: Unused import contextlib (unused-import)\n************* Module nemo.collections.asr.models.hybrid_rnnt_ctc_models\nnemo/collections/asr/models/hybrid_rnnt_ctc_models.py:123:0: C0301: Line too long (266/119) (line-too-long)\nnemo/collections/asr/models/hybrid_rnnt_ctc_models.py:224:0: C0301: Line too long (120/119) (line-too-long)\nnemo/collections/asr/models/hybrid_rnnt_ctc_models.py:674:0: C0301: Line too long (141/119) (line-too-long)\nnemo/collections/asr/models/hybrid_rnnt_ctc_models.py:675:0: C0301: Line too long (139/119) (line-too-long)\nnemo/collections/asr/models/hybrid_rnnt_ctc_models.py:16:0: W0611: Unused import json (unused-import)\nnemo/collections/asr/models/hybrid_rnnt_ctc_models.py:17:0: W0611: Unused import os (unused-import)\nnemo/collections/asr/models/hybrid_rnnt_ctc_models.py:18:0: W0611: Unused import tempfile (unused-import)\nnemo/collections/asr/models/hybrid_rnnt_ctc_models.py:24:0: W0611: Unused tqdm imported from tqdm.auto (unused-import)\n************* Module nemo.collections.asr.modules.flashlight_decoder\nnemo/collections/asr/modules/flashlight_decoder.py:49:4: C0116: Missing function or method docstring (missing-function-docstring)\nnemo/collections/asr/modules/flashlight_decoder.py:53:4: C0116: Missing function or method docstring (missing-function-docstring)\nnemo/collections/asr/modules/flashlight_decoder.py:57:4: C0116: Missing function or method docstring (missing-function-docstring)\nnemo/collections/asr/modules/flashlight_decoder.py:61:4: C0116: Missing function or method docstring (missing-function-docstring)\nnemo/collections/asr/modules/flashlight_decoder.py:65:4: C0116: Missing function or method docstring (missing-function-docstring)\nnemo/collections/asr/modules/flashlight_decoder.py:76:4: C0116: Missing function or method docstring (missing-function-docstring)\nnemo/collections/asr/modules/flashlight_decoder.py:83:0: C0116: Missing function or method docstring (missing-function-docstring)\nnemo/collections/asr/modules/flashlight_decoder.py:292:4: C0116: Missing function or method docstring (missing-function-docstring)\nnemo/collections/asr/modules/flashlight_decoder.py:17:0: W0611: Unused Iterable imported from typing (unused-import)\nnemo/collections/asr/modules/flashlight_decoder.py:17:0: W0611: Unused Tuple imported from typing (unused-import)\nnemo/collections/asr/modules/flashlight_decoder.py:23:0: W0611: Unused typecheck imported from nemo.core.classes (unused-import)\nnemo/collections/asr/modules/flashlight_decoder.py:24:0: W0611: Unused LengthsType imported from nemo.core.neural_types (unused-import)\nnemo/collections/asr/modules/flashlight_decoder.py:24:0: W0611: Unused LogprobsType imported from nemo.core.neural_types (unused-import)\nnemo/collections/asr/modules/flashlight_decoder.py:24:0: W0611: Unused NeuralType imported from nemo.core.neural_types (unused-import)\nnemo/collections/asr/modules/flashlight_decoder.py:24:0: W0611: Unused PredictionsType imported from nemo.core.neural_types (unused-import)\n************* Module nemo.collections.asr.parts.submodules.ctc_beam_decoding\nnemo/collections/asr/parts/submodules/ctc_beam_decoding.py:197:0: C0301: Line too long (123/119) (line-too-long)\nnemo/collections/asr/parts/submodules/ctc_beam_decoding.py:38:0: C0116: Missing function or method docstring (missing-function-docstring)\nnemo/collections/asr/parts/submodules/ctc_beam_decoding.py:62:0: C0116: Missing function or method docstring (missing-function-docstring)\nnemo/collections/asr/parts/submodules/ctc_beam_decoding.py:210:0: C0116: Missing function or method docstring (missing-function-docstring)\nnemo/collections/asr/parts/submodules/ctc_beam_decoding.py:898:0: C0115: Missing class docstring (missing-class-docstring)\nnemo/collections/asr/parts/submodules/ctc_beam_decoding.py:910:0: C0115: Missing class docstring (missing-class-docstring)\nnemo/collections/asr/parts/submodules/ctc_beam_decoding.py:920:0: C0115: Missing class docstring (missing-class-docstring)\nnemo/collections/asr/parts/submodules/ctc_beam_decoding.py:937:0: C0115: Missing class docstring (missing-class-docstring)\nnemo/collections/asr/parts/submodules/ctc_beam_decoding.py:944:0: C0115: Missing class docstring (missing-class-docstring)\n************* Module nemo.collections.asr.parts.submodules.ctc_decoding\nnemo/collections/asr/parts/submodules/ctc_decoding.py:263:0: C0301: Line too long (209/119) (line-too-long)\nnemo/collections/asr/parts/submodules/ctc_decoding.py:342:0: C0301: Line too long (136/119) (line-too-long)\nnemo/collections/asr/parts/submodules/ctc_decoding.py:736:0: C0301: Line too long (151/119) (line-too-long)\nnemo/collections/asr/parts/submodules/ctc_decoding.py:893:0: C0301: Line too long (125/119) (line-too-long)\nnemo/collections/asr/parts/submodules/ctc_decoding.py:33:0: C0116: Missing function or method docstring (missing-function-docstring)\nnemo/collections/asr/parts/submodules/ctc_decoding.py:967:4: C0116: Missing function or method docstring (missing-function-docstring)\nnemo/collections/asr/parts/submodules/ctc_decoding.py:978:4: C0116: Missing function or method docstring (missing-function-docstring)\nnemo/collections/asr/parts/submodules/ctc_decoding.py:989:4: C0116: Missing function or method docstring (missing-function-docstring)\nnemo/collections/asr/parts/submodules/ctc_decoding.py:1449:0: C0115: Missing class docstring (missing-class-docstring)\nnemo/collections/asr/parts/submodules/ctc_decoding.py:1496:0: C0115: Missing class docstring (missing-class-docstring)\n************* Module scripts.asr_language_modeling.ngram_lm.create_lexicon_from_arpa\nscripts/asr_language_modeling/ngram_lm/create_lexicon_from_arpa.py:33:0: C0116: Missing function or method docstring (missing-function-docstring)\n************* Module scripts.asr_language_modeling.ngram_lm.eval_beamsearch_ngram_ctc\nscripts/asr_language_modeling/ngram_lm/eval_beamsearch_ngram_ctc.py:19:0: C0301: Line too long (125/119) (line-too-long)\nscripts/asr_language_modeling/ngram_lm/eval_beamsearch_ngram_ctc.py:54:0: C0301: Line too long (141/119) (line-too-long)\nscripts/asr_language_modeling/ngram_lm/eval_beamsearch_ngram_ctc.py:55:0: C0301: Line too long (160/119) (line-too-long)\nscripts/asr_language_modeling/ngram_lm/eval_beamsearch_ngram_ctc.py:175:0: C0301: Line too long (121/119) (line-too-long)\nscripts/asr_language_modeling/ngram_lm/eval_beamsearch_ngram_ctc.py:205:0: C0301: Line too long (125/119) (line-too-long)\nscripts/asr_language_modeling/ngram_lm/eval_beamsearch_ngram_ctc.py:284:0: C0301: Line too long (120/119) (line-too-long)\nscripts/asr_language_modeling/ngram_lm/eval_beamsearch_ngram_ctc.py:371:0: C0301: Line too long (122/119) (line-too-long)\nscripts/asr_language_modeling/ngram_lm/eval_beamsearch_ngram_ctc.py:372:0: C0301: Line too long (148/119) (line-too-long)\nscripts/asr_language_modeling/ngram_lm/eval_beamsearch_ngram_ctc.py:422:0: C0301: Line too long (138/119) (line-too-long)\nscripts/asr_language_modeling/ngram_lm/eval_beamsearch_ngram_ctc.py:424:0: C0301: Line too long (157/119) (line-too-long)\nscripts/asr_language_modeling/ngram_lm/eval_beamsearch_ngram_ctc.py:135:0: C0116: Missing function or method docstring (missing-function-docstring)\nscripts/asr_language_modeling/ngram_lm/eval_beamsearch_ngram_ctc.py:283:0: C0116: Missing function or method docstring (missing-function-docstring)\n************* Module scripts.asr_language_modeling.ngram_lm.eval_beamsearch_ngram_transducer\nscripts/asr_language_modeling/ngram_lm/eval_beamsearch_ngram_transducer.py:18:0: C0301: Line too long (129/119) (line-too-long)\nscripts/asr_language_modeling/ngram_lm/eval_beamsearch_ngram_transducer.py:108:0: C0301: Line too long (126/119) (line-too-long)\nscripts/asr_language_modeling/ngram_lm/eval_beamsearch_ngram_transducer.py:109:0: C0301: Line too long (140/119) (line-too-long)\nscripts/asr_language_modeling/ngram_lm/eval_beamsearch_ngram_transducer.py:111:0: C0301: Line too long (149/119) (line-too-long)\nscripts/asr_language_modeling/ngram_lm/eval_beamsearch_ngram_transducer.py:112:0: C0301: Line too long (162/119) (line-too-long)\nscripts/asr_language_modeling/ngram_lm/eval_beamsearch_ngram_transducer.py:118:0: C0301: Line too long (139/119) (line-too-long)\nscripts/asr_language_modeling/ngram_lm/eval_beamsearch_ngram_transducer.py:164:0: C0301: Line too long (245/119) (line-too-long)\nscripts/asr_language_modeling/ngram_lm/eval_beamsearch_ngram_transducer.py:225:0: C0301: Line too long (149/119) (line-too-long)\nscripts/asr_language_modeling/ngram_lm/eval_beamsearch_ngram_transducer.py:229:0: C0301: Line too long (132/119) (line-too-long)\nscripts/asr_language_modeling/ngram_lm/eval_beamsearch_ngram_transducer.py:232:0: C0301: Line too long (124/119) (line-too-long)\nscripts/asr_language_modeling/ngram_lm/eval_beamsearch_ngram_transducer.py:384:0: C0301: Line too long (121/119) (line-too-long)\nscripts/asr_language_modeling/ngram_lm/eval_beamsearch_ngram_transducer.py:124:0: C0116: Missing function or method docstring (missing-function-docstring)\nscripts/asr_language_modeling/ngram_lm/eval_beamsearch_ngram_transducer.py:240:0: C0116: Missing function or method docstring (missing-function-docstring)\n************* Module scripts.asr_language_modeling.ngram_lm.kenlm_utils\nscripts/asr_language_modeling/ngram_lm/kenlm_utils.py:20:0: C0301: Line too long (129/119) (line-too-long)\nscripts/asr_language_modeling/ngram_lm/kenlm_utils.py:21:0: C0301: Line too long (124/119) (line-too-long)\nscripts/asr_language_modeling/ngram_lm/kenlm_utils.py:80:0: C0301: Line too long (129/119) (line-too-long)\nscripts/asr_language_modeling/ngram_lm/kenlm_utils.py:53:0: C0116: Missing function or method docstring (missing-function-docstring)\nscripts/asr_language_modeling/ngram_lm/kenlm_utils.py:58:0: C0116: Missing function or method docstring (missing-function-docstring)\nscripts/asr_language_modeling/ngram_lm/kenlm_utils.py:104:0: C0116: Missing function or method docstring (missing-function-docstring)\nscripts/asr_language_modeling/ngram_lm/kenlm_utils.py:130:0: C0116: Missing function or method docstring (missing-function-docstring)\nscripts/asr_language_modeling/ngram_lm/kenlm_utils.py:180:0: C0116: Missing function or method docstring (missing-function-docstring)\nscripts/asr_language_modeling/ngram_lm/kenlm_utils.py:189:0: C0116: Missing function or method docstring (missing-function-docstring)\nscripts/asr_language_modeling/ngram_lm/kenlm_utils.py:216:0: C0116: Missing function or method docstring (missing-function-docstring)\nscripts/asr_language_modeling/ngram_lm/kenlm_utils.py:230:0: C0116: Missing function or method docstring (missing-function-docstring)\nscripts/asr_language_modeling/ngram_lm/kenlm_utils.py:240:0: C0116: Missing function or method docstring (missing-function-docstring)\n************* Module scripts.asr_language_modeling.ngram_lm.ngram_merge\nscripts/asr_language_modeling/ngram_lm/ngram_merge.py:65:0: C0301: Line too long (122/119) (line-too-long)\nscripts/asr_language_modeling/ngram_lm/ngram_merge.py:111:0: C0301: Line too long (395/119) (line-too-long)\nscripts/asr_language_modeling/ngram_lm/ngram_merge.py:115:0: C0301: Line too long (201/119) (line-too-long)\nscripts/asr_language_modeling/ngram_lm/ngram_merge.py:117:0: C0301: Line too long (161/119) (line-too-long)\nscripts/asr_language_modeling/ngram_lm/ngram_merge.py:118:0: C0301: Line too long (216/119) (line-too-long)\nscripts/asr_language_modeling/ngram_lm/ngram_merge.py:250:0: C0301: Line too long (156/119) (line-too-long)\nscripts/asr_language_modeling/ngram_lm/ngram_merge.py:274:0: C0301: Line too long (147/119) (line-too-long)\nscripts/asr_language_modeling/ngram_lm/ngram_merge.py:437:0: C0301: Line too long (140/119) (line-too-long)\nscripts/asr_language_modeling/ngram_lm/ngram_merge.py:444:0: C0301: Line too long (144/119) (line-too-long)\nscripts/asr_language_modeling/ngram_lm/ngram_merge.py:473:0: C0301: Line too long (129/119) (line-too-long)\nscripts/asr_language_modeling/ngram_lm/ngram_merge.py:59:0: C0115: Missing class docstring (missing-class-docstring)\n************* Module scripts.asr_language_modeling.ngram_lm.train_kenlm\nscripts/asr_language_modeling/ngram_lm/train_kenlm.py:63:0: C0301: Line too long (133/119) (line-too-long)\nscripts/asr_language_modeling/ngram_lm/train_kenlm.py:64:0: C0301: Line too long (128/119) (line-too-long)\nscripts/asr_language_modeling/ngram_lm/train_kenlm.py:68:0: C0301: Line too long (169/119) (line-too-long)\nscripts/asr_language_modeling/ngram_lm/train_kenlm.py:81:0: C0301: Line too long (128/119) (line-too-long)\nscripts/asr_language_modeling/ngram_lm/train_kenlm.py:87:0: C0116: Missing function or method docstring (missing-function-docstring)\n\n-----------------------------------\nYour code has been rated at 9.57/10\n```\n\n---\n\nMitigation guide:\n\n* Add sensible and useful docstrings to functions and methods\n* For trivial methods like getter/setters, consider adding `# pylint: disable=C0116` inside the function itself\n* To disable multiple functions/methods at once, put a `# pylint: disable=C0116` before the first and a `# pylint: enable=C0116` after the last.\n\nBy applying these rules, we reduce the occurance of this message in future.\n\nThank you for improving NeMo's documentation!",
"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 was closed because it has been inactive for 7 days since being marked as stale."
] | 2024-02-15T07:16:06 | 2025-01-18T01:54:20 | 2025-01-18T01:54:18 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/8428",
"html_url": "https://github.com/NVIDIA/NeMo/pull/8428",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/8428.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/8428.patch",
"merged_at": null
} | # Preserve Flashlight and Pyctcdecode beamsearch with Ngram LM
Support Flashlight and Pyctcdecode decoding with pure KenLM and NeMo KenLM
Standardize API of CLI inference scripts
**Collection**: ASR
# Changelog
- Fix install script install_beamsearch_decoders.sh
- Create flashlight_lexicon file during scripts/asr_language_modeling/ngram_lm/train_kenlm.py and tar it with kenlm.bin
- Unify parameters for eval_beamsearch_ngram_ctc.py, speech_to_text_eval.py and training
-- Get logprobs from Hypothesis
-- Use "pyctcdecode" strategy as default beamsearch algorithm denoted as "beam"
-- Remove default seq2seq strategy
-- Check decoding_type and search_type combinations
-- Support empty string in nemo_kenlm_path and word_kenlm_path for beamsearch without LM (ZeroLM)
- Fix bug with EncDecHybridRNNTCTCModel in examples/asr/transcribe_speech.py
- Support AggregateTokenizer in scripts/asr_language_modeling/ngram_lm/create_lexicon_from_arpa.py
```python
python3 scripts/asr_language_modeling/ngram_lm/eval_beamsearch_ngram_ctc.py \
model_path=am_model.nemo \
dataset_manifest=manifest.json \
preds_output_folder=/tmp \
ctc_decoding.strategy=flashlight \
ctc_decoding.beam.kenlm_path=am_model.kenlm \
ctc_decoding.beam.beam_size=[4] \
ctc_decoding.beam.beam_alpha=[0.5] \
ctc_decoding.beam.beam_beta=[0.5] \
batch_size=32 \
beam_batch_size=1 \
cuda=1
python3 examples/asr/speech_to_text_eval.py \
model_path=am_model.nemo \
dataset_manifest=manifest.json \
decoder_type=ctc
ctc_decoding.strategy=flashlight \
ctc_decoding.beam.nemo_kenlm_path=kenlm_model.bin \
ctc_decoding.beam.beam_size=4 \
ctc_decoding.beam.beam_alpha=0.5 \
ctc_decoding.beam.beam_beta=0.5 \
ctc_decoding.beam.flashlight_cfg.lexicon_path=am_model.flashlight_lexicon \ # DEFAULT_TOKEN_OFFSET
ctc_decoding.beam.return_best_hypothesis=true \
batch_size=32 \
output_filename=/tmp/manifest_out.json
cuda=1
```
**PR Type**:
- [ V] New Feature
- [ ] Bugfix
- [ ] Documentation
If you haven't finished some of the above items you can still open "Draft" PR.
## Who can review?
# Additional Information
* Related to #9067
| {
"login": "github-actions[bot]",
"id": 41898282,
"node_id": "MDM6Qm90NDE4OTgyODI=",
"avatar_url": "https://avatars.githubusercontent.com/in/15368?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/github-actions%5Bbot%5D",
"html_url": "https://github.com/apps/github-actions",
"followers_url": "https://api.github.com/users/github-actions%5Bbot%5D/followers",
"following_url": "https://api.github.com/users/github-actions%5Bbot%5D/following{/other_user}",
"gists_url": "https://api.github.com/users/github-actions%5Bbot%5D/gists{/gist_id}",
"starred_url": "https://api.github.com/users/github-actions%5Bbot%5D/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/github-actions%5Bbot%5D/subscriptions",
"organizations_url": "https://api.github.com/users/github-actions%5Bbot%5D/orgs",
"repos_url": "https://api.github.com/users/github-actions%5Bbot%5D/repos",
"events_url": "https://api.github.com/users/github-actions%5Bbot%5D/events{/privacy}",
"received_events_url": "https://api.github.com/users/github-actions%5Bbot%5D/received_events",
"type": "Bot",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/8428/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/8428/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/8427 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/8427/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/8427/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/8427/events | https://github.com/NVIDIA/NeMo/pull/8427 | 2,135,634,661 | PR_kwDOC_bI7s5m7bN8 | 8,427 | add ensemble decoding fix | {
"login": "nithinraok",
"id": 19668129,
"node_id": "MDQ6VXNlcjE5NjY4MTI5",
"avatar_url": "https://avatars.githubusercontent.com/u/19668129?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/nithinraok",
"html_url": "https://github.com/nithinraok",
"followers_url": "https://api.github.com/users/nithinraok/followers",
"following_url": "https://api.github.com/users/nithinraok/following{/other_user}",
"gists_url": "https://api.github.com/users/nithinraok/gists{/gist_id}",
"starred_url": "https://api.github.com/users/nithinraok/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/nithinraok/subscriptions",
"organizations_url": "https://api.github.com/users/nithinraok/orgs",
"repos_url": "https://api.github.com/users/nithinraok/repos",
"events_url": "https://api.github.com/users/nithinraok/events{/privacy}",
"received_events_url": "https://api.github.com/users/nithinraok/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"id": 4811884691,
"node_id": "LA_kwDOC_bI7s8AAAABHs-Ikw",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/ASR",
"name": "ASR",
"color": "F3B33E",
"default": false,
"description": ""
}
] | closed | false | null | [] | null | [
"jenkins"
] | 2024-02-15T04:48:45 | 2024-02-15T17:43:14 | 2024-02-15T17:43:13 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/8427",
"html_url": "https://github.com/NVIDIA/NeMo/pull/8427",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/8427.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/8427.patch",
"merged_at": "2024-02-15T17:43:13"
} | # What does this PR do ?
Add fix for ensemble model decoding.
**Collection**: ASR
# Changelog
- During addition of MultitaskAED decoding, condition to handle ConfidenseEnsembleModel was missed.
**PR Type**:
- [ ] New Feature
- [x] Bugfix
- [ ] Documentation
| {
"login": "nithinraok",
"id": 19668129,
"node_id": "MDQ6VXNlcjE5NjY4MTI5",
"avatar_url": "https://avatars.githubusercontent.com/u/19668129?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/nithinraok",
"html_url": "https://github.com/nithinraok",
"followers_url": "https://api.github.com/users/nithinraok/followers",
"following_url": "https://api.github.com/users/nithinraok/following{/other_user}",
"gists_url": "https://api.github.com/users/nithinraok/gists{/gist_id}",
"starred_url": "https://api.github.com/users/nithinraok/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/nithinraok/subscriptions",
"organizations_url": "https://api.github.com/users/nithinraok/orgs",
"repos_url": "https://api.github.com/users/nithinraok/repos",
"events_url": "https://api.github.com/users/nithinraok/events{/privacy}",
"received_events_url": "https://api.github.com/users/nithinraok/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/8427/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/8427/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/8426 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/8426/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/8426/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/8426/events | https://github.com/NVIDIA/NeMo/pull/8426 | 2,135,363,132 | PR_kwDOC_bI7s5m6hn8 | 8,426 | Handle float limit_val_batches | {
"login": "athitten",
"id": 47577437,
"node_id": "MDQ6VXNlcjQ3NTc3NDM3",
"avatar_url": "https://avatars.githubusercontent.com/u/47577437?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/athitten",
"html_url": "https://github.com/athitten",
"followers_url": "https://api.github.com/users/athitten/followers",
"following_url": "https://api.github.com/users/athitten/following{/other_user}",
"gists_url": "https://api.github.com/users/athitten/gists{/gist_id}",
"starred_url": "https://api.github.com/users/athitten/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/athitten/subscriptions",
"organizations_url": "https://api.github.com/users/athitten/orgs",
"repos_url": "https://api.github.com/users/athitten/repos",
"events_url": "https://api.github.com/users/athitten/events{/privacy}",
"received_events_url": "https://api.github.com/users/athitten/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"id": 4811886210,
"node_id": "LA_kwDOC_bI7s8AAAABHs-Ogg",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/NLP",
"name": "NLP",
"color": "CBF09A",
"default": false,
"description": ""
},
{
"id": 4840216855,
"node_id": "LA_kwDOC_bI7s8AAAABIH_ZFw",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/CI",
"name": "CI",
"color": "1D76DB",
"default": false,
"description": ""
}
] | closed | false | null | [] | null | [
"jenkins",
"jenkins",
"jenkins",
"jenkins",
"jenkins",
"jenkins",
"jenkins",
"jenkins",
"jenkins",
"jenkins",
"jenkins",
"jenkins",
"jenkins",
"jenkins",
"jenkins",
"jenkins",
"jenkins",
"jenkins",
"jenkins",
"jenkins",
"LGTM",
"jenkins"
] | 2024-02-14T23:22:56 | 2024-02-23T16:37:30 | 2024-02-23T16:37:29 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/8426",
"html_url": "https://github.com/NVIDIA/NeMo/pull/8426",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/8426.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/8426.patch",
"merged_at": "2024-02-23T16:37:29"
} | # What does this PR do ?
1) When a float `limit_val_batches` is passed by the user, the PR ensures that the `limit_val_batches` is cast to an equivalent int value and also makes sure the cast `limit_val_batches` is a multiple of num of microbatches as required by PTL >= 2.0.
2) Calls `self._reconfigure_val_batches()` after the setup of datasets, so that the original value of limit_val_batches is used to build the dataset and not the reconfigured value.
3) Returns the` len(dataloader)` in terms of number micro batches instead of num of global batches. This is required for 2 reasons:
- a) Since `limit_val_batches` is reconfigured to be in terms of number of micro batches, if the `len(dataloader)` is in num of global batches then we can run into situations where `len(dataloader) < num_micro_batches` and this can lead to one of the ranks hitting `StopIteration` in the midst of completing a global batch, leading to a hang if a different rank is waiting for the output of the first rank in case of PP.
- b) Another reason being ideally, the `len(dataloader)` should be returned in terms of the granularity of the batch size in which we fetch the data from the `dataloader_iter`. Since in megatron models a micro batch is fetched each time `next(dataloader_iter)` is called, the len(dataloader) should be returned in the same metric. Also, PTL's progress bar is such that it increments the epoch number after the num of batches extracted hit `len(dataloader)`. So if `len(dataloader)` is x in terms of global batches, then we incorrectly increment the epoch after x micro batches are extracted even though, the dataloader still has microbatches and is not empty. This can be very misleading to the end users.
Add a one line overview of what this PR aims to accomplish.
**Collection**: [Note which collection this PR will affect]
# Changelog
- Add specific line by line info of high level changes in this PR.
# Usage
* You can potentially add a usage example below
```python
# Add a code snippet demonstrating how to use this
```
# Jenkins CI
To run Jenkins, a NeMo User with write access must comment `jenkins` on the PR.
# Before your PR is "Ready for review"
**Pre checks**:
- [ ] Make sure you read and followed [Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md)
- [ ] Did you write any new necessary tests?
- [ ] Did you add or update any necessary documentation?
- [ ] Does the PR affect components that are optional to install? (Ex: Numba, Pynini, Apex etc)
- [ ] Reviewer: Does the PR have correct import guards for all optional libraries?
**PR Type**:
- [ ] New Feature
- [ ] Bugfix
- [ ] Documentation
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](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md) contains specific people who can review PRs to various areas.
# Additional Information
* Related to # (issue)
| {
"login": "jbaczek",
"id": 45043825,
"node_id": "MDQ6VXNlcjQ1MDQzODI1",
"avatar_url": "https://avatars.githubusercontent.com/u/45043825?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jbaczek",
"html_url": "https://github.com/jbaczek",
"followers_url": "https://api.github.com/users/jbaczek/followers",
"following_url": "https://api.github.com/users/jbaczek/following{/other_user}",
"gists_url": "https://api.github.com/users/jbaczek/gists{/gist_id}",
"starred_url": "https://api.github.com/users/jbaczek/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbaczek/subscriptions",
"organizations_url": "https://api.github.com/users/jbaczek/orgs",
"repos_url": "https://api.github.com/users/jbaczek/repos",
"events_url": "https://api.github.com/users/jbaczek/events{/privacy}",
"received_events_url": "https://api.github.com/users/jbaczek/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/8426/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/8426/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/8425 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/8425/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/8425/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/8425/events | https://github.com/NVIDIA/NeMo/pull/8425 | 2,135,190,462 | PR_kwDOC_bI7s5m57yd | 8,425 | Mengruw/fixed lang id any2any training | {
"login": "mengruwNv",
"id": 149420466,
"node_id": "U_kgDOCOf5sg",
"avatar_url": "https://avatars.githubusercontent.com/u/149420466?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mengruwNv",
"html_url": "https://github.com/mengruwNv",
"followers_url": "https://api.github.com/users/mengruwNv/followers",
"following_url": "https://api.github.com/users/mengruwNv/following{/other_user}",
"gists_url": "https://api.github.com/users/mengruwNv/gists{/gist_id}",
"starred_url": "https://api.github.com/users/mengruwNv/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mengruwNv/subscriptions",
"organizations_url": "https://api.github.com/users/mengruwNv/orgs",
"repos_url": "https://api.github.com/users/mengruwNv/repos",
"events_url": "https://api.github.com/users/mengruwNv/events{/privacy}",
"received_events_url": "https://api.github.com/users/mengruwNv/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"id": 1923495043,
"node_id": "MDU6TGFiZWwxOTIzNDk1MDQz",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/core",
"name": "core",
"color": "f25e3a",
"default": false,
"description": "Changes to NeMo Core"
},
{
"id": 4418253970,
"node_id": "LA_kwDOC_bI7s8AAAABB1k0kg",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/TTS",
"name": "TTS",
"color": "49AF28",
"default": false,
"description": ""
},
{
"id": 4585431311,
"node_id": "LA_kwDOC_bI7s8AAAABEVAhDw",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/stale",
"name": "stale",
"color": "ededed",
"default": false,
"description": null
},
{
"id": 4811884691,
"node_id": "LA_kwDOC_bI7s8AAAABHs-Ikw",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/ASR",
"name": "ASR",
"color": "F3B33E",
"default": false,
"description": ""
},
{
"id": 4811886210,
"node_id": "LA_kwDOC_bI7s8AAAABHs-Ogg",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/NLP",
"name": "NLP",
"color": "CBF09A",
"default": false,
"description": ""
},
{
"id": 4811888028,
"node_id": "LA_kwDOC_bI7s8AAAABHs-VnA",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/Speaker%20Tasks",
"name": "Speaker Tasks",
"color": "871AD4",
"default": false,
"description": ""
},
{
"id": 4840216855,
"node_id": "LA_kwDOC_bI7s8AAAABIH_ZFw",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/CI",
"name": "CI",
"color": "1D76DB",
"default": false,
"description": ""
}
] | closed | false | null | [] | null | [
"@Davood-M I made some changes to enable any2any training. Mostly, the changes are in the way of creating lang ids. Could you please help to review and merge changes to a proper branch?",
"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 was closed because it has been inactive for 7 days since being marked as stale."
] | 2024-02-14T20:56:07 | 2024-03-08T01:43:48 | 2024-03-08T01:43:47 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/8425",
"html_url": "https://github.com/NVIDIA/NeMo/pull/8425",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/8425.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/8425.patch",
"merged_at": null
} | # What does this PR do ?
Add a one line overview of what this PR aims to accomplish.
**Collection**: [Note which collection this PR will affect]
# Changelog
- Add specific line by line info of high level changes in this PR.
# Usage
* You can potentially add a usage example below
```python
# Add a code snippet demonstrating how to use this
```
# Jenkins CI
To run Jenkins, a NeMo User with write access must comment `jenkins` on the PR.
# Before your PR is "Ready for review"
**Pre checks**:
- [ ] Make sure you read and followed [Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md)
- [ ] Did you write any new necessary tests?
- [ ] Did you add or update any necessary documentation?
- [ ] Does the PR affect components that are optional to install? (Ex: Numba, Pynini, Apex etc)
- [ ] Reviewer: Does the PR have correct import guards for all optional libraries?
**PR Type**:
- [ ] New Feature
- [ ] Bugfix
- [ ] Documentation
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](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md) contains specific people who can review PRs to various areas.
# Additional Information
* Related to # (issue)
| {
"login": "github-actions[bot]",
"id": 41898282,
"node_id": "MDM6Qm90NDE4OTgyODI=",
"avatar_url": "https://avatars.githubusercontent.com/in/15368?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/github-actions%5Bbot%5D",
"html_url": "https://github.com/apps/github-actions",
"followers_url": "https://api.github.com/users/github-actions%5Bbot%5D/followers",
"following_url": "https://api.github.com/users/github-actions%5Bbot%5D/following{/other_user}",
"gists_url": "https://api.github.com/users/github-actions%5Bbot%5D/gists{/gist_id}",
"starred_url": "https://api.github.com/users/github-actions%5Bbot%5D/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/github-actions%5Bbot%5D/subscriptions",
"organizations_url": "https://api.github.com/users/github-actions%5Bbot%5D/orgs",
"repos_url": "https://api.github.com/users/github-actions%5Bbot%5D/repos",
"events_url": "https://api.github.com/users/github-actions%5Bbot%5D/events{/privacy}",
"received_events_url": "https://api.github.com/users/github-actions%5Bbot%5D/received_events",
"type": "Bot",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/8425/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/8425/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/8424 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/8424/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/8424/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/8424/events | https://github.com/NVIDIA/NeMo/pull/8424 | 2,135,188,846 | PR_kwDOC_bI7s5m57bO | 8,424 | bug fix in create_manifest_with_alignments and create_new_ctm_entry | {
"login": "kvoyager",
"id": 10786475,
"node_id": "MDQ6VXNlcjEwNzg2NDc1",
"avatar_url": "https://avatars.githubusercontent.com/u/10786475?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kvoyager",
"html_url": "https://github.com/kvoyager",
"followers_url": "https://api.github.com/users/kvoyager/followers",
"following_url": "https://api.github.com/users/kvoyager/following{/other_user}",
"gists_url": "https://api.github.com/users/kvoyager/gists{/gist_id}",
"starred_url": "https://api.github.com/users/kvoyager/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/kvoyager/subscriptions",
"organizations_url": "https://api.github.com/users/kvoyager/orgs",
"repos_url": "https://api.github.com/users/kvoyager/repos",
"events_url": "https://api.github.com/users/kvoyager/events{/privacy}",
"received_events_url": "https://api.github.com/users/kvoyager/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"id": 4585431311,
"node_id": "LA_kwDOC_bI7s8AAAABEVAhDw",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/stale",
"name": "stale",
"color": "ededed",
"default": false,
"description": null
}
] | closed | false | null | [] | null | [
"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 was closed because it has been inactive for 7 days since being marked as stale."
] | 2024-02-14T20:55:22 | 2024-03-08T01:43:50 | 2024-03-08T01:43:49 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/8424",
"html_url": "https://github.com/NVIDIA/NeMo/pull/8424",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/8424.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/8424.patch",
"merged_at": null
} | # What does this PR do ?
Bug fix in diarization scripts
# Changelog
- Call of `get_ctm_line function` in `create_new_ctm_entry` with `conf=0` raises error due to later type check, should be `conf=0.0`
- In function `create_manifest_with_alignments` the call of `get_seg_info_from_ctm_line` should return tuple `start, end, speaker_id`
| {
"login": "github-actions[bot]",
"id": 41898282,
"node_id": "MDM6Qm90NDE4OTgyODI=",
"avatar_url": "https://avatars.githubusercontent.com/in/15368?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/github-actions%5Bbot%5D",
"html_url": "https://github.com/apps/github-actions",
"followers_url": "https://api.github.com/users/github-actions%5Bbot%5D/followers",
"following_url": "https://api.github.com/users/github-actions%5Bbot%5D/following{/other_user}",
"gists_url": "https://api.github.com/users/github-actions%5Bbot%5D/gists{/gist_id}",
"starred_url": "https://api.github.com/users/github-actions%5Bbot%5D/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/github-actions%5Bbot%5D/subscriptions",
"organizations_url": "https://api.github.com/users/github-actions%5Bbot%5D/orgs",
"repos_url": "https://api.github.com/users/github-actions%5Bbot%5D/repos",
"events_url": "https://api.github.com/users/github-actions%5Bbot%5D/events{/privacy}",
"received_events_url": "https://api.github.com/users/github-actions%5Bbot%5D/received_events",
"type": "Bot",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/8424/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/8424/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/8423 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/8423/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/8423/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/8423/events | https://github.com/NVIDIA/NeMo/pull/8423 | 2,134,985,762 | PR_kwDOC_bI7s5m5OqZ | 8,423 | Alit/draft plus | {
"login": "JRD971000",
"id": 71892896,
"node_id": "MDQ6VXNlcjcxODkyODk2",
"avatar_url": "https://avatars.githubusercontent.com/u/71892896?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/JRD971000",
"html_url": "https://github.com/JRD971000",
"followers_url": "https://api.github.com/users/JRD971000/followers",
"following_url": "https://api.github.com/users/JRD971000/following{/other_user}",
"gists_url": "https://api.github.com/users/JRD971000/gists{/gist_id}",
"starred_url": "https://api.github.com/users/JRD971000/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/JRD971000/subscriptions",
"organizations_url": "https://api.github.com/users/JRD971000/orgs",
"repos_url": "https://api.github.com/users/JRD971000/repos",
"events_url": "https://api.github.com/users/JRD971000/events{/privacy}",
"received_events_url": "https://api.github.com/users/JRD971000/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"id": 1923495043,
"node_id": "MDU6TGFiZWwxOTIzNDk1MDQz",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/core",
"name": "core",
"color": "f25e3a",
"default": false,
"description": "Changes to NeMo Core"
},
{
"id": 4418253970,
"node_id": "LA_kwDOC_bI7s8AAAABB1k0kg",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/TTS",
"name": "TTS",
"color": "49AF28",
"default": false,
"description": ""
},
{
"id": 4811884691,
"node_id": "LA_kwDOC_bI7s8AAAABHs-Ikw",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/ASR",
"name": "ASR",
"color": "F3B33E",
"default": false,
"description": ""
},
{
"id": 4811886210,
"node_id": "LA_kwDOC_bI7s8AAAABHs-Ogg",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/NLP",
"name": "NLP",
"color": "CBF09A",
"default": false,
"description": ""
},
{
"id": 4840216855,
"node_id": "LA_kwDOC_bI7s8AAAABIH_ZFw",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/CI",
"name": "CI",
"color": "1D76DB",
"default": false,
"description": ""
},
{
"id": 4847373924,
"node_id": "LA_kwDOC_bI7s8AAAABIO0OZA",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/common",
"name": "common",
"color": "c5def5",
"default": false,
"description": ""
}
] | closed | false | null | [] | null | [
"\r\nunrelated changes after rebasing with main\r\n\r\n"
] | 2024-02-14T18:55:04 | 2024-02-16T19:03:06 | 2024-02-16T19:02:58 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/8423",
"html_url": "https://github.com/NVIDIA/NeMo/pull/8423",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/8423.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/8423.patch",
"merged_at": null
} | # What does this PR do ?
Adding a few methods to support SD fine-tuning using DRaFT algorithm
**Collection**: [Note which collection this PR will affect]
# Changelog
- Add specific line by line info of high level changes in this PR.
# Usage
* You can potentially add a usage example below
```python
# Add a code snippet demonstrating how to use this
```
# Jenkins CI
To run Jenkins, a NeMo User with write access must comment `jenkins` on the PR.
# Before your PR is "Ready for review"
**Pre checks**:
- [ ] Make sure you read and followed [Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md)
- [ ] Did you write any new necessary tests?
- [ ] Did you add or update any necessary documentation?
- [ ] Does the PR affect components that are optional to install? (Ex: Numba, Pynini, Apex etc)
- [ ] Reviewer: Does the PR have correct import guards for all optional libraries?
**PR Type**:
- [*] New Feature
- [ ] Bugfix
- [ ] Documentation
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](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md) contains specific people who can review PRs to various areas.
# Additional Information
* Related to # (issue)
| {
"login": "JRD971000",
"id": 71892896,
"node_id": "MDQ6VXNlcjcxODkyODk2",
"avatar_url": "https://avatars.githubusercontent.com/u/71892896?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/JRD971000",
"html_url": "https://github.com/JRD971000",
"followers_url": "https://api.github.com/users/JRD971000/followers",
"following_url": "https://api.github.com/users/JRD971000/following{/other_user}",
"gists_url": "https://api.github.com/users/JRD971000/gists{/gist_id}",
"starred_url": "https://api.github.com/users/JRD971000/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/JRD971000/subscriptions",
"organizations_url": "https://api.github.com/users/JRD971000/orgs",
"repos_url": "https://api.github.com/users/JRD971000/repos",
"events_url": "https://api.github.com/users/JRD971000/events{/privacy}",
"received_events_url": "https://api.github.com/users/JRD971000/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/8423/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/8423/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/8422 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/8422/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/8422/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/8422/events | https://github.com/NVIDIA/NeMo/pull/8422 | 2,134,876,950 | PR_kwDOC_bI7s5m42UM | 8,422 | Remove PEP 604 typing from the code to enable backwards compatibility⦠| {
"login": "isklyar",
"id": 23029200,
"node_id": "MDQ6VXNlcjIzMDI5MjAw",
"avatar_url": "https://avatars.githubusercontent.com/u/23029200?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/isklyar",
"html_url": "https://github.com/isklyar",
"followers_url": "https://api.github.com/users/isklyar/followers",
"following_url": "https://api.github.com/users/isklyar/following{/other_user}",
"gists_url": "https://api.github.com/users/isklyar/gists{/gist_id}",
"starred_url": "https://api.github.com/users/isklyar/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/isklyar/subscriptions",
"organizations_url": "https://api.github.com/users/isklyar/orgs",
"repos_url": "https://api.github.com/users/isklyar/repos",
"events_url": "https://api.github.com/users/isklyar/events{/privacy}",
"received_events_url": "https://api.github.com/users/isklyar/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"id": 4585431311,
"node_id": "LA_kwDOC_bI7s8AAAABEVAhDw",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/stale",
"name": "stale",
"color": "ededed",
"default": false,
"description": null
},
{
"id": 4811884691,
"node_id": "LA_kwDOC_bI7s8AAAABHs-Ikw",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/ASR",
"name": "ASR",
"color": "F3B33E",
"default": false,
"description": ""
},
{
"id": 4847373924,
"node_id": "LA_kwDOC_bI7s8AAAABIO0OZA",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/common",
"name": "common",
"color": "c5def5",
"default": false,
"description": ""
}
] | closed | false | null | [] | null | [
"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 was closed because it has been inactive for 7 days since being marked as stale."
] | 2024-02-14T17:57:34 | 2024-03-09T01:42:23 | 2024-03-09T01:42:22 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | true | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/8422",
"html_url": "https://github.com/NVIDIA/NeMo/pull/8422",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/8422.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/8422.patch",
"merged_at": null
} | β¦ with python 3.9
# What does this PR do ?
Add a one line overview of what this PR aims to accomplish.
**Collection**: [Note which collection this PR will affect]
# Changelog
- Add specific line by line info of high level changes in this PR.
# Usage
* You can potentially add a usage example below
```python
# Add a code snippet demonstrating how to use this
```
# Jenkins CI
To run Jenkins, a NeMo User with write access must comment `jenkins` on the PR.
# Before your PR is "Ready for review"
**Pre checks**:
- [ ] Make sure you read and followed [Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md)
- [ ] Did you write any new necessary tests?
- [ ] Did you add or update any necessary documentation?
- [ ] Does the PR affect components that are optional to install? (Ex: Numba, Pynini, Apex etc)
- [ ] Reviewer: Does the PR have correct import guards for all optional libraries?
**PR Type**:
- [ ] New Feature
- [ ] Bugfix
- [ ] Documentation
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](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md) contains specific people who can review PRs to various areas.
# Additional Information
* Related to # (issue)
| {
"login": "github-actions[bot]",
"id": 41898282,
"node_id": "MDM6Qm90NDE4OTgyODI=",
"avatar_url": "https://avatars.githubusercontent.com/in/15368?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/github-actions%5Bbot%5D",
"html_url": "https://github.com/apps/github-actions",
"followers_url": "https://api.github.com/users/github-actions%5Bbot%5D/followers",
"following_url": "https://api.github.com/users/github-actions%5Bbot%5D/following{/other_user}",
"gists_url": "https://api.github.com/users/github-actions%5Bbot%5D/gists{/gist_id}",
"starred_url": "https://api.github.com/users/github-actions%5Bbot%5D/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/github-actions%5Bbot%5D/subscriptions",
"organizations_url": "https://api.github.com/users/github-actions%5Bbot%5D/orgs",
"repos_url": "https://api.github.com/users/github-actions%5Bbot%5D/repos",
"events_url": "https://api.github.com/users/github-actions%5Bbot%5D/events{/privacy}",
"received_events_url": "https://api.github.com/users/github-actions%5Bbot%5D/received_events",
"type": "Bot",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/8422/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/8422/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/8421 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/8421/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/8421/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/8421/events | https://github.com/NVIDIA/NeMo/pull/8421 | 2,134,870,029 | PR_kwDOC_bI7s5m40x- | 8,421 | mcore customization doc minor fix | {
"login": "HuiyingLi",
"id": 1331543,
"node_id": "MDQ6VXNlcjEzMzE1NDM=",
"avatar_url": "https://avatars.githubusercontent.com/u/1331543?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/HuiyingLi",
"html_url": "https://github.com/HuiyingLi",
"followers_url": "https://api.github.com/users/HuiyingLi/followers",
"following_url": "https://api.github.com/users/HuiyingLi/following{/other_user}",
"gists_url": "https://api.github.com/users/HuiyingLi/gists{/gist_id}",
"starred_url": "https://api.github.com/users/HuiyingLi/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/HuiyingLi/subscriptions",
"organizations_url": "https://api.github.com/users/HuiyingLi/orgs",
"repos_url": "https://api.github.com/users/HuiyingLi/repos",
"events_url": "https://api.github.com/users/HuiyingLi/events{/privacy}",
"received_events_url": "https://api.github.com/users/HuiyingLi/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"id": 4811886210,
"node_id": "LA_kwDOC_bI7s8AAAABHs-Ogg",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/NLP",
"name": "NLP",
"color": "CBF09A",
"default": false,
"description": ""
}
] | closed | false | null | [] | null | [] | 2024-02-14T17:53:23 | 2024-02-16T00:45:51 | 2024-02-16T00:45:51 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/8421",
"html_url": "https://github.com/NVIDIA/NeMo/pull/8421",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/8421.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/8421.patch",
"merged_at": "2024-02-16T00:45:51"
} | # What does this PR do ?
Address mcore support transformer models instead of just decoder/GPT models.
**Collection**: [Note which collection this PR will affect]
# Changelog
- Add specific line by line info of high level changes in this PR.
# Usage
* You can potentially add a usage example below
```python
# Add a code snippet demonstrating how to use this
```
# Jenkins CI
To run Jenkins, a NeMo User with write access must comment `jenkins` on the PR.
# Before your PR is "Ready for review"
**Pre checks**:
- [ ] Make sure you read and followed [Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md)
- [ ] Did you write any new necessary tests?
- [ ] Did you add or update any necessary documentation?
- [ ] Does the PR affect components that are optional to install? (Ex: Numba, Pynini, Apex etc)
- [ ] Reviewer: Does the PR have correct import guards for all optional libraries?
**PR Type**:
- [ ] New Feature
- [ ] Bugfix
- [ ] Documentation
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](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md) contains specific people who can review PRs to various areas.
# Additional Information
* Related to # (issue)
| {
"login": "ericharper",
"id": 11999610,
"node_id": "MDQ6VXNlcjExOTk5NjEw",
"avatar_url": "https://avatars.githubusercontent.com/u/11999610?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ericharper",
"html_url": "https://github.com/ericharper",
"followers_url": "https://api.github.com/users/ericharper/followers",
"following_url": "https://api.github.com/users/ericharper/following{/other_user}",
"gists_url": "https://api.github.com/users/ericharper/gists{/gist_id}",
"starred_url": "https://api.github.com/users/ericharper/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ericharper/subscriptions",
"organizations_url": "https://api.github.com/users/ericharper/orgs",
"repos_url": "https://api.github.com/users/ericharper/repos",
"events_url": "https://api.github.com/users/ericharper/events{/privacy}",
"received_events_url": "https://api.github.com/users/ericharper/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/8421/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/8421/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/8420 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/8420/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/8420/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/8420/events | https://github.com/NVIDIA/NeMo/pull/8420 | 2,134,858,925 | PR_kwDOC_bI7s5m4yWo | 8,420 | Fix a bug in CTM line processing function for multi-speaker data simulations | {
"login": "github-actions[bot]",
"id": 41898282,
"node_id": "MDM6Qm90NDE4OTgyODI=",
"avatar_url": "https://avatars.githubusercontent.com/in/15368?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/github-actions%5Bbot%5D",
"html_url": "https://github.com/apps/github-actions",
"followers_url": "https://api.github.com/users/github-actions%5Bbot%5D/followers",
"following_url": "https://api.github.com/users/github-actions%5Bbot%5D/following{/other_user}",
"gists_url": "https://api.github.com/users/github-actions%5Bbot%5D/gists{/gist_id}",
"starred_url": "https://api.github.com/users/github-actions%5Bbot%5D/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/github-actions%5Bbot%5D/subscriptions",
"organizations_url": "https://api.github.com/users/github-actions%5Bbot%5D/orgs",
"repos_url": "https://api.github.com/users/github-actions%5Bbot%5D/repos",
"events_url": "https://api.github.com/users/github-actions%5Bbot%5D/events{/privacy}",
"received_events_url": "https://api.github.com/users/github-actions%5Bbot%5D/received_events",
"type": "Bot",
"user_view_type": "public",
"site_admin": false
} | [
{
"id": 4556669155,
"node_id": "LA_kwDOC_bI7s8AAAABD5lA4w",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/cherry-pick",
"name": "cherry-pick",
"color": "ededed",
"default": false,
"description": null
}
] | closed | false | null | [] | null | [
"jenkins"
] | 2024-02-14T17:46:03 | 2024-02-14T23:15:42 | 2024-02-14T23:15:42 | CONTRIBUTOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/8420",
"html_url": "https://github.com/NVIDIA/NeMo/pull/8420",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/8420.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/8420.patch",
"merged_at": "2024-02-14T23:15:42"
} | # What does this PR do ?
This PR fixes the bug in `scripts/speaker_tasks/create_alignment_manifest.py`.
The `get_seg_info_from_ctm_line` function was outputing values in a wrong order.
Plus, confidence value could be set to `None` to prevent any type error issues.
**Collection**:
ASR (Multi-speaker Data Simulation, CTM annotation generation part)
# Changelog
- the output variable orders in `get_seg_info_from_ctm_line` function.
- `conf=0` to `conf=None`
# Usage
* You can potentially add a usage example below
```python
python scripts/speaker_tasks/create_alignment_manifest.py \
--input_manifest_filepath LibriSpeech/dev_clean.json \
--base_alignment_path LibriSpeech_Alignments \
--output_manifest_filepath ./dev-clean-align.json \
--ctm_output_directory ./ctm_out \
--libri_dataset_split dev-clean
```
# Jenkins CI
To run Jenkins, a NeMo User with write access must comment `jenkins` on the PR.
# Before your PR is "Ready for review"
**Pre checks**:
- [x] Make sure you read and followed [Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md)
- [x] Did you write any new necessary tests?
- [ ] Did you add or update any necessary documentation?
- [ ] Does the PR affect components that are optional to install? (Ex: Numba, Pynini, Apex etc)
- [ ] Reviewer: Does the PR have correct import guards for all optional libraries?
**PR Type**:
- [ ] New Feature
- [x] Bugfix
- [ ] Documentation
If you haven't finished some of the above items you can still open "Draft" PR.
## Who can review?
Anyone in ASR can review this.
# Additional Information
* Related to # (issue)
| {
"login": "ericharper",
"id": 11999610,
"node_id": "MDQ6VXNlcjExOTk5NjEw",
"avatar_url": "https://avatars.githubusercontent.com/u/11999610?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ericharper",
"html_url": "https://github.com/ericharper",
"followers_url": "https://api.github.com/users/ericharper/followers",
"following_url": "https://api.github.com/users/ericharper/following{/other_user}",
"gists_url": "https://api.github.com/users/ericharper/gists{/gist_id}",
"starred_url": "https://api.github.com/users/ericharper/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ericharper/subscriptions",
"organizations_url": "https://api.github.com/users/ericharper/orgs",
"repos_url": "https://api.github.com/users/ericharper/repos",
"events_url": "https://api.github.com/users/ericharper/events{/privacy}",
"received_events_url": "https://api.github.com/users/ericharper/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/8420/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/8420/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/8419 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/8419/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/8419/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/8419/events | https://github.com/NVIDIA/NeMo/pull/8419 | 2,134,805,792 | PR_kwDOC_bI7s5m4myI | 8,419 | Flashlight and Pyctcdecode decoders to branch 1.23 | {
"login": "karpnv",
"id": 1645775,
"node_id": "MDQ6VXNlcjE2NDU3NzU=",
"avatar_url": "https://avatars.githubusercontent.com/u/1645775?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/karpnv",
"html_url": "https://github.com/karpnv",
"followers_url": "https://api.github.com/users/karpnv/followers",
"following_url": "https://api.github.com/users/karpnv/following{/other_user}",
"gists_url": "https://api.github.com/users/karpnv/gists{/gist_id}",
"starred_url": "https://api.github.com/users/karpnv/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/karpnv/subscriptions",
"organizations_url": "https://api.github.com/users/karpnv/orgs",
"repos_url": "https://api.github.com/users/karpnv/repos",
"events_url": "https://api.github.com/users/karpnv/events{/privacy}",
"received_events_url": "https://api.github.com/users/karpnv/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"id": 4811884691,
"node_id": "LA_kwDOC_bI7s8AAAABHs-Ikw",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/ASR",
"name": "ASR",
"color": "F3B33E",
"default": false,
"description": ""
}
] | closed | false | null | [] | null | [] | 2024-02-14T17:12:00 | 2024-02-15T07:14:15 | 2024-02-15T07:14:15 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/8419",
"html_url": "https://github.com/NVIDIA/NeMo/pull/8419",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/8419.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/8419.patch",
"merged_at": null
} | # Preserve CPU Flashlight and Pyctcdecode beamsearch with Ngram LM
Support Flashlight and Pyctcdecode decoding with pure KenLM and NeMo KenLM
Standardize API of CLI inference scripts
**Collection**: ASR
# Changelog
- Add specific line by line info of high level changes in this PR.
```python
python3 scripts/asr_language_modeling/ngram_lm/eval_beamsearch_ngram_ctc.py \
nemo_model_file=am_model.nemo \
input_manifest=manifest.json \
preds_output_folder=/tmp \
ctc_decoding.strategy=flashlight \
ctc_decoding.beam.kenlm_path=am_model.kenlm \
ctc_decoding.beam.beam_size=[4] \
ctc_decoding.beam.beam_alpha=[0.5] \
ctc_decoding.beam.beam_beta=[0.5] \
ctc_decoding.beam.flashlight_cfg.lexicon_path=am_model.flashlight_lexicon \ # DEFAULT_TOKEN_OFFSET
batch_size=32 \
beam_batch_size=1 \
device=cuda:1
python3 examples/asr/speech_to_text_eval.py \
nemo_model_file=am_model.nemo \
input_manifest=manifest.json \
decoder_type=ctc
ctc_decoding.strategy=flashlight \
ctc_decoding.beam.kenlm_path=am_model.bin \
ctc_decoding.beam.beam_size=4 \
ctc_decoding.beam.beam_alpha=0.5 \
ctc_decoding.beam.beam_beta=0.5 \
ctc_decoding.beam.flashlight_cfg.lexicon_path=am_model.flashlight_lexicon \ # DEFAULT_TOKEN_OFFSET
ctc_decoding.beam.return_best_hypothesis=true \
batch_size=32 \
output_manifest=/tmp/manifest_out.json
```
**PR Type**:
- [ V] New Feature
- [ ] Bugfix
- [ ] Documentation
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](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md) contains specific people who can review PRs to various areas.
# Additional Information
* Related to # (issue)
| {
"login": "karpnv",
"id": 1645775,
"node_id": "MDQ6VXNlcjE2NDU3NzU=",
"avatar_url": "https://avatars.githubusercontent.com/u/1645775?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/karpnv",
"html_url": "https://github.com/karpnv",
"followers_url": "https://api.github.com/users/karpnv/followers",
"following_url": "https://api.github.com/users/karpnv/following{/other_user}",
"gists_url": "https://api.github.com/users/karpnv/gists{/gist_id}",
"starred_url": "https://api.github.com/users/karpnv/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/karpnv/subscriptions",
"organizations_url": "https://api.github.com/users/karpnv/orgs",
"repos_url": "https://api.github.com/users/karpnv/repos",
"events_url": "https://api.github.com/users/karpnv/events{/privacy}",
"received_events_url": "https://api.github.com/users/karpnv/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/8419/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/8419/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/8418 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/8418/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/8418/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/8418/events | https://github.com/NVIDIA/NeMo/issues/8418 | 2,134,019,503 | I_kwDOC_bI7s5_Mo2v | 8,418 | ZeroDivisionError when diarizing a short file | {
"login": "RafalCer",
"id": 78570551,
"node_id": "MDQ6VXNlcjc4NTcwNTUx",
"avatar_url": "https://avatars.githubusercontent.com/u/78570551?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/RafalCer",
"html_url": "https://github.com/RafalCer",
"followers_url": "https://api.github.com/users/RafalCer/followers",
"following_url": "https://api.github.com/users/RafalCer/following{/other_user}",
"gists_url": "https://api.github.com/users/RafalCer/gists{/gist_id}",
"starred_url": "https://api.github.com/users/RafalCer/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/RafalCer/subscriptions",
"organizations_url": "https://api.github.com/users/RafalCer/orgs",
"repos_url": "https://api.github.com/users/RafalCer/repos",
"events_url": "https://api.github.com/users/RafalCer/events{/privacy}",
"received_events_url": "https://api.github.com/users/RafalCer/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"id": 1485815557,
"node_id": "MDU6TGFiZWwxNDg1ODE1NTU3",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": "Something isn't working"
}
] | closed | false | null | [] | null | [
"Hi @tango4j, would it be possible for you to have a look at this error? Thanks! ",
"This error seems like happening since the audio is containing 0 second of RTTM target evaluation duration. \r\nWe cannot reproduce the error unless we have access to the audio input.\r\n@RafalCer Could you check the rttm file you provide? if it is containing 0 second duration in RTTM, it will throw out this error.\r\nIf possible, can you copy and paste the RTTM file for this file?\r\n",
"Thanks for your response!\r\n\r\nPlease note that you can find the audio, rttm and config here: https://drive.google.com/drive/folders/1e2b14isJ8CQ0NR3mGqHcmkLlo4D2T38E?usp=drive_link. \r\n\r\nPlease let me know should the link not work.\r\n\r\nThe content of rttm file is as follows:\r\n\r\n`SPEAKER 0 1 0.29 0.48 <NA> <NA> <NA> <NA> <NA>`\r\n\r\nIt does have speech, albeit a very short segment, which is too short for diarization either way. However, the error is somewhat inconvenient when diarization is part of a pipeline used for files of any duration. Is it possible to resolve it somehow without modifying the source code? ",
"Thanks for sharing the samples. We have plenty of issue traffic so it will take some time to try the samples and fix it, but we will definitely try this sample to see what is the issue.\r\nSeems like the diarization pipeline currently cannot handle the extremely short samples (0.5 second is shorter than the shortest segment length).\r\nAlso, could you please clarify `the error is somewhat inconvenient` ? Do you mean the way error is calculated is inconvenient? \r\n",
"Thank you so much, I really appreciate your time! \r\n\r\nI see, the short segment length might indeed be causing this, as then `metric['total']` is probably 0, thus the `ZeroDivisionError: float division by zero`. \r\n\r\nCould you please suggest what would be a good solution for this - should the evaluation not be called when the sample is too short, or should some value other than 0 be used for the calculation? I will try to look into this and post a PR if I manage to find the time. \r\n\r\nBy saying `the error is somewhat inconvenient`, I meant that the error in this case seems to arise at evaluation of diarization rather than diarization itself (I might be wrong on this one). Perhaps it's possible to instead of failing the diarization on short segments to assign the short segment to one speaker by default? ",
"This issue is stale because it has been open for 30 days with no activity. Remove stale label or comment or this will be closed in 7 days.",
"\r\n\r\n\r\n> Thank you so much, I really appreciate your time!\r\n> \r\n> I see, the short segment length might indeed be causing this, as then `metric['total']` is probably 0, thus the `ZeroDivisionError: float division by zero`.\r\n> \r\n> Could you please suggest what would be a good solution for this - should the evaluation not be called when the sample is too short, or should some value other than 0 be used for the calculation? I will try to look into this and post a PR if I manage to find the time.\r\n> \r\n> By saying `the error is somewhat inconvenient`, I meant that the error in this case seems to arise at evaluation of diarization rather than diarization itself (I might be wrong on this one). Perhaps it's possible to instead of failing the diarization on short segments to assign the short segment to one speaker by default?\r\n\r\nHi, have you managed to solve this bug? I have the same problem here.\r\nIt is caused by a wav file like this:\r\n\r\nreference RTTM:\r\nSPEAKER e1d3d1e5-fd82-a0da-20de-51a0a558a8ee 1 0.000 1.800 <NA> <NA> 1 <NA> <NA> \r\nSPEAKER e1d3d1e5-fd82-a0da-20de-51a0a558a8ee 1 0.400 1.100 <NA> <NA> 0 <NA> <NA>\r\n\r\npredict RTTM:\r\nSPEAKER e1d3d1e5-fd82-a0da-20de-51a0a558a8ee 1 0.060 0.270 <NA> <NA> speaker_0 <NA> <NA>\r\nSPEAKER e1d3d1e5-fd82-a0da-20de-51a0a558a8ee 1 0.780 0.430 <NA> <NA> speaker_1 <NA> <NA>\r\n\r\nWhen i set config.diarizer.collar = 0, the problem disappear. So i believe that the \"collar\" of pyannote.metrics.DiarizationErrorRate is larger than the duration of a predicted segment, which caused this bug.\r\nDo you have any idea about how to solve this? Simply set collar=0 is a acceptable solution, but the DER will be always larger than the DER computed with collar=0.25*2 by default.",
"> > Thank you so much, I really appreciate your time!\r\n> > I see, the short segment length might indeed be causing this, as then `metric['total']` is probably 0, thus the `ZeroDivisionError: float division by zero`.\r\n> > Could you please suggest what would be a good solution for this - should the evaluation not be called when the sample is too short, or should some value other than 0 be used for the calculation? I will try to look into this and post a PR if I manage to find the time.\r\n> > By saying `the error is somewhat inconvenient`, I meant that the error in this case seems to arise at evaluation of diarization rather than diarization itself (I might be wrong on this one). Perhaps it's possible to instead of failing the diarization on short segments to assign the short segment to one speaker by default?\r\n> \r\n> Hi, have you managed to solve this bug? I have the same problem here. It is caused by a wav file like this:\r\n> \r\n> reference RTTM: SPEAKER e1d3d1e5-fd82-a0da-20de-51a0a558a8ee 1 0.000 1.800 1 SPEAKER e1d3d1e5-fd82-a0da-20de-51a0a558a8ee 1 0.400 1.100 0\r\n> \r\n> predict RTTM: SPEAKER e1d3d1e5-fd82-a0da-20de-51a0a558a8ee 1 0.060 0.270 speaker_0 SPEAKER e1d3d1e5-fd82-a0da-20de-51a0a558a8ee 1 0.780 0.430 speaker_1\r\n> \r\n> When i set config.diarizer.collar = 0, the problem disappear. So i believe that the \"collar\" of pyannote.metrics.DiarizationErrorRate is larger than the duration of a predicted segment, which caused this bug. Do you have any idea about how to solve this? Simply set collar=0 is a acceptable solution, but the DER will be always larger than the DER computed with collar=0.25*2 by default.\r\n\r\nHi, sorry for such late response. \r\n\r\nSorry, I did not have the time to look into this issue myself. But thank you so much for the tip regarding the collar value. It has indeed solved the issue on short files. "
] | 2024-02-14T10:31:00 | 2024-05-08T18:26:39 | 2024-05-08T18:26:39 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | **Describe the bug**
I am getting a `ZeroDivisionError: float division by zero` error when diarizing a very short short file with prior voice activity detection:
`File "nemo/collections/asr/models/clustering_diarizer.py", line 467, in diarize
return score_labels(
File "nemo/collections/asr/metrics/der.py", line 171, in score_labels
CER = metric['confusion'] / metric['total']
ZeroDivisionError: float division by zero`
I've diarized lots of files of various length and this error seems to occur only on really short files that have identified speech them. I understand that diarization of such short files is fundamentally questionable, but the type of error suggests that this might be an edge case bug worth reporting.
**Steps/Code to reproduce bug**
Please refer to this [google colab notebook ](https://colab.research.google.com/drive/15Hudly8dW98mjVG7p0GbL3RYueSzlhSG?usp=sharing) to reproduce the bug.
The files to reproduce the bug can be found [here](https://drive.google.com/drive/folders/1e2b14isJ8CQ0NR3mGqHcmkLlo4D2T38E?usp=sharing).
```
!apt-get update && apt-get install -y libsndfile1 ffmpeg
!pip install nemo_toolkit['asr']
import os
import torch
import yaml
import json
from omegaconf import OmegaConf
from nemo.collections.asr.models import ClusteringDiarizer
def diarize(workdir: str, rttm_filepath):
manifest_path = os.path.join(workdir, "manifest.json")
output_dir = os.path.join(workdir, "output")
manifest = {
'audio_filepath': '/content/diarization_test_file.wav',
'offset': 0,
'duration': None,
'label': 'infer',
'text': '-',
'num_speakers': None,
'rttm_filepath': rttm_filepath,
'uem_filepath': None,
}
with open('/content/config.yaml', "r") as config_file:
config_dict = yaml.load(config_file, Loader=yaml.FullLoader)
config = OmegaConf.create(config_dict['diarizer'])
config.device = "cuda:0" if torch.cuda.is_available() else "cpu"
config.diarizer.manifest_filepath = manifest_path
config.diarizer.oracle_vad = True
config.diarizer.speaker_embeddings.model_path = 'titanet_large'
config.diarizer.out_dir = output_dir
with open(manifest_path, "w") as manifest_file:
json.dump(manifest, manifest_file)
model = ClusteringDiarizer(cfg=config)
model.diarize()
diarize('/content/', '/content/speech_timestamps.rttm')
```
```
[/usr/local/lib/python3.10/dist-packages/nemo/collections/asr/metrics/der.py](https://localhost:8080/#) in score_labels(AUDIO_RTTM_MAP, all_reference, all_hypothesis, collar, ignore_overlap, verbose)
169
170 DER = abs(metric)
--> 171 CER = metric['confusion'] / metric['total']
172 FA = metric['false alarm'] / metric['total']
173 MISS = metric['missed detection'] / metric['total']
ZeroDivisionError: float division by zero
```
**Expected behavior**
Diarization should not fail on files of short length.
**Environment overview (please complete the following information)**
- Environment location: Google Colab
- Method of NeMo install:
```
apt-get update && apt-get install -y libsndfile1 ffmpeg
pip install nemo_toolkit['asr']
```
**Environment details**
```PRETTY_NAME="Ubuntu 22.04.3 LTS"
NAME="Ubuntu"
VERSION_ID="22.04"
VERSION="22.04.3 LTS (Jammy Jellyfish)"
VERSION_CODENAME=jammy
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=jammy
2.1.0+cu121
Python 3.10.12
``` | {
"login": "nithinraok",
"id": 19668129,
"node_id": "MDQ6VXNlcjE5NjY4MTI5",
"avatar_url": "https://avatars.githubusercontent.com/u/19668129?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/nithinraok",
"html_url": "https://github.com/nithinraok",
"followers_url": "https://api.github.com/users/nithinraok/followers",
"following_url": "https://api.github.com/users/nithinraok/following{/other_user}",
"gists_url": "https://api.github.com/users/nithinraok/gists{/gist_id}",
"starred_url": "https://api.github.com/users/nithinraok/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/nithinraok/subscriptions",
"organizations_url": "https://api.github.com/users/nithinraok/orgs",
"repos_url": "https://api.github.com/users/nithinraok/repos",
"events_url": "https://api.github.com/users/nithinraok/events{/privacy}",
"received_events_url": "https://api.github.com/users/nithinraok/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/8418/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/8418/timeline | null | completed | false |
https://api.github.com/repos/NVIDIA/NeMo/issues/8417 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/8417/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/8417/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/8417/events | https://github.com/NVIDIA/NeMo/pull/8417 | 2,133,779,352 | PR_kwDOC_bI7s5m1Eqi | 8,417 | Fixed lang id any2any training | {
"login": "mengruwNv",
"id": 149420466,
"node_id": "U_kgDOCOf5sg",
"avatar_url": "https://avatars.githubusercontent.com/u/149420466?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mengruwNv",
"html_url": "https://github.com/mengruwNv",
"followers_url": "https://api.github.com/users/mengruwNv/followers",
"following_url": "https://api.github.com/users/mengruwNv/following{/other_user}",
"gists_url": "https://api.github.com/users/mengruwNv/gists{/gist_id}",
"starred_url": "https://api.github.com/users/mengruwNv/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mengruwNv/subscriptions",
"organizations_url": "https://api.github.com/users/mengruwNv/orgs",
"repos_url": "https://api.github.com/users/mengruwNv/repos",
"events_url": "https://api.github.com/users/mengruwNv/events{/privacy}",
"received_events_url": "https://api.github.com/users/mengruwNv/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"id": 1923495043,
"node_id": "MDU6TGFiZWwxOTIzNDk1MDQz",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/core",
"name": "core",
"color": "f25e3a",
"default": false,
"description": "Changes to NeMo Core"
},
{
"id": 4418253970,
"node_id": "LA_kwDOC_bI7s8AAAABB1k0kg",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/TTS",
"name": "TTS",
"color": "49AF28",
"default": false,
"description": ""
},
{
"id": 4585431311,
"node_id": "LA_kwDOC_bI7s8AAAABEVAhDw",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/stale",
"name": "stale",
"color": "ededed",
"default": false,
"description": null
},
{
"id": 4811884691,
"node_id": "LA_kwDOC_bI7s8AAAABHs-Ikw",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/ASR",
"name": "ASR",
"color": "F3B33E",
"default": false,
"description": ""
},
{
"id": 4811886210,
"node_id": "LA_kwDOC_bI7s8AAAABHs-Ogg",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/NLP",
"name": "NLP",
"color": "CBF09A",
"default": false,
"description": ""
},
{
"id": 4811888028,
"node_id": "LA_kwDOC_bI7s8AAAABHs-VnA",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/Speaker%20Tasks",
"name": "Speaker Tasks",
"color": "871AD4",
"default": false,
"description": ""
},
{
"id": 4840216855,
"node_id": "LA_kwDOC_bI7s8AAAABIH_ZFw",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/CI",
"name": "CI",
"color": "1D76DB",
"default": false,
"description": ""
}
] | closed | false | null | [] | null | [
"@mengruwNv , thank you for reaching out!\r\nCurrently, I'm not actively involved in this project as much as before, so I might not be the best person to review and merge these changes efficiently. I recommend reaching out to one of the project maintainers who are currently active and more closely involved with the project's ongoing development. \r\n",
"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 was closed because it has been inactive for 7 days since being marked as stale."
] | 2024-02-14T08:10:42 | 2024-03-08T01:43:52 | 2024-03-08T01:43:52 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/8417",
"html_url": "https://github.com/NVIDIA/NeMo/pull/8417",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/8417.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/8417.patch",
"merged_at": null
} | # What does this PR do ?
Add a one line overview of what this PR aims to accomplish.
**Collection**: [Note which collection this PR will affect]
# Changelog
- Add specific line by line info of high level changes in this PR.
# Usage
* You can potentially add a usage example below
```python
# Add a code snippet demonstrating how to use this
```
# Jenkins CI
To run Jenkins, a NeMo User with write access must comment `jenkins` on the PR.
# Before your PR is "Ready for review"
**Pre checks**:
- [ ] Make sure you read and followed [Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md)
- [ ] Did you write any new necessary tests?
- [ ] Did you add or update any necessary documentation?
- [ ] Does the PR affect components that are optional to install? (Ex: Numba, Pynini, Apex etc)
- [ ] Reviewer: Does the PR have correct import guards for all optional libraries?
**PR Type**:
- [ ] New Feature
- [ ] Bugfix
- [ ] Documentation
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](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md) contains specific people who can review PRs to various areas.
# Additional Information
* Related to # (issue)
| {
"login": "github-actions[bot]",
"id": 41898282,
"node_id": "MDM6Qm90NDE4OTgyODI=",
"avatar_url": "https://avatars.githubusercontent.com/in/15368?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/github-actions%5Bbot%5D",
"html_url": "https://github.com/apps/github-actions",
"followers_url": "https://api.github.com/users/github-actions%5Bbot%5D/followers",
"following_url": "https://api.github.com/users/github-actions%5Bbot%5D/following{/other_user}",
"gists_url": "https://api.github.com/users/github-actions%5Bbot%5D/gists{/gist_id}",
"starred_url": "https://api.github.com/users/github-actions%5Bbot%5D/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/github-actions%5Bbot%5D/subscriptions",
"organizations_url": "https://api.github.com/users/github-actions%5Bbot%5D/orgs",
"repos_url": "https://api.github.com/users/github-actions%5Bbot%5D/repos",
"events_url": "https://api.github.com/users/github-actions%5Bbot%5D/events{/privacy}",
"received_events_url": "https://api.github.com/users/github-actions%5Bbot%5D/received_events",
"type": "Bot",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/8417/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/8417/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/8416 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/8416/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/8416/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/8416/events | https://github.com/NVIDIA/NeMo/pull/8416 | 2,133,368,427 | PR_kwDOC_bI7s5mzr3t | 8,416 | Fix a bug in CTM line processing function for multi-speaker data simulations | {
"login": "tango4j",
"id": 13211483,
"node_id": "MDQ6VXNlcjEzMjExNDgz",
"avatar_url": "https://avatars.githubusercontent.com/u/13211483?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tango4j",
"html_url": "https://github.com/tango4j",
"followers_url": "https://api.github.com/users/tango4j/followers",
"following_url": "https://api.github.com/users/tango4j/following{/other_user}",
"gists_url": "https://api.github.com/users/tango4j/gists{/gist_id}",
"starred_url": "https://api.github.com/users/tango4j/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/tango4j/subscriptions",
"organizations_url": "https://api.github.com/users/tango4j/orgs",
"repos_url": "https://api.github.com/users/tango4j/repos",
"events_url": "https://api.github.com/users/tango4j/events{/privacy}",
"received_events_url": "https://api.github.com/users/tango4j/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | [
"Jenkins"
] | 2024-02-14T00:53:29 | 2024-02-14T17:45:37 | 2024-02-14T17:45:37 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/8416",
"html_url": "https://github.com/NVIDIA/NeMo/pull/8416",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/8416.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/8416.patch",
"merged_at": "2024-02-14T17:45:37"
} | # What does this PR do ?
This PR fixes the bug in `scripts/speaker_tasks/create_alignment_manifest.py`.
The `get_seg_info_from_ctm_line` function was outputing values in a wrong order.
Plus, confidence value could be set to `None` to prevent any type error issues.
**Collection**:
ASR (Multi-speaker Data Simulation, CTM annotation generation part)
# Changelog
- the output variable orders in `get_seg_info_from_ctm_line` function.
- `conf=0` to `conf=None`
# Usage
* You can potentially add a usage example below
```python
python scripts/speaker_tasks/create_alignment_manifest.py \
--input_manifest_filepath LibriSpeech/dev_clean.json \
--base_alignment_path LibriSpeech_Alignments \
--output_manifest_filepath ./dev-clean-align.json \
--ctm_output_directory ./ctm_out \
--libri_dataset_split dev-clean
```
# Jenkins CI
To run Jenkins, a NeMo User with write access must comment `jenkins` on the PR.
# Before your PR is "Ready for review"
**Pre checks**:
- [x] Make sure you read and followed [Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md)
- [x] Did you write any new necessary tests?
- [ ] Did you add or update any necessary documentation?
- [ ] Does the PR affect components that are optional to install? (Ex: Numba, Pynini, Apex etc)
- [ ] Reviewer: Does the PR have correct import guards for all optional libraries?
**PR Type**:
- [ ] New Feature
- [x] Bugfix
- [ ] Documentation
If you haven't finished some of the above items you can still open "Draft" PR.
## Who can review?
Anyone in ASR can review this.
# Additional Information
* Related to # (issue)
| {
"login": "nithinraok",
"id": 19668129,
"node_id": "MDQ6VXNlcjE5NjY4MTI5",
"avatar_url": "https://avatars.githubusercontent.com/u/19668129?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/nithinraok",
"html_url": "https://github.com/nithinraok",
"followers_url": "https://api.github.com/users/nithinraok/followers",
"following_url": "https://api.github.com/users/nithinraok/following{/other_user}",
"gists_url": "https://api.github.com/users/nithinraok/gists{/gist_id}",
"starred_url": "https://api.github.com/users/nithinraok/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/nithinraok/subscriptions",
"organizations_url": "https://api.github.com/users/nithinraok/orgs",
"repos_url": "https://api.github.com/users/nithinraok/repos",
"events_url": "https://api.github.com/users/nithinraok/events{/privacy}",
"received_events_url": "https://api.github.com/users/nithinraok/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/8416/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/8416/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/8415 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/8415/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/8415/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/8415/events | https://github.com/NVIDIA/NeMo/pull/8415 | 2,133,346,951 | PR_kwDOC_bI7s5mznRc | 8,415 | Fixed the bug in CTM line processing function | {
"login": "tango4j",
"id": 13211483,
"node_id": "MDQ6VXNlcjEzMjExNDgz",
"avatar_url": "https://avatars.githubusercontent.com/u/13211483?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tango4j",
"html_url": "https://github.com/tango4j",
"followers_url": "https://api.github.com/users/tango4j/followers",
"following_url": "https://api.github.com/users/tango4j/following{/other_user}",
"gists_url": "https://api.github.com/users/tango4j/gists{/gist_id}",
"starred_url": "https://api.github.com/users/tango4j/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/tango4j/subscriptions",
"organizations_url": "https://api.github.com/users/tango4j/orgs",
"repos_url": "https://api.github.com/users/tango4j/repos",
"events_url": "https://api.github.com/users/tango4j/events{/privacy}",
"received_events_url": "https://api.github.com/users/tango4j/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | {
"login": "nithinraok",
"id": 19668129,
"node_id": "MDQ6VXNlcjE5NjY4MTI5",
"avatar_url": "https://avatars.githubusercontent.com/u/19668129?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/nithinraok",
"html_url": "https://github.com/nithinraok",
"followers_url": "https://api.github.com/users/nithinraok/followers",
"following_url": "https://api.github.com/users/nithinraok/following{/other_user}",
"gists_url": "https://api.github.com/users/nithinraok/gists{/gist_id}",
"starred_url": "https://api.github.com/users/nithinraok/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/nithinraok/subscriptions",
"organizations_url": "https://api.github.com/users/nithinraok/orgs",
"repos_url": "https://api.github.com/users/nithinraok/repos",
"events_url": "https://api.github.com/users/nithinraok/events{/privacy}",
"received_events_url": "https://api.github.com/users/nithinraok/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"login": "nithinraok",
"id": 19668129,
"node_id": "MDQ6VXNlcjE5NjY4MTI5",
"avatar_url": "https://avatars.githubusercontent.com/u/19668129?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/nithinraok",
"html_url": "https://github.com/nithinraok",
"followers_url": "https://api.github.com/users/nithinraok/followers",
"following_url": "https://api.github.com/users/nithinraok/following{/other_user}",
"gists_url": "https://api.github.com/users/nithinraok/gists{/gist_id}",
"starred_url": "https://api.github.com/users/nithinraok/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/nithinraok/subscriptions",
"organizations_url": "https://api.github.com/users/nithinraok/orgs",
"repos_url": "https://api.github.com/users/nithinraok/repos",
"events_url": "https://api.github.com/users/nithinraok/events{/privacy}",
"received_events_url": "https://api.github.com/users/nithinraok/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
},
{
"login": "stevehuang52",
"id": 105218074,
"node_id": "U_kgDOBkWAGg",
"avatar_url": "https://avatars.githubusercontent.com/u/105218074?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stevehuang52",
"html_url": "https://github.com/stevehuang52",
"followers_url": "https://api.github.com/users/stevehuang52/followers",
"following_url": "https://api.github.com/users/stevehuang52/following{/other_user}",
"gists_url": "https://api.github.com/users/stevehuang52/gists{/gist_id}",
"starred_url": "https://api.github.com/users/stevehuang52/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/stevehuang52/subscriptions",
"organizations_url": "https://api.github.com/users/stevehuang52/orgs",
"repos_url": "https://api.github.com/users/stevehuang52/repos",
"events_url": "https://api.github.com/users/stevehuang52/events{/privacy}",
"received_events_url": "https://api.github.com/users/stevehuang52/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
}
] | null | [] | 2024-02-14T00:26:51 | 2024-02-14T00:39:11 | 2024-02-14T00:39:11 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/8415",
"html_url": "https://github.com/NVIDIA/NeMo/pull/8415",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/8415.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/8415.patch",
"merged_at": null
} | # What does this PR do ?
This PR fixes the bug in `scripts/speaker_tasks/create_alignment_manifest.py`.
The `get_seg_info_from_ctm_line` function was outputing values in a wrong order.
Plus, confidence value could be set to `None` to prevent any type error issues.
**Collection**: [Note which collection this PR will affect]
# Changelog
- the output variable orders in `get_seg_info_from_ctm_line` function.
- `conf=0` to `conf=None`
# Usage
* You can potentially add a usage example below
```python
python scripts/speaker_tasks/create_alignment_manifest.py \
--input_manifest_filepath LibriSpeech/dev_clean.json \
--base_alignment_path LibriSpeech_Alignments \
--output_manifest_filepath ./dev-clean-align.json \
--ctm_output_directory ./ctm_out \
--libri_dataset_split dev-clean
```
# Jenkins CI
To run Jenkins, a NeMo User with write access must comment `jenkins` on the PR.
# Before your PR is "Ready for review"
**Pre checks**:
- [x] Make sure you read and followed [Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md)
- [x] Did you write any new necessary tests?
- [ ] Did you add or update any necessary documentation?
- [ ] Does the PR affect components that are optional to install? (Ex: Numba, Pynini, Apex etc)
- [ ] Reviewer: Does the PR have correct import guards for all optional libraries?
**PR Type**:
- [ ] New Feature
- [x] Bugfix
- [ ] Documentation
If you haven't finished some of the above items you can still open "Draft" PR.
## Who can review?
Anyone in ASR can review this.
# Additional Information
* Related to # (issue)
| {
"login": "tango4j",
"id": 13211483,
"node_id": "MDQ6VXNlcjEzMjExNDgz",
"avatar_url": "https://avatars.githubusercontent.com/u/13211483?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tango4j",
"html_url": "https://github.com/tango4j",
"followers_url": "https://api.github.com/users/tango4j/followers",
"following_url": "https://api.github.com/users/tango4j/following{/other_user}",
"gists_url": "https://api.github.com/users/tango4j/gists{/gist_id}",
"starred_url": "https://api.github.com/users/tango4j/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/tango4j/subscriptions",
"organizations_url": "https://api.github.com/users/tango4j/orgs",
"repos_url": "https://api.github.com/users/tango4j/repos",
"events_url": "https://api.github.com/users/tango4j/events{/privacy}",
"received_events_url": "https://api.github.com/users/tango4j/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/8415/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/8415/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/8414 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/8414/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/8414/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/8414/events | https://github.com/NVIDIA/NeMo/pull/8414 | 2,132,934,790 | PR_kwDOC_bI7s5myO6Q | 8,414 | FSDP + PEFT | {
"login": "zpx01",
"id": 51731412,
"node_id": "MDQ6VXNlcjUxNzMxNDEy",
"avatar_url": "https://avatars.githubusercontent.com/u/51731412?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/zpx01",
"html_url": "https://github.com/zpx01",
"followers_url": "https://api.github.com/users/zpx01/followers",
"following_url": "https://api.github.com/users/zpx01/following{/other_user}",
"gists_url": "https://api.github.com/users/zpx01/gists{/gist_id}",
"starred_url": "https://api.github.com/users/zpx01/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/zpx01/subscriptions",
"organizations_url": "https://api.github.com/users/zpx01/orgs",
"repos_url": "https://api.github.com/users/zpx01/repos",
"events_url": "https://api.github.com/users/zpx01/events{/privacy}",
"received_events_url": "https://api.github.com/users/zpx01/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"id": 4585431311,
"node_id": "LA_kwDOC_bI7s8AAAABEVAhDw",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/stale",
"name": "stale",
"color": "ededed",
"default": false,
"description": null
},
{
"id": 4811886210,
"node_id": "LA_kwDOC_bI7s8AAAABHs-Ogg",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/NLP",
"name": "NLP",
"color": "CBF09A",
"default": false,
"description": ""
}
] | closed | false | null | [] | null | [
"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.",
"closing since fsdp + peft is deprioritized"
] | 2024-02-13T18:40:18 | 2024-03-14T18:04:25 | 2024-03-14T18:04:24 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | true | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/8414",
"html_url": "https://github.com/NVIDIA/NeMo/pull/8414",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/8414.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/8414.patch",
"merged_at": null
} | # What does this PR do ?
Enables FSDP when using PEFT during training/fine-tuning.
**Collection**: [NLP]
# Changelog
- Add specific line by line info of high level changes in this PR.
# Jenkins CI
To run Jenkins, a NeMo User with write access must comment `jenkins` on the PR.
# Before your PR is "Ready for review"
**Pre checks**:
- [ Y] Make sure you read and followed [Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md)
- [N] Did you write any new necessary tests?
- [N] Did you add or update any necessary documentation?
- [N] Does the PR affect components that are optional to install? (Ex: Numba, Pynini, Apex etc)
- [ ] Reviewer: Does the PR have correct import guards for all optional libraries?
**PR Type**:
- [Y] New Feature
- [ ] Bugfix
- [ ] Documentation
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](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md) contains specific people who can review PRs to various areas.
# Additional Information
* Related to # (issue)
| {
"login": "cuichenx",
"id": 43478052,
"node_id": "MDQ6VXNlcjQzNDc4MDUy",
"avatar_url": "https://avatars.githubusercontent.com/u/43478052?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/cuichenx",
"html_url": "https://github.com/cuichenx",
"followers_url": "https://api.github.com/users/cuichenx/followers",
"following_url": "https://api.github.com/users/cuichenx/following{/other_user}",
"gists_url": "https://api.github.com/users/cuichenx/gists{/gist_id}",
"starred_url": "https://api.github.com/users/cuichenx/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cuichenx/subscriptions",
"organizations_url": "https://api.github.com/users/cuichenx/orgs",
"repos_url": "https://api.github.com/users/cuichenx/repos",
"events_url": "https://api.github.com/users/cuichenx/events{/privacy}",
"received_events_url": "https://api.github.com/users/cuichenx/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/8414/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/8414/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/8413 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/8413/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/8413/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/8413/events | https://github.com/NVIDIA/NeMo/pull/8413 | 2,132,859,380 | PR_kwDOC_bI7s5mx-sn | 8,413 | Fix dreambooth data sampler issue | {
"login": "github-actions[bot]",
"id": 41898282,
"node_id": "MDM6Qm90NDE4OTgyODI=",
"avatar_url": "https://avatars.githubusercontent.com/in/15368?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/github-actions%5Bbot%5D",
"html_url": "https://github.com/apps/github-actions",
"followers_url": "https://api.github.com/users/github-actions%5Bbot%5D/followers",
"following_url": "https://api.github.com/users/github-actions%5Bbot%5D/following{/other_user}",
"gists_url": "https://api.github.com/users/github-actions%5Bbot%5D/gists{/gist_id}",
"starred_url": "https://api.github.com/users/github-actions%5Bbot%5D/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/github-actions%5Bbot%5D/subscriptions",
"organizations_url": "https://api.github.com/users/github-actions%5Bbot%5D/orgs",
"repos_url": "https://api.github.com/users/github-actions%5Bbot%5D/repos",
"events_url": "https://api.github.com/users/github-actions%5Bbot%5D/events{/privacy}",
"received_events_url": "https://api.github.com/users/github-actions%5Bbot%5D/received_events",
"type": "Bot",
"user_view_type": "public",
"site_admin": false
} | [
{
"id": 4556669155,
"node_id": "LA_kwDOC_bI7s8AAAABD5lA4w",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/cherry-pick",
"name": "cherry-pick",
"color": "ededed",
"default": false,
"description": null
}
] | closed | false | null | [] | null | [
"jenkins"
] | 2024-02-13T17:51:14 | 2024-02-16T00:34:37 | 2024-02-16T00:34:36 | CONTRIBUTOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/8413",
"html_url": "https://github.com/NVIDIA/NeMo/pull/8413",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/8413.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/8413.patch",
"merged_at": "2024-02-16T00:34:36"
} | # What does this PR do ?
Fix dreambooth data sampler issue
**Collection**: Multimodal
# Changelog
- Add specific line by line info of high level changes in this PR.
# Usage
* You can potentially add a usage example below
```python
# Add a code snippet demonstrating how to use this
```
# Jenkins CI
To run Jenkins, a NeMo User with write access must comment `jenkins` on the PR.
# Before your PR is "Ready for review"
**Pre checks**:
- [ ] Make sure you read and followed [Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md)
- [ ] Did you write any new necessary tests?
- [ ] Did you add or update any necessary documentation?
- [ ] Does the PR affect components that are optional to install? (Ex: Numba, Pynini, Apex etc)
- [ ] Reviewer: Does the PR have correct import guards for all optional libraries?
**PR Type**:
- [ ] New Feature
- [ ] Bugfix
- [ ] Documentation
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](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md) contains specific people who can review PRs to various areas.
# Additional Information
* Related to # (issue)
| {
"login": "ericharper",
"id": 11999610,
"node_id": "MDQ6VXNlcjExOTk5NjEw",
"avatar_url": "https://avatars.githubusercontent.com/u/11999610?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ericharper",
"html_url": "https://github.com/ericharper",
"followers_url": "https://api.github.com/users/ericharper/followers",
"following_url": "https://api.github.com/users/ericharper/following{/other_user}",
"gists_url": "https://api.github.com/users/ericharper/gists{/gist_id}",
"starred_url": "https://api.github.com/users/ericharper/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ericharper/subscriptions",
"organizations_url": "https://api.github.com/users/ericharper/orgs",
"repos_url": "https://api.github.com/users/ericharper/repos",
"events_url": "https://api.github.com/users/ericharper/events{/privacy}",
"received_events_url": "https://api.github.com/users/ericharper/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/8413/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/8413/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/8412 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/8412/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/8412/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/8412/events | https://github.com/NVIDIA/NeMo/pull/8412 | 2,132,814,806 | PR_kwDOC_bI7s5mx09C | 8,412 | SDE logger fix | {
"login": "Jorjeous",
"id": 37293288,
"node_id": "MDQ6VXNlcjM3MjkzMjg4",
"avatar_url": "https://avatars.githubusercontent.com/u/37293288?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Jorjeous",
"html_url": "https://github.com/Jorjeous",
"followers_url": "https://api.github.com/users/Jorjeous/followers",
"following_url": "https://api.github.com/users/Jorjeous/following{/other_user}",
"gists_url": "https://api.github.com/users/Jorjeous/gists{/gist_id}",
"starred_url": "https://api.github.com/users/Jorjeous/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Jorjeous/subscriptions",
"organizations_url": "https://api.github.com/users/Jorjeous/orgs",
"repos_url": "https://api.github.com/users/Jorjeous/repos",
"events_url": "https://api.github.com/users/Jorjeous/events{/privacy}",
"received_events_url": "https://api.github.com/users/Jorjeous/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | {
"login": "Jorjeous",
"id": 37293288,
"node_id": "MDQ6VXNlcjM3MjkzMjg4",
"avatar_url": "https://avatars.githubusercontent.com/u/37293288?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Jorjeous",
"html_url": "https://github.com/Jorjeous",
"followers_url": "https://api.github.com/users/Jorjeous/followers",
"following_url": "https://api.github.com/users/Jorjeous/following{/other_user}",
"gists_url": "https://api.github.com/users/Jorjeous/gists{/gist_id}",
"starred_url": "https://api.github.com/users/Jorjeous/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Jorjeous/subscriptions",
"organizations_url": "https://api.github.com/users/Jorjeous/orgs",
"repos_url": "https://api.github.com/users/Jorjeous/repos",
"events_url": "https://api.github.com/users/Jorjeous/events{/privacy}",
"received_events_url": "https://api.github.com/users/Jorjeous/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"login": "Jorjeous",
"id": 37293288,
"node_id": "MDQ6VXNlcjM3MjkzMjg4",
"avatar_url": "https://avatars.githubusercontent.com/u/37293288?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Jorjeous",
"html_url": "https://github.com/Jorjeous",
"followers_url": "https://api.github.com/users/Jorjeous/followers",
"following_url": "https://api.github.com/users/Jorjeous/following{/other_user}",
"gists_url": "https://api.github.com/users/Jorjeous/gists{/gist_id}",
"starred_url": "https://api.github.com/users/Jorjeous/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Jorjeous/subscriptions",
"organizations_url": "https://api.github.com/users/Jorjeous/orgs",
"repos_url": "https://api.github.com/users/Jorjeous/repos",
"events_url": "https://api.github.com/users/Jorjeous/events{/privacy}",
"received_events_url": "https://api.github.com/users/Jorjeous/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
}
] | null | [
"jenkins\r\n",
"jenkins"
] | 2024-02-13T17:23:14 | 2024-02-14T16:40:32 | 2024-02-14T16:40:32 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/8412",
"html_url": "https://github.com/NVIDIA/NeMo/pull/8412",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/8412.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/8412.patch",
"merged_at": "2024-02-14T16:40:32"
} | # What does this PR do ?
replaces logging.error (actually not an error) with logging.info
Add a one line overview of what this PR aims to accomplish.
**Collection**: [Note which collection this PR will affect]
tools
# Changelog
- Add specific line by line info of high level changes in this PR.
replaces logging.error (actually not an error) with logging.info
# Usage
* You can potentially add a usage example below
```python
# Add a code snippet demonstrating how to use this
```
# Jenkins CI
To run Jenkins, a NeMo User with write access must comment `jenkins` on the PR.
# Before your PR is "Ready for review"
**Pre checks**:
- [ ] Make sure you read and followed [Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md)
- [ ] Did you write any new necessary tests?
- [ ] Did you add or update any necessary documentation?
- [ ] Does the PR affect components that are optional to install? (Ex: Numba, Pynini, Apex etc)
- [ ] Reviewer: Does the PR have correct import guards for all optional libraries?
**PR Type**:
- [ ] New Feature
- [x] Bugfix
- [ ] Documentation
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](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md) contains specific people who can review PRs to various areas.
# Additional Information
* Related to # (issue)
| {
"login": "Jorjeous",
"id": 37293288,
"node_id": "MDQ6VXNlcjM3MjkzMjg4",
"avatar_url": "https://avatars.githubusercontent.com/u/37293288?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Jorjeous",
"html_url": "https://github.com/Jorjeous",
"followers_url": "https://api.github.com/users/Jorjeous/followers",
"following_url": "https://api.github.com/users/Jorjeous/following{/other_user}",
"gists_url": "https://api.github.com/users/Jorjeous/gists{/gist_id}",
"starred_url": "https://api.github.com/users/Jorjeous/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Jorjeous/subscriptions",
"organizations_url": "https://api.github.com/users/Jorjeous/orgs",
"repos_url": "https://api.github.com/users/Jorjeous/repos",
"events_url": "https://api.github.com/users/Jorjeous/events{/privacy}",
"received_events_url": "https://api.github.com/users/Jorjeous/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/8412/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/8412/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/8411 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/8411/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/8411/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/8411/events | https://github.com/NVIDIA/NeMo/pull/8411 | 2,132,794,209 | PR_kwDOC_bI7s5mxwhF | 8,411 | Update MM Dataprep Tutorial | {
"login": "github-actions[bot]",
"id": 41898282,
"node_id": "MDM6Qm90NDE4OTgyODI=",
"avatar_url": "https://avatars.githubusercontent.com/in/15368?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/github-actions%5Bbot%5D",
"html_url": "https://github.com/apps/github-actions",
"followers_url": "https://api.github.com/users/github-actions%5Bbot%5D/followers",
"following_url": "https://api.github.com/users/github-actions%5Bbot%5D/following{/other_user}",
"gists_url": "https://api.github.com/users/github-actions%5Bbot%5D/gists{/gist_id}",
"starred_url": "https://api.github.com/users/github-actions%5Bbot%5D/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/github-actions%5Bbot%5D/subscriptions",
"organizations_url": "https://api.github.com/users/github-actions%5Bbot%5D/orgs",
"repos_url": "https://api.github.com/users/github-actions%5Bbot%5D/repos",
"events_url": "https://api.github.com/users/github-actions%5Bbot%5D/events{/privacy}",
"received_events_url": "https://api.github.com/users/github-actions%5Bbot%5D/received_events",
"type": "Bot",
"user_view_type": "public",
"site_admin": false
} | [
{
"id": 4556669155,
"node_id": "LA_kwDOC_bI7s8AAAABD5lA4w",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/cherry-pick",
"name": "cherry-pick",
"color": "ededed",
"default": false,
"description": null
}
] | closed | false | null | [] | null | [] | 2024-02-13T17:09:29 | 2024-02-13T17:50:50 | 2024-02-13T17:50:50 | CONTRIBUTOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/8411",
"html_url": "https://github.com/NVIDIA/NeMo/pull/8411",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/8411.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/8411.patch",
"merged_at": "2024-02-13T17:50:50"
} | # What does this PR do ?
Update Multimodal data preparation tutorial.
**Collection**: Multimodal
# Changelog
- Delete duplicate section
- Populate "TODO" links with actual links from toolkit doc and launcher.
# Jenkins CI
To run Jenkins, a NeMo User with write access must comment `jenkins` on the PR.
# Before your PR is "Ready for review"
**Pre checks**:
- [ ] Make sure you read and followed [Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md)
- [ ] Did you write any new necessary tests?
- [ ] Did you add or update any necessary documentation?
- [ ] Does the PR affect components that are optional to install? (Ex: Numba, Pynini, Apex etc)
- [ ] Reviewer: Does the PR have correct import guards for all optional libraries?
**PR Type**:
- [ ] New Feature
- [ ] Bugfix
- [x] Documentation
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](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md) contains specific people who can review PRs to various areas.
# Additional Information
* Related to # (issue)
| {
"login": "ericharper",
"id": 11999610,
"node_id": "MDQ6VXNlcjExOTk5NjEw",
"avatar_url": "https://avatars.githubusercontent.com/u/11999610?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ericharper",
"html_url": "https://github.com/ericharper",
"followers_url": "https://api.github.com/users/ericharper/followers",
"following_url": "https://api.github.com/users/ericharper/following{/other_user}",
"gists_url": "https://api.github.com/users/ericharper/gists{/gist_id}",
"starred_url": "https://api.github.com/users/ericharper/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ericharper/subscriptions",
"organizations_url": "https://api.github.com/users/ericharper/orgs",
"repos_url": "https://api.github.com/users/ericharper/repos",
"events_url": "https://api.github.com/users/ericharper/events{/privacy}",
"received_events_url": "https://api.github.com/users/ericharper/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/8411/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/8411/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/8410 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/8410/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/8410/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/8410/events | https://github.com/NVIDIA/NeMo/pull/8410 | 2,132,784,982 | PR_kwDOC_bI7s5mxui8 | 8,410 | Update MM Dataprep Tutorial | {
"login": "cuichenx",
"id": 43478052,
"node_id": "MDQ6VXNlcjQzNDc4MDUy",
"avatar_url": "https://avatars.githubusercontent.com/u/43478052?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/cuichenx",
"html_url": "https://github.com/cuichenx",
"followers_url": "https://api.github.com/users/cuichenx/followers",
"following_url": "https://api.github.com/users/cuichenx/following{/other_user}",
"gists_url": "https://api.github.com/users/cuichenx/gists{/gist_id}",
"starred_url": "https://api.github.com/users/cuichenx/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cuichenx/subscriptions",
"organizations_url": "https://api.github.com/users/cuichenx/orgs",
"repos_url": "https://api.github.com/users/cuichenx/repos",
"events_url": "https://api.github.com/users/cuichenx/events{/privacy}",
"received_events_url": "https://api.github.com/users/cuichenx/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | [] | 2024-02-13T17:03:36 | 2024-02-13T17:09:08 | 2024-02-13T17:09:07 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/8410",
"html_url": "https://github.com/NVIDIA/NeMo/pull/8410",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/8410.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/8410.patch",
"merged_at": "2024-02-13T17:09:07"
} | # What does this PR do ?
Update Multimodal data preparation tutorial.
**Collection**: Multimodal
# Changelog
- Delete duplicate section
- Populate "TODO" links with actual links from toolkit doc and launcher.
# Jenkins CI
To run Jenkins, a NeMo User with write access must comment `jenkins` on the PR.
# Before your PR is "Ready for review"
**Pre checks**:
- [ ] Make sure you read and followed [Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md)
- [ ] Did you write any new necessary tests?
- [ ] Did you add or update any necessary documentation?
- [ ] Does the PR affect components that are optional to install? (Ex: Numba, Pynini, Apex etc)
- [ ] Reviewer: Does the PR have correct import guards for all optional libraries?
**PR Type**:
- [ ] New Feature
- [ ] Bugfix
- [x] Documentation
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](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md) contains specific people who can review PRs to various areas.
# Additional Information
* Related to # (issue)
| {
"login": "ericharper",
"id": 11999610,
"node_id": "MDQ6VXNlcjExOTk5NjEw",
"avatar_url": "https://avatars.githubusercontent.com/u/11999610?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ericharper",
"html_url": "https://github.com/ericharper",
"followers_url": "https://api.github.com/users/ericharper/followers",
"following_url": "https://api.github.com/users/ericharper/following{/other_user}",
"gists_url": "https://api.github.com/users/ericharper/gists{/gist_id}",
"starred_url": "https://api.github.com/users/ericharper/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ericharper/subscriptions",
"organizations_url": "https://api.github.com/users/ericharper/orgs",
"repos_url": "https://api.github.com/users/ericharper/repos",
"events_url": "https://api.github.com/users/ericharper/events{/privacy}",
"received_events_url": "https://api.github.com/users/ericharper/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/8410/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/8410/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/8409 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/8409/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/8409/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/8409/events | https://github.com/NVIDIA/NeMo/issues/8409 | 2,132,069,583 | I_kwDOC_bI7s5_FMzP | 8,409 | NEMO on XLA | {
"login": "dennj",
"id": 2945710,
"node_id": "MDQ6VXNlcjI5NDU3MTA=",
"avatar_url": "https://avatars.githubusercontent.com/u/2945710?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dennj",
"html_url": "https://github.com/dennj",
"followers_url": "https://api.github.com/users/dennj/followers",
"following_url": "https://api.github.com/users/dennj/following{/other_user}",
"gists_url": "https://api.github.com/users/dennj/gists{/gist_id}",
"starred_url": "https://api.github.com/users/dennj/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/dennj/subscriptions",
"organizations_url": "https://api.github.com/users/dennj/orgs",
"repos_url": "https://api.github.com/users/dennj/repos",
"events_url": "https://api.github.com/users/dennj/events{/privacy}",
"received_events_url": "https://api.github.com/users/dennj/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"id": 4585431311,
"node_id": "LA_kwDOC_bI7s8AAAABEVAhDw",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/stale",
"name": "stale",
"color": "ededed",
"default": false,
"description": null
}
] | closed | false | {
"login": "okuchaiev",
"id": 22035961,
"node_id": "MDQ6VXNlcjIyMDM1OTYx",
"avatar_url": "https://avatars.githubusercontent.com/u/22035961?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/okuchaiev",
"html_url": "https://github.com/okuchaiev",
"followers_url": "https://api.github.com/users/okuchaiev/followers",
"following_url": "https://api.github.com/users/okuchaiev/following{/other_user}",
"gists_url": "https://api.github.com/users/okuchaiev/gists{/gist_id}",
"starred_url": "https://api.github.com/users/okuchaiev/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/okuchaiev/subscriptions",
"organizations_url": "https://api.github.com/users/okuchaiev/orgs",
"repos_url": "https://api.github.com/users/okuchaiev/repos",
"events_url": "https://api.github.com/users/okuchaiev/events{/privacy}",
"received_events_url": "https://api.github.com/users/okuchaiev/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"login": "okuchaiev",
"id": 22035961,
"node_id": "MDQ6VXNlcjIyMDM1OTYx",
"avatar_url": "https://avatars.githubusercontent.com/u/22035961?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/okuchaiev",
"html_url": "https://github.com/okuchaiev",
"followers_url": "https://api.github.com/users/okuchaiev/followers",
"following_url": "https://api.github.com/users/okuchaiev/following{/other_user}",
"gists_url": "https://api.github.com/users/okuchaiev/gists{/gist_id}",
"starred_url": "https://api.github.com/users/okuchaiev/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/okuchaiev/subscriptions",
"organizations_url": "https://api.github.com/users/okuchaiev/orgs",
"repos_url": "https://api.github.com/users/okuchaiev/repos",
"events_url": "https://api.github.com/users/okuchaiev/events{/privacy}",
"received_events_url": "https://api.github.com/users/okuchaiev/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
}
] | null | [
"This issue is stale because it has been open for 30 days with no activity. Remove stale label or comment or this will be closed in 7 days.",
"This issue was closed because it has been inactive for 7 days since being marked as stale."
] | 2024-02-13T11:04:10 | 2024-03-23T01:43:40 | 2024-03-23T01:43:40 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | We need to train NEMO models on specialised hardware XLA/Trainium.
Are you planning to make this framework XLA compatible? | {
"login": "github-actions[bot]",
"id": 41898282,
"node_id": "MDM6Qm90NDE4OTgyODI=",
"avatar_url": "https://avatars.githubusercontent.com/in/15368?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/github-actions%5Bbot%5D",
"html_url": "https://github.com/apps/github-actions",
"followers_url": "https://api.github.com/users/github-actions%5Bbot%5D/followers",
"following_url": "https://api.github.com/users/github-actions%5Bbot%5D/following{/other_user}",
"gists_url": "https://api.github.com/users/github-actions%5Bbot%5D/gists{/gist_id}",
"starred_url": "https://api.github.com/users/github-actions%5Bbot%5D/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/github-actions%5Bbot%5D/subscriptions",
"organizations_url": "https://api.github.com/users/github-actions%5Bbot%5D/orgs",
"repos_url": "https://api.github.com/users/github-actions%5Bbot%5D/repos",
"events_url": "https://api.github.com/users/github-actions%5Bbot%5D/events{/privacy}",
"received_events_url": "https://api.github.com/users/github-actions%5Bbot%5D/received_events",
"type": "Bot",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/8409/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/8409/timeline | null | not_planned | false |
https://api.github.com/repos/NVIDIA/NeMo/issues/8408 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/8408/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/8408/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/8408/events | https://github.com/NVIDIA/NeMo/pull/8408 | 2,131,293,183 | PR_kwDOC_bI7s5msqL4 | 8,408 | Update NFA video download link | {
"login": "github-actions[bot]",
"id": 41898282,
"node_id": "MDM6Qm90NDE4OTgyODI=",
"avatar_url": "https://avatars.githubusercontent.com/in/15368?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/github-actions%5Bbot%5D",
"html_url": "https://github.com/apps/github-actions",
"followers_url": "https://api.github.com/users/github-actions%5Bbot%5D/followers",
"following_url": "https://api.github.com/users/github-actions%5Bbot%5D/following{/other_user}",
"gists_url": "https://api.github.com/users/github-actions%5Bbot%5D/gists{/gist_id}",
"starred_url": "https://api.github.com/users/github-actions%5Bbot%5D/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/github-actions%5Bbot%5D/subscriptions",
"organizations_url": "https://api.github.com/users/github-actions%5Bbot%5D/orgs",
"repos_url": "https://api.github.com/users/github-actions%5Bbot%5D/repos",
"events_url": "https://api.github.com/users/github-actions%5Bbot%5D/events{/privacy}",
"received_events_url": "https://api.github.com/users/github-actions%5Bbot%5D/received_events",
"type": "Bot",
"user_view_type": "public",
"site_admin": false
} | [
{
"id": 4556669155,
"node_id": "LA_kwDOC_bI7s8AAAABD5lA4w",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/cherry-pick",
"name": "cherry-pick",
"color": "ededed",
"default": false,
"description": null
}
] | closed | false | null | [] | null | [] | 2024-02-13T01:19:17 | 2024-02-13T17:51:07 | 2024-02-13T17:51:06 | CONTRIBUTOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/8408",
"html_url": "https://github.com/NVIDIA/NeMo/pull/8408",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/8408.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/8408.patch",
"merged_at": "2024-02-13T17:51:06"
} | # What does this PR do ?
Update the link used to download the video we use in the NFA tutorial.
**Collection**: tutorials
# Changelog
- Update link in the 2 places it appears in the notebook.
# Usage
N/A
# Jenkins CI
To run Jenkins, a NeMo User with write access must comment `jenkins` on the PR.
# Before your PR is "Ready for review"
**Pre checks**:
- [x] Make sure you read and followed [Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md)
- [ N/A ] Did you write any new necessary tests?
- [ N/A ] Did you add or update any necessary documentation?
- [ N/A ] Does the PR affect components that are optional to install? (Ex: Numba, Pynini, Apex etc)
- [ ] Reviewer: Does the PR have correct import guards for all optional libraries?
**PR Type**:
- [ ] New Feature
- [x] Bugfix
- [ ] Documentation
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](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md) contains specific people who can review PRs to various areas.
# Additional Information
* Related to # (issue)
| {
"login": "ericharper",
"id": 11999610,
"node_id": "MDQ6VXNlcjExOTk5NjEw",
"avatar_url": "https://avatars.githubusercontent.com/u/11999610?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ericharper",
"html_url": "https://github.com/ericharper",
"followers_url": "https://api.github.com/users/ericharper/followers",
"following_url": "https://api.github.com/users/ericharper/following{/other_user}",
"gists_url": "https://api.github.com/users/ericharper/gists{/gist_id}",
"starred_url": "https://api.github.com/users/ericharper/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ericharper/subscriptions",
"organizations_url": "https://api.github.com/users/ericharper/orgs",
"repos_url": "https://api.github.com/users/ericharper/repos",
"events_url": "https://api.github.com/users/ericharper/events{/privacy}",
"received_events_url": "https://api.github.com/users/ericharper/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/8408/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/8408/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/8407 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/8407/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/8407/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/8407/events | https://github.com/NVIDIA/NeMo/pull/8407 | 2,131,292,473 | PR_kwDOC_bI7s5msqB9 | 8,407 | updated link to pubmed | {
"login": "github-actions[bot]",
"id": 41898282,
"node_id": "MDM6Qm90NDE4OTgyODI=",
"avatar_url": "https://avatars.githubusercontent.com/in/15368?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/github-actions%5Bbot%5D",
"html_url": "https://github.com/apps/github-actions",
"followers_url": "https://api.github.com/users/github-actions%5Bbot%5D/followers",
"following_url": "https://api.github.com/users/github-actions%5Bbot%5D/following{/other_user}",
"gists_url": "https://api.github.com/users/github-actions%5Bbot%5D/gists{/gist_id}",
"starred_url": "https://api.github.com/users/github-actions%5Bbot%5D/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/github-actions%5Bbot%5D/subscriptions",
"organizations_url": "https://api.github.com/users/github-actions%5Bbot%5D/orgs",
"repos_url": "https://api.github.com/users/github-actions%5Bbot%5D/repos",
"events_url": "https://api.github.com/users/github-actions%5Bbot%5D/events{/privacy}",
"received_events_url": "https://api.github.com/users/github-actions%5Bbot%5D/received_events",
"type": "Bot",
"user_view_type": "public",
"site_admin": false
} | [
{
"id": 4556669155,
"node_id": "LA_kwDOC_bI7s8AAAABD5lA4w",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/cherry-pick",
"name": "cherry-pick",
"color": "ededed",
"default": false,
"description": null
},
{
"id": 4811886210,
"node_id": "LA_kwDOC_bI7s8AAAABHs-Ogg",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/NLP",
"name": "NLP",
"color": "CBF09A",
"default": false,
"description": ""
}
] | closed | false | null | [] | null | [
"jenkins"
] | 2024-02-13T01:18:40 | 2024-02-13T17:51:30 | 2024-02-13T17:51:30 | CONTRIBUTOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/8407",
"html_url": "https://github.com/NVIDIA/NeMo/pull/8407",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/8407.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/8407.patch",
"merged_at": "2024-02-13T17:51:30"
} | # What does this PR do ?
Fixes link with `pubmed23n0009`
**Collection**: [NLP]
# Changelog
- Add specific line by line info of high level changes in this PR.
# Usage
* You can potentially add a usage example below
```python
# Add a code snippet demonstrating how to use this
```
# Jenkins CI
To run Jenkins, a NeMo User with write access must comment `jenkins` on the PR.
# Before your PR is "Ready for review"
**Pre checks**:
- [ ] Make sure you read and followed [Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md)
- [ ] Did you write any new necessary tests?
- [ ] Did you add or update any necessary documentation?
- [ ] Does the PR affect components that are optional to install? (Ex: Numba, Pynini, Apex etc)
- [ ] Reviewer: Does the PR have correct import guards for all optional libraries?
**PR Type**:
- [ ] New Feature
- [x] Bugfix
- [ ] Documentation
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](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md) contains specific people who can review PRs to various areas.
# Additional Information
* Related to # (issue)
| {
"login": "ericharper",
"id": 11999610,
"node_id": "MDQ6VXNlcjExOTk5NjEw",
"avatar_url": "https://avatars.githubusercontent.com/u/11999610?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ericharper",
"html_url": "https://github.com/ericharper",
"followers_url": "https://api.github.com/users/ericharper/followers",
"following_url": "https://api.github.com/users/ericharper/following{/other_user}",
"gists_url": "https://api.github.com/users/ericharper/gists{/gist_id}",
"starred_url": "https://api.github.com/users/ericharper/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ericharper/subscriptions",
"organizations_url": "https://api.github.com/users/ericharper/orgs",
"repos_url": "https://api.github.com/users/ericharper/repos",
"events_url": "https://api.github.com/users/ericharper/events{/privacy}",
"received_events_url": "https://api.github.com/users/ericharper/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/8407/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/8407/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/8406 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/8406/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/8406/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/8406/events | https://github.com/NVIDIA/NeMo/pull/8406 | 2,130,855,655 | PR_kwDOC_bI7s5mrKOW | 8,406 | Update NFA video download link | {
"login": "erastorgueva-nv",
"id": 80532067,
"node_id": "MDQ6VXNlcjgwNTMyMDY3",
"avatar_url": "https://avatars.githubusercontent.com/u/80532067?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/erastorgueva-nv",
"html_url": "https://github.com/erastorgueva-nv",
"followers_url": "https://api.github.com/users/erastorgueva-nv/followers",
"following_url": "https://api.github.com/users/erastorgueva-nv/following{/other_user}",
"gists_url": "https://api.github.com/users/erastorgueva-nv/gists{/gist_id}",
"starred_url": "https://api.github.com/users/erastorgueva-nv/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/erastorgueva-nv/subscriptions",
"organizations_url": "https://api.github.com/users/erastorgueva-nv/orgs",
"repos_url": "https://api.github.com/users/erastorgueva-nv/repos",
"events_url": "https://api.github.com/users/erastorgueva-nv/events{/privacy}",
"received_events_url": "https://api.github.com/users/erastorgueva-nv/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | [
"jenkins",
"jenkins",
"jenkins\r\n"
] | 2024-02-12T19:43:01 | 2024-02-13T01:18:54 | 2024-02-13T01:18:54 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/8406",
"html_url": "https://github.com/NVIDIA/NeMo/pull/8406",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/8406.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/8406.patch",
"merged_at": "2024-02-13T01:18:54"
} | # What does this PR do ?
Update the link used to download the video we use in the NFA tutorial.
**Collection**: tutorials
# Changelog
- Update link in the 2 places it appears in the notebook.
# Usage
N/A
# Jenkins CI
To run Jenkins, a NeMo User with write access must comment `jenkins` on the PR.
# Before your PR is "Ready for review"
**Pre checks**:
- [x] Make sure you read and followed [Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md)
- [ N/A ] Did you write any new necessary tests?
- [ N/A ] Did you add or update any necessary documentation?
- [ N/A ] Does the PR affect components that are optional to install? (Ex: Numba, Pynini, Apex etc)
- [ ] Reviewer: Does the PR have correct import guards for all optional libraries?
**PR Type**:
- [ ] New Feature
- [x] Bugfix
- [ ] Documentation
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](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md) contains specific people who can review PRs to various areas.
# Additional Information
* Related to # (issue)
| {
"login": "ericharper",
"id": 11999610,
"node_id": "MDQ6VXNlcjExOTk5NjEw",
"avatar_url": "https://avatars.githubusercontent.com/u/11999610?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ericharper",
"html_url": "https://github.com/ericharper",
"followers_url": "https://api.github.com/users/ericharper/followers",
"following_url": "https://api.github.com/users/ericharper/following{/other_user}",
"gists_url": "https://api.github.com/users/ericharper/gists{/gist_id}",
"starred_url": "https://api.github.com/users/ericharper/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ericharper/subscriptions",
"organizations_url": "https://api.github.com/users/ericharper/orgs",
"repos_url": "https://api.github.com/users/ericharper/repos",
"events_url": "https://api.github.com/users/ericharper/events{/privacy}",
"received_events_url": "https://api.github.com/users/ericharper/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/8406/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/8406/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/8405 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/8405/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/8405/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/8405/events | https://github.com/NVIDIA/NeMo/pull/8405 | 2,130,608,294 | PR_kwDOC_bI7s5mqTkb | 8,405 | Mcore customization doc | {
"login": "github-actions[bot]",
"id": 41898282,
"node_id": "MDM6Qm90NDE4OTgyODI=",
"avatar_url": "https://avatars.githubusercontent.com/in/15368?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/github-actions%5Bbot%5D",
"html_url": "https://github.com/apps/github-actions",
"followers_url": "https://api.github.com/users/github-actions%5Bbot%5D/followers",
"following_url": "https://api.github.com/users/github-actions%5Bbot%5D/following{/other_user}",
"gists_url": "https://api.github.com/users/github-actions%5Bbot%5D/gists{/gist_id}",
"starred_url": "https://api.github.com/users/github-actions%5Bbot%5D/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/github-actions%5Bbot%5D/subscriptions",
"organizations_url": "https://api.github.com/users/github-actions%5Bbot%5D/orgs",
"repos_url": "https://api.github.com/users/github-actions%5Bbot%5D/repos",
"events_url": "https://api.github.com/users/github-actions%5Bbot%5D/events{/privacy}",
"received_events_url": "https://api.github.com/users/github-actions%5Bbot%5D/received_events",
"type": "Bot",
"user_view_type": "public",
"site_admin": false
} | [
{
"id": 4556669155,
"node_id": "LA_kwDOC_bI7s8AAAABD5lA4w",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/cherry-pick",
"name": "cherry-pick",
"color": "ededed",
"default": false,
"description": null
},
{
"id": 4811886210,
"node_id": "LA_kwDOC_bI7s8AAAABHs-Ogg",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/NLP",
"name": "NLP",
"color": "CBF09A",
"default": false,
"description": ""
}
] | closed | false | null | [] | null | [] | 2024-02-12T17:25:01 | 2024-02-13T17:51:56 | 2024-02-13T17:51:55 | CONTRIBUTOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/8405",
"html_url": "https://github.com/NVIDIA/NeMo/pull/8405",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/8405.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/8405.patch",
"merged_at": "2024-02-13T17:51:55"
} | # What does this PR do ?
Mcore customization doc
**Collection**: [Note which collection this PR will affect]
# Changelog
- Add specific line by line info of high level changes in this PR.
# Usage
* You can potentially add a usage example below
```python
# Add a code snippet demonstrating how to use this
```
# Jenkins CI
To run Jenkins, a NeMo User with write access must comment `jenkins` on the PR.
# Before your PR is "Ready for review"
**Pre checks**:
- [ ] Make sure you read and followed [Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md)
- [ ] Did you write any new necessary tests?
- [ ] Did you add or update any necessary documentation?
- [ ] Does the PR affect components that are optional to install? (Ex: Numba, Pynini, Apex etc)
- [ ] Reviewer: Does the PR have correct import guards for all optional libraries?
**PR Type**:
- [ ] New Feature
- [ ] Bugfix
- [x] Documentation
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](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md) contains specific people who can review PRs to various areas.
# Additional Information
* Related to # (issue)
| {
"login": "ericharper",
"id": 11999610,
"node_id": "MDQ6VXNlcjExOTk5NjEw",
"avatar_url": "https://avatars.githubusercontent.com/u/11999610?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ericharper",
"html_url": "https://github.com/ericharper",
"followers_url": "https://api.github.com/users/ericharper/followers",
"following_url": "https://api.github.com/users/ericharper/following{/other_user}",
"gists_url": "https://api.github.com/users/ericharper/gists{/gist_id}",
"starred_url": "https://api.github.com/users/ericharper/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ericharper/subscriptions",
"organizations_url": "https://api.github.com/users/ericharper/orgs",
"repos_url": "https://api.github.com/users/ericharper/repos",
"events_url": "https://api.github.com/users/ericharper/events{/privacy}",
"received_events_url": "https://api.github.com/users/ericharper/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/8405/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/8405/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/8404 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/8404/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/8404/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/8404/events | https://github.com/NVIDIA/NeMo/pull/8404 | 2,130,559,664 | PR_kwDOC_bI7s5mqI8z | 8,404 | wer fix | {
"login": "tbartley94",
"id": 90423858,
"node_id": "MDQ6VXNlcjkwNDIzODU4",
"avatar_url": "https://avatars.githubusercontent.com/u/90423858?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tbartley94",
"html_url": "https://github.com/tbartley94",
"followers_url": "https://api.github.com/users/tbartley94/followers",
"following_url": "https://api.github.com/users/tbartley94/following{/other_user}",
"gists_url": "https://api.github.com/users/tbartley94/gists{/gist_id}",
"starred_url": "https://api.github.com/users/tbartley94/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/tbartley94/subscriptions",
"organizations_url": "https://api.github.com/users/tbartley94/orgs",
"repos_url": "https://api.github.com/users/tbartley94/repos",
"events_url": "https://api.github.com/users/tbartley94/events{/privacy}",
"received_events_url": "https://api.github.com/users/tbartley94/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"id": 4811884691,
"node_id": "LA_kwDOC_bI7s8AAAABHs-Ikw",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/ASR",
"name": "ASR",
"color": "F3B33E",
"default": false,
"description": ""
}
] | closed | false | null | [] | null | [
"jenkins"
] | 2024-02-12T16:57:36 | 2024-02-12T21:41:30 | 2024-02-12T21:41:30 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/8404",
"html_url": "https://github.com/NVIDIA/NeMo/pull/8404",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/8404.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/8404.patch",
"merged_at": "2024-02-12T21:41:30"
} | # What does this PR do ?
Fixes WER bug in ASR_with_Subwords tutorial.
**Collection**: [ASR]
# Jenkins CI
To run Jenkins, a NeMo User with write access must comment `jenkins` on the PR.
# Before your PR is "Ready for review"
**Pre checks**:
- [Y] Make sure you read and followed [Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md)
- [N] Did you write any new necessary tests?
- [N] Did you add or update any necessary documentation?
- [N] Does the PR affect components that are optional to install? (Ex: Numba, Pynini, Apex etc)
- [ ] Reviewer: Does the PR have correct import guards for all optional libraries?
**PR Type**:
- [ ] New Feature
- [ Y] Bugfix
- [ ] Documentation
## Who can review?
Anyone in the community is free to review the PR once the checks have passed.
[Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md) contains specific people who can review PRs to various areas.
# Additional Information
* Related to # (issue)
| {
"login": "VahidooX",
"id": 23551647,
"node_id": "MDQ6VXNlcjIzNTUxNjQ3",
"avatar_url": "https://avatars.githubusercontent.com/u/23551647?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/VahidooX",
"html_url": "https://github.com/VahidooX",
"followers_url": "https://api.github.com/users/VahidooX/followers",
"following_url": "https://api.github.com/users/VahidooX/following{/other_user}",
"gists_url": "https://api.github.com/users/VahidooX/gists{/gist_id}",
"starred_url": "https://api.github.com/users/VahidooX/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/VahidooX/subscriptions",
"organizations_url": "https://api.github.com/users/VahidooX/orgs",
"repos_url": "https://api.github.com/users/VahidooX/repos",
"events_url": "https://api.github.com/users/VahidooX/events{/privacy}",
"received_events_url": "https://api.github.com/users/VahidooX/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/8404/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/8404/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/8403 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/8403/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/8403/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/8403/events | https://github.com/NVIDIA/NeMo/pull/8403 | 2,130,534,263 | PR_kwDOC_bI7s5mqDVU | 8,403 | Tutorial wer hotfix | {
"login": "tbartley94",
"id": 90423858,
"node_id": "MDQ6VXNlcjkwNDIzODU4",
"avatar_url": "https://avatars.githubusercontent.com/u/90423858?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tbartley94",
"html_url": "https://github.com/tbartley94",
"followers_url": "https://api.github.com/users/tbartley94/followers",
"following_url": "https://api.github.com/users/tbartley94/following{/other_user}",
"gists_url": "https://api.github.com/users/tbartley94/gists{/gist_id}",
"starred_url": "https://api.github.com/users/tbartley94/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/tbartley94/subscriptions",
"organizations_url": "https://api.github.com/users/tbartley94/orgs",
"repos_url": "https://api.github.com/users/tbartley94/repos",
"events_url": "https://api.github.com/users/tbartley94/events{/privacy}",
"received_events_url": "https://api.github.com/users/tbartley94/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"id": 1923495043,
"node_id": "MDU6TGFiZWwxOTIzNDk1MDQz",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/core",
"name": "core",
"color": "f25e3a",
"default": false,
"description": "Changes to NeMo Core"
},
{
"id": 4418253970,
"node_id": "LA_kwDOC_bI7s8AAAABB1k0kg",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/TTS",
"name": "TTS",
"color": "49AF28",
"default": false,
"description": ""
},
{
"id": 4811884691,
"node_id": "LA_kwDOC_bI7s8AAAABHs-Ikw",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/ASR",
"name": "ASR",
"color": "F3B33E",
"default": false,
"description": ""
},
{
"id": 4811886210,
"node_id": "LA_kwDOC_bI7s8AAAABHs-Ogg",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/NLP",
"name": "NLP",
"color": "CBF09A",
"default": false,
"description": ""
}
] | closed | false | null | [] | null | [] | 2024-02-12T16:45:09 | 2024-02-12T16:54:35 | 2024-02-12T16:54:35 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | true | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/8403",
"html_url": "https://github.com/NVIDIA/NeMo/pull/8403",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/8403.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/8403.patch",
"merged_at": null
} | # What does this PR do ?
Fixes breaking tutorial issue
**Collection**: [ASR]
# Changelog
- Minor tutorial fix to reflect WER changes
# Before your PR is "Ready for review"
**Pre checks**:
- [Y] Make sure you read and followed [Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md)
- [N] Did you write any new necessary tests?
- [N] Did you add or update any necessary documentation?
- [N] Does the PR affect components that are optional to install? (Ex: Numba, Pynini, Apex etc)
- [ ] Reviewer: Does the PR have correct import guards for all optional libraries?
**PR Type**:
- [ ] New Feature
- [Y] Bugfix
- [ ] Documentation
## Who can review?
Anyone in the community is free to review the PR once the checks have passed.
[Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md) contains specific people who can review PRs to various areas.
# Additional Information
* Related to # (issue)
| {
"login": "tbartley94",
"id": 90423858,
"node_id": "MDQ6VXNlcjkwNDIzODU4",
"avatar_url": "https://avatars.githubusercontent.com/u/90423858?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tbartley94",
"html_url": "https://github.com/tbartley94",
"followers_url": "https://api.github.com/users/tbartley94/followers",
"following_url": "https://api.github.com/users/tbartley94/following{/other_user}",
"gists_url": "https://api.github.com/users/tbartley94/gists{/gist_id}",
"starred_url": "https://api.github.com/users/tbartley94/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/tbartley94/subscriptions",
"organizations_url": "https://api.github.com/users/tbartley94/orgs",
"repos_url": "https://api.github.com/users/tbartley94/repos",
"events_url": "https://api.github.com/users/tbartley94/events{/privacy}",
"received_events_url": "https://api.github.com/users/tbartley94/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/8403/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/8403/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/8402 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/8402/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/8402/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/8402/events | https://github.com/NVIDIA/NeMo/pull/8402 | 2,130,289,472 | PR_kwDOC_bI7s5mpNoz | 8,402 | updated link to pubmed | {
"login": "nithinraok",
"id": 19668129,
"node_id": "MDQ6VXNlcjE5NjY4MTI5",
"avatar_url": "https://avatars.githubusercontent.com/u/19668129?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/nithinraok",
"html_url": "https://github.com/nithinraok",
"followers_url": "https://api.github.com/users/nithinraok/followers",
"following_url": "https://api.github.com/users/nithinraok/following{/other_user}",
"gists_url": "https://api.github.com/users/nithinraok/gists{/gist_id}",
"starred_url": "https://api.github.com/users/nithinraok/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/nithinraok/subscriptions",
"organizations_url": "https://api.github.com/users/nithinraok/orgs",
"repos_url": "https://api.github.com/users/nithinraok/repos",
"events_url": "https://api.github.com/users/nithinraok/events{/privacy}",
"received_events_url": "https://api.github.com/users/nithinraok/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"id": 4811886210,
"node_id": "LA_kwDOC_bI7s8AAAABHs-Ogg",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/NLP",
"name": "NLP",
"color": "CBF09A",
"default": false,
"description": ""
}
] | closed | false | null | [] | null | [
"jenkins"
] | 2024-02-12T14:45:46 | 2024-02-13T01:18:18 | 2024-02-13T01:18:17 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/8402",
"html_url": "https://github.com/NVIDIA/NeMo/pull/8402",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/8402.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/8402.patch",
"merged_at": "2024-02-13T01:18:17"
} | # What does this PR do ?
Fixes link with `pubmed23n0009`
**Collection**: [NLP]
# Changelog
- Add specific line by line info of high level changes in this PR.
# Usage
* You can potentially add a usage example below
```python
# Add a code snippet demonstrating how to use this
```
# Jenkins CI
To run Jenkins, a NeMo User with write access must comment `jenkins` on the PR.
# Before your PR is "Ready for review"
**Pre checks**:
- [ ] Make sure you read and followed [Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md)
- [ ] Did you write any new necessary tests?
- [ ] Did you add or update any necessary documentation?
- [ ] Does the PR affect components that are optional to install? (Ex: Numba, Pynini, Apex etc)
- [ ] Reviewer: Does the PR have correct import guards for all optional libraries?
**PR Type**:
- [ ] New Feature
- [x] Bugfix
- [ ] Documentation
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](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md) contains specific people who can review PRs to various areas.
# Additional Information
* Related to # (issue)
| {
"login": "ericharper",
"id": 11999610,
"node_id": "MDQ6VXNlcjExOTk5NjEw",
"avatar_url": "https://avatars.githubusercontent.com/u/11999610?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ericharper",
"html_url": "https://github.com/ericharper",
"followers_url": "https://api.github.com/users/ericharper/followers",
"following_url": "https://api.github.com/users/ericharper/following{/other_user}",
"gists_url": "https://api.github.com/users/ericharper/gists{/gist_id}",
"starred_url": "https://api.github.com/users/ericharper/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ericharper/subscriptions",
"organizations_url": "https://api.github.com/users/ericharper/orgs",
"repos_url": "https://api.github.com/users/ericharper/repos",
"events_url": "https://api.github.com/users/ericharper/events{/privacy}",
"received_events_url": "https://api.github.com/users/ericharper/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/8402/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/8402/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/8401 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/8401/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/8401/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/8401/events | https://github.com/NVIDIA/NeMo/issues/8401 | 2,129,601,366 | I_kwDOC_bI7s5-7yNW | 8,401 | Nemotron-3 Streaming Response | {
"login": "Nima-Nilchian",
"id": 88092252,
"node_id": "MDQ6VXNlcjg4MDkyMjUy",
"avatar_url": "https://avatars.githubusercontent.com/u/88092252?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Nima-Nilchian",
"html_url": "https://github.com/Nima-Nilchian",
"followers_url": "https://api.github.com/users/Nima-Nilchian/followers",
"following_url": "https://api.github.com/users/Nima-Nilchian/following{/other_user}",
"gists_url": "https://api.github.com/users/Nima-Nilchian/gists{/gist_id}",
"starred_url": "https://api.github.com/users/Nima-Nilchian/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Nima-Nilchian/subscriptions",
"organizations_url": "https://api.github.com/users/Nima-Nilchian/orgs",
"repos_url": "https://api.github.com/users/Nima-Nilchian/repos",
"events_url": "https://api.github.com/users/Nima-Nilchian/events{/privacy}",
"received_events_url": "https://api.github.com/users/Nima-Nilchian/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"id": 1485815557,
"node_id": "MDU6TGFiZWwxNDg1ODE1NTU3",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": "Something isn't working"
},
{
"id": 4585431311,
"node_id": "LA_kwDOC_bI7s8AAAABEVAhDw",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/stale",
"name": "stale",
"color": "ededed",
"default": false,
"description": null
}
] | closed | false | null | [] | null | [
"This issue is stale because it has been open for 30 days with no activity. Remove stale label or comment or this will be closed in 7 days.",
"This issue was closed because it has been inactive for 7 days since being marked as stale."
] | 2024-02-12T08:03:37 | 2024-03-22T01:43:59 | 2024-03-22T01:43:59 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | **Describe the bug**
I'm using Nemotron-3 deployed in Triton Inference server, I'm using this connector code with langchain:
(https://github.com/langchain-ai/langchain/blob/master/libs/partners/nvidia-trt/langchain_nvidia_trt/llms.py)
which has a bug also and doesn't work by the way but I fixed it locally, and when I want to stream the response it return the whole response at once and doesn't stream it, but the codes are all working fine, I was wondering where is the problem from?
**Steps/Code to reproduce bug**
```python
from llms import TritonTensorRTLLM
pload = {
'tokens':300,
'server_url': "0.0.0.0:8001",
'model_name': "Nemotron-rlhf",
'temperature':1.0,
'top_k':1,
'top_p':0,
}
model = TritonTensorRTLLM(**pload)
for token in model.stream("what is the color of sky?"):
print(token, end="|", flush=True)
```
**Expected behavior**
I expect the model to stream the response.
**Environment overview (please complete the following information)**
- Environment location: Nemofw-Inference:23.10 docker container
| {
"login": "github-actions[bot]",
"id": 41898282,
"node_id": "MDM6Qm90NDE4OTgyODI=",
"avatar_url": "https://avatars.githubusercontent.com/in/15368?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/github-actions%5Bbot%5D",
"html_url": "https://github.com/apps/github-actions",
"followers_url": "https://api.github.com/users/github-actions%5Bbot%5D/followers",
"following_url": "https://api.github.com/users/github-actions%5Bbot%5D/following{/other_user}",
"gists_url": "https://api.github.com/users/github-actions%5Bbot%5D/gists{/gist_id}",
"starred_url": "https://api.github.com/users/github-actions%5Bbot%5D/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/github-actions%5Bbot%5D/subscriptions",
"organizations_url": "https://api.github.com/users/github-actions%5Bbot%5D/orgs",
"repos_url": "https://api.github.com/users/github-actions%5Bbot%5D/repos",
"events_url": "https://api.github.com/users/github-actions%5Bbot%5D/events{/privacy}",
"received_events_url": "https://api.github.com/users/github-actions%5Bbot%5D/received_events",
"type": "Bot",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/8401/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/8401/timeline | null | not_planned | false |
https://api.github.com/repos/NVIDIA/NeMo/issues/8400 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/8400/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/8400/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/8400/events | https://github.com/NVIDIA/NeMo/pull/8400 | 2,129,472,597 | PR_kwDOC_bI7s5mmaGR | 8,400 | Fix dreambooth data sampler issue | {
"login": "yaoyu-33",
"id": 54727607,
"node_id": "MDQ6VXNlcjU0NzI3NjA3",
"avatar_url": "https://avatars.githubusercontent.com/u/54727607?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yaoyu-33",
"html_url": "https://github.com/yaoyu-33",
"followers_url": "https://api.github.com/users/yaoyu-33/followers",
"following_url": "https://api.github.com/users/yaoyu-33/following{/other_user}",
"gists_url": "https://api.github.com/users/yaoyu-33/gists{/gist_id}",
"starred_url": "https://api.github.com/users/yaoyu-33/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/yaoyu-33/subscriptions",
"organizations_url": "https://api.github.com/users/yaoyu-33/orgs",
"repos_url": "https://api.github.com/users/yaoyu-33/repos",
"events_url": "https://api.github.com/users/yaoyu-33/events{/privacy}",
"received_events_url": "https://api.github.com/users/yaoyu-33/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | [
"jenkins",
"jenkins",
"jenkins",
"jenkins"
] | 2024-02-12T06:00:19 | 2024-02-13T17:50:48 | 2024-02-13T17:50:48 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/8400",
"html_url": "https://github.com/NVIDIA/NeMo/pull/8400",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/8400.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/8400.patch",
"merged_at": "2024-02-13T17:50:48"
} | # What does this PR do ?
Fix dreambooth data sampler issue
**Collection**: Multimodal
# Changelog
- Add specific line by line info of high level changes in this PR.
# Usage
* You can potentially add a usage example below
```python
# Add a code snippet demonstrating how to use this
```
# Jenkins CI
To run Jenkins, a NeMo User with write access must comment `jenkins` on the PR.
# Before your PR is "Ready for review"
**Pre checks**:
- [ ] Make sure you read and followed [Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md)
- [ ] Did you write any new necessary tests?
- [ ] Did you add or update any necessary documentation?
- [ ] Does the PR affect components that are optional to install? (Ex: Numba, Pynini, Apex etc)
- [ ] Reviewer: Does the PR have correct import guards for all optional libraries?
**PR Type**:
- [ ] New Feature
- [ ] Bugfix
- [ ] Documentation
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](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md) contains specific people who can review PRs to various areas.
# Additional Information
* Related to # (issue)
| {
"login": "yaoyu-33",
"id": 54727607,
"node_id": "MDQ6VXNlcjU0NzI3NjA3",
"avatar_url": "https://avatars.githubusercontent.com/u/54727607?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yaoyu-33",
"html_url": "https://github.com/yaoyu-33",
"followers_url": "https://api.github.com/users/yaoyu-33/followers",
"following_url": "https://api.github.com/users/yaoyu-33/following{/other_user}",
"gists_url": "https://api.github.com/users/yaoyu-33/gists{/gist_id}",
"starred_url": "https://api.github.com/users/yaoyu-33/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/yaoyu-33/subscriptions",
"organizations_url": "https://api.github.com/users/yaoyu-33/orgs",
"repos_url": "https://api.github.com/users/yaoyu-33/repos",
"events_url": "https://api.github.com/users/yaoyu-33/events{/privacy}",
"received_events_url": "https://api.github.com/users/yaoyu-33/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/8400/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/8400/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/8399 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/8399/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/8399/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/8399/events | https://github.com/NVIDIA/NeMo/pull/8399 | 2,129,470,630 | PR_kwDOC_bI7s5mmZqM | 8,399 | Fix dreambooth data sampler issue | {
"login": "yaoyu-33",
"id": 54727607,
"node_id": "MDQ6VXNlcjU0NzI3NjA3",
"avatar_url": "https://avatars.githubusercontent.com/u/54727607?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yaoyu-33",
"html_url": "https://github.com/yaoyu-33",
"followers_url": "https://api.github.com/users/yaoyu-33/followers",
"following_url": "https://api.github.com/users/yaoyu-33/following{/other_user}",
"gists_url": "https://api.github.com/users/yaoyu-33/gists{/gist_id}",
"starred_url": "https://api.github.com/users/yaoyu-33/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/yaoyu-33/subscriptions",
"organizations_url": "https://api.github.com/users/yaoyu-33/orgs",
"repos_url": "https://api.github.com/users/yaoyu-33/repos",
"events_url": "https://api.github.com/users/yaoyu-33/events{/privacy}",
"received_events_url": "https://api.github.com/users/yaoyu-33/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"id": 1923495043,
"node_id": "MDU6TGFiZWwxOTIzNDk1MDQz",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/core",
"name": "core",
"color": "f25e3a",
"default": false,
"description": "Changes to NeMo Core"
},
{
"id": 4418253970,
"node_id": "LA_kwDOC_bI7s8AAAABB1k0kg",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/TTS",
"name": "TTS",
"color": "49AF28",
"default": false,
"description": ""
},
{
"id": 4811884691,
"node_id": "LA_kwDOC_bI7s8AAAABHs-Ikw",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/ASR",
"name": "ASR",
"color": "F3B33E",
"default": false,
"description": ""
},
{
"id": 4811886210,
"node_id": "LA_kwDOC_bI7s8AAAABHs-Ogg",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/NLP",
"name": "NLP",
"color": "CBF09A",
"default": false,
"description": ""
},
{
"id": 4840216855,
"node_id": "LA_kwDOC_bI7s8AAAABIH_ZFw",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/CI",
"name": "CI",
"color": "1D76DB",
"default": false,
"description": ""
},
{
"id": 4847373924,
"node_id": "LA_kwDOC_bI7s8AAAABIO0OZA",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/common",
"name": "common",
"color": "c5def5",
"default": false,
"description": ""
}
] | closed | false | null | [] | null | [] | 2024-02-12T05:57:56 | 2024-02-12T05:58:31 | 2024-02-12T05:58:31 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/8399",
"html_url": "https://github.com/NVIDIA/NeMo/pull/8399",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/8399.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/8399.patch",
"merged_at": null
} | # What does this PR do ?
Fix dreambooth data sampler issue
**Collection**: Multimodal
# Changelog
- Add specific line by line info of high level changes in this PR.
# Usage
* You can potentially add a usage example below
```python
# Add a code snippet demonstrating how to use this
```
# Jenkins CI
To run Jenkins, a NeMo User with write access must comment `jenkins` on the PR.
# Before your PR is "Ready for review"
**Pre checks**:
- [ ] Make sure you read and followed [Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md)
- [ ] Did you write any new necessary tests?
- [ ] Did you add or update any necessary documentation?
- [ ] Does the PR affect components that are optional to install? (Ex: Numba, Pynini, Apex etc)
- [ ] Reviewer: Does the PR have correct import guards for all optional libraries?
**PR Type**:
- [ ] New Feature
- [ ] Bugfix
- [ ] Documentation
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](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md) contains specific people who can review PRs to various areas.
# Additional Information
* Related to # (issue)
| {
"login": "yaoyu-33",
"id": 54727607,
"node_id": "MDQ6VXNlcjU0NzI3NjA3",
"avatar_url": "https://avatars.githubusercontent.com/u/54727607?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yaoyu-33",
"html_url": "https://github.com/yaoyu-33",
"followers_url": "https://api.github.com/users/yaoyu-33/followers",
"following_url": "https://api.github.com/users/yaoyu-33/following{/other_user}",
"gists_url": "https://api.github.com/users/yaoyu-33/gists{/gist_id}",
"starred_url": "https://api.github.com/users/yaoyu-33/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/yaoyu-33/subscriptions",
"organizations_url": "https://api.github.com/users/yaoyu-33/orgs",
"repos_url": "https://api.github.com/users/yaoyu-33/repos",
"events_url": "https://api.github.com/users/yaoyu-33/events{/privacy}",
"received_events_url": "https://api.github.com/users/yaoyu-33/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/8399/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/8399/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/8398 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/8398/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/8398/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/8398/events | https://github.com/NVIDIA/NeMo/pull/8398 | 2,129,320,772 | PR_kwDOC_bI7s5ml5qE | 8,398 | Fix typo in exp_manager configuration for MLFlow | {
"login": "lorenzo-park",
"id": 55040105,
"node_id": "MDQ6VXNlcjU1MDQwMTA1",
"avatar_url": "https://avatars.githubusercontent.com/u/55040105?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/lorenzo-park",
"html_url": "https://github.com/lorenzo-park",
"followers_url": "https://api.github.com/users/lorenzo-park/followers",
"following_url": "https://api.github.com/users/lorenzo-park/following{/other_user}",
"gists_url": "https://api.github.com/users/lorenzo-park/gists{/gist_id}",
"starred_url": "https://api.github.com/users/lorenzo-park/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/lorenzo-park/subscriptions",
"organizations_url": "https://api.github.com/users/lorenzo-park/orgs",
"repos_url": "https://api.github.com/users/lorenzo-park/repos",
"events_url": "https://api.github.com/users/lorenzo-park/events{/privacy}",
"received_events_url": "https://api.github.com/users/lorenzo-park/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"id": 4585431311,
"node_id": "LA_kwDOC_bI7s8AAAABEVAhDw",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/stale",
"name": "stale",
"color": "ededed",
"default": false,
"description": null
}
] | closed | false | null | [] | null | [
"jenkins",
"Hi, how can I pass `continuous-integration/jenkins/pr-head` stage? And also how can I select reviewers? I am new to this PR system, so it would be appreciated much if you let me know :)",
"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 was closed because it has been inactive for 7 days since being marked as stale."
] | 2024-02-12T02:22:36 | 2024-03-08T01:43:54 | 2024-03-08T01:43:54 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/8398",
"html_url": "https://github.com/NVIDIA/NeMo/pull/8398",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/8398.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/8398.patch",
"merged_at": null
} | # What does this PR do ?
This PR fixes typo in documentation for MLFlow exp manager configuration.
My assumption is that the original author didn't intend the python typing snippets are included in config yaml.
**Collection**: docs/source/core
# Changelog
- Remove unnecessary typing snippets of `run_id` argument in `exp_manager`
# Usage
n/a
# Jenkins CI
To run Jenkins, a NeMo User with write access must comment `jenkins` on the PR.
# Before your PR is "Ready for review"
**Pre checks**:
- [x] Make sure you read and followed [Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md)
- [ ] Did you write any new necessary tests?
- [x] Did you add or update any necessary documentation?
- [ ] Does the PR affect components that are optional to install? (Ex: Numba, Pynini, Apex etc)
- [ ] Reviewer: Does the PR have correct import guards for all optional libraries?
**PR Type**:
- [ ] New Feature
- [ ] Bugfix
- [x] Documentation
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](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md) contains specific people who can review PRs to various areas.
# Additional Information
* Related to # (issue)
| {
"login": "github-actions[bot]",
"id": 41898282,
"node_id": "MDM6Qm90NDE4OTgyODI=",
"avatar_url": "https://avatars.githubusercontent.com/in/15368?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/github-actions%5Bbot%5D",
"html_url": "https://github.com/apps/github-actions",
"followers_url": "https://api.github.com/users/github-actions%5Bbot%5D/followers",
"following_url": "https://api.github.com/users/github-actions%5Bbot%5D/following{/other_user}",
"gists_url": "https://api.github.com/users/github-actions%5Bbot%5D/gists{/gist_id}",
"starred_url": "https://api.github.com/users/github-actions%5Bbot%5D/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/github-actions%5Bbot%5D/subscriptions",
"organizations_url": "https://api.github.com/users/github-actions%5Bbot%5D/orgs",
"repos_url": "https://api.github.com/users/github-actions%5Bbot%5D/repos",
"events_url": "https://api.github.com/users/github-actions%5Bbot%5D/events{/privacy}",
"received_events_url": "https://api.github.com/users/github-actions%5Bbot%5D/received_events",
"type": "Bot",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/8398/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/8398/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/8397 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/8397/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/8397/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/8397/events | https://github.com/NVIDIA/NeMo/pull/8397 | 2,129,165,660 | PR_kwDOC_bI7s5mlbND | 8,397 | MCore dataset compatibility for tokenizers | {
"login": "github-actions[bot]",
"id": 41898282,
"node_id": "MDM6Qm90NDE4OTgyODI=",
"avatar_url": "https://avatars.githubusercontent.com/in/15368?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/github-actions%5Bbot%5D",
"html_url": "https://github.com/apps/github-actions",
"followers_url": "https://api.github.com/users/github-actions%5Bbot%5D/followers",
"following_url": "https://api.github.com/users/github-actions%5Bbot%5D/following{/other_user}",
"gists_url": "https://api.github.com/users/github-actions%5Bbot%5D/gists{/gist_id}",
"starred_url": "https://api.github.com/users/github-actions%5Bbot%5D/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/github-actions%5Bbot%5D/subscriptions",
"organizations_url": "https://api.github.com/users/github-actions%5Bbot%5D/orgs",
"repos_url": "https://api.github.com/users/github-actions%5Bbot%5D/repos",
"events_url": "https://api.github.com/users/github-actions%5Bbot%5D/events{/privacy}",
"received_events_url": "https://api.github.com/users/github-actions%5Bbot%5D/received_events",
"type": "Bot",
"user_view_type": "public",
"site_admin": false
} | [
{
"id": 4556669155,
"node_id": "LA_kwDOC_bI7s8AAAABD5lA4w",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/cherry-pick",
"name": "cherry-pick",
"color": "ededed",
"default": false,
"description": null
},
{
"id": 4847373924,
"node_id": "LA_kwDOC_bI7s8AAAABIO0OZA",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/common",
"name": "common",
"color": "c5def5",
"default": false,
"description": ""
}
] | closed | false | null | [] | null | [
"jenkins",
"jenkins",
"jenkins"
] | 2024-02-11T20:57:19 | 2024-02-16T17:19:43 | 2024-02-16T17:19:42 | CONTRIBUTOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/8397",
"html_url": "https://github.com/NVIDIA/NeMo/pull/8397",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/8397.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/8397.patch",
"merged_at": "2024-02-16T17:19:42"
} | # What does this PR do ?
Adds properties required by megatron-core to NeMo tokenizers via the base TokenizerSpec class (see #8283).
**Collection**: common (tokenizers)
# Changelog
- Adds a `unique_identifiers` OrderedDict which is needed when using alongside megatron-core datasets (following [megatron_tokenizer.py](https://github.com/NVIDIA/Megatron-LM/blob/0052bf0de70b266d8648e2655da16f7eb2c9ca56/megatron/core/datasets/megatron_tokenizer.py))
- Adds several property-decorated methods as aliases for equivalent properties already present in tokenizers that inherit from TokenizerSpec
- Removes now-redundant individual fix from AutoTokenizer
# Usage
* You can potentially add a usage example below
```python
# Add a code snippet demonstrating how to use this
```
# Jenkins CI
To run Jenkins, a NeMo User with write access must comment `jenkins` on the PR.
# Before your PR is "Ready for review"
**Pre checks**:
- [ ] Make sure you read and followed [Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md)
- [ ] Did you write any new necessary tests?
- [ ] Did you add or update any necessary documentation?
- [ ] Does the PR affect components that are optional to install? (Ex: Numba, Pynini, Apex etc)
- [ ] Reviewer: Does the PR have correct import guards for all optional libraries?
**PR Type**:
- [ ] New Feature
- [ ] Bugfix
- [ ] Documentation
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](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md) contains specific people who can review PRs to various areas.
# Additional Information
* Related to # (issue)
| {
"login": "ericharper",
"id": 11999610,
"node_id": "MDQ6VXNlcjExOTk5NjEw",
"avatar_url": "https://avatars.githubusercontent.com/u/11999610?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ericharper",
"html_url": "https://github.com/ericharper",
"followers_url": "https://api.github.com/users/ericharper/followers",
"following_url": "https://api.github.com/users/ericharper/following{/other_user}",
"gists_url": "https://api.github.com/users/ericharper/gists{/gist_id}",
"starred_url": "https://api.github.com/users/ericharper/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ericharper/subscriptions",
"organizations_url": "https://api.github.com/users/ericharper/orgs",
"repos_url": "https://api.github.com/users/ericharper/repos",
"events_url": "https://api.github.com/users/ericharper/events{/privacy}",
"received_events_url": "https://api.github.com/users/ericharper/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/8397/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/8397/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/8396 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/8396/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/8396/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/8396/events | https://github.com/NVIDIA/NeMo/pull/8396 | 2,128,989,038 | PR_kwDOC_bI7s5mk5l5 | 8,396 | fix(main): data_prep.py typo | {
"login": "xionams",
"id": 29185608,
"node_id": "MDQ6VXNlcjI5MTg1NjA4",
"avatar_url": "https://avatars.githubusercontent.com/u/29185608?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/xionams",
"html_url": "https://github.com/xionams",
"followers_url": "https://api.github.com/users/xionams/followers",
"following_url": "https://api.github.com/users/xionams/following{/other_user}",
"gists_url": "https://api.github.com/users/xionams/gists{/gist_id}",
"starred_url": "https://api.github.com/users/xionams/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/xionams/subscriptions",
"organizations_url": "https://api.github.com/users/xionams/orgs",
"repos_url": "https://api.github.com/users/xionams/repos",
"events_url": "https://api.github.com/users/xionams/events{/privacy}",
"received_events_url": "https://api.github.com/users/xionams/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"id": 4585431311,
"node_id": "LA_kwDOC_bI7s8AAAABEVAhDw",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/stale",
"name": "stale",
"color": "ededed",
"default": false,
"description": null
}
] | closed | false | null | [] | null | [
"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 was closed because it has been inactive for 7 days since being marked as stale."
] | 2024-02-11T13:28:41 | 2024-03-31T01:45:31 | 2024-03-31T01:45:30 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/8396",
"html_url": "https://github.com/NVIDIA/NeMo/pull/8396",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/8396.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/8396.patch",
"merged_at": null
} | Fix one typo in data_prep.py
* Related to #8233
| {
"login": "github-actions[bot]",
"id": 41898282,
"node_id": "MDM6Qm90NDE4OTgyODI=",
"avatar_url": "https://avatars.githubusercontent.com/in/15368?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/github-actions%5Bbot%5D",
"html_url": "https://github.com/apps/github-actions",
"followers_url": "https://api.github.com/users/github-actions%5Bbot%5D/followers",
"following_url": "https://api.github.com/users/github-actions%5Bbot%5D/following{/other_user}",
"gists_url": "https://api.github.com/users/github-actions%5Bbot%5D/gists{/gist_id}",
"starred_url": "https://api.github.com/users/github-actions%5Bbot%5D/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/github-actions%5Bbot%5D/subscriptions",
"organizations_url": "https://api.github.com/users/github-actions%5Bbot%5D/orgs",
"repos_url": "https://api.github.com/users/github-actions%5Bbot%5D/repos",
"events_url": "https://api.github.com/users/github-actions%5Bbot%5D/events{/privacy}",
"received_events_url": "https://api.github.com/users/github-actions%5Bbot%5D/received_events",
"type": "Bot",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/8396/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/8396/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/8395 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/8395/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/8395/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/8395/events | https://github.com/NVIDIA/NeMo/pull/8395 | 2,128,069,144 | PR_kwDOC_bI7s5mh7-v | 8,395 | Added memory logger | {
"login": "sanandaraj5597",
"id": 55270934,
"node_id": "MDQ6VXNlcjU1MjcwOTM0",
"avatar_url": "https://avatars.githubusercontent.com/u/55270934?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sanandaraj5597",
"html_url": "https://github.com/sanandaraj5597",
"followers_url": "https://api.github.com/users/sanandaraj5597/followers",
"following_url": "https://api.github.com/users/sanandaraj5597/following{/other_user}",
"gists_url": "https://api.github.com/users/sanandaraj5597/gists{/gist_id}",
"starred_url": "https://api.github.com/users/sanandaraj5597/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/sanandaraj5597/subscriptions",
"organizations_url": "https://api.github.com/users/sanandaraj5597/orgs",
"repos_url": "https://api.github.com/users/sanandaraj5597/repos",
"events_url": "https://api.github.com/users/sanandaraj5597/events{/privacy}",
"received_events_url": "https://api.github.com/users/sanandaraj5597/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"id": 4811886210,
"node_id": "LA_kwDOC_bI7s8AAAABHs-Ogg",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/NLP",
"name": "NLP",
"color": "CBF09A",
"default": false,
"description": ""
}
] | closed | false | null | [] | null | [
"jenkins",
"jenkins"
] | 2024-02-10T03:18:48 | 2024-02-23T22:39:34 | 2024-02-23T22:39:34 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/8395",
"html_url": "https://github.com/NVIDIA/NeMo/pull/8395",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/8395.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/8395.patch",
"merged_at": "2024-02-23T22:39:34"
} | This PR adds an env variable to be set when you want to log peak memory usage at the end of each training step.
This env variable "NEMO_LOG_MEMORY_USAGE" should be set to 1 for the logging to be enabled, this prints the memory usage of rank 0 only.
This env variable will be added to perf CI for NeMo. | {
"login": "sanandaraj5597",
"id": 55270934,
"node_id": "MDQ6VXNlcjU1MjcwOTM0",
"avatar_url": "https://avatars.githubusercontent.com/u/55270934?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sanandaraj5597",
"html_url": "https://github.com/sanandaraj5597",
"followers_url": "https://api.github.com/users/sanandaraj5597/followers",
"following_url": "https://api.github.com/users/sanandaraj5597/following{/other_user}",
"gists_url": "https://api.github.com/users/sanandaraj5597/gists{/gist_id}",
"starred_url": "https://api.github.com/users/sanandaraj5597/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/sanandaraj5597/subscriptions",
"organizations_url": "https://api.github.com/users/sanandaraj5597/orgs",
"repos_url": "https://api.github.com/users/sanandaraj5597/repos",
"events_url": "https://api.github.com/users/sanandaraj5597/events{/privacy}",
"received_events_url": "https://api.github.com/users/sanandaraj5597/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/8395/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/8395/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/8394 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/8394/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/8394/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/8394/events | https://github.com/NVIDIA/NeMo/pull/8394 | 2,127,915,929 | PR_kwDOC_bI7s5mhc7u | 8,394 | release updates | {
"login": "github-actions[bot]",
"id": 41898282,
"node_id": "MDM6Qm90NDE4OTgyODI=",
"avatar_url": "https://avatars.githubusercontent.com/in/15368?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/github-actions%5Bbot%5D",
"html_url": "https://github.com/apps/github-actions",
"followers_url": "https://api.github.com/users/github-actions%5Bbot%5D/followers",
"following_url": "https://api.github.com/users/github-actions%5Bbot%5D/following{/other_user}",
"gists_url": "https://api.github.com/users/github-actions%5Bbot%5D/gists{/gist_id}",
"starred_url": "https://api.github.com/users/github-actions%5Bbot%5D/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/github-actions%5Bbot%5D/subscriptions",
"organizations_url": "https://api.github.com/users/github-actions%5Bbot%5D/orgs",
"repos_url": "https://api.github.com/users/github-actions%5Bbot%5D/repos",
"events_url": "https://api.github.com/users/github-actions%5Bbot%5D/events{/privacy}",
"received_events_url": "https://api.github.com/users/github-actions%5Bbot%5D/received_events",
"type": "Bot",
"user_view_type": "public",
"site_admin": false
} | [
{
"id": 4556669155,
"node_id": "LA_kwDOC_bI7s8AAAABD5lA4w",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/cherry-pick",
"name": "cherry-pick",
"color": "ededed",
"default": false,
"description": null
},
{
"id": 4811886210,
"node_id": "LA_kwDOC_bI7s8AAAABHs-Ogg",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/NLP",
"name": "NLP",
"color": "CBF09A",
"default": false,
"description": ""
},
{
"id": 4840216855,
"node_id": "LA_kwDOC_bI7s8AAAABIH_ZFw",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/CI",
"name": "CI",
"color": "1D76DB",
"default": false,
"description": ""
}
] | closed | false | null | [] | null | [
"jenkins",
"jenkins",
"jenkins",
"jenkins",
"jenkins",
"jenkins",
"jenkins",
"jenkins"
] | 2024-02-09T22:11:41 | 2024-02-26T03:59:01 | 2024-02-26T03:59:00 | CONTRIBUTOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/8394",
"html_url": "https://github.com/NVIDIA/NeMo/pull/8394",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/8394.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/8394.patch",
"merged_at": "2024-02-26T03:59:00"
} | # What does this PR do ?
1) Adds support for dict data input type.
2) Adds changes for mock dataset.
3) Adds tests for 1 & 2.
**Collection**: [Note which collection this PR will affect]
# Changelog
- Add specific line by line info of high level changes in this PR.
# Usage
* You can potentially add a usage example below
```python
# Add a code snippet demonstrating how to use this
```
# Jenkins CI
To run Jenkins, a NeMo User with write access must comment `jenkins` on the PR.
# Before your PR is "Ready for review"
**Pre checks**:
- [ ] Make sure you read and followed [Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md)
- [ ] Did you write any new necessary tests?
- [ ] Did you add or update any necessary documentation?
- [ ] Does the PR affect components that are optional to install? (Ex: Numba, Pynini, Apex etc)
- [ ] Reviewer: Does the PR have correct import guards for all optional libraries?
**PR Type**:
- [ ] New Feature
- [ ] Bugfix
- [ ] Documentation
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](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md) contains specific people who can review PRs to various areas.
# Additional Information
* Related to # (issue)
| {
"login": "ericharper",
"id": 11999610,
"node_id": "MDQ6VXNlcjExOTk5NjEw",
"avatar_url": "https://avatars.githubusercontent.com/u/11999610?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ericharper",
"html_url": "https://github.com/ericharper",
"followers_url": "https://api.github.com/users/ericharper/followers",
"following_url": "https://api.github.com/users/ericharper/following{/other_user}",
"gists_url": "https://api.github.com/users/ericharper/gists{/gist_id}",
"starred_url": "https://api.github.com/users/ericharper/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ericharper/subscriptions",
"organizations_url": "https://api.github.com/users/ericharper/orgs",
"repos_url": "https://api.github.com/users/ericharper/repos",
"events_url": "https://api.github.com/users/ericharper/events{/privacy}",
"received_events_url": "https://api.github.com/users/ericharper/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/8394/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/8394/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/8393 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/8393/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/8393/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/8393/events | https://github.com/NVIDIA/NeMo/pull/8393 | 2,127,822,150 | PR_kwDOC_bI7s5mhIuc | 8,393 | Add Finetuning tutorial with HF Datasets | {
"login": "github-actions[bot]",
"id": 41898282,
"node_id": "MDM6Qm90NDE4OTgyODI=",
"avatar_url": "https://avatars.githubusercontent.com/in/15368?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/github-actions%5Bbot%5D",
"html_url": "https://github.com/apps/github-actions",
"followers_url": "https://api.github.com/users/github-actions%5Bbot%5D/followers",
"following_url": "https://api.github.com/users/github-actions%5Bbot%5D/following{/other_user}",
"gists_url": "https://api.github.com/users/github-actions%5Bbot%5D/gists{/gist_id}",
"starred_url": "https://api.github.com/users/github-actions%5Bbot%5D/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/github-actions%5Bbot%5D/subscriptions",
"organizations_url": "https://api.github.com/users/github-actions%5Bbot%5D/orgs",
"repos_url": "https://api.github.com/users/github-actions%5Bbot%5D/repos",
"events_url": "https://api.github.com/users/github-actions%5Bbot%5D/events{/privacy}",
"received_events_url": "https://api.github.com/users/github-actions%5Bbot%5D/received_events",
"type": "Bot",
"user_view_type": "public",
"site_admin": false
} | [
{
"id": 4556669155,
"node_id": "LA_kwDOC_bI7s8AAAABD5lA4w",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/cherry-pick",
"name": "cherry-pick",
"color": "ededed",
"default": false,
"description": null
},
{
"id": 4811884691,
"node_id": "LA_kwDOC_bI7s8AAAABHs-Ikw",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/ASR",
"name": "ASR",
"color": "F3B33E",
"default": false,
"description": ""
}
] | closed | false | null | [] | null | [
"jenkins",
"jenkins"
] | 2024-02-09T20:44:09 | 2024-02-12T17:14:05 | 2024-02-12T17:14:05 | CONTRIBUTOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/8393",
"html_url": "https://github.com/NVIDIA/NeMo/pull/8393",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/8393.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/8393.patch",
"merged_at": "2024-02-12T17:14:05"
} | # What does this PR do ?
Add Finetuning of Parakeet model with HF Datasets
**Collection**: ASR
# Changelog
- Add tutorial
# Before your PR is "Ready for review"
**Pre checks**:
- [ ] Make sure you read and followed [Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md)
- [ ] Did you write any new necessary tests?
- [ ] Did you add or update any necessary documentation?
- [ ] Does the PR affect components that are optional to install? (Ex: Numba, Pynini, Apex etc)
- [ ] Reviewer: Does the PR have correct import guards for all optional libraries?
**PR Type**:
- [ ] New Feature
- [ ] Bugfix
- [ ] Documentation
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](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md) contains specific people who can review PRs to various areas.
# Additional Information
* Related to # (issue)
| {
"login": "ericharper",
"id": 11999610,
"node_id": "MDQ6VXNlcjExOTk5NjEw",
"avatar_url": "https://avatars.githubusercontent.com/u/11999610?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ericharper",
"html_url": "https://github.com/ericharper",
"followers_url": "https://api.github.com/users/ericharper/followers",
"following_url": "https://api.github.com/users/ericharper/following{/other_user}",
"gists_url": "https://api.github.com/users/ericharper/gists{/gist_id}",
"starred_url": "https://api.github.com/users/ericharper/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ericharper/subscriptions",
"organizations_url": "https://api.github.com/users/ericharper/orgs",
"repos_url": "https://api.github.com/users/ericharper/repos",
"events_url": "https://api.github.com/users/ericharper/events{/privacy}",
"received_events_url": "https://api.github.com/users/ericharper/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/8393/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/8393/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/8392 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/8392/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/8392/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/8392/events | https://github.com/NVIDIA/NeMo/pull/8392 | 2,127,796,369 | PR_kwDOC_bI7s5mhDNm | 8,392 | Single-video inference with video dataloader + neva image encoder [Video-NeVA] | {
"login": "PannuMuthu",
"id": 30813477,
"node_id": "MDQ6VXNlcjMwODEzNDc3",
"avatar_url": "https://avatars.githubusercontent.com/u/30813477?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/PannuMuthu",
"html_url": "https://github.com/PannuMuthu",
"followers_url": "https://api.github.com/users/PannuMuthu/followers",
"following_url": "https://api.github.com/users/PannuMuthu/following{/other_user}",
"gists_url": "https://api.github.com/users/PannuMuthu/gists{/gist_id}",
"starred_url": "https://api.github.com/users/PannuMuthu/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/PannuMuthu/subscriptions",
"organizations_url": "https://api.github.com/users/PannuMuthu/orgs",
"repos_url": "https://api.github.com/users/PannuMuthu/repos",
"events_url": "https://api.github.com/users/PannuMuthu/events{/privacy}",
"received_events_url": "https://api.github.com/users/PannuMuthu/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"id": 4585431311,
"node_id": "LA_kwDOC_bI7s8AAAABEVAhDw",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/stale",
"name": "stale",
"color": "ededed",
"default": false,
"description": null
}
] | closed | false | null | [] | null | [
"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 was closed because it has been inactive for 7 days since being marked as stale.",
"since video dataset is extended from image dataset. If you can split the commits into a copying comment and a change comment, it will improve readability "
] | 2024-02-09T20:20:52 | 2024-03-25T03:30:04 | 2024-03-02T01:43:07 | CONTRIBUTOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | true | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/8392",
"html_url": "https://github.com/NVIDIA/NeMo/pull/8392",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/8392.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/8392.patch",
"merged_at": null
} | # What does this PR do ?
This PR implements single video inference with a video dataloader fed through NeVA Image Encoder
**Collection**: [Note which collection this PR will affect]
# Changelog
- Modified `TarOrFolderVideoLoader` to include:
- `load_video()`: which loads images as OpenCV object
- `flatten_frames()`: which flattens OpenCV video frames to tensor of image frames (B*T, H, W, C)
- Add config file for single-video inference (adapted from `neva_inference.yaml`)
- Create `video_neva_model.py` derived from `neva_model.py`
- Create `single_video_inference.py` to execute inference pipeline with Video DataLoader + Image Encoder on single video sample
# Usage
* You can potentially add a usage example below
```python
# Add a code snippet demonstrating how to use this
```
# Jenkins CI
To run Jenkins, a NeMo User with write access must comment `jenkins` on the PR.
# Before your PR is "Ready for review"
**Pre checks**:
- [ ] Make sure you read and followed [Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md)
- [ ] Did you write any new necessary tests?
- [ ] Did you add or update any necessary documentation?
- [ ] Does the PR affect components that are optional to install? (Ex: Numba, Pynini, Apex etc)
- [ ] Reviewer: Does the PR have correct import guards for all optional libraries?
**PR Type**:
- [ ] New Feature
- [ ] Bugfix
- [ ] Documentation
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](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md) contains specific people who can review PRs to various areas.
# Additional Information
* Related to # (issue)
| {
"login": "github-actions[bot]",
"id": 41898282,
"node_id": "MDM6Qm90NDE4OTgyODI=",
"avatar_url": "https://avatars.githubusercontent.com/in/15368?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/github-actions%5Bbot%5D",
"html_url": "https://github.com/apps/github-actions",
"followers_url": "https://api.github.com/users/github-actions%5Bbot%5D/followers",
"following_url": "https://api.github.com/users/github-actions%5Bbot%5D/following{/other_user}",
"gists_url": "https://api.github.com/users/github-actions%5Bbot%5D/gists{/gist_id}",
"starred_url": "https://api.github.com/users/github-actions%5Bbot%5D/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/github-actions%5Bbot%5D/subscriptions",
"organizations_url": "https://api.github.com/users/github-actions%5Bbot%5D/orgs",
"repos_url": "https://api.github.com/users/github-actions%5Bbot%5D/repos",
"events_url": "https://api.github.com/users/github-actions%5Bbot%5D/events{/privacy}",
"received_events_url": "https://api.github.com/users/github-actions%5Bbot%5D/received_events",
"type": "Bot",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/8392/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/8392/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/8391 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/8391/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/8391/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/8391/events | https://github.com/NVIDIA/NeMo/pull/8391 | 2,127,736,288 | PR_kwDOC_bI7s5mg2W6 | 8,391 | sentencepiece tokenizer fix | {
"login": "dimapihtar",
"id": 37850217,
"node_id": "MDQ6VXNlcjM3ODUwMjE3",
"avatar_url": "https://avatars.githubusercontent.com/u/37850217?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dimapihtar",
"html_url": "https://github.com/dimapihtar",
"followers_url": "https://api.github.com/users/dimapihtar/followers",
"following_url": "https://api.github.com/users/dimapihtar/following{/other_user}",
"gists_url": "https://api.github.com/users/dimapihtar/gists{/gist_id}",
"starred_url": "https://api.github.com/users/dimapihtar/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/dimapihtar/subscriptions",
"organizations_url": "https://api.github.com/users/dimapihtar/orgs",
"repos_url": "https://api.github.com/users/dimapihtar/repos",
"events_url": "https://api.github.com/users/dimapihtar/events{/privacy}",
"received_events_url": "https://api.github.com/users/dimapihtar/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"id": 4847373924,
"node_id": "LA_kwDOC_bI7s8AAAABIO0OZA",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/common",
"name": "common",
"color": "c5def5",
"default": false,
"description": ""
}
] | closed | false | null | [] | null | [
"jenkins",
"jenkins",
"jenkins",
"jenkins",
"jenkins",
"jenkins",
"jenkins",
"jenkins",
"jenkins",
"jenkins",
"jenkins",
"jenkins",
"jenkins"
] | 2024-02-09T19:30:45 | 2024-02-15T13:23:37 | 2024-02-15T13:23:37 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/8391",
"html_url": "https://github.com/NVIDIA/NeMo/pull/8391",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/8391.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/8391.patch",
"merged_at": null
} | # What does this PR do ?
Add a one line overview of what this PR aims to accomplish.
**Collection**: [Note which collection this PR will affect]
# Changelog
- Add specific line by line info of high level changes in this PR.
# Usage
* You can potentially add a usage example below
```python
# Add a code snippet demonstrating how to use this
```
# Jenkins CI
To run Jenkins, a NeMo User with write access must comment `jenkins` on the PR.
# Before your PR is "Ready for review"
**Pre checks**:
- [ ] Make sure you read and followed [Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md)
- [ ] Did you write any new necessary tests?
- [ ] Did you add or update any necessary documentation?
- [ ] Does the PR affect components that are optional to install? (Ex: Numba, Pynini, Apex etc)
- [ ] Reviewer: Does the PR have correct import guards for all optional libraries?
**PR Type**:
- [ ] New Feature
- [ ] Bugfix
- [ ] Documentation
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](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md) contains specific people who can review PRs to various areas.
# Additional Information
* Related to # (issue)
| {
"login": "dimapihtar",
"id": 37850217,
"node_id": "MDQ6VXNlcjM3ODUwMjE3",
"avatar_url": "https://avatars.githubusercontent.com/u/37850217?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dimapihtar",
"html_url": "https://github.com/dimapihtar",
"followers_url": "https://api.github.com/users/dimapihtar/followers",
"following_url": "https://api.github.com/users/dimapihtar/following{/other_user}",
"gists_url": "https://api.github.com/users/dimapihtar/gists{/gist_id}",
"starred_url": "https://api.github.com/users/dimapihtar/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/dimapihtar/subscriptions",
"organizations_url": "https://api.github.com/users/dimapihtar/orgs",
"repos_url": "https://api.github.com/users/dimapihtar/repos",
"events_url": "https://api.github.com/users/dimapihtar/events{/privacy}",
"received_events_url": "https://api.github.com/users/dimapihtar/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/8391/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/8391/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/8390 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/8390/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/8390/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/8390/events | https://github.com/NVIDIA/NeMo/pull/8390 | 2,127,729,919 | PR_kwDOC_bI7s5mg1An | 8,390 | MCore dataset compatibility for tokenizers | {
"login": "vysarge",
"id": 10239441,
"node_id": "MDQ6VXNlcjEwMjM5NDQx",
"avatar_url": "https://avatars.githubusercontent.com/u/10239441?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/vysarge",
"html_url": "https://github.com/vysarge",
"followers_url": "https://api.github.com/users/vysarge/followers",
"following_url": "https://api.github.com/users/vysarge/following{/other_user}",
"gists_url": "https://api.github.com/users/vysarge/gists{/gist_id}",
"starred_url": "https://api.github.com/users/vysarge/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/vysarge/subscriptions",
"organizations_url": "https://api.github.com/users/vysarge/orgs",
"repos_url": "https://api.github.com/users/vysarge/repos",
"events_url": "https://api.github.com/users/vysarge/events{/privacy}",
"received_events_url": "https://api.github.com/users/vysarge/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"id": 4847373924,
"node_id": "LA_kwDOC_bI7s8AAAABIO0OZA",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/common",
"name": "common",
"color": "c5def5",
"default": false,
"description": ""
}
] | closed | false | null | [] | null | [
"@ericharper / @dimapihtar can you review this fix? Thanks!",
"jenkins",
"jenkins",
"jenkins",
"jenkins",
"jenkins",
"jenkins",
"jenkins"
] | 2024-02-09T19:25:44 | 2024-03-12T22:36:37 | 2024-02-11T20:56:57 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/8390",
"html_url": "https://github.com/NVIDIA/NeMo/pull/8390",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/8390.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/8390.patch",
"merged_at": "2024-02-11T20:56:56"
} | # What does this PR do ?
Adds properties required by megatron-core to NeMo tokenizers via the base TokenizerSpec class (see #8283).
**Collection**: common (tokenizers)
# Changelog
- Adds a `unique_identifiers` OrderedDict which is needed when using alongside megatron-core datasets (following [megatron_tokenizer.py](https://github.com/NVIDIA/Megatron-LM/blob/0052bf0de70b266d8648e2655da16f7eb2c9ca56/megatron/core/datasets/megatron_tokenizer.py))
- Adds several property-decorated methods as aliases for equivalent properties already present in tokenizers that inherit from TokenizerSpec
- Removes now-redundant individual fix from AutoTokenizer
# Usage
* You can potentially add a usage example below
```python
# Add a code snippet demonstrating how to use this
```
# Jenkins CI
To run Jenkins, a NeMo User with write access must comment `jenkins` on the PR.
# Before your PR is "Ready for review"
**Pre checks**:
- [ ] Make sure you read and followed [Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md)
- [ ] Did you write any new necessary tests?
- [ ] Did you add or update any necessary documentation?
- [ ] Does the PR affect components that are optional to install? (Ex: Numba, Pynini, Apex etc)
- [ ] Reviewer: Does the PR have correct import guards for all optional libraries?
**PR Type**:
- [ ] New Feature
- [ ] Bugfix
- [ ] Documentation
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](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md) contains specific people who can review PRs to various areas.
# Additional Information
* Related to # (issue)
| {
"login": "pablo-garay",
"id": 7166088,
"node_id": "MDQ6VXNlcjcxNjYwODg=",
"avatar_url": "https://avatars.githubusercontent.com/u/7166088?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/pablo-garay",
"html_url": "https://github.com/pablo-garay",
"followers_url": "https://api.github.com/users/pablo-garay/followers",
"following_url": "https://api.github.com/users/pablo-garay/following{/other_user}",
"gists_url": "https://api.github.com/users/pablo-garay/gists{/gist_id}",
"starred_url": "https://api.github.com/users/pablo-garay/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/pablo-garay/subscriptions",
"organizations_url": "https://api.github.com/users/pablo-garay/orgs",
"repos_url": "https://api.github.com/users/pablo-garay/repos",
"events_url": "https://api.github.com/users/pablo-garay/events{/privacy}",
"received_events_url": "https://api.github.com/users/pablo-garay/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/8390/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/8390/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/8388 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/8388/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/8388/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/8388/events | https://github.com/NVIDIA/NeMo/issues/8388 | 2,127,627,925 | I_kwDOC_bI7s5-0QaV | 8,388 | SystemError: PY_SSIZE_T_CLEAN macro must be defined for '#' formats | {
"login": "WikiLucas00",
"id": 63519673,
"node_id": "MDQ6VXNlcjYzNTE5Njcz",
"avatar_url": "https://avatars.githubusercontent.com/u/63519673?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/WikiLucas00",
"html_url": "https://github.com/WikiLucas00",
"followers_url": "https://api.github.com/users/WikiLucas00/followers",
"following_url": "https://api.github.com/users/WikiLucas00/following{/other_user}",
"gists_url": "https://api.github.com/users/WikiLucas00/gists{/gist_id}",
"starred_url": "https://api.github.com/users/WikiLucas00/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/WikiLucas00/subscriptions",
"organizations_url": "https://api.github.com/users/WikiLucas00/orgs",
"repos_url": "https://api.github.com/users/WikiLucas00/repos",
"events_url": "https://api.github.com/users/WikiLucas00/events{/privacy}",
"received_events_url": "https://api.github.com/users/WikiLucas00/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"id": 1485815557,
"node_id": "MDU6TGFiZWwxNDg1ODE1NTU3",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": "Something isn't working"
},
{
"id": 4585431311,
"node_id": "LA_kwDOC_bI7s8AAAABEVAhDw",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/stale",
"name": "stale",
"color": "ededed",
"default": false,
"description": null
}
] | closed | false | null | [] | null | [
"This issue is stale because it has been open for 30 days with no activity. Remove stale label or comment or this will be closed in 7 days.",
"This issue was closed because it has been inactive for 7 days since being marked as stale."
] | 2024-02-09T18:08:51 | 2024-03-18T01:44:06 | 2024-03-18T01:44:05 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | Hello, I encountered this issue while trying to run the Online ASR tutorials on a PC, using python 3.10.13 and nemo-toolkit==1.23.0rc0.
SystemError: PY_SSIZE_T_CLEAN macro must be defined for '#' formats
From web results, this errors seems to happen when old packages don't support newer versions of Python, which is strange since NeMo requires Python >=3.10.
Could you help me with this, please? | {
"login": "github-actions[bot]",
"id": 41898282,
"node_id": "MDM6Qm90NDE4OTgyODI=",
"avatar_url": "https://avatars.githubusercontent.com/in/15368?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/github-actions%5Bbot%5D",
"html_url": "https://github.com/apps/github-actions",
"followers_url": "https://api.github.com/users/github-actions%5Bbot%5D/followers",
"following_url": "https://api.github.com/users/github-actions%5Bbot%5D/following{/other_user}",
"gists_url": "https://api.github.com/users/github-actions%5Bbot%5D/gists{/gist_id}",
"starred_url": "https://api.github.com/users/github-actions%5Bbot%5D/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/github-actions%5Bbot%5D/subscriptions",
"organizations_url": "https://api.github.com/users/github-actions%5Bbot%5D/orgs",
"repos_url": "https://api.github.com/users/github-actions%5Bbot%5D/repos",
"events_url": "https://api.github.com/users/github-actions%5Bbot%5D/events{/privacy}",
"received_events_url": "https://api.github.com/users/github-actions%5Bbot%5D/received_events",
"type": "Bot",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/8388/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/8388/timeline | null | not_planned | false |
https://api.github.com/repos/NVIDIA/NeMo/issues/8387 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/8387/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/8387/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/8387/events | https://github.com/NVIDIA/NeMo/pull/8387 | 2,127,623,884 | PR_kwDOC_bI7s5mgeX5 | 8,387 | Add fp8 support for SD/Update notebook paths | {
"login": "Victor49152",
"id": 111467530,
"node_id": "U_kgDOBqTcCg",
"avatar_url": "https://avatars.githubusercontent.com/u/111467530?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Victor49152",
"html_url": "https://github.com/Victor49152",
"followers_url": "https://api.github.com/users/Victor49152/followers",
"following_url": "https://api.github.com/users/Victor49152/following{/other_user}",
"gists_url": "https://api.github.com/users/Victor49152/gists{/gist_id}",
"starred_url": "https://api.github.com/users/Victor49152/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Victor49152/subscriptions",
"organizations_url": "https://api.github.com/users/Victor49152/orgs",
"repos_url": "https://api.github.com/users/Victor49152/repos",
"events_url": "https://api.github.com/users/Victor49152/events{/privacy}",
"received_events_url": "https://api.github.com/users/Victor49152/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"id": 4811886210,
"node_id": "LA_kwDOC_bI7s8AAAABHs-Ogg",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/NLP",
"name": "NLP",
"color": "CBF09A",
"default": false,
"description": ""
}
] | closed | false | null | [] | null | [
"jenkins",
"jenkins\r\n"
] | 2024-02-09T18:05:47 | 2024-02-23T00:35:13 | 2024-02-23T00:35:13 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/8387",
"html_url": "https://github.com/NVIDIA/NeMo/pull/8387",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/8387.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/8387.patch",
"merged_at": null
} | # What does this PR do ?
Add FP8 support for SD training.
**Collection**: [multimodal/text_to_image/statble_diffusion]
# Changelog
- Add config argument - use_te_fp8 to switch between fp16 and fp8 training
- Add transformer engine fp8 layers to Stable diffusion Unet
- Update a few legacy paths in notebook tutorial
# Usage
```yaml
unet_config:
use_te_fp8=True
```
# Jenkins CI
To run Jenkins, a NeMo User with write access must comment `jenkins` on the PR.
# Before your PR is "Ready for review"
**Pre checks**:
- [x ] Make sure you read and followed [Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md)
- [ ] Did you write any new necessary tests?
- [ ] Did you add or update any necessary documentation?
- [ ] Does the PR affect components that are optional to install? (Ex: Numba, Pynini, Apex etc)
- [ ] Reviewer: Does the PR have correct import guards for all optional libraries?
**PR Type**:
- [x ] New Feature
- [ ] Bugfix
- [ ] Documentation
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](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md) contains specific people who can review PRs to various areas.
# Additional Information
* Related to # (issue)
| {
"login": "Victor49152",
"id": 111467530,
"node_id": "U_kgDOBqTcCg",
"avatar_url": "https://avatars.githubusercontent.com/u/111467530?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Victor49152",
"html_url": "https://github.com/Victor49152",
"followers_url": "https://api.github.com/users/Victor49152/followers",
"following_url": "https://api.github.com/users/Victor49152/following{/other_user}",
"gists_url": "https://api.github.com/users/Victor49152/gists{/gist_id}",
"starred_url": "https://api.github.com/users/Victor49152/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Victor49152/subscriptions",
"organizations_url": "https://api.github.com/users/Victor49152/orgs",
"repos_url": "https://api.github.com/users/Victor49152/repos",
"events_url": "https://api.github.com/users/Victor49152/events{/privacy}",
"received_events_url": "https://api.github.com/users/Victor49152/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/8387/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/8387/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/8386 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/8386/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/8386/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/8386/events | https://github.com/NVIDIA/NeMo/issues/8386 | 2,127,318,969 | I_kwDOC_bI7s5-zE-5 | 8,386 | The learning process is interrupted for no apparent reason | {
"login": "Project-fil",
"id": 82889232,
"node_id": "MDQ6VXNlcjgyODg5MjMy",
"avatar_url": "https://avatars.githubusercontent.com/u/82889232?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Project-fil",
"html_url": "https://github.com/Project-fil",
"followers_url": "https://api.github.com/users/Project-fil/followers",
"following_url": "https://api.github.com/users/Project-fil/following{/other_user}",
"gists_url": "https://api.github.com/users/Project-fil/gists{/gist_id}",
"starred_url": "https://api.github.com/users/Project-fil/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Project-fil/subscriptions",
"organizations_url": "https://api.github.com/users/Project-fil/orgs",
"repos_url": "https://api.github.com/users/Project-fil/repos",
"events_url": "https://api.github.com/users/Project-fil/events{/privacy}",
"received_events_url": "https://api.github.com/users/Project-fil/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"id": 1485815557,
"node_id": "MDU6TGFiZWwxNDg1ODE1NTU3",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": "Something isn't working"
},
{
"id": 4585431311,
"node_id": "LA_kwDOC_bI7s8AAAABEVAhDw",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/stale",
"name": "stale",
"color": "ededed",
"default": false,
"description": null
}
] | closed | false | null | [] | null | [
"The training script seems to be correct. We don't do any network op during validation, but maybe if you're using wandb somehow that crashed and caused a disconnect ?",
"I didn't install and use wandb.",
"> The training script seems to be correct. We don't do any network op during validation, but maybe if you're using wandb somehow that crashed and caused a disconnect ?\r\n\r\nCould this be an incompatibility of the NVIDIA H100 card with CUDA 11.8 version?\r\nDo you have any other guesses please?",
"This issue is stale because it has been open for 30 days with no activity. Remove stale label or comment or this will be closed in 7 days.",
"This issue was closed because it has been inactive for 7 days since being marked as stale."
] | 2024-02-09T15:02:55 | 2024-03-24T01:45:26 | 2024-03-24T01:45:25 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | **Describe the bug**
I start training with a ready ckpt 'QuartzNet15x5_ru--val_wer=0.3912-epoch=116.ckpt'
I start the training with the command 'nohup python command file_name.py > info_about_train.txt 2>&1 &'
After some time (from 1 to 10 epochs), the training is simply interrupted, regardless of the stage (train or validation).
In 4 cases, the following error was recorded in the info_about_train.txt file:
`RuntimeError: DataLoader worker (pid some_pid) is killed by signal: Segmentation fault.`
In 5 cases, was for no stated reason:
`^MEpoch 5: 7%|β | 13081/175623 [57:20<11:52:33, 3.80it/s, v_num=4]`
`^MEpoch 6: 70%|βββββββ | 122281/175623 [9:05:50<3:58:`
`^MEpoch 9: 65%|βββββββ | 114210/175623 [9:13:05<4:57:24, 3.44it/s, v_num=10]`
In 2 cases:
`^MValidation DataLoader 0: 54%|ββββββ | 46838/86866 [2:45:06<2:21:06, 4.73it/s]^[[A^@^@^@^@^@^@^@^@^@^@`
`^MValidation DataLoader 0: 7%|β | 6260/86866 [07:05<1:31:23, 14.70it/s]^[[A^@^@^@^@^@^@^@^@^@^@^@`
In 1 cases:
`ConnectionResetError: [Errno 104] Connection reset by peer.`
**Please tell me what it could be?**
**Environment**
- Ubuntu: 20.04.6 LTS
- Conda: 23.3.1
- PyTorch: 2.1.2
- Python: 3.11
- NeMo: 1.21.0
GPU:

Training start code: https://github.com/Project-fil/YamlForNeMo/blob/main/resume_from_ckpt.py | {
"login": "github-actions[bot]",
"id": 41898282,
"node_id": "MDM6Qm90NDE4OTgyODI=",
"avatar_url": "https://avatars.githubusercontent.com/in/15368?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/github-actions%5Bbot%5D",
"html_url": "https://github.com/apps/github-actions",
"followers_url": "https://api.github.com/users/github-actions%5Bbot%5D/followers",
"following_url": "https://api.github.com/users/github-actions%5Bbot%5D/following{/other_user}",
"gists_url": "https://api.github.com/users/github-actions%5Bbot%5D/gists{/gist_id}",
"starred_url": "https://api.github.com/users/github-actions%5Bbot%5D/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/github-actions%5Bbot%5D/subscriptions",
"organizations_url": "https://api.github.com/users/github-actions%5Bbot%5D/orgs",
"repos_url": "https://api.github.com/users/github-actions%5Bbot%5D/repos",
"events_url": "https://api.github.com/users/github-actions%5Bbot%5D/events{/privacy}",
"received_events_url": "https://api.github.com/users/github-actions%5Bbot%5D/received_events",
"type": "Bot",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/8386/reactions",
"total_count": 2,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 2
} | https://api.github.com/repos/NVIDIA/NeMo/issues/8386/timeline | null | not_planned | false |
Subsets and Splits
No saved queries yet
Save your SQL queries to embed, download, and access them later. Queries will appear here once saved.