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/4362 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/4362/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/4362/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/4362/events | https://github.com/NVIDIA/NeMo/issues/4362 | 1,269,288,311 | I_kwDOC_bI7s5Lp813 | 4,362 | wav2vec ASR | {
"login": "demsarjure",
"id": 35776954,
"node_id": "MDQ6VXNlcjM1Nzc2OTU0",
"avatar_url": "https://avatars.githubusercontent.com/u/35776954?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/demsarjure",
"html_url": "https://github.com/demsarjure",
"followers_url": "https://api.github.com/users/demsarjure/followers",
"following_url": "https://api.github.com/users/demsarjure/following{/other_user}",
"gists_url": "https://api.github.com/users/demsarjure/gists{/gist_id}",
"starred_url": "https://api.github.com/users/demsarjure/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/demsarjure/subscriptions",
"organizations_url": "https://api.github.com/users/demsarjure/orgs",
"repos_url": "https://api.github.com/users/demsarjure/repos",
"events_url": "https://api.github.com/users/demsarjure/events{/privacy}",
"received_events_url": "https://api.github.com/users/demsarjure/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": "sam1373",
"id": 24465107,
"node_id": "MDQ6VXNlcjI0NDY1MTA3",
"avatar_url": "https://avatars.githubusercontent.com/u/24465107?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sam1373",
"html_url": "https://github.com/sam1373",
"followers_url": "https://api.github.com/users/sam1373/followers",
"following_url": "https://api.github.com/users/sam1373/following{/other_user}",
"gists_url": "https://api.github.com/users/sam1373/gists{/gist_id}",
"starred_url": "https://api.github.com/users/sam1373/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/sam1373/subscriptions",
"organizations_url": "https://api.github.com/users/sam1373/orgs",
"repos_url": "https://api.github.com/users/sam1373/repos",
"events_url": "https://api.github.com/users/sam1373/events{/privacy}",
"received_events_url": "https://api.github.com/users/sam1373/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"login": "sam1373",
"id": 24465107,
"node_id": "MDQ6VXNlcjI0NDY1MTA3",
"avatar_url": "https://avatars.githubusercontent.com/u/24465107?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sam1373",
"html_url": "https://github.com/sam1373",
"followers_url": "https://api.github.com/users/sam1373/followers",
"following_url": "https://api.github.com/users/sam1373/following{/other_user}",
"gists_url": "https://api.github.com/users/sam1373/gists{/gist_id}",
"starred_url": "https://api.github.com/users/sam1373/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/sam1373/subscriptions",
"organizations_url": "https://api.github.com/users/sam1373/orgs",
"repos_url": "https://api.github.com/users/sam1373/repos",
"events_url": "https://api.github.com/users/sam1373/events{/privacy}",
"received_events_url": "https://api.github.com/users/sam1373/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
}
] | null | null | 2022-06-13T11:19:17 | 2022-06-16T18:25:14 | 2022-06-16T18:25:04 | CONTRIBUTOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | **Describe the bug**
I have been trying to get wav2vec ASR training up and running. I am mainly trying to use the model defined in
```
examples/asr/experimental/wav2vec/configs/wav2vecCTC.yaml
```
I also tried to get a model with wav2vec_pretrain.yaml running, but I get the same error as outlined below.
The call I use is:
```
python /workspace/nemo/examples/asr/asr_ctc/speech_to_text_ctc.py \
--config-path=/workspace/nemo/examples/asr/experimental/wav2vec/configs \
--config-name=wav2vecCTC \
exp_manager.name=wav2vec \
+exp_manager.exp_dir=/experiments \
+exp_manager.version=20220613-1105 \
exp_manager.resume_if_exists=true \
exp_manager.resume_ignore_no_checkpoint=true \
+exp_manager.checkpoint_callback_params.save_best_model=true \
model.train_ds.manifest_filepath=/data/train.nemo \
model.train_ds.batch_size=16 \
model.train_ds.max_duration=17 \
+model.train_ds.min_duration=1 \
model.validation_ds.manifest_filepath=/data/validation.nemo \
model.validation_ds.batch_size=16 \
model.test_ds.manifest_filepath=/data/test_old.nemo \
model.test_ds.batch_size=16 \
model.tokenizer.dir=/data/out/tokenizer_spe_bpe_v128 \
model.tokenizer.type=bpe
```
The error is get is:
```
KeyValidationError('ListConfig indices must be integers or slices, not str\n full_key: [0][emb_dim]\n object_type=list')
```
It seems like something is wrong with `emd_dim`. I leave this at its default in the `embedding_dim` parameter in the YAML file. Even if I set this explicitly I get the same error. Attached is also the full output of the call: [output_20220613-1105.txt](https://github.com/NVIDIA/NeMo/files/8890509/output_20220613-1105.txt).
Another minor thing I also noticed is that the command call crashes even earlier if I do not provide a test set. Based on the YAML file test set should not be mandatory as it is set to null and not ??.
I am aware that this is an experimental functionality, so any help will be greatly appreciated.
**Steps/Code to reproduce bug**
Full command call can be found in the previous section.
**Expected behavior**
I expect the wav2vec model to start the training process.
**Environment overview (please complete the following information)**
I am using the official NVIDIA pytorch 22.01 container, the used NeMo version is the current version of the master branch.
**Environment details**
I am using the official NVIDIA pytorch 22.01 container, the used NeMo version is the current version of the master branch.
**Additional context**
Will provided any additional info if required.
| {
"login": "demsarjure",
"id": 35776954,
"node_id": "MDQ6VXNlcjM1Nzc2OTU0",
"avatar_url": "https://avatars.githubusercontent.com/u/35776954?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/demsarjure",
"html_url": "https://github.com/demsarjure",
"followers_url": "https://api.github.com/users/demsarjure/followers",
"following_url": "https://api.github.com/users/demsarjure/following{/other_user}",
"gists_url": "https://api.github.com/users/demsarjure/gists{/gist_id}",
"starred_url": "https://api.github.com/users/demsarjure/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/demsarjure/subscriptions",
"organizations_url": "https://api.github.com/users/demsarjure/orgs",
"repos_url": "https://api.github.com/users/demsarjure/repos",
"events_url": "https://api.github.com/users/demsarjure/events{/privacy}",
"received_events_url": "https://api.github.com/users/demsarjure/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/4362/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/4362/timeline | null | completed | false |
https://api.github.com/repos/NVIDIA/NeMo/issues/4361 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/4361/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/4361/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/4361/events | https://github.com/NVIDIA/NeMo/issues/4361 | 1,268,918,034 | I_kwDOC_bI7s5LoicS | 4,361 | ITN doesn't work for a specific expression about time like 'ten to eleven' | {
"login": "sinpy1117",
"id": 63581014,
"node_id": "MDQ6VXNlcjYzNTgxMDE0",
"avatar_url": "https://avatars.githubusercontent.com/u/63581014?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sinpy1117",
"html_url": "https://github.com/sinpy1117",
"followers_url": "https://api.github.com/users/sinpy1117/followers",
"following_url": "https://api.github.com/users/sinpy1117/following{/other_user}",
"gists_url": "https://api.github.com/users/sinpy1117/gists{/gist_id}",
"starred_url": "https://api.github.com/users/sinpy1117/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/sinpy1117/subscriptions",
"organizations_url": "https://api.github.com/users/sinpy1117/orgs",
"repos_url": "https://api.github.com/users/sinpy1117/repos",
"events_url": "https://api.github.com/users/sinpy1117/events{/privacy}",
"received_events_url": "https://api.github.com/users/sinpy1117/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"id": 1719393562,
"node_id": "MDU6TGFiZWwxNzE5MzkzNTYy",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/feature",
"name": "feature",
"color": "68F3F0",
"default": false,
"description": "request/PR for a new feature"
},
{
"id": 4910680898,
"node_id": "LA_kwDOC_bI7s8AAAABJLMLQg",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/TN/ITN",
"name": "TN/ITN",
"color": "0052cc",
"default": false,
"description": ""
}
] | closed | false | {
"login": "yzhang123",
"id": 4204271,
"node_id": "MDQ6VXNlcjQyMDQyNzE=",
"avatar_url": "https://avatars.githubusercontent.com/u/4204271?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yzhang123",
"html_url": "https://github.com/yzhang123",
"followers_url": "https://api.github.com/users/yzhang123/followers",
"following_url": "https://api.github.com/users/yzhang123/following{/other_user}",
"gists_url": "https://api.github.com/users/yzhang123/gists{/gist_id}",
"starred_url": "https://api.github.com/users/yzhang123/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/yzhang123/subscriptions",
"organizations_url": "https://api.github.com/users/yzhang123/orgs",
"repos_url": "https://api.github.com/users/yzhang123/repos",
"events_url": "https://api.github.com/users/yzhang123/events{/privacy}",
"received_events_url": "https://api.github.com/users/yzhang123/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"login": "yzhang123",
"id": 4204271,
"node_id": "MDQ6VXNlcjQyMDQyNzE=",
"avatar_url": "https://avatars.githubusercontent.com/u/4204271?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yzhang123",
"html_url": "https://github.com/yzhang123",
"followers_url": "https://api.github.com/users/yzhang123/followers",
"following_url": "https://api.github.com/users/yzhang123/following{/other_user}",
"gists_url": "https://api.github.com/users/yzhang123/gists{/gist_id}",
"starred_url": "https://api.github.com/users/yzhang123/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/yzhang123/subscriptions",
"organizations_url": "https://api.github.com/users/yzhang123/orgs",
"repos_url": "https://api.github.com/users/yzhang123/repos",
"events_url": "https://api.github.com/users/yzhang123/events{/privacy}",
"received_events_url": "https://api.github.com/users/yzhang123/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 | null | 2022-06-13T05:18:33 | 2022-12-19T21:47:02 | 2022-06-14T06:08:03 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | **Is your feature request related to a problem? Please describe.**
I am trying to convert normalized asr model outputs into written form using _**inverse_normalizer.inverse_normalize**_.
Whereas some intractable problems arose when dealing a specific expression about time like **"* to *"**.
When I convert this verbal form **"ten to eleven"**.
The ouput is **"ten to eleven"** which is inconsistent with the expected output **"10:50"**.
If there is a sentence containing such expression about time, it will cause a more erroneous result.
For example:
The ITN output of **"set an alarm at ten to eleven pm"** is **''set an alarm at ten to 11:00 p.m."**
This is a general problem in my dataset.
I'd like to know how to solve this problem.
Should I add some specific custom rules?
Thanks a lot for any answer!
**Environment overview**
- Environment location: Docker
- Method of NeMo install: from source
| {
"login": "ekmb",
"id": 10428420,
"node_id": "MDQ6VXNlcjEwNDI4NDIw",
"avatar_url": "https://avatars.githubusercontent.com/u/10428420?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ekmb",
"html_url": "https://github.com/ekmb",
"followers_url": "https://api.github.com/users/ekmb/followers",
"following_url": "https://api.github.com/users/ekmb/following{/other_user}",
"gists_url": "https://api.github.com/users/ekmb/gists{/gist_id}",
"starred_url": "https://api.github.com/users/ekmb/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ekmb/subscriptions",
"organizations_url": "https://api.github.com/users/ekmb/orgs",
"repos_url": "https://api.github.com/users/ekmb/repos",
"events_url": "https://api.github.com/users/ekmb/events{/privacy}",
"received_events_url": "https://api.github.com/users/ekmb/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/4361/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/4361/timeline | null | completed | false |
https://api.github.com/repos/NVIDIA/NeMo/issues/4360 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/4360/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/4360/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/4360/events | https://github.com/NVIDIA/NeMo/issues/4360 | 1,268,686,160 | I_kwDOC_bI7s5Lnp1Q | 4,360 | Question about a feature | {
"login": "dillfrescott",
"id": 56714680,
"node_id": "MDQ6VXNlcjU2NzE0Njgw",
"avatar_url": "https://avatars.githubusercontent.com/u/56714680?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dillfrescott",
"html_url": "https://github.com/dillfrescott",
"followers_url": "https://api.github.com/users/dillfrescott/followers",
"following_url": "https://api.github.com/users/dillfrescott/following{/other_user}",
"gists_url": "https://api.github.com/users/dillfrescott/gists{/gist_id}",
"starred_url": "https://api.github.com/users/dillfrescott/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/dillfrescott/subscriptions",
"organizations_url": "https://api.github.com/users/dillfrescott/orgs",
"repos_url": "https://api.github.com/users/dillfrescott/repos",
"events_url": "https://api.github.com/users/dillfrescott/events{/privacy}",
"received_events_url": "https://api.github.com/users/dillfrescott/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"id": 1719393562,
"node_id": "MDU6TGFiZWwxNzE5MzkzNTYy",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/feature",
"name": "feature",
"color": "68F3F0",
"default": false,
"description": "request/PR for a new feature"
}
] | closed | false | {
"login": "redoctopus",
"id": 4268876,
"node_id": "MDQ6VXNlcjQyNjg4NzY=",
"avatar_url": "https://avatars.githubusercontent.com/u/4268876?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/redoctopus",
"html_url": "https://github.com/redoctopus",
"followers_url": "https://api.github.com/users/redoctopus/followers",
"following_url": "https://api.github.com/users/redoctopus/following{/other_user}",
"gists_url": "https://api.github.com/users/redoctopus/gists{/gist_id}",
"starred_url": "https://api.github.com/users/redoctopus/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/redoctopus/subscriptions",
"organizations_url": "https://api.github.com/users/redoctopus/orgs",
"repos_url": "https://api.github.com/users/redoctopus/repos",
"events_url": "https://api.github.com/users/redoctopus/events{/privacy}",
"received_events_url": "https://api.github.com/users/redoctopus/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"login": "redoctopus",
"id": 4268876,
"node_id": "MDQ6VXNlcjQyNjg4NzY=",
"avatar_url": "https://avatars.githubusercontent.com/u/4268876?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/redoctopus",
"html_url": "https://github.com/redoctopus",
"followers_url": "https://api.github.com/users/redoctopus/followers",
"following_url": "https://api.github.com/users/redoctopus/following{/other_user}",
"gists_url": "https://api.github.com/users/redoctopus/gists{/gist_id}",
"starred_url": "https://api.github.com/users/redoctopus/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/redoctopus/subscriptions",
"organizations_url": "https://api.github.com/users/redoctopus/orgs",
"repos_url": "https://api.github.com/users/redoctopus/repos",
"events_url": "https://api.github.com/users/redoctopus/events{/privacy}",
"received_events_url": "https://api.github.com/users/redoctopus/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
}
] | null | null | 2022-06-12T20:00:20 | 2022-06-21T18:36:16 | 2022-06-21T18:36:16 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | Hello! Sorry if this isn't a good place for this question, But can I perform a voice swap using NeMo? Instead of text to speech, it would mimic a reference speaker... | {
"login": "redoctopus",
"id": 4268876,
"node_id": "MDQ6VXNlcjQyNjg4NzY=",
"avatar_url": "https://avatars.githubusercontent.com/u/4268876?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/redoctopus",
"html_url": "https://github.com/redoctopus",
"followers_url": "https://api.github.com/users/redoctopus/followers",
"following_url": "https://api.github.com/users/redoctopus/following{/other_user}",
"gists_url": "https://api.github.com/users/redoctopus/gists{/gist_id}",
"starred_url": "https://api.github.com/users/redoctopus/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/redoctopus/subscriptions",
"organizations_url": "https://api.github.com/users/redoctopus/orgs",
"repos_url": "https://api.github.com/users/redoctopus/repos",
"events_url": "https://api.github.com/users/redoctopus/events{/privacy}",
"received_events_url": "https://api.github.com/users/redoctopus/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/4360/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/4360/timeline | null | completed | false |
https://api.github.com/repos/NVIDIA/NeMo/issues/4359 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/4359/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/4359/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/4359/events | https://github.com/NVIDIA/NeMo/issues/4359 | 1,268,396,029 | I_kwDOC_bI7s5Lmi_9 | 4,359 | Restore from W&B artifact | {
"login": "piraka9011",
"id": 16828657,
"node_id": "MDQ6VXNlcjE2ODI4NjU3",
"avatar_url": "https://avatars.githubusercontent.com/u/16828657?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/piraka9011",
"html_url": "https://github.com/piraka9011",
"followers_url": "https://api.github.com/users/piraka9011/followers",
"following_url": "https://api.github.com/users/piraka9011/following{/other_user}",
"gists_url": "https://api.github.com/users/piraka9011/gists{/gist_id}",
"starred_url": "https://api.github.com/users/piraka9011/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/piraka9011/subscriptions",
"organizations_url": "https://api.github.com/users/piraka9011/orgs",
"repos_url": "https://api.github.com/users/piraka9011/repos",
"events_url": "https://api.github.com/users/piraka9011/events{/privacy}",
"received_events_url": "https://api.github.com/users/piraka9011/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"id": 1719393562,
"node_id": "MDU6TGFiZWwxNzE5MzkzNTYy",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/feature",
"name": "feature",
"color": "68F3F0",
"default": false,
"description": "request/PR for a new feature"
}
] | 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 | null | 2022-06-11T23:35:27 | 2022-06-12T18:03:24 | 2022-06-12T18:03:24 | CONTRIBUTOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | **Is your feature request related to a problem? Please describe.**
I was wondering if it's possible to add first class support for W&B artifacts to the `modelPT.restore_from()` method?
Currently, I run something like the following if I want to download a NeMo model saved on W&B:
```py
from urllib.parse import urlparse
model_path = "wandb://{TEAM}/{PROJECT}/{MODEL_NAME}:{LABEL}"
url_path = urlparse(model_path)
if url_path.scheme == "wandb":
artifact_name = f"{url_path.netloc}{url_path.path}"
model_path = download_model_from_wandb(artifact_name, "EncDecCTCModel")
```
and `download_model_from_wandb` would look something like
```py
from pathlib import Path
import wandb
from nemo.utils import logging, model_utils
ARTIFACT_DIR = "/tmp"
def download_model_from_wandb(artifact_name: str, model_class: str) -> Path:
api = wandb.Api()
artifact = api.artifact(artifact_name)
model_name = artifact.name.split(":")[0] # Remove the tag/label
model_name = Path(model_name).stem
root = ARTIFACT_DIR / model_name
nemo_path = root / f"{model_name}.nemo"
artifact.download(root=root)
return nemo_path
```
Maybe we could use some logic similar to the above with `restore_from()` to load the downloaded model?
**Describe the solution you'd like**
I would think that this could live in the [`restore_from()`](https://github.com/NVIDIA/NeMo/blob/main/nemo/core/classes/modelPT.py#L258) method itself, but it seems there's a new [`SaveRestoreConnector`](https://github.com/NVIDIA/NeMo/blob/main/nemo/core/connectors/save_restore_connector.py) so not sure if it's more logical to put something like this there.
**Additional context**
Can open a PR for this if it is welcome. | {
"login": "piraka9011",
"id": 16828657,
"node_id": "MDQ6VXNlcjE2ODI4NjU3",
"avatar_url": "https://avatars.githubusercontent.com/u/16828657?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/piraka9011",
"html_url": "https://github.com/piraka9011",
"followers_url": "https://api.github.com/users/piraka9011/followers",
"following_url": "https://api.github.com/users/piraka9011/following{/other_user}",
"gists_url": "https://api.github.com/users/piraka9011/gists{/gist_id}",
"starred_url": "https://api.github.com/users/piraka9011/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/piraka9011/subscriptions",
"organizations_url": "https://api.github.com/users/piraka9011/orgs",
"repos_url": "https://api.github.com/users/piraka9011/repos",
"events_url": "https://api.github.com/users/piraka9011/events{/privacy}",
"received_events_url": "https://api.github.com/users/piraka9011/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/4359/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/4359/timeline | null | completed | false |
https://api.github.com/repos/NVIDIA/NeMo/issues/4358 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/4358/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/4358/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/4358/events | https://github.com/NVIDIA/NeMo/issues/4358 | 1,266,533,659 | I_kwDOC_bI7s5LfcUb | 4,358 | Tarred datasets for ASR results in ultra-slow training | {
"login": "riqiang-dp",
"id": 58701255,
"node_id": "MDQ6VXNlcjU4NzAxMjU1",
"avatar_url": "https://avatars.githubusercontent.com/u/58701255?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/riqiang-dp",
"html_url": "https://github.com/riqiang-dp",
"followers_url": "https://api.github.com/users/riqiang-dp/followers",
"following_url": "https://api.github.com/users/riqiang-dp/following{/other_user}",
"gists_url": "https://api.github.com/users/riqiang-dp/gists{/gist_id}",
"starred_url": "https://api.github.com/users/riqiang-dp/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/riqiang-dp/subscriptions",
"organizations_url": "https://api.github.com/users/riqiang-dp/orgs",
"repos_url": "https://api.github.com/users/riqiang-dp/repos",
"events_url": "https://api.github.com/users/riqiang-dp/events{/privacy}",
"received_events_url": "https://api.github.com/users/riqiang-dp/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | null | 2022-06-09T18:58:35 | 2022-06-09T19:04:20 | 2022-06-09T19:04:20 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | ### Discussed in https://github.com/NVIDIA/NeMo/discussions/4217
**Original post:**
<div type='discussions-op-text'>
<sup>Originally posted by **riqiang-dp** May 20, 2022</sup>
I'm trying to train ASR models on a pretty unbalanced data set (lengthwise, a lot short utterances but also long utterances (up to 1 min)). I have been able to train with smaller batch size and also with some pre-segmentation to shorten the max duration. I'm now just trying bucketing, but it seems like it only works with tarred data sets.
After tarring the original set and using some bucketing, I'm seeing that the estimated time for one epoch goes up to ~7h instead of 2h for training with the raw form audio files. If I don't do bucketing and still use the tarred version, I get ~10h estimated time for one epoch.
I'm setting something like 4 buckets, 128 shards. Using A100 GPUs on a Google Cloud VM, using NeMo 1.7.0
I'm just wondering, are these numbers normal? If so when does it make more sense to use tarred + bucketing strategy versus just train using the wav files?
</div>
**Updated info**
The info below doesn't 100% align with the description above but the gist is the same. For example I have used just shorter audio for further testing, instead of using an unbalanced dataset. But the slow down is still happening. For something that's usually 20-30 mins / epoch with wav files, it's hours for tar files. I've tested a lot of combinations still don't know why this is happening. Everything's stored in a disk attached to the GCP VM. Please see details below. Otherwise, I did notice in the logs that the train_step_timing looks normal (apart from some very high spikes) but when I observe the progress bar it seems to pause every `batch_size` steps.
Below are the stats of the tarred dataset and the training steps/speed
> bucket 1 with min_duration=2.5 and max_duration=6.875
> 172416 files
> bucket 2 with min_duration=6.875 and max_duration=11.25
> 107136 files
> bucket 3 with min_duration=11.25 and max_duration=15.625
> 105600 files
> bucket 4 with min_duration=15.625 and max_duration=20.00001
> 136192 files
> total: 521344
>
> eval files: 2406
> eval batch size: 8 (these are long form audio)
>
> num gpus: 8 (for all the cases)
> batch size: 1
> bucketing batch size: 30
> bucketing strategy: synced_randomized
> step per epoch (bucketing): 8966
> training time per epoch: 1h15m
>
> batch size: 30
> step per epoch (non bucketing): 17417
> training time per epoch: 1h45m
However, if I just train the original wav data set (same eval set)
> total files: 521543
> train batch size: 30
> step per epoch: 2212
> training time per epoch: 20m
code to create the tarred / bucketed dataset
```
python <scripts path>/convert_to_tarred_audio_dataset.py \
--manifest_path=data/train.json \
--target_dir=data/train \
--num_shards=128 \
--max_duration=20 \
--min_duration=2.5 \
--shuffle \
--shuffle_seed=1 \
--sort_in_shards \
--workers=32 \
--buckets_num=4
```
Extra args to make my normal training script work with tarred dataset
```
model.train_ds.manifest_filepath=[[data/train/bucket1/tarred_audio_manifest.json],[data/train/bucket2/tarred_audio_manifest.json],[data/train/bucket3/tarred_audio_manifest.json],[data/train/bucket4/tarred_audio_manifest.json]] \
+model.train_ds.tarred_audio_filepaths=[[data/train/bucket1/audio__OP_0..127_CL_.tar],[data/train/bucket2/audio__OP_0..127_CL_.tar],[data/train/bucket3/audio__OP_0..127_CL_.tar],[data/train/bucket4/audio__OP_0..127_CL_.tar]] \
+model.train_ds.bucketing_strategy=synced_randomized \
+model.train_ds.bucketing_batch_size=30 \
model.train_ds.batch_size=1 \
+model.train_ds.tarred_shard_strategy="scatter" \
model.train_ds.shuffle_n=2048 \
model.train_ds.is_tarred=True \
model.train_ds.max_duration=20 \
model.train_ds.min_duration=2.5 \
model.train_ds.num_workers=32 \
model.train_ds.pin_memory=True \
```
Environment: Using 8 A100 GPUs on a single Google Cloud VM, using NeMo 1.7.0
I have also tried setting num_workers to 8 as you guys suggested, doesn't seem to affect the speed much. | {
"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/4358/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/4358/timeline | null | completed | false |
https://api.github.com/repos/NVIDIA/NeMo/issues/4357 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/4357/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/4357/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/4357/events | https://github.com/NVIDIA/NeMo/pull/4357 | 1,266,525,449 | PR_kwDOC_bI7s45aa-e | 4,357 | Make position embedding expansion specific to a batch to avoid checkpoint size mismatches | {
"login": "MaximumEntropy",
"id": 9114321,
"node_id": "MDQ6VXNlcjkxMTQzMjE=",
"avatar_url": "https://avatars.githubusercontent.com/u/9114321?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/MaximumEntropy",
"html_url": "https://github.com/MaximumEntropy",
"followers_url": "https://api.github.com/users/MaximumEntropy/followers",
"following_url": "https://api.github.com/users/MaximumEntropy/following{/other_user}",
"gists_url": "https://api.github.com/users/MaximumEntropy/gists{/gist_id}",
"starred_url": "https://api.github.com/users/MaximumEntropy/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/MaximumEntropy/subscriptions",
"organizations_url": "https://api.github.com/users/MaximumEntropy/orgs",
"repos_url": "https://api.github.com/users/MaximumEntropy/repos",
"events_url": "https://api.github.com/users/MaximumEntropy/events{/privacy}",
"received_events_url": "https://api.github.com/users/MaximumEntropy/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | null | 2022-06-09T18:49:00 | 2022-06-14T21:17:36 | 2022-06-14T21:17:33 | CONTRIBUTOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/4357",
"html_url": "https://github.com/NVIDIA/NeMo/pull/4357",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/4357.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/4357.patch",
"merged_at": "2022-06-14T21:17:33"
} | Signed-off-by: MaximumEntropy <[email protected]>
# What does this PR do ?
1. Makes position embedding expansion specific to a batch to avoid checkpoint size mismatches.
2. Logs a warning when position embeddings are being expanded.
**Collection**: NLP
# Changelog
See "What does PR do" above.
# Usage
N/A
# 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": "MaximumEntropy",
"id": 9114321,
"node_id": "MDQ6VXNlcjkxMTQzMjE=",
"avatar_url": "https://avatars.githubusercontent.com/u/9114321?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/MaximumEntropy",
"html_url": "https://github.com/MaximumEntropy",
"followers_url": "https://api.github.com/users/MaximumEntropy/followers",
"following_url": "https://api.github.com/users/MaximumEntropy/following{/other_user}",
"gists_url": "https://api.github.com/users/MaximumEntropy/gists{/gist_id}",
"starred_url": "https://api.github.com/users/MaximumEntropy/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/MaximumEntropy/subscriptions",
"organizations_url": "https://api.github.com/users/MaximumEntropy/orgs",
"repos_url": "https://api.github.com/users/MaximumEntropy/repos",
"events_url": "https://api.github.com/users/MaximumEntropy/events{/privacy}",
"received_events_url": "https://api.github.com/users/MaximumEntropy/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/4357/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/4357/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/4356 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/4356/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/4356/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/4356/events | https://github.com/NVIDIA/NeMo/pull/4356 | 1,266,452,131 | PR_kwDOC_bI7s45aLIP | 4,356 | Raise error if trainer object is None for MegatronBaseModel | {
"login": "MaximumEntropy",
"id": 9114321,
"node_id": "MDQ6VXNlcjkxMTQzMjE=",
"avatar_url": "https://avatars.githubusercontent.com/u/9114321?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/MaximumEntropy",
"html_url": "https://github.com/MaximumEntropy",
"followers_url": "https://api.github.com/users/MaximumEntropy/followers",
"following_url": "https://api.github.com/users/MaximumEntropy/following{/other_user}",
"gists_url": "https://api.github.com/users/MaximumEntropy/gists{/gist_id}",
"starred_url": "https://api.github.com/users/MaximumEntropy/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/MaximumEntropy/subscriptions",
"organizations_url": "https://api.github.com/users/MaximumEntropy/orgs",
"repos_url": "https://api.github.com/users/MaximumEntropy/repos",
"events_url": "https://api.github.com/users/MaximumEntropy/events{/privacy}",
"received_events_url": "https://api.github.com/users/MaximumEntropy/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | null | 2022-06-09T17:35:06 | 2022-06-13T22:12:40 | 2022-06-13T22:12:37 | CONTRIBUTOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/4356",
"html_url": "https://github.com/NVIDIA/NeMo/pull/4356",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/4356.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/4356.patch",
"merged_at": "2022-06-13T22:12:37"
} | Signed-off-by: MaximumEntropy <[email protected]>
# What does this PR do ?
Raises an error if a trainer is not passed to `MegatronBaseModel`
**Collection**: NLP
# Changelog
- Raises an error if a trainer is not passed to `MegatronBaseModel`.
# Usage
N/A
# 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": "MaximumEntropy",
"id": 9114321,
"node_id": "MDQ6VXNlcjkxMTQzMjE=",
"avatar_url": "https://avatars.githubusercontent.com/u/9114321?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/MaximumEntropy",
"html_url": "https://github.com/MaximumEntropy",
"followers_url": "https://api.github.com/users/MaximumEntropy/followers",
"following_url": "https://api.github.com/users/MaximumEntropy/following{/other_user}",
"gists_url": "https://api.github.com/users/MaximumEntropy/gists{/gist_id}",
"starred_url": "https://api.github.com/users/MaximumEntropy/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/MaximumEntropy/subscriptions",
"organizations_url": "https://api.github.com/users/MaximumEntropy/orgs",
"repos_url": "https://api.github.com/users/MaximumEntropy/repos",
"events_url": "https://api.github.com/users/MaximumEntropy/events{/privacy}",
"received_events_url": "https://api.github.com/users/MaximumEntropy/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/4356/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/4356/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/4355 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/4355/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/4355/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/4355/events | https://github.com/NVIDIA/NeMo/pull/4355 | 1,265,631,595 | PR_kwDOC_bI7s45Xah0 | 4,355 | Fix electronic bug, new time ITN rule | {
"login": "ekmb",
"id": 10428420,
"node_id": "MDQ6VXNlcjEwNDI4NDIw",
"avatar_url": "https://avatars.githubusercontent.com/u/10428420?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ekmb",
"html_url": "https://github.com/ekmb",
"followers_url": "https://api.github.com/users/ekmb/followers",
"following_url": "https://api.github.com/users/ekmb/following{/other_user}",
"gists_url": "https://api.github.com/users/ekmb/gists{/gist_id}",
"starred_url": "https://api.github.com/users/ekmb/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ekmb/subscriptions",
"organizations_url": "https://api.github.com/users/ekmb/orgs",
"repos_url": "https://api.github.com/users/ekmb/repos",
"events_url": "https://api.github.com/users/ekmb/events{/privacy}",
"received_events_url": "https://api.github.com/users/ekmb/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | null | 2022-06-09T05:58:03 | 2022-06-15T17:20:23 | 2022-06-15T17:20:20 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/4355",
"html_url": "https://github.com/NVIDIA/NeMo/pull/4355",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/4355.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/4355.patch",
"merged_at": "2022-06-15T17:20:20"
} | Signed-off-by: ekmb <[email protected]>
# 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
```
# 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": "ekmb",
"id": 10428420,
"node_id": "MDQ6VXNlcjEwNDI4NDIw",
"avatar_url": "https://avatars.githubusercontent.com/u/10428420?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ekmb",
"html_url": "https://github.com/ekmb",
"followers_url": "https://api.github.com/users/ekmb/followers",
"following_url": "https://api.github.com/users/ekmb/following{/other_user}",
"gists_url": "https://api.github.com/users/ekmb/gists{/gist_id}",
"starred_url": "https://api.github.com/users/ekmb/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ekmb/subscriptions",
"organizations_url": "https://api.github.com/users/ekmb/orgs",
"repos_url": "https://api.github.com/users/ekmb/repos",
"events_url": "https://api.github.com/users/ekmb/events{/privacy}",
"received_events_url": "https://api.github.com/users/ekmb/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/4355/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/4355/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/4354 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/4354/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/4354/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/4354/events | https://github.com/NVIDIA/NeMo/pull/4354 | 1,265,617,689 | PR_kwDOC_bI7s45XXrt | 4,354 | Auto-switch the input dimensions in the conformer encoder adapter to correct value | {
"login": "shan18",
"id": 12576178,
"node_id": "MDQ6VXNlcjEyNTc2MTc4",
"avatar_url": "https://avatars.githubusercontent.com/u/12576178?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/shan18",
"html_url": "https://github.com/shan18",
"followers_url": "https://api.github.com/users/shan18/followers",
"following_url": "https://api.github.com/users/shan18/following{/other_user}",
"gists_url": "https://api.github.com/users/shan18/gists{/gist_id}",
"starred_url": "https://api.github.com/users/shan18/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/shan18/subscriptions",
"organizations_url": "https://api.github.com/users/shan18/orgs",
"repos_url": "https://api.github.com/users/shan18/repos",
"events_url": "https://api.github.com/users/shan18/events{/privacy}",
"received_events_url": "https://api.github.com/users/shan18/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | null | 2022-06-09T05:36:02 | 2022-06-09T05:48:31 | 2022-06-09T05:48:31 | MEMBER | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/4354",
"html_url": "https://github.com/NVIDIA/NeMo/pull/4354",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/4354.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/4354.patch",
"merged_at": "2022-06-09T05:48:31"
} | Signed-off-by: Shantanu Acharya <[email protected]>
# What does this PR do ?
Fixed the issue where the auto-switching functionality of the `ConformerEncoderAdapter` input feature dimension was missing.
**Collection**: ASR
# Changelog
File changed: `nemo/collections/asr/modules/conformer_encoder.py`
Function added: `_update_adapter_cfg_input_dim`
Updates the `in_features` value in the adapter config with the correct value i.e. `self.d_model`
Function modified: `add_adapter`
Calls the `self._update_adapter_cfg_input_dim` function to update the adapter input feature dimensions.
# 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 NeMo ASR.
| {
"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/4354/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/4354/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/4353 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/4353/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/4353/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/4353/events | https://github.com/NVIDIA/NeMo/issues/4353 | 1,265,281,418 | I_kwDOC_bI7s5LaqmK | 4,353 | Text Normalization Corrupted Output | {
"login": "ghost",
"id": 10137,
"node_id": "MDQ6VXNlcjEwMTM3",
"avatar_url": "https://avatars.githubusercontent.com/u/10137?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ghost",
"html_url": "https://github.com/ghost",
"followers_url": "https://api.github.com/users/ghost/followers",
"following_url": "https://api.github.com/users/ghost/following{/other_user}",
"gists_url": "https://api.github.com/users/ghost/gists{/gist_id}",
"starred_url": "https://api.github.com/users/ghost/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ghost/subscriptions",
"organizations_url": "https://api.github.com/users/ghost/orgs",
"repos_url": "https://api.github.com/users/ghost/repos",
"events_url": "https://api.github.com/users/ghost/events{/privacy}",
"received_events_url": "https://api.github.com/users/ghost/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": "ekmb",
"id": 10428420,
"node_id": "MDQ6VXNlcjEwNDI4NDIw",
"avatar_url": "https://avatars.githubusercontent.com/u/10428420?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ekmb",
"html_url": "https://github.com/ekmb",
"followers_url": "https://api.github.com/users/ekmb/followers",
"following_url": "https://api.github.com/users/ekmb/following{/other_user}",
"gists_url": "https://api.github.com/users/ekmb/gists{/gist_id}",
"starred_url": "https://api.github.com/users/ekmb/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ekmb/subscriptions",
"organizations_url": "https://api.github.com/users/ekmb/orgs",
"repos_url": "https://api.github.com/users/ekmb/repos",
"events_url": "https://api.github.com/users/ekmb/events{/privacy}",
"received_events_url": "https://api.github.com/users/ekmb/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"login": "ekmb",
"id": 10428420,
"node_id": "MDQ6VXNlcjEwNDI4NDIw",
"avatar_url": "https://avatars.githubusercontent.com/u/10428420?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ekmb",
"html_url": "https://github.com/ekmb",
"followers_url": "https://api.github.com/users/ekmb/followers",
"following_url": "https://api.github.com/users/ekmb/following{/other_user}",
"gists_url": "https://api.github.com/users/ekmb/gists{/gist_id}",
"starred_url": "https://api.github.com/users/ekmb/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ekmb/subscriptions",
"organizations_url": "https://api.github.com/users/ekmb/orgs",
"repos_url": "https://api.github.com/users/ekmb/repos",
"events_url": "https://api.github.com/users/ekmb/events{/privacy}",
"received_events_url": "https://api.github.com/users/ekmb/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
}
] | null | null | 2022-06-08T20:38:15 | 2022-06-15T17:21:41 | 2022-06-15T17:20:40 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | **Describe the bug**
Tags are propagated to the output text during normalization.
**Steps/Code to reproduce bug**
```python
from nemo_text_processing.text_normalization import normalize
tn = normalize.Normalizer("lower_cased")
text = "google.com is related to apple.com"
print(tn.normalize(example))
"""
google dot com " right brace right brace TOKENS left brace NAME: "IS" right brace TOKENS left brace NAME: "RELATED" right brace TOKENS left brace NAME: "TO" right brace TOKENS left brace ELECTRONIC left brace DOMAIN: "APPLE dot COM
"""
example = "google.com is related to com.apple"
print(tn.normalize(example))
"""
google dot com is related to com.apple
"""
```
**Expected behavior**
The first example should return `google dot com is related to apple dot com`, the second one is ok as I believe one would need to add rules to handle such a "strange" case.
**Environment overview (please complete the following information)**
- Environment location: [Bare-metal, Docker, Cloud(specify cloud provider - AWS, Azure, GCP, Collab)]
- Method of NeMo install: `git clone https://github.com/NVIDIA/NeMo`
- 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
- PyTorch version: 1.12.0
- Python version: 3.8.12
**Additional context**
Add any other context about the problem here.
Example: GPU model
| {
"login": "ekmb",
"id": 10428420,
"node_id": "MDQ6VXNlcjEwNDI4NDIw",
"avatar_url": "https://avatars.githubusercontent.com/u/10428420?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ekmb",
"html_url": "https://github.com/ekmb",
"followers_url": "https://api.github.com/users/ekmb/followers",
"following_url": "https://api.github.com/users/ekmb/following{/other_user}",
"gists_url": "https://api.github.com/users/ekmb/gists{/gist_id}",
"starred_url": "https://api.github.com/users/ekmb/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ekmb/subscriptions",
"organizations_url": "https://api.github.com/users/ekmb/orgs",
"repos_url": "https://api.github.com/users/ekmb/repos",
"events_url": "https://api.github.com/users/ekmb/events{/privacy}",
"received_events_url": "https://api.github.com/users/ekmb/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/4353/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/4353/timeline | null | completed | false |
https://api.github.com/repos/NVIDIA/NeMo/issues/4352 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/4352/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/4352/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/4352/events | https://github.com/NVIDIA/NeMo/pull/4352 | 1,264,834,538 | PR_kwDOC_bI7s45UwSh | 4,352 | [Fix] ASR RNNT Tutorial | {
"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
} | [] | closed | false | null | [] | null | null | 2022-06-08T14:19:58 | 2022-06-08T19:12:37 | 2022-06-08T19:12:37 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/4352",
"html_url": "https://github.com/NVIDIA/NeMo/pull/4352",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/4352.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/4352.patch",
"merged_at": "2022-06-08T19:12:37"
} | Signed-off-by: stevehuang52 <[email protected]>
This PR fixes the RNNT tutorial by updating the manifest processing code and contextnet config path. | {
"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/4352/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/4352/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/4351 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/4351/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/4351/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/4351/events | https://github.com/NVIDIA/NeMo/issues/4351 | 1,264,426,071 | I_kwDOC_bI7s5LXZxX | 4,351 | How to interpret the training result: high Loss, low WER? | {
"login": "psydok",
"id": 47638600,
"node_id": "MDQ6VXNlcjQ3NjM4NjAw",
"avatar_url": "https://avatars.githubusercontent.com/u/47638600?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/psydok",
"html_url": "https://github.com/psydok",
"followers_url": "https://api.github.com/users/psydok/followers",
"following_url": "https://api.github.com/users/psydok/following{/other_user}",
"gists_url": "https://api.github.com/users/psydok/gists{/gist_id}",
"starred_url": "https://api.github.com/users/psydok/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/psydok/subscriptions",
"organizations_url": "https://api.github.com/users/psydok/orgs",
"repos_url": "https://api.github.com/users/psydok/repos",
"events_url": "https://api.github.com/users/psydok/events{/privacy}",
"received_events_url": "https://api.github.com/users/psydok/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | true | null | [] | null | null | 2022-06-08T09:02:24 | 2022-06-22T16:38:16 | 2022-06-22T16:38:16 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | I am training a conformer-ctc model using the encoder weights of a pre-trained English conformer-ctc model.
For the test, I trained on a validation sample of GOLOS dataset and on my own data. By the time 14 hours. For validation, I used our other data and a test GOLOS dataset.
At first, the loss and ver on the train dataset and on the validation one converged.
After a 100k step, the loss began to diverge, and the ver slowly but continued to converge.
Could you help me understand what this means?
After all, if the predictions began to differ, then the words should be predicted incorrectly and WER should increase in this case...
*Train*


*Val*


`config.yaml` for Conformer-ctc:
```bash
name: "Conformer-CTC-Char"
model:
sample_rate: 8000
# timesteps: 128
labels: &labels [ " ", "а", "б", "в", "г", "д", "е", "ж", "з", "и", "й", "к", "л", "м", "н", "о", "п",
"р", "с", "т", "у", "ф", "х", "ц", "ч", "ш", "щ", "ъ", "ы", "ь", "э", "ю", "я" ]
log_prediction: true # enables logging sample predictions in the output during training
ctc_reduction: 'mean_batch'
skip_nan_grad: false
train_ds:
manifest_filepath: "../data/processed/manifests/etalon_golos_train.json"
labels: ${model.labels}
sample_rate: ${model.sample_rate}
batch_size: &batch_size 4
shuffle: true
num_workers: 8
pin_memory: true
trim_silence: false # true
max_duration: 55
min_duration: 0.1
# tarred datasets
is_tarred: false
tarred_audio_filepaths: null
shuffle_n: 2048
# bucketing params
bucketing_strategy: "synced_randomized"
bucketing_batch_size: null
# augmentor:
# # shift:
# # prob: 1.0
# # min_shift_ms: -5.0
# # max_shift_ms: 5.0
# white_noise:
# prob: 0.5
# min_level: -90
# max_level: -46
# speed:
# prob: 0.5
# sr: ${model.sample_rate}
# resample_type: 'kaiser_fast'
# min_speed_rate: 0.95
# max_speed_rate: 1.05
validation_ds:
manifest_filepath: "../data/processed/manifests/etalon_val.json"
labels: ${model.labels}
sample_rate: ${model.sample_rate}
batch_size: *batch_size
shuffle: false
num_workers: 8
pin_memory: true
test_ds:
manifest_filepath: "../data/processed/manifests/test.json"
labels: ${model.labels}
sample_rate: ${model.sample_rate}
batch_size: *batch_size
shuffle: false
num_workers: 8
pin_memory: true
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
spec_augment:
_target_: nemo.collections.asr.modules.SpectrogramAugmentation
# freq_masks: 2 # set to zero to disable it
# # you may use lower time_masks for smaller models to have a faster convergence
# time_masks: 10 # set to zero to disable it
# freq_width: 27
# time_width: 0.05
freq_masks: 2
time_masks: 2
freq_width: 15
time_width: 25
rect_masks: 5
rect_time: 25
rect_freq: 15
# crop_or_pad_augment:
# _target_: nemo.collections.asr.modules.CropOrPadSpectrogramAugmentation
# audio_length: ${model.timesteps}
encoder:
_target_: nemo.collections.asr.modules.ConformerEncoder
feat_in: ${model.preprocessor.features}
feat_out: -1 # you may set it if you need different output size other than the default d_model
n_layers: 16
d_model: 176
# Sub-sampling params
subsampling: striding # vggnet or striding, vggnet may give better results but needs more memory
subsampling_factor: 4 # must be power of 2
subsampling_conv_channels: 176 # set to -1 to make it equal to the d_model
# Feed forward module's params
ff_expansion_factor: 4
# Multi-headed Attention Module's params
self_attention_model: rel_pos # rel_pos or abs_pos
n_heads: 4 # may need to be lower for smaller d_models
# [left, right] specifies the number of steps to be seen from left and right of each step in self-attention
att_context_size: [-1, -1] # -1 means unlimited context
xscaling: true # scales up the input embeddings by sqrt(d_model)
untie_biases: true # unties the biases of the TransformerXL layers
pos_emb_max_len: 5000
# Convolution module's params
conv_kernel_size: 31
conv_norm_type: 'batch_norm' # batch_norm or layer_norm
### regularization
dropout: 0.1 # The dropout used in most of the Conformer Modules
dropout_emb: 0.0 # The dropout used for embeddings
dropout_att: 0.1 # The dropout for multi-headed attention modules
decoder:
_target_: nemo.collections.asr.modules.ConvASRDecoder
feat_in: null
num_classes: 33
vocabulary: ${model.labels}
optim:
name: adamw
lr: 2.0
# optimizer arguments
betas: [0.9, 0.98]
# less necessity for weight_decay as we already have large augmentations with SpecAug
# you may need weight_decay for large models, stable AMP training, small datasets, or when lower augmentations are used
# weight decay of 0.0 with lr of 2.0 also works fine
weight_decay: 1e-3
# scheduler setup NoamAnnealing
sched:
name: NoamAnnealing
d_model: ${model.encoder.d_model}
# scheduler config override
warmup_steps: 10000
warmup_ratio: null
min_lr: 1e-6
trainer:
devices: -1 # number of GPUs, -1 would use all available GPUs
num_nodes: 1
max_epochs: 200
max_steps: null # computed at runtime if not set
val_check_interval: 1.0 # Set to 0.25 to check 4 times per epoch, or an int for number of iterations
accelerator: auto
strategy: dp
accumulate_grad_batches: 1
gradient_clip_val: 0.0
precision: 32 # Should be set to 16 for O1 and O2 to enable the AMP.
log_every_n_steps: 100 # Interval of logging.
progress_bar_refresh_rate: 10
resume_from_checkpoint: null # The path to a checkpoint file to continue the training, restores the whole state including the epoch, step, LR schedulers, apex, etc.
num_sanity_val_steps: 0 # number of steps to perform validation steps for sanity check the validation process before starting the training, setting to 0 disables it
check_val_every_n_epoch: 1 # number of evaluations on validation every n epochs
sync_batchnorm: true
enable_checkpointing: True # Provided by exp_manager
# logger: false # Provided by exp_manager
benchmark: false # needs to be false for models with variable-length speech input as it slows down training
exp_manager:
exp_dir: null
name: ${name}
create_tensorboard_logger: true
create_checkpoint_callback: true
checkpoint_callback_params:
# in case of multiple validation sets, first one is used
monitor: "val_wer"
mode: "min"
save_top_k: 1
always_save_nemo: True # saves the checkpoints as nemo files instead of PTL checkpoints
resume_if_exists: false
resume_ignore_no_checkpoint: false
```
Thanks a lot for any answer!
| null | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/4351/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/4351/timeline | null | completed | false |
https://api.github.com/repos/NVIDIA/NeMo/issues/4350 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/4350/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/4350/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/4350/events | https://github.com/NVIDIA/NeMo/pull/4350 | 1,264,006,135 | PR_kwDOC_bI7s45SANY | 4,350 | Fix the post LN bug | {
"login": "yidong72",
"id": 43824965,
"node_id": "MDQ6VXNlcjQzODI0OTY1",
"avatar_url": "https://avatars.githubusercontent.com/u/43824965?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yidong72",
"html_url": "https://github.com/yidong72",
"followers_url": "https://api.github.com/users/yidong72/followers",
"following_url": "https://api.github.com/users/yidong72/following{/other_user}",
"gists_url": "https://api.github.com/users/yidong72/gists{/gist_id}",
"starred_url": "https://api.github.com/users/yidong72/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/yidong72/subscriptions",
"organizations_url": "https://api.github.com/users/yidong72/orgs",
"repos_url": "https://api.github.com/users/yidong72/repos",
"events_url": "https://api.github.com/users/yidong72/events{/privacy}",
"received_events_url": "https://api.github.com/users/yidong72/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | null | 2022-06-07T23:52:48 | 2022-06-08T20:22:24 | 2022-06-08T20:22:21 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/4350",
"html_url": "https://github.com/NVIDIA/NeMo/pull/4350",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/4350.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/4350.patch",
"merged_at": "2022-06-08T20:22:21"
} | Fix a bug about how to do post-ln in the transformer layer.

| {
"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/4350/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/4350/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/4349 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/4349/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/4349/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/4349/events | https://github.com/NVIDIA/NeMo/pull/4349 | 1,263,921,253 | PR_kwDOC_bI7s45Rt-C | 4,349 | fix wrong requirement | {
"login": "yzhang123",
"id": 4204271,
"node_id": "MDQ6VXNlcjQyMDQyNzE=",
"avatar_url": "https://avatars.githubusercontent.com/u/4204271?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yzhang123",
"html_url": "https://github.com/yzhang123",
"followers_url": "https://api.github.com/users/yzhang123/followers",
"following_url": "https://api.github.com/users/yzhang123/following{/other_user}",
"gists_url": "https://api.github.com/users/yzhang123/gists{/gist_id}",
"starred_url": "https://api.github.com/users/yzhang123/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/yzhang123/subscriptions",
"organizations_url": "https://api.github.com/users/yzhang123/orgs",
"repos_url": "https://api.github.com/users/yzhang123/repos",
"events_url": "https://api.github.com/users/yzhang123/events{/privacy}",
"received_events_url": "https://api.github.com/users/yzhang123/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | null | 2022-06-07T21:54:03 | 2022-06-08T02:51:47 | 2022-06-08T02:51:43 | CONTRIBUTOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/4349",
"html_url": "https://github.com/NVIDIA/NeMo/pull/4349",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/4349.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/4349.patch",
"merged_at": "2022-06-08T02:51:43"
} | Signed-off-by: Yang Zhang <[email protected]>
sacremoses is used and imported in [common/tokenizers](https://github.com/NVIDIA/NeMo/blob/main/nemo/collections/common/tokenizers/moses_tokenizers.py#L17)
so need to go into common requirements | {
"login": "yzhang123",
"id": 4204271,
"node_id": "MDQ6VXNlcjQyMDQyNzE=",
"avatar_url": "https://avatars.githubusercontent.com/u/4204271?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yzhang123",
"html_url": "https://github.com/yzhang123",
"followers_url": "https://api.github.com/users/yzhang123/followers",
"following_url": "https://api.github.com/users/yzhang123/following{/other_user}",
"gists_url": "https://api.github.com/users/yzhang123/gists{/gist_id}",
"starred_url": "https://api.github.com/users/yzhang123/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/yzhang123/subscriptions",
"organizations_url": "https://api.github.com/users/yzhang123/orgs",
"repos_url": "https://api.github.com/users/yzhang123/repos",
"events_url": "https://api.github.com/users/yzhang123/events{/privacy}",
"received_events_url": "https://api.github.com/users/yzhang123/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/4349/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/4349/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/4348 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/4348/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/4348/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/4348/events | https://github.com/NVIDIA/NeMo/pull/4348 | 1,263,819,775 | PR_kwDOC_bI7s45RXgn | 4,348 | [Fix] Hanging for Fully Randomized Bucketing | {
"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
} | [] | closed | 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
} | [
{
"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 | null | 2022-06-07T20:18:59 | 2022-06-09T00:25:18 | 2022-06-09T00:25:18 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/4348",
"html_url": "https://github.com/NVIDIA/NeMo/pull/4348",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/4348.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/4348.patch",
"merged_at": "2022-06-09T00:25:18"
} | Signed-off-by: stevehuang52 <[email protected]>
# What does this PR do ?
This PR fixes the problem of the program hanging during training with fully randomized bucketing.
# Why hanging?
When training RNNT models with fully randomized bucketing, and enabling fused batch, the program will hang when calculating training WER: [https://github.com/NVIDIA/NeMo/blob/main/nemo/collections/asr/modules/rnnt.py#L931](https://github.com/NVIDIA/NeMo/blob/main/nemo/collections/asr/modules/rnnt.py#L931)
The bug happens when the GPU with largest batch size is still calculating the forward fused-batch while the other GPUs with smaller batch are already finished:
[https://github.com/NVIDIA/NeMo/blob/main/nemo/collections/asr/modules/rnnt.py#L853-L933](https://github.com/NVIDIA/NeMo/blob/main/nemo/collections/asr/modules/rnnt.py#L853-L933)
This is due to the fact that, when `compute()` is called, PTL will perform synchronization across all devices, which eventually calls `distributed.barrier()`:
[https://github.com/PyTorchLightning/metrics/blob/master/torchmetrics/metric.py#L113](https://github.com/PyTorchLightning/metrics/blob/master/torchmetrics/metric.py#L113), [https://github.com/PyTorchLightning/metrics/blob/master/torchmetrics/metric.py#L485-L513](https://github.com/PyTorchLightning/metrics/blob/master/torchmetrics/metric.py#L485-L513), [https://github.com/PyTorchLightning/metrics/blob/master/torchmetrics/utilities/distributed.py#L122
](https://github.com/PyTorchLightning/metrics/blob/master/torchmetrics/utilities/distributed.py#L122
)
In fully randomized bucketing, different GPUs tend to have different batch sizes, and when some GPUs have finished their batch earlier than others, the unfinished ones will keep hanging at `distributed.barrier()` to wait for the synchronization that will never happen.
# How we fix it?
The simple fix is to move the `compute()` function call outside of the loop of sub-batches. Note that, theoretically this modification have the same output as the original one, and here's the logic.
Suppose that the there are 3 GPUs and each has 2 sub-batches, where the score produced by each GPU is fixed as its rank:
| | GPU 1 | GPU 2 | GPU 3 |
|-------------|--------|--------|---------|
|sub-batch 1| 1 | 2 | 3 |
|sub-batch 2| 1 | 2 | 3 |
In the original code, where `compute()` is called inside the for loop of sub-batches, it's actually syncing across all GPUs in each step, then aggregate across all sub-batches. In other words, it first perform all_reduce() to sync each column for each row, then sum over the rows:
| | GPU 1 | GPU 2 | GPU 3 |
|-------------|--------|--------|---------|
|sub-batch 1| 1 | 2 | 3 |
Call `compute()` on each GPU and all_reduce ↓
| | GPU 1 | GPU 2 | GPU 3 |
|-------------|--------|--------|---------|
|sub-batch 1| 6 | 6 | 6 |
Run sub-batch 2 ↓
| | GPU 1 | GPU 2 | GPU 3 |
|-------------|--------|--------|---------|
|sub-batch 1| 6 | 6 | 6 |
|sub-batch 2| 1 | 2 | 3 |
Call `compute()` on each GPU and all_reduce ↓
| | GPU 1 | GPU 2 | GPU 3 |
|-------------|--------|--------|---------|
|sub-batch 1| 6 | 6 | 6 |
|sub-batch 2| 6 | 6 | 6 |
Sum for each GPU ↓
| | GPU 1 | GPU 2 | GPU 3 |
|-------------|--------|--------|---------|
|batch total | 12 | 12 | 12 |
On the other hand, this PR first aggregate the scores per GPU, then sync across all GPUs after the for loop of sub-batches. In other words, we sum the rows for each column, and then perform all_reduce to sync across all rows:
| | GPU 1 | GPU 2 | GPU 3 |
|-------------|--------|--------|---------|
|sub-batch 1| 1 | 2 | 3 |
update on each GPU ↓
| | GPU 1 | GPU 2 | GPU 3 |
|-------------|--------|--------|---------|
|batch total| 1 | 2 | 3 |
run sub-batch 2 ↓
| | GPU 1 | GPU 2 | GPU 3 |
|-------------|--------|--------|---------|
|sub-batch 1| 1 | 2 | 3 |
|sub-batch 2| 1 | 2 | 3 |
update on each GPU ↓
| | GPU 1 | GPU 2 | GPU 3 |
|-------------|--------|--------|---------|
batch total | 2 | 4 | 6 |
Call `compute()` and and all_reduce ↓
| | GPU 1 | GPU 2 | GPU 3 |
|-------------|--------|--------|---------|
|batch total | 12 | 12 | 12 |
We can see that, two approaches actually have the same results, and it doesn't matter whether we perform the synchronization in or after the for loop of sub-batches. By moving `compute()` outside the for loop, we can guarantee that there is no hanging even when GPUs have different batch sizes.
| {
"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/4348/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/4348/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/4347 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/4347/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/4347/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/4347/events | https://github.com/NVIDIA/NeMo/pull/4347 | 1,263,806,735 | PR_kwDOC_bI7s45RUoS | 4,347 | Speedup the speech commands dataset processing script | {
"login": "shan18",
"id": 12576178,
"node_id": "MDQ6VXNlcjEyNTc2MTc4",
"avatar_url": "https://avatars.githubusercontent.com/u/12576178?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/shan18",
"html_url": "https://github.com/shan18",
"followers_url": "https://api.github.com/users/shan18/followers",
"following_url": "https://api.github.com/users/shan18/following{/other_user}",
"gists_url": "https://api.github.com/users/shan18/gists{/gist_id}",
"starred_url": "https://api.github.com/users/shan18/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/shan18/subscriptions",
"organizations_url": "https://api.github.com/users/shan18/orgs",
"repos_url": "https://api.github.com/users/shan18/repos",
"events_url": "https://api.github.com/users/shan18/events{/privacy}",
"received_events_url": "https://api.github.com/users/shan18/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | null | 2022-06-07T20:07:11 | 2022-06-08T01:58:19 | 2022-06-08T01:58:19 | MEMBER | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/4347",
"html_url": "https://github.com/NVIDIA/NeMo/pull/4347",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/4347.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/4347.patch",
"merged_at": "2022-06-08T01:58:19"
} | Signed-off-by: Shantanu Acharya <[email protected]>
# What does this PR do ?
Improves the speed of the google speech commands dataset processing script by adding multiprocessing support.
**Collection**: dataset processing scripts
# Changelog
File changed: `scripts/dataset_processing/process_speech_commands_data.py`
Functions added:
- `__construct_filepaths`: Refactored the filepath construction of the audio samples into a separate function
- `__construct_silence_set`: Used for multiprocessing - Constructs the silence set
- `__rebalance_files`: Used for multiprocessing - rebalances the number of files in each class
- `__prepare_metadata`: Used for multiprocessing - create the manifest entry for a particular audio file
Functions modified: `__process_data`
- Accepts a new argument `num_processes` which determines the number of processes to use for multiprocessing
- Refactored the filepath construction, silence set construction, rebalancing and metadata construction logic to separate functions as described above
For writing the silence files, changed `librosa.output` to `soundfile.write` since in newer versions of librosa, the output module has been removed.
# Usage
```python
python process_speech_commands_data.py \
--data_root=<absolute path to where the data should be stored> \
--data_version=<either 1 or 2, indicating version of the dataset> \
--class_split=<either "all" or "sub", indicates whether all 30/35 classes should be used, or the 10+2 split should be used> \
--num_processes=<number of processes to use for data preprocessing> \
--rebalance \
--log
```
# 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
## Who can review?
Anyone in the NeMo.
| {
"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/4347/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/4347/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/4346 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/4346/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/4346/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/4346/events | https://github.com/NVIDIA/NeMo/pull/4346 | 1,263,796,178 | PR_kwDOC_bI7s45RSWk | 4,346 | Create create_diarization_dataset_librispeech.py | {
"login": "chooper1",
"id": 54963573,
"node_id": "MDQ6VXNlcjU0OTYzNTcz",
"avatar_url": "https://avatars.githubusercontent.com/u/54963573?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/chooper1",
"html_url": "https://github.com/chooper1",
"followers_url": "https://api.github.com/users/chooper1/followers",
"following_url": "https://api.github.com/users/chooper1/following{/other_user}",
"gists_url": "https://api.github.com/users/chooper1/gists{/gist_id}",
"starred_url": "https://api.github.com/users/chooper1/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/chooper1/subscriptions",
"organizations_url": "https://api.github.com/users/chooper1/orgs",
"repos_url": "https://api.github.com/users/chooper1/repos",
"events_url": "https://api.github.com/users/chooper1/events{/privacy}",
"received_events_url": "https://api.github.com/users/chooper1/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | null | 2022-06-07T19:56:38 | 2022-06-07T20:07:33 | 2022-06-07T19:56:54 | CONTRIBUTOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/4346",
"html_url": "https://github.com/NVIDIA/NeMo/pull/4346",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/4346.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/4346.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
```
# 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": "chooper1",
"id": 54963573,
"node_id": "MDQ6VXNlcjU0OTYzNTcz",
"avatar_url": "https://avatars.githubusercontent.com/u/54963573?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/chooper1",
"html_url": "https://github.com/chooper1",
"followers_url": "https://api.github.com/users/chooper1/followers",
"following_url": "https://api.github.com/users/chooper1/following{/other_user}",
"gists_url": "https://api.github.com/users/chooper1/gists{/gist_id}",
"starred_url": "https://api.github.com/users/chooper1/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/chooper1/subscriptions",
"organizations_url": "https://api.github.com/users/chooper1/orgs",
"repos_url": "https://api.github.com/users/chooper1/repos",
"events_url": "https://api.github.com/users/chooper1/events{/privacy}",
"received_events_url": "https://api.github.com/users/chooper1/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/4346/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/4346/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/4345 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/4345/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/4345/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/4345/events | https://github.com/NVIDIA/NeMo/issues/4345 | 1,263,083,616 | I_kwDOC_bI7s5LSSBg | 4,345 | Which version of nemo to install in order to reduce dependencies? | {
"login": "dunky11",
"id": 35628149,
"node_id": "MDQ6VXNlcjM1NjI4MTQ5",
"avatar_url": "https://avatars.githubusercontent.com/u/35628149?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dunky11",
"html_url": "https://github.com/dunky11",
"followers_url": "https://api.github.com/users/dunky11/followers",
"following_url": "https://api.github.com/users/dunky11/following{/other_user}",
"gists_url": "https://api.github.com/users/dunky11/gists{/gist_id}",
"starred_url": "https://api.github.com/users/dunky11/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/dunky11/subscriptions",
"organizations_url": "https://api.github.com/users/dunky11/orgs",
"repos_url": "https://api.github.com/users/dunky11/repos",
"events_url": "https://api.github.com/users/dunky11/events{/privacy}",
"received_events_url": "https://api.github.com/users/dunky11/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | {
"login": "yzhang123",
"id": 4204271,
"node_id": "MDQ6VXNlcjQyMDQyNzE=",
"avatar_url": "https://avatars.githubusercontent.com/u/4204271?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yzhang123",
"html_url": "https://github.com/yzhang123",
"followers_url": "https://api.github.com/users/yzhang123/followers",
"following_url": "https://api.github.com/users/yzhang123/following{/other_user}",
"gists_url": "https://api.github.com/users/yzhang123/gists{/gist_id}",
"starred_url": "https://api.github.com/users/yzhang123/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/yzhang123/subscriptions",
"organizations_url": "https://api.github.com/users/yzhang123/orgs",
"repos_url": "https://api.github.com/users/yzhang123/repos",
"events_url": "https://api.github.com/users/yzhang123/events{/privacy}",
"received_events_url": "https://api.github.com/users/yzhang123/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"login": "yzhang123",
"id": 4204271,
"node_id": "MDQ6VXNlcjQyMDQyNzE=",
"avatar_url": "https://avatars.githubusercontent.com/u/4204271?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yzhang123",
"html_url": "https://github.com/yzhang123",
"followers_url": "https://api.github.com/users/yzhang123/followers",
"following_url": "https://api.github.com/users/yzhang123/following{/other_user}",
"gists_url": "https://api.github.com/users/yzhang123/gists{/gist_id}",
"starred_url": "https://api.github.com/users/yzhang123/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/yzhang123/subscriptions",
"organizations_url": "https://api.github.com/users/yzhang123/orgs",
"repos_url": "https://api.github.com/users/yzhang123/repos",
"events_url": "https://api.github.com/users/yzhang123/events{/privacy}",
"received_events_url": "https://api.github.com/users/yzhang123/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
}
] | null | null | 2022-06-07T10:36:01 | 2022-06-08T16:07:14 | 2022-06-08T16:07:13 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | I'm currently using nemo only for text normalization - I only import nemo_text_processing.text_normalization.normalize.Normalizer.
I install nemo toolkit using nemo-toolkit[all]==1.8.2. Is there any way to reduce the number of dependencies, for example by not installing [all]? I haven't found anything in the docs.
Thanks for any help in advance.
| {
"login": "dunky11",
"id": 35628149,
"node_id": "MDQ6VXNlcjM1NjI4MTQ5",
"avatar_url": "https://avatars.githubusercontent.com/u/35628149?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dunky11",
"html_url": "https://github.com/dunky11",
"followers_url": "https://api.github.com/users/dunky11/followers",
"following_url": "https://api.github.com/users/dunky11/following{/other_user}",
"gists_url": "https://api.github.com/users/dunky11/gists{/gist_id}",
"starred_url": "https://api.github.com/users/dunky11/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/dunky11/subscriptions",
"organizations_url": "https://api.github.com/users/dunky11/orgs",
"repos_url": "https://api.github.com/users/dunky11/repos",
"events_url": "https://api.github.com/users/dunky11/events{/privacy}",
"received_events_url": "https://api.github.com/users/dunky11/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/4345/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/4345/timeline | null | completed | false |
https://api.github.com/repos/NVIDIA/NeMo/issues/4344 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/4344/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/4344/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/4344/events | https://github.com/NVIDIA/NeMo/issues/4344 | 1,263,037,850 | I_kwDOC_bI7s5LSG2a | 4,344 | training self-supervised conformer | {
"login": "alexandercesarr",
"id": 105767588,
"node_id": "U_kgDOBk3ipA",
"avatar_url": "https://avatars.githubusercontent.com/u/105767588?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/alexandercesarr",
"html_url": "https://github.com/alexandercesarr",
"followers_url": "https://api.github.com/users/alexandercesarr/followers",
"following_url": "https://api.github.com/users/alexandercesarr/following{/other_user}",
"gists_url": "https://api.github.com/users/alexandercesarr/gists{/gist_id}",
"starred_url": "https://api.github.com/users/alexandercesarr/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/alexandercesarr/subscriptions",
"organizations_url": "https://api.github.com/users/alexandercesarr/orgs",
"repos_url": "https://api.github.com/users/alexandercesarr/repos",
"events_url": "https://api.github.com/users/alexandercesarr/events{/privacy}",
"received_events_url": "https://api.github.com/users/alexandercesarr/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": "sam1373",
"id": 24465107,
"node_id": "MDQ6VXNlcjI0NDY1MTA3",
"avatar_url": "https://avatars.githubusercontent.com/u/24465107?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sam1373",
"html_url": "https://github.com/sam1373",
"followers_url": "https://api.github.com/users/sam1373/followers",
"following_url": "https://api.github.com/users/sam1373/following{/other_user}",
"gists_url": "https://api.github.com/users/sam1373/gists{/gist_id}",
"starred_url": "https://api.github.com/users/sam1373/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/sam1373/subscriptions",
"organizations_url": "https://api.github.com/users/sam1373/orgs",
"repos_url": "https://api.github.com/users/sam1373/repos",
"events_url": "https://api.github.com/users/sam1373/events{/privacy}",
"received_events_url": "https://api.github.com/users/sam1373/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"login": "sam1373",
"id": 24465107,
"node_id": "MDQ6VXNlcjI0NDY1MTA3",
"avatar_url": "https://avatars.githubusercontent.com/u/24465107?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sam1373",
"html_url": "https://github.com/sam1373",
"followers_url": "https://api.github.com/users/sam1373/followers",
"following_url": "https://api.github.com/users/sam1373/following{/other_user}",
"gists_url": "https://api.github.com/users/sam1373/gists{/gist_id}",
"starred_url": "https://api.github.com/users/sam1373/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/sam1373/subscriptions",
"organizations_url": "https://api.github.com/users/sam1373/orgs",
"repos_url": "https://api.github.com/users/sam1373/repos",
"events_url": "https://api.github.com/users/sam1373/events{/privacy}",
"received_events_url": "https://api.github.com/users/sam1373/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
}
] | null | null | 2022-06-07T09:57:38 | 2022-06-08T06:33:17 | 2022-06-08T06:33:17 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | Hi, I use `examples/asr/speech_pretraining/speech_pre_training.py` code to train a self-supervised using conformer on my custom dataset. I just changed the manifest files address in conf file. When I run the code, I encounter the below issue.
I use NeMo version 1.8.0. Also I test it on version 1.9.0 but the same problem occured.
**Environment details:**
torch 1.9.0a0+c3d40fd
pytorch-lightning 1.6.4
Python 3.8.10
NeMo 1.8.0

| {
"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/4344/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/4344/timeline | null | completed | false |
https://api.github.com/repos/NVIDIA/NeMo/issues/4343 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/4343/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/4343/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/4343/events | https://github.com/NVIDIA/NeMo/pull/4343 | 1,262,666,465 | PR_kwDOC_bI7s45Nfaw | 4,343 | Bits of RADTTS support | {
"login": "borisfom",
"id": 14189615,
"node_id": "MDQ6VXNlcjE0MTg5NjE1",
"avatar_url": "https://avatars.githubusercontent.com/u/14189615?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/borisfom",
"html_url": "https://github.com/borisfom",
"followers_url": "https://api.github.com/users/borisfom/followers",
"following_url": "https://api.github.com/users/borisfom/following{/other_user}",
"gists_url": "https://api.github.com/users/borisfom/gists{/gist_id}",
"starred_url": "https://api.github.com/users/borisfom/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/borisfom/subscriptions",
"organizations_url": "https://api.github.com/users/borisfom/orgs",
"repos_url": "https://api.github.com/users/borisfom/repos",
"events_url": "https://api.github.com/users/borisfom/events{/privacy}",
"received_events_url": "https://api.github.com/users/borisfom/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | null | 2022-06-07T03:17:36 | 2022-06-09T01:54:14 | 2022-06-09T01:54:13 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/4343",
"html_url": "https://github.com/NVIDIA/NeMo/pull/4343",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/4343.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/4343.patch",
"merged_at": "2022-06-09T01:54:13"
} | Signed-off-by: Boris Fomitchev <[email protected]>
# What does this PR do ?
Those are modifications needed to support RadTTS net - which, for now, cannot be integrated into Nemo.
Adding those support bits to Nemo will make it easier to make internal RADTTS implementation a Nemo extension, rather than a fork.
**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
```
# 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": "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/4343/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/4343/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/4342 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/4342/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/4342/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/4342/events | https://github.com/NVIDIA/NeMo/pull/4342 | 1,262,582,761 | PR_kwDOC_bI7s45NOGW | 4,342 | Add ASR CTC Decoding module | {
"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
} | [] | closed | false | null | [] | null | null | 2022-06-07T00:40:33 | 2022-06-14T17:26:30 | 2022-06-14T17:26:27 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/4342",
"html_url": "https://github.com/NVIDIA/NeMo/pull/4342",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/4342.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/4342.patch",
"merged_at": "2022-06-14T17:26:26"
} | # What does this PR do ?
Add CTC Decoding modules to any ASR CTC model, equivalent to RNNT decoding
**Collection**: [ASR]
# Changelog
- Add CTC Decoding code for all Char and Subword CTC models
- Add support for hypothesis update with logprobs, alignments, timestamps
- Compute char/subword and word boundaries from CTC models
- Prepare for high level beam search API.
- Add the change_decoding_strategy() API to CTC models
# Usage
* CTC models will now have a `model.decoding` layer
```python
asr_model = EncDecCTCModelBPE.from_pretrained("<NAME>", map_location='cpu') # type: EncDecCTCModel
asr_model.eval()
asr_model.freeze()
decoding_cfg = OmegaConf.create({})
with open_dict(decoding_cfg):
decoding_cfg.strategy = "greedy"
decoding_cfg.compute_timestamps = True
asr_model.change_decoding_strategy(decoding_cfg)
hyp = asr_model.transcribe(['<SOME AUDIO FILEPATH>'],
batch_size=1, return_hypotheses=True)
print("Evaluating -")
print()
print("Transcription: ", hyp[0].text)
print()
print("Total number of timesteps :", hyp[0].length)
print()
print("Character/Subword Time-Stamps :", hyp[0].timestep['char'])
print()
print("Word Time-Stamps :", hyp[0].timestep['word'])
print()
################
'''
Transcription: now we have some pilot things that do this at the sixty to eighty percent level but getting up to that full percentage that will be very tricky and agreeing on where these co two quantities should be put
Total number of timesteps : tensor(337, dtype=torch.int32)
Character/Subword Time-Stamps : [{'char': 'n', 'start_offset': 10, 'end_offset': 11}, {'char': 'o', 'start_offset': 11, 'end_offset': 12}, {'char': 'w', 'start_offset': 12, 'end_offset': 14}, {'char': 'we', 'start_offset': 14, 'end_offset': 16}, {'char': 'have', 'start_offset': 16, 'end_offset': 21}, {'char': 'so', 'start_offset': 21, 'end_offset': 25}, {'char': 'm', 'start_offset': 25, 'end_offset': 27}, {'char': 'e', 'start_offset': 27, 'end_offset': 28}, {'char': 'p', 'start_offset': 28, 'end_offset': 31}, {'char': 'i', 'start_offset': 31, 'end_offset': 34}, {'char': 'l', 'start_offset': 34, 'end_offset': 36}, {'char': 'o', 'start_offset': 36, 'end_offset': 38}, {'char': 't', 'start_offset': 38, 'end_offset': 40}, {'char': '', 'start_offset': 40, 'end_offset': 43}, {'char': 'th', 'start_offset': 43, 'end_offset': 44}, {'char': 'ing', 'start_offset': 44, 'end_offset': 46}, {'char': 's', 'start_offset': 46, 'end_offset': 48}, {'char': 'that', 'start_offset': 48, 'end_offset': 50}, {'char': 'do', 'start_offset': 50, 'end_offset': 54}, {'char': 'this', 'start_offset': 54, 'end_offset': 59}, {'char': 'a', 'start_offset': 59, 'end_offset': 65}, {'char': 't', 'start_offset': 65, 'end_offset': 66}, {'char': 'the', 'start_offset': 66, 'end_offset': 68}, {'char': 's', 'start_offset': 68, 'end_offset': 73}, {'char': 'i', 'start_offset': 73, 'end_offset': 74}, {'char': 'x', 'start_offset': 74, 'end_offset': 75}, {'char': 't', 'start_offset': 75, 'end_offset': 77}, {'char': 'y', 'start_offset': 77, 'end_offset': 79}, {'char': 'to', 'start_offset': 79, 'end_offset': 81}, {'char': 'e', 'start_offset': 81, 'end_offset': 85}, {'char': 'ight', 'start_offset': 85, 'end_offset': 88}, {'char': 'y', 'start_offset': 88, 'end_offset': 90}, {'char': 'p', 'start_offset': 90, 'end_offset': 93}, {'char': 'er', 'start_offset': 93, 'end_offset': 94}, {'char': 'c', 'start_offset': 94, 'end_offset': 96}, {'char': 'ent', 'start_offset': 96, 'end_offset': 98}, {'char': '', 'start_offset': 98, 'end_offset': 102}, {'char': 'le', 'start_offset': 102, 'end_offset': 103}, {'char': 've', 'start_offset': 103, 'end_offset': 105}, {'char': 'l', 'start_offset': 105, 'end_offset': 107}, {'char': 'but', 'start_offset': 107, 'end_offset': 109}, {'char': 'g', 'start_offset': 109, 'end_offset': 114}, {'char': 'e', 'start_offset': 114, 'end_offset': 115}, {'char': 't', 'start_offset': 115, 'end_offset': 116}, {'char': 't', 'start_offset': 116, 'end_offset': 119}, {'char': 'ing', 'start_offset': 119, 'end_offset': 120}, {'char': '', 'start_offset': 120, 'end_offset': 123}, {'char': 'u', 'start_offset': 123, 'end_offset': 124}, {'char': 'p', 'start_offset': 124, 'end_offset': 126}, {'char': 'to', 'start_offset': 126, 'end_offset': 132}, {'char': 'that', 'start_offset': 132, 'end_offset': 136}, {'char': 'f', 'start_offset': 136, 'end_offset': 140}, {'char': 'u', 'start_offset': 140, 'end_offset': 143}, {'char': 'll', 'start_offset': 143, 'end_offset': 145}, {'char': 'p', 'start_offset': 145, 'end_offset': 149}, {'char': 'er', 'start_offset': 149, 'end_offset': 151}, {'char': 'c', 'start_offset': 151, 'end_offset': 153}, {'char': 'ent', 'start_offset': 153, 'end_offset': 156}, {'char': 'a', 'start_offset': 156, 'end_offset': 159}, {'char': 'g', 'start_offset': 159, 'end_offset': 161}, {'char': 'e', 'start_offset': 161, 'end_offset': 163}, {'char': 'that', 'start_offset': 163, 'end_offset': 174}, {'char': 'will', 'start_offset': 174, 'end_offset': 179}, {'char': 'be', 'start_offset': 179, 'end_offset': 185}, {'char': '', 'start_offset': 185, 'end_offset': 196}, {'char': 'ver', 'start_offset': 196, 'end_offset': 198}, {'char': 'y', 'start_offset': 198, 'end_offset': 201}, {'char': 't', 'start_offset': 201, 'end_offset': 205}, {'char': 'ri', 'start_offset': 205, 'end_offset': 207}, {'char': 'ck', 'start_offset': 207, 'end_offset': 211}, {'char': 'y', 'start_offset': 211, 'end_offset': 214}, {'char': 'and', 'start_offset': 214, 'end_offset': 225}, {'char': 'a', 'start_offset': 225, 'end_offset': 242}, {'char': 'g', 'start_offset': 242, 'end_offset': 245}, {'char': 're', 'start_offset': 245, 'end_offset': 247}, {'char': 'e', 'start_offset': 247, 'end_offset': 248}, {'char': 'ing', 'start_offset': 248, 'end_offset': 250}, {'char': 'on', 'start_offset': 250, 'end_offset': 253}, {'char': 'w', 'start_offset': 253, 'end_offset': 259}, {'char': 'h', 'start_offset': 259, 'end_offset': 260}, {'char': 'e', 'start_offset': 260, 'end_offset': 261}, {'char': 're', 'start_offset': 261, 'end_offset': 263}, {'char': 'the', 'start_offset': 263, 'end_offset': 266}, {'char': 'se', 'start_offset': 266, 'end_offset': 270}, {'char': 'co', 'start_offset': 270, 'end_offset': 278}, {'char': 't', 'start_offset': 278, 'end_offset': 288}, {'char': 'w', 'start_offset': 288, 'end_offset': 289}, {'char': 'o', 'start_offset': 289, 'end_offset': 292}, {'char': '', 'start_offset': 292, 'end_offset': 301}, {'char': 'q', 'start_offset': 301, 'end_offset': 302}, {'char': 'u', 'start_offset': 302, 'end_offset': 303}, {'char': 'an', 'start_offset': 303, 'end_offset': 305}, {'char': 't', 'start_offset': 305, 'end_offset': 306}, {'char': 'it', 'start_offset': 306, 'end_offset': 308}, {'char': 'i', 'start_offset': 308, 'end_offset': 310}, {'char': 'es', 'start_offset': 310, 'end_offset': 312}, {'char': 's', 'start_offset': 312, 'end_offset': 314}, {'char': 'h', 'start_offset': 314, 'end_offset': 315}, {'char': 'o', 'start_offset': 315, 'end_offset': 316}, {'char': 'u', 'start_offset': 316, 'end_offset': 317}, {'char': 'l', 'start_offset': 317, 'end_offset': 318}, {'char': 'd', 'start_offset': 318, 'end_offset': 319}, {'char': 'be', 'start_offset': 319, 'end_offset': 321}, {'char': 'p', 'start_offset': 321, 'end_offset': 324}, {'char': 'u', 'start_offset': 324, 'end_offset': 326}, {'char': 't', 'start_offset': 326, 'end_offset': 327}]
Word Time-Stamps : [{'word': 'now', 'start_offset': 10, 'end_offset': 16}, {'word': 'we', 'start_offset': 16, 'end_offset': 21}, {'word': 'have', 'start_offset': 21, 'end_offset': 25}, {'word': 'some', 'start_offset': 28, 'end_offset': 31}, {'word': 'pilot', 'start_offset': 40, 'end_offset': 43}, {'word': 'things', 'start_offset': 48, 'end_offset': 50}, {'word': 'that', 'start_offset': 50, 'end_offset': 54}, {'word': 'do', 'start_offset': 54, 'end_offset': 59}, {'word': 'this', 'start_offset': 59, 'end_offset': 65}, {'word': 'at', 'start_offset': 66, 'end_offset': 68}, {'word': 'the', 'start_offset': 68, 'end_offset': 73}, {'word': 'sixty', 'start_offset': 79, 'end_offset': 81}, {'word': 'to', 'start_offset': 81, 'end_offset': 85}, {'word': 'eighty', 'start_offset': 90, 'end_offset': 93}, {'word': 'percent', 'start_offset': 98, 'end_offset': 102}, {'word': 'level', 'start_offset': 107, 'end_offset': 109}, {'word': 'but', 'start_offset': 109, 'end_offset': 114}, {'word': 'getting', 'start_offset': 120, 'end_offset': 123}, {'word': 'up', 'start_offset': 126, 'end_offset': 132}, {'word': 'to', 'start_offset': 132, 'end_offset': 136}, {'word': 'that', 'start_offset': 136, 'end_offset': 140}, {'word': 'full', 'start_offset': 145, 'end_offset': 149}, {'word': 'percentage', 'start_offset': 163, 'end_offset': 174}, {'word': 'that', 'start_offset': 174, 'end_offset': 179}, {'word': 'will', 'start_offset': 179, 'end_offset': 185}, {'word': 'be', 'start_offset': 185, 'end_offset': 196}, {'word': 'very', 'start_offset': 201, 'end_offset': 205}, {'word': 'tricky', 'start_offset': 214, 'end_offset': 225}, {'word': 'and', 'start_offset': 225, 'end_offset': 242}, {'word': 'agreeing', 'start_offset': 250, 'end_offset': 253}, {'word': 'on', 'start_offset': 253, 'end_offset': 259}, {'word': 'where', 'start_offset': 263, 'end_offset': 266}, {'word': 'these', 'start_offset': 270, 'end_offset': 278}, {'word': 'co', 'start_offset': 278, 'end_offset': 288}, {'word': 'two', 'start_offset': 292, 'end_offset': 301}, {'word': 'quantities', 'start_offset': 312, 'end_offset': 314}, {'word': 'should', 'start_offset': 319, 'end_offset': 321}, {'word': 'be', 'start_offset': 321, 'end_offset': 324}, {'word': 'put', 'start_offset': 321, 'end_offset': 327}]
'''
```
# 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
| {
"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/4342/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/4342/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/4341 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/4341/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/4341/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/4341/events | https://github.com/NVIDIA/NeMo/pull/4341 | 1,262,577,833 | PR_kwDOC_bI7s45NNCI | 4,341 | [TTS] enforced pin_memory = True | {
"login": "XuesongYang",
"id": 1646669,
"node_id": "MDQ6VXNlcjE2NDY2Njk=",
"avatar_url": "https://avatars.githubusercontent.com/u/1646669?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/XuesongYang",
"html_url": "https://github.com/XuesongYang",
"followers_url": "https://api.github.com/users/XuesongYang/followers",
"following_url": "https://api.github.com/users/XuesongYang/following{/other_user}",
"gists_url": "https://api.github.com/users/XuesongYang/gists{/gist_id}",
"starred_url": "https://api.github.com/users/XuesongYang/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/XuesongYang/subscriptions",
"organizations_url": "https://api.github.com/users/XuesongYang/orgs",
"repos_url": "https://api.github.com/users/XuesongYang/repos",
"events_url": "https://api.github.com/users/XuesongYang/events{/privacy}",
"received_events_url": "https://api.github.com/users/XuesongYang/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | null | 2022-06-07T00:32:21 | 2022-06-07T19:51:43 | 2022-06-07T19:51:39 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/4341",
"html_url": "https://github.com/NVIDIA/NeMo/pull/4341",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/4341.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/4341.patch",
"merged_at": "2022-06-07T19:51:39"
} | Signed-off-by: Xuesong Yang <[email protected]>
# What does this PR do ?
The default `false` will slow down the data transfer to CUDA-enabled GPUs. See reference for details,
[1] https://discuss.pytorch.org/t/when-to-set-pin-memory-to-true/19723
[2] https://developer.nvidia.com/blog/how-optimize-data-transfers-cuda-cc/
**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
# if using x.cuda(), you should call x.cuda(non_blocking=True)
```
# 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
- [ ] 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": "XuesongYang",
"id": 1646669,
"node_id": "MDQ6VXNlcjE2NDY2Njk=",
"avatar_url": "https://avatars.githubusercontent.com/u/1646669?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/XuesongYang",
"html_url": "https://github.com/XuesongYang",
"followers_url": "https://api.github.com/users/XuesongYang/followers",
"following_url": "https://api.github.com/users/XuesongYang/following{/other_user}",
"gists_url": "https://api.github.com/users/XuesongYang/gists{/gist_id}",
"starred_url": "https://api.github.com/users/XuesongYang/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/XuesongYang/subscriptions",
"organizations_url": "https://api.github.com/users/XuesongYang/orgs",
"repos_url": "https://api.github.com/users/XuesongYang/repos",
"events_url": "https://api.github.com/users/XuesongYang/events{/privacy}",
"received_events_url": "https://api.github.com/users/XuesongYang/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/4341/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/4341/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/4340 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/4340/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/4340/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/4340/events | https://github.com/NVIDIA/NeMo/pull/4340 | 1,262,377,086 | PR_kwDOC_bI7s45Mg28 | 4,340 | Don't wrap model with ddp when using O2 | {
"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 | null | 2022-06-06T20:28:30 | 2022-09-20T23:56:09 | 2022-07-26T18:03:51 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/4340",
"html_url": "https://github.com/NVIDIA/NeMo/pull/4340",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/4340.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/4340.patch",
"merged_at": null
} | # What does this PR do ?
This PR checks if the NeMo Megatron model is using the O2 recipe. If so, we will not wrap the model with DDP.
When wrapping the model with DDP, gradient buckets are created which take up GPU memory. This is not needed since the O2 recipe creates its own buckets.
This should reduce memory used by NeMo Megatron.
**Collection**: NLP
# Changelog
- Update `NLPDDPPlugin`.
# Usage
* You can potentially add a usage example below
```python
# Add a code snippet demonstrating how to use this
```
# 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**:
- [ ] 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/4340/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/4340/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/4339 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/4339/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/4339/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/4339/events | https://github.com/NVIDIA/NeMo/issues/4339 | 1,262,102,800 | I_kwDOC_bI7s5LOikQ | 4,339 | Issue with MTEncDecModel model in ONNX IOBinding | {
"login": "evros-chris",
"id": 37453466,
"node_id": "MDQ6VXNlcjM3NDUzNDY2",
"avatar_url": "https://avatars.githubusercontent.com/u/37453466?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/evros-chris",
"html_url": "https://github.com/evros-chris",
"followers_url": "https://api.github.com/users/evros-chris/followers",
"following_url": "https://api.github.com/users/evros-chris/following{/other_user}",
"gists_url": "https://api.github.com/users/evros-chris/gists{/gist_id}",
"starred_url": "https://api.github.com/users/evros-chris/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/evros-chris/subscriptions",
"organizations_url": "https://api.github.com/users/evros-chris/orgs",
"repos_url": "https://api.github.com/users/evros-chris/repos",
"events_url": "https://api.github.com/users/evros-chris/events{/privacy}",
"received_events_url": "https://api.github.com/users/evros-chris/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": "borisfom",
"id": 14189615,
"node_id": "MDQ6VXNlcjE0MTg5NjE1",
"avatar_url": "https://avatars.githubusercontent.com/u/14189615?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/borisfom",
"html_url": "https://github.com/borisfom",
"followers_url": "https://api.github.com/users/borisfom/followers",
"following_url": "https://api.github.com/users/borisfom/following{/other_user}",
"gists_url": "https://api.github.com/users/borisfom/gists{/gist_id}",
"starred_url": "https://api.github.com/users/borisfom/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/borisfom/subscriptions",
"organizations_url": "https://api.github.com/users/borisfom/orgs",
"repos_url": "https://api.github.com/users/borisfom/repos",
"events_url": "https://api.github.com/users/borisfom/events{/privacy}",
"received_events_url": "https://api.github.com/users/borisfom/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"login": "borisfom",
"id": 14189615,
"node_id": "MDQ6VXNlcjE0MTg5NjE1",
"avatar_url": "https://avatars.githubusercontent.com/u/14189615?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/borisfom",
"html_url": "https://github.com/borisfom",
"followers_url": "https://api.github.com/users/borisfom/followers",
"following_url": "https://api.github.com/users/borisfom/following{/other_user}",
"gists_url": "https://api.github.com/users/borisfom/gists{/gist_id}",
"starred_url": "https://api.github.com/users/borisfom/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/borisfom/subscriptions",
"organizations_url": "https://api.github.com/users/borisfom/orgs",
"repos_url": "https://api.github.com/users/borisfom/repos",
"events_url": "https://api.github.com/users/borisfom/events{/privacy}",
"received_events_url": "https://api.github.com/users/borisfom/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
},
{
"login": "aklife97",
"id": 16078071,
"node_id": "MDQ6VXNlcjE2MDc4MDcx",
"avatar_url": "https://avatars.githubusercontent.com/u/16078071?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/aklife97",
"html_url": "https://github.com/aklife97",
"followers_url": "https://api.github.com/users/aklife97/followers",
"following_url": "https://api.github.com/users/aklife97/following{/other_user}",
"gists_url": "https://api.github.com/users/aklife97/gists{/gist_id}",
"starred_url": "https://api.github.com/users/aklife97/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/aklife97/subscriptions",
"organizations_url": "https://api.github.com/users/aklife97/orgs",
"repos_url": "https://api.github.com/users/aklife97/repos",
"events_url": "https://api.github.com/users/aklife97/events{/privacy}",
"received_events_url": "https://api.github.com/users/aklife97/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
}
] | null | null | 2022-06-06T16:56:38 | 2023-06-20T08:29:46 | 2022-07-19T23:47:17 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | **Describe the bug**
I face the following error when exporting [MTEncDecModel](https://github.com/NVIDIA/NeMo/blob/r1.2.0/nemo/collections/nlp/models/machine_translation/mt_enc_dec_model.py) to ONNX and trying to bind inputs and outputs directly to a PyTorch tensor.
**Steps/Code to reproduce bug**
```python
import torch
import numpy as np
import onnxruntime
from nemo.collections.nlp.models import MTEncDecModel
# load the model from pretrained
model = MTEncDecModel.from_pretrained('nmt_en_de_transformer24x6')
# export all model components to onnx:
model.encoder.export('encoder.onnx')
model.decoder.export('decoder.onnx')
model.log_softmax.export('classifier.onnx')
# initialise all the onnx sessions and bindings:
encoder_session = onnxruntime.InferenceSession('encoder.onnx', providers=['CUDAExecutionProvider'])
decoder_session = onnxruntime.InferenceSession('decoder.onnx', providers=['CUDAExecutionProvider'])
classifier_session = onnxruntime.InferenceSession('classifier.onnx', providers=['CUDAExecutionProvider'])
encoder_session_binding = encoder_session.io_binding()
decoder_session_binding = decoder_session.io_binding()
classifier_session_binding = classifier_session.io_binding()
# preprocess the data using the original nemo model for simplicity:
TEXT = ['good morning', 'hello world']
src_ids, src_mask = model.prepare_inference_batch(TEXT)
# bind encoder inputs and outputs to a PyTorch tensor
src_ids_tensor, src_mask_tensor = src_ids.contiguous(), src_mask.contiguous()
encoder_session_binding.bind_input(
name='input_ids',
device_type='cuda',
device_id=0,
element_type=np.int64,
shape=tuple(src_ids_tensor.shape),
buffer_ptr=src_ids_tensor.data_ptr(),
)
encoder_session_binding.bind_input(
name='encoder_mask',
device_type='cuda',
device_id=0,
element_type=np.int64,
shape=tuple(src_mask_tensor.shape),
buffer_ptr=src_mask_tensor.data_ptr(),
)
encoder_hidden_state_shape = (src_ids.shape[0], src_ids.shape[1], 1024)
encoder_hidden_state = torch.empty(encoder_hidden_state_shape, dtype=torch.float32, device='cuda:0').contiguous()
encoder_session_binding.bind_output(
name='last_hidden_states',
device_type='cuda',
device_id=0,
element_type=np.float32,
shape=tuple(encoder_hidden_state.shape),
buffer_ptr=encoder_hidden_state.data_ptr(),
)
encoder_session.run_with_iobinding(encoder_session_binding)
# simple greedy search:
MAX_GENERATION_DELTA = 5
BOS = model.encoder_tokenizer.bos_id
EOS = model.encoder_tokenizer.eos_id
PAD = model.encoder_tokenizer.pad_id
def decode(tgt: torch.tensor, embeding: torch.tensor, src_mask: torch.tensor, decoder_hidden_state: torch.tensor) -> torch.tensor:
# bind decoder inputs and outputs to a PyTorch tensor
tgt_tensor = tgt.contiguous()
embeding_tensor = embeding.contiguous()
src_mask_tensor = src_mask.contiguous()
decoder_hidden_state_tensor = decoder_hidden_state.contiguous()
decoder_mask_tensor = (tgt != PAD).long().contiguous()
decoder_session_binding.bind_input(
name='input_ids',
device_type='cuda',
device_id=0,
element_type=np.int64,
shape=tuple(tgt_tensor.shape),
buffer_ptr=tgt_tensor.data_ptr(),
)
decoder_session_binding.bind_input(
name='decoder_mask',
device_type='cuda',
device_id=0,
element_type=np.int64,
shape=tuple(decoder_mask_tensor.shape),
buffer_ptr=decoder_mask_tensor.data_ptr(),
)
decoder_session_binding.bind_input(
name='encoder_mask',
device_type='cuda',
device_id=0,
element_type=np.int64,
shape=tuple(src_mask_tensor.shape),
buffer_ptr=src_mask_tensor.data_ptr(),
)
decoder_session_binding.bind_input(
name='encoder_embeddings',
device_type='cuda',
device_id=0,
element_type=np.float32,
shape=tuple(embeding_tensor.shape),
buffer_ptr=embeding_tensor.data_ptr(),
)
decoder_session_binding.bind_input(
name='decoder_mems',
device_type='cuda',
device_id=0,
element_type=np.float32,
shape=tuple(decoder_hidden_state_tensor.shape),
buffer_ptr=decoder_hidden_state_tensor.data_ptr(),
)
decoder_hidden_state_shape = (embeding.shape[0], 8, decoder_hidden_state.shape[2]+1, 1024)
decoder_hidden_state_tensor = torch.empty(decoder_hidden_state_shape, dtype=torch.float32, device='cuda:0').contiguous()
decoder_session_binding.bind_output(
name='last_hidden_states',
device_type='cuda',
device_id=0,
element_type=np.float32,
shape=tuple(decoder_hidden_state_tensor.shape),
buffer_ptr=decoder_hidden_state_tensor.data_ptr(),
)
decoder_session.run_with_iobinding(decoder_session_binding)
# bind classifier inputs and outputs to a PyTorch tensor
classifier_session_binding.bind_input(
name='hidden_states',
device_type='cuda',
device_id=0,
element_type=np.int64,
shape=tuple(decoder_hidden_state[:,-1,-1:].shape),
buffer_ptr=decoder_hidden_state[:,-1,-1:].data_ptr(),
)
log_probs_shape = (embeding.shape[0], 1, 32000)
log_probs_tensor = torch.empty(log_probs_shape, dtype=torch.float32, device='cuda:0').contiguous()
classifier_session_binding.bind_output(
name='log_probs',
device_type='cuda',
device_id=0,
element_type=np.int64,
shape=tuple(log_probs_tensor.shape),
buffer_ptr=log_probs_tensor.data_ptr(),
)
classifier_session.run_with_iobinding(classifier_session_binding)
return log_probs_tensor, decoder_hidden_state_tensor
max_out_len = encoder_hidden_state.shape[1] + MAX_GENERATION_DELTA
tgt=torch.full((encoder_hidden_state.shape[0], max_out_len), PAD)
tgt[:, 0] = BOS
decoder_hidden_state = torch.ones(encoder_hidden_state.shape[0], 8, 0, encoder_hidden_state.shape[-1]).to(torch.float32)
for i in range(1, max_out_len):
log_probs, decoder_hidden_state = decode(tgt[:, :i], encoder_hidden_state, src_mask, decoder_hidden_state)
next_tokens = log_probs[:, -1].argmax(axis=1)
tgt[:, i] = next_tokens
if ((tgt == EOS).sum(axis=1) > 0).all():
break
```
**Error:**
```
RuntimeError Traceback (most recent call last)
/tmp/ipykernel_8614/803687795.py in <module>
5
6 for i in range(1, max_out_len):
----> 7 log_probs, decoder_hidden_state = decode(tgt[:, :i], encoder_hidden_state, src_mask, decoder_hidden_state)
8 next_tokens = log_probs[:, -1].argmax(axis=1) # NOTE: ONNX decoder returns multiple outputs which is different to pytorch version, so I get the last one (this could be where error is?)
9 tgt[:, i] = next_tokens
/tmp/ipykernel_8614/2263200407.py in decode(tgt, embeding, src_mask, decoder_hidden_state)
42 )
43
---> 44 decoder_session_binding.bind_input(
45 name='decoder_mems',
46 device_type='cuda',
/opt/conda/lib/python3.8/site-packages/onnxruntime/capi/onnxruntime_inference_collection.py in bind_input(self, name, device_type, device_id, element_type, shape, buffer_ptr)
439 :param buffer_ptr: memory pointer to input data
440 '''
--> 441 self._iobinding.bind_input(name,
442 C.OrtDevice(get_ort_device_type(device_type), C.OrtDevice.default_memory(),
443 device_id),
RuntimeError: /onnxruntime_src/onnxruntime/python/onnxruntime_pybind_iobinding.cc:64 onnxruntime::python::addIoBindingMethods(pybind11::module&)::<lambda(onnxruntime::SessionIOBinding*, const string&, const OrtDevice&, pybind11::object&, const std::vector<long int>&, int64_t)> data_ptr != 0 was false. Pointer to data memory is not valid
```
**Environment overview (please complete the following information)**
- Environment location: Docker on Kubernetes
- Method of NeMo install: using helm chart using nvcr.io/nvidia/nemo: 1.6.1
- Additionally install `pip install onnxruntime-gpu` | {
"login": "aklife97",
"id": 16078071,
"node_id": "MDQ6VXNlcjE2MDc4MDcx",
"avatar_url": "https://avatars.githubusercontent.com/u/16078071?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/aklife97",
"html_url": "https://github.com/aklife97",
"followers_url": "https://api.github.com/users/aklife97/followers",
"following_url": "https://api.github.com/users/aklife97/following{/other_user}",
"gists_url": "https://api.github.com/users/aklife97/gists{/gist_id}",
"starred_url": "https://api.github.com/users/aklife97/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/aklife97/subscriptions",
"organizations_url": "https://api.github.com/users/aklife97/orgs",
"repos_url": "https://api.github.com/users/aklife97/repos",
"events_url": "https://api.github.com/users/aklife97/events{/privacy}",
"received_events_url": "https://api.github.com/users/aklife97/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/4339/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/4339/timeline | null | completed | false |
https://api.github.com/repos/NVIDIA/NeMo/issues/4338 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/4338/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/4338/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/4338/events | https://github.com/NVIDIA/NeMo/issues/4338 | 1,261,557,441 | I_kwDOC_bI7s5LMdbB | 4,338 | Error in multinode training | {
"login": "hruturajnikam",
"id": 35092906,
"node_id": "MDQ6VXNlcjM1MDkyOTA2",
"avatar_url": "https://avatars.githubusercontent.com/u/35092906?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/hruturajnikam",
"html_url": "https://github.com/hruturajnikam",
"followers_url": "https://api.github.com/users/hruturajnikam/followers",
"following_url": "https://api.github.com/users/hruturajnikam/following{/other_user}",
"gists_url": "https://api.github.com/users/hruturajnikam/gists{/gist_id}",
"starred_url": "https://api.github.com/users/hruturajnikam/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/hruturajnikam/subscriptions",
"organizations_url": "https://api.github.com/users/hruturajnikam/orgs",
"repos_url": "https://api.github.com/users/hruturajnikam/repos",
"events_url": "https://api.github.com/users/hruturajnikam/events{/privacy}",
"received_events_url": "https://api.github.com/users/hruturajnikam/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 | null | 2022-06-06T08:57:21 | 2022-06-07T12:59:22 | 2022-06-07T12:59:22 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | **Following is the error log .please suggest the solution**
[NeMo W 2022-06-04 14:58:08 exp_manager:895] The checkpoint callback was told to monitor a validation value and trainer's max_steps was set to -1. Please ensure that max_steps will run for at least 1 epochs to ensure that checkpointing will not error out.
Initializing distributed: GLOBAL_RANK: 0, MEMBER: 1/16
Initializing distributed: GLOBAL_RANK: 1, MEMBER: 2/16
Initializing distributed: GLOBAL_RANK: 1, MEMBER: 2/16
Initializing distributed: GLOBAL_RANK: 2, MEMBER: 3/16
Initializing distributed: GLOBAL_RANK: 3, MEMBER: 4/16
Initializing distributed: GLOBAL_RANK: 2, MEMBER: 3/16
Initializing distributed: GLOBAL_RANK: 4, MEMBER: 5/16
Initializing distributed: GLOBAL_RANK: 5, MEMBER: 6/16
Initializing distributed: GLOBAL_RANK: 4, MEMBER: 5/16
Initializing distributed: GLOBAL_RANK: 5, MEMBER: 6/16
Initializing distributed: GLOBAL_RANK: 3, MEMBER: 4/16
Initializing distributed: GLOBAL_RANK: 6, MEMBER: 7/16
Initializing distributed: GLOBAL_RANK: 7, MEMBER: 8/16
Initializing distributed: GLOBAL_RANK: 7, MEMBER: 8/16
Initializing distributed: GLOBAL_RANK: 6, MEMBER: 7/16
Error executing job with overrides: []
Traceback (most recent call last):
File "/workspace/nemo/marathi/train_bpe.py", line 74, in main
trainer.fit(asr_model)
File "/opt/conda/lib/python3.8/site-packages/pytorch_lightning/trainer/trainer.py", line 770, in fit
self._call_and_handle_interrupt(
File "/opt/conda/lib/python3.8/site-packages/pytorch_lightning/trainer/trainer.py", line 723, in _call_and_handle_interrupt
return trainer_fn(*args, **kwargs)
File "/opt/conda/lib/python3.8/site-packages/pytorch_lightning/trainer/trainer.py", line 811, in _fit_impl
results = self._run(model, ckpt_path=self.ckpt_path)
File "/opt/conda/lib/python3.8/site-packages/pytorch_lightning/trainer/trainer.py", line 1171, in _run
self.strategy.setup_environment()
File "/opt/conda/lib/python3.8/site-packages/pytorch_lightning/strategies/ddp.py", line 152, in setup_environment
self.setup_distributed()
File "/opt/conda/lib/python3.8/site-packages/pytorch_lightning/strategies/ddp.py", line 205, in setup_distributed
init_dist_connection(self.cluster_environment, self._process_group_backend)
File "/opt/conda/lib/python3.8/site-packages/pytorch_lightning/utilities/distributed.py", line 355, in init_dist_connection
torch.distributed.init_process_group(torch_distributed_backend, rank=global_rank, world_size=world_size, **kwargs)
File "/opt/conda/lib/python3.8/site-packages/torch/distributed/distributed_c10d.py", line 610, in init_process_group
_store_based_barrier(rank, store, timeout)
File "/opt/conda/lib/python3.8/site-packages/torch/distributed/distributed_c10d.py", line 246, in _store_based_barrier
raise RuntimeError(
RuntimeError: Timed out initializing process group in store based barrier on rank: 1, for key: store_based_barrier_key:1 (world_size=16, worker_count=8, timeout=0:30:00)
| {
"login": "hruturajnikam",
"id": 35092906,
"node_id": "MDQ6VXNlcjM1MDkyOTA2",
"avatar_url": "https://avatars.githubusercontent.com/u/35092906?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/hruturajnikam",
"html_url": "https://github.com/hruturajnikam",
"followers_url": "https://api.github.com/users/hruturajnikam/followers",
"following_url": "https://api.github.com/users/hruturajnikam/following{/other_user}",
"gists_url": "https://api.github.com/users/hruturajnikam/gists{/gist_id}",
"starred_url": "https://api.github.com/users/hruturajnikam/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/hruturajnikam/subscriptions",
"organizations_url": "https://api.github.com/users/hruturajnikam/orgs",
"repos_url": "https://api.github.com/users/hruturajnikam/repos",
"events_url": "https://api.github.com/users/hruturajnikam/events{/privacy}",
"received_events_url": "https://api.github.com/users/hruturajnikam/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/4338/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/4338/timeline | null | completed | false |
https://api.github.com/repos/NVIDIA/NeMo/issues/4336 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/4336/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/4336/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/4336/events | https://github.com/NVIDIA/NeMo/issues/4336 | 1,261,048,593 | I_kwDOC_bI7s5LKhMR | 4,336 | MTEncDecModel translate drops text, when input text is large | {
"login": "itzsimpl",
"id": 4784070,
"node_id": "MDQ6VXNlcjQ3ODQwNzA=",
"avatar_url": "https://avatars.githubusercontent.com/u/4784070?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/itzsimpl",
"html_url": "https://github.com/itzsimpl",
"followers_url": "https://api.github.com/users/itzsimpl/followers",
"following_url": "https://api.github.com/users/itzsimpl/following{/other_user}",
"gists_url": "https://api.github.com/users/itzsimpl/gists{/gist_id}",
"starred_url": "https://api.github.com/users/itzsimpl/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/itzsimpl/subscriptions",
"organizations_url": "https://api.github.com/users/itzsimpl/orgs",
"repos_url": "https://api.github.com/users/itzsimpl/repos",
"events_url": "https://api.github.com/users/itzsimpl/events{/privacy}",
"received_events_url": "https://api.github.com/users/itzsimpl/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": "MaximumEntropy",
"id": 9114321,
"node_id": "MDQ6VXNlcjkxMTQzMjE=",
"avatar_url": "https://avatars.githubusercontent.com/u/9114321?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/MaximumEntropy",
"html_url": "https://github.com/MaximumEntropy",
"followers_url": "https://api.github.com/users/MaximumEntropy/followers",
"following_url": "https://api.github.com/users/MaximumEntropy/following{/other_user}",
"gists_url": "https://api.github.com/users/MaximumEntropy/gists{/gist_id}",
"starred_url": "https://api.github.com/users/MaximumEntropy/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/MaximumEntropy/subscriptions",
"organizations_url": "https://api.github.com/users/MaximumEntropy/orgs",
"repos_url": "https://api.github.com/users/MaximumEntropy/repos",
"events_url": "https://api.github.com/users/MaximumEntropy/events{/privacy}",
"received_events_url": "https://api.github.com/users/MaximumEntropy/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"login": "MaximumEntropy",
"id": 9114321,
"node_id": "MDQ6VXNlcjkxMTQzMjE=",
"avatar_url": "https://avatars.githubusercontent.com/u/9114321?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/MaximumEntropy",
"html_url": "https://github.com/MaximumEntropy",
"followers_url": "https://api.github.com/users/MaximumEntropy/followers",
"following_url": "https://api.github.com/users/MaximumEntropy/following{/other_user}",
"gists_url": "https://api.github.com/users/MaximumEntropy/gists{/gist_id}",
"starred_url": "https://api.github.com/users/MaximumEntropy/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/MaximumEntropy/subscriptions",
"organizations_url": "https://api.github.com/users/MaximumEntropy/orgs",
"repos_url": "https://api.github.com/users/MaximumEntropy/repos",
"events_url": "https://api.github.com/users/MaximumEntropy/events{/privacy}",
"received_events_url": "https://api.github.com/users/MaximumEntropy/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
}
] | null | null | 2022-06-05T13:23:21 | 2022-06-22T16:42:48 | 2022-06-22T16:42:48 | CONTRIBUTOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | **Describe the bug**
Is there a limit to the maximal text input length when calling `MTEncDecModel.translate()`? I mean the length of individual strings or size of List. Is it model config dependant? E.g. is it determined by `max_sequence_length`? If so, is this the number of tokens after tokenisation with `encoder_tokenizer` or the length of the string (chars with spaces)? I am asking this as I have noticed that when passing large text blocks (e.g. 3000 chars with spaces), the translation does work, but a large portion of input text is dropped.
**Steps/Code to reproduce bug**
Run `MTEncDecModel.translate` with list containing one large block of text.
**Expected behavior**
The entire input be translated, or a warning printed out that the output is/will be truncated.
**Environment details**
container: `pytorch:22.04-py3` + `nemo:1.8.2 (./reinstal.sh)`
GPU: T4
| {
"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/4336/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/4336/timeline | null | completed | false |
https://api.github.com/repos/NVIDIA/NeMo/issues/4335 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/4335/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/4335/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/4335/events | https://github.com/NVIDIA/NeMo/issues/4335 | 1,260,892,590 | I_kwDOC_bI7s5LJ7Gu | 4,335 | Use ASR Adapters with Citrinet model | {
"login": "manuel3265",
"id": 39747299,
"node_id": "MDQ6VXNlcjM5NzQ3Mjk5",
"avatar_url": "https://avatars.githubusercontent.com/u/39747299?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/manuel3265",
"html_url": "https://github.com/manuel3265",
"followers_url": "https://api.github.com/users/manuel3265/followers",
"following_url": "https://api.github.com/users/manuel3265/following{/other_user}",
"gists_url": "https://api.github.com/users/manuel3265/gists{/gist_id}",
"starred_url": "https://api.github.com/users/manuel3265/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/manuel3265/subscriptions",
"organizations_url": "https://api.github.com/users/manuel3265/orgs",
"repos_url": "https://api.github.com/users/manuel3265/repos",
"events_url": "https://api.github.com/users/manuel3265/events{/privacy}",
"received_events_url": "https://api.github.com/users/manuel3265/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"id": 1719393562,
"node_id": "MDU6TGFiZWwxNzE5MzkzNTYy",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/feature",
"name": "feature",
"color": "68F3F0",
"default": false,
"description": "request/PR for a new feature"
}
] | 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 | null | 2022-06-04T21:09:47 | 2022-06-04T21:31:33 | 2022-06-04T21:30:48 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | Hello, is there someone who can help me use the adapters with models other than the conformer ones. I want to use the adapters with the citrinet models and would like to know if it is possible and how I could do it. | {
"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/4335/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/4335/timeline | null | completed | false |
https://api.github.com/repos/NVIDIA/NeMo/issues/4332 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/4332/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/4332/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/4332/events | https://github.com/NVIDIA/NeMo/issues/4332 | 1,260,443,340 | I_kwDOC_bI7s5LINbM | 4,332 | Torchscripting Transducer model results in " Module 'FilterbankFeatures' has no attribute 'stft' " | {
"login": "gowtham1997",
"id": 9641196,
"node_id": "MDQ6VXNlcjk2NDExOTY=",
"avatar_url": "https://avatars.githubusercontent.com/u/9641196?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gowtham1997",
"html_url": "https://github.com/gowtham1997",
"followers_url": "https://api.github.com/users/gowtham1997/followers",
"following_url": "https://api.github.com/users/gowtham1997/following{/other_user}",
"gists_url": "https://api.github.com/users/gowtham1997/gists{/gist_id}",
"starred_url": "https://api.github.com/users/gowtham1997/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/gowtham1997/subscriptions",
"organizations_url": "https://api.github.com/users/gowtham1997/orgs",
"repos_url": "https://api.github.com/users/gowtham1997/repos",
"events_url": "https://api.github.com/users/gowtham1997/events{/privacy}",
"received_events_url": "https://api.github.com/users/gowtham1997/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | null | 2022-06-03T22:25:28 | 2022-07-03T18:09:39 | 2022-07-03T18:09:39 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | ```python
from nemo.collections.asr.models import (
EncDecRNNTModel,
)
import torch.quantization.quantize_fx as quantize_fx
asr_model = EncDecRNNTModel.restore_from(<path>)
asr_model.eval()
quantized_model = torch.quantization.quantize_dynamic(
asr_model, qconfig_spec={torch.nn.Linear}, dtype=torch.qint8, inplace=True
)
scripted_model = torch.jit.script(quantized_model)
torch.jit.save(scripted_model, "hindi_medium_rnnt.pt")
```
I am trying to convert a nemo rnnt transducer model to torchscript for testing mobile deployment and the torch.jit.script results in the following error:
```
Module 'FilterbankFeatures' has no attribute 'stft' (This function exists as an attribute on the Python module, but we failed to compile it to a TorchScript function.
The error stack is reproduced here:
local variable 'idx' referenced before assignment:
File "/home/gowtham/anaconda3/envs/android-wsl/lib/python3.8/site-packages/torch/autograd/grad_mode.py", line 327
# disable autocast to get full range of stft values
with torch.cuda.amp.autocast(enabled=False):
x = self.stft(x)
~~~~~~~~~ <--- HERE
# torch returns real, imag; so convert to magnitude
```
1. I couldn't find lot of related issues online, so wanted to check if you have recommended ways to convert nemo conformed transducer models to torchscript?
2. I also tried using [nemo_model.export](https://docs.nvidia.com/deeplearning/nemo/user-guide/docs/en/main/core/export.html) method like this:
```python
quantized_model.export(
"hindi_medium_rnnt.pt", try_script=True, verbose=True
)
```
^ this also runs into multiple jit.script() failed errors but eventually produces encoder.pt and decoder-joint.pt files which are however not usable with torch.jit.load methods | {
"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/4332/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/4332/timeline | null | completed | false |
https://api.github.com/repos/NVIDIA/NeMo/issues/4331 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/4331/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/4331/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/4331/events | https://github.com/NVIDIA/NeMo/pull/4331 | 1,260,410,293 | PR_kwDOC_bI7s45GFA6 | 4,331 | Merge r1.9.0 main | {
"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 | null | 2022-06-03T21:37:39 | 2022-06-07T21:03:43 | 2022-06-07T21:03:40 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/4331",
"html_url": "https://github.com/NVIDIA/NeMo/pull/4331",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/4331.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/4331.patch",
"merged_at": "2022-06-07T21:03:40"
} | # 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
```
# 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/4331/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/4331/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/4330 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/4330/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/4330/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/4330/events | https://github.com/NVIDIA/NeMo/pull/4330 | 1,260,370,208 | PR_kwDOC_bI7s45F8PW | 4,330 | Torchaudio installation fix | {
"login": "GNroy",
"id": 16904306,
"node_id": "MDQ6VXNlcjE2OTA0MzA2",
"avatar_url": "https://avatars.githubusercontent.com/u/16904306?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/GNroy",
"html_url": "https://github.com/GNroy",
"followers_url": "https://api.github.com/users/GNroy/followers",
"following_url": "https://api.github.com/users/GNroy/following{/other_user}",
"gists_url": "https://api.github.com/users/GNroy/gists{/gist_id}",
"starred_url": "https://api.github.com/users/GNroy/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/GNroy/subscriptions",
"organizations_url": "https://api.github.com/users/GNroy/orgs",
"repos_url": "https://api.github.com/users/GNroy/repos",
"events_url": "https://api.github.com/users/GNroy/events{/privacy}",
"received_events_url": "https://api.github.com/users/GNroy/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | null | 2022-06-03T20:55:42 | 2022-06-07T17:15:47 | 2022-06-07T16:09:04 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/4330",
"html_url": "https://github.com/NVIDIA/NeMo/pull/4330",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/4330.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/4330.patch",
"merged_at": "2022-06-07T16:09:04"
} | Signed-off-by: Aleksandr Laptev <[email protected]>
# What does this PR do ?
Torch and torchaudio versions must match. Othervise, there will be no CUDA support for things like RNNT loss.
This PR fixes the issue.
Also, this PR automates picking the latest torchaudio release.
# Changelog
- The commands in the Dockerfile are replaced with a separate script whick installs and tests torchaudio.
# 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?
@titu1994 @okuchaiev
| {
"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/4330/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/4330/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/4329 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/4329/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/4329/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/4329/events | https://github.com/NVIDIA/NeMo/pull/4329 | 1,260,367,782 | PR_kwDOC_bI7s45F7vY | 4,329 | Update container to 22.05 | {
"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 | null | 2022-06-03T20:52:47 | 2022-06-07T04:19:54 | 2022-06-07T04:19:51 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/4329",
"html_url": "https://github.com/NVIDIA/NeMo/pull/4329",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/4329.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/4329.patch",
"merged_at": "2022-06-07T04:19:51"
} | # 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
```
# 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": "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/4329/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/4329/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/4328 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/4328/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/4328/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/4328/events | https://github.com/NVIDIA/NeMo/pull/4328 | 1,260,233,852 | PR_kwDOC_bI7s45FfBN | 4,328 | Finetune T5 on the prefix-lm objective | {
"login": "MaximumEntropy",
"id": 9114321,
"node_id": "MDQ6VXNlcjkxMTQzMjE=",
"avatar_url": "https://avatars.githubusercontent.com/u/9114321?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/MaximumEntropy",
"html_url": "https://github.com/MaximumEntropy",
"followers_url": "https://api.github.com/users/MaximumEntropy/followers",
"following_url": "https://api.github.com/users/MaximumEntropy/following{/other_user}",
"gists_url": "https://api.github.com/users/MaximumEntropy/gists{/gist_id}",
"starred_url": "https://api.github.com/users/MaximumEntropy/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/MaximumEntropy/subscriptions",
"organizations_url": "https://api.github.com/users/MaximumEntropy/orgs",
"repos_url": "https://api.github.com/users/MaximumEntropy/repos",
"events_url": "https://api.github.com/users/MaximumEntropy/events{/privacy}",
"received_events_url": "https://api.github.com/users/MaximumEntropy/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | null | 2022-06-03T18:38:45 | 2022-06-03T21:47:43 | 2022-06-03T21:47:39 | CONTRIBUTOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/4328",
"html_url": "https://github.com/NVIDIA/NeMo/pull/4328",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/4328.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/4328.patch",
"merged_at": "2022-06-03T21:47:39"
} | # What does this PR do ?
Adds a script and yaml config to fine-tune a pre-trained T5 model on the prefix-LM (LM adaptation) objective.
**Collection**: NLP
# Changelog
- Add pre-training script and config
# Usage
* You can potentially add a usage example below
```python python megatron_t5_lm_adaptation_finetune.py -cn megatron_t5_lm_adaptation_finetune model.pretrained_model_path=/path/to/pretrained_t5.nemo model.data.data_prefix=.....```
# 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": "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
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/4328/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/4328/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/4327 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/4327/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/4327/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/4327/events | https://github.com/NVIDIA/NeMo/pull/4327 | 1,260,174,171 | PR_kwDOC_bI7s45FSXN | 4,327 | Fuse grad division into async grad allreduce | {
"login": "xrennvidia",
"id": 103958965,
"node_id": "U_kgDOBjJJtQ",
"avatar_url": "https://avatars.githubusercontent.com/u/103958965?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/xrennvidia",
"html_url": "https://github.com/xrennvidia",
"followers_url": "https://api.github.com/users/xrennvidia/followers",
"following_url": "https://api.github.com/users/xrennvidia/following{/other_user}",
"gists_url": "https://api.github.com/users/xrennvidia/gists{/gist_id}",
"starred_url": "https://api.github.com/users/xrennvidia/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/xrennvidia/subscriptions",
"organizations_url": "https://api.github.com/users/xrennvidia/orgs",
"repos_url": "https://api.github.com/users/xrennvidia/repos",
"events_url": "https://api.github.com/users/xrennvidia/events{/privacy}",
"received_events_url": "https://api.github.com/users/xrennvidia/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | null | 2022-06-03T17:31:34 | 2022-06-06T21:27:42 | 2022-06-06T21:27:42 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/4327",
"html_url": "https://github.com/NVIDIA/NeMo/pull/4327",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/4327.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/4327.patch",
"merged_at": "2022-06-06T21:27:42"
} | # What does this PR do ?
Fuse gradient division into torch.distributed.allreduce().
# Changelog
This change is made for async grad AR in class MainParamsOptimizerWrappe.
# Usage
**This fusion requires at least PyTorch 22.04.**
This fusion is enabled by default, you can turn it off by setting grad_div_ar_fusion=False
# 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": "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/4327/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/4327/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/4325 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/4325/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/4325/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/4325/events | https://github.com/NVIDIA/NeMo/pull/4325 | 1,259,997,452 | PR_kwDOC_bI7s45EufJ | 4,325 | Fix bugs in indexed dataset exam script | {
"login": "yidong72",
"id": 43824965,
"node_id": "MDQ6VXNlcjQzODI0OTY1",
"avatar_url": "https://avatars.githubusercontent.com/u/43824965?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yidong72",
"html_url": "https://github.com/yidong72",
"followers_url": "https://api.github.com/users/yidong72/followers",
"following_url": "https://api.github.com/users/yidong72/following{/other_user}",
"gists_url": "https://api.github.com/users/yidong72/gists{/gist_id}",
"starred_url": "https://api.github.com/users/yidong72/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/yidong72/subscriptions",
"organizations_url": "https://api.github.com/users/yidong72/orgs",
"repos_url": "https://api.github.com/users/yidong72/repos",
"events_url": "https://api.github.com/users/yidong72/events{/privacy}",
"received_events_url": "https://api.github.com/users/yidong72/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | null | 2022-06-03T14:40:25 | 2022-06-05T23:45:02 | 2022-06-05T23:44:59 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/4325",
"html_url": "https://github.com/NVIDIA/NeMo/pull/4325",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/4325.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/4325.patch",
"merged_at": "2022-06-05T23:44:59"
} | Fixed some bugs in exam ecript | {
"login": "yidong72",
"id": 43824965,
"node_id": "MDQ6VXNlcjQzODI0OTY1",
"avatar_url": "https://avatars.githubusercontent.com/u/43824965?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yidong72",
"html_url": "https://github.com/yidong72",
"followers_url": "https://api.github.com/users/yidong72/followers",
"following_url": "https://api.github.com/users/yidong72/following{/other_user}",
"gists_url": "https://api.github.com/users/yidong72/gists{/gist_id}",
"starred_url": "https://api.github.com/users/yidong72/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/yidong72/subscriptions",
"organizations_url": "https://api.github.com/users/yidong72/orgs",
"repos_url": "https://api.github.com/users/yidong72/repos",
"events_url": "https://api.github.com/users/yidong72/events{/privacy}",
"received_events_url": "https://api.github.com/users/yidong72/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/4325/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/4325/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/4323 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/4323/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/4323/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/4323/events | https://github.com/NVIDIA/NeMo/pull/4323 | 1,259,517,366 | PR_kwDOC_bI7s45DHHY | 4,323 | [TN/TTS] Add graph to tag IPA words/sentences in square brackets and leave them unchanged | {
"login": "ekmb",
"id": 10428420,
"node_id": "MDQ6VXNlcjEwNDI4NDIw",
"avatar_url": "https://avatars.githubusercontent.com/u/10428420?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ekmb",
"html_url": "https://github.com/ekmb",
"followers_url": "https://api.github.com/users/ekmb/followers",
"following_url": "https://api.github.com/users/ekmb/following{/other_user}",
"gists_url": "https://api.github.com/users/ekmb/gists{/gist_id}",
"starred_url": "https://api.github.com/users/ekmb/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ekmb/subscriptions",
"organizations_url": "https://api.github.com/users/ekmb/orgs",
"repos_url": "https://api.github.com/users/ekmb/repos",
"events_url": "https://api.github.com/users/ekmb/events{/privacy}",
"received_events_url": "https://api.github.com/users/ekmb/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | null | 2022-06-03T06:57:45 | 2022-06-03T14:34:32 | 2022-06-03T14:34:25 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/4323",
"html_url": "https://github.com/NVIDIA/NeMo/pull/4323",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/4323.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/4323.patch",
"merged_at": "2022-06-03T14:34:25"
} | Signed-off-by: ekmb <[email protected]>
# What does this PR do ?
IPA words/sentences in square brackets won't be normalized
**Collection**: [Note which collection this PR will affect]
# Changelog
TN: IPA words/sentences in square brackets won't be normalized
# Usage
* You can potentially add a usage example below
```
# untouched
python normalize.py --text="[oʊ ɔɪ p ɹ s ʃ t θ]" # -> "[oʊ ɔɪ p ɹ s ʃ t θ]"
# normalized if no sq brackets
python normalize.py --text="oʊ ɔɪ p ɹ s ʃ t θ" -> "oʊ ɔɪ p ɹ s ʃ t theta"
```
# 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": "yzhang123",
"id": 4204271,
"node_id": "MDQ6VXNlcjQyMDQyNzE=",
"avatar_url": "https://avatars.githubusercontent.com/u/4204271?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yzhang123",
"html_url": "https://github.com/yzhang123",
"followers_url": "https://api.github.com/users/yzhang123/followers",
"following_url": "https://api.github.com/users/yzhang123/following{/other_user}",
"gists_url": "https://api.github.com/users/yzhang123/gists{/gist_id}",
"starred_url": "https://api.github.com/users/yzhang123/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/yzhang123/subscriptions",
"organizations_url": "https://api.github.com/users/yzhang123/orgs",
"repos_url": "https://api.github.com/users/yzhang123/repos",
"events_url": "https://api.github.com/users/yzhang123/events{/privacy}",
"received_events_url": "https://api.github.com/users/yzhang123/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/4323/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/4323/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/4322 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/4322/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/4322/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/4322/events | https://github.com/NVIDIA/NeMo/pull/4322 | 1,259,347,381 | PR_kwDOC_bI7s45ChZs | 4,322 | NeMo Model to HF Hub Upload Tutorial | {
"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
} | [] | closed | false | null | [] | null | null | 2022-06-03T03:36:33 | 2022-06-03T17:13:06 | 2022-06-03T17:13:03 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/4322",
"html_url": "https://github.com/NVIDIA/NeMo/pull/4322",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/4322.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/4322.patch",
"merged_at": "2022-06-03T17:13:03"
} | # What does this PR do ?
Add a tutorial showing how to upload NeMo models to the Hugging Face Hub
**Collection**: [Core, Documentation]
# Changelog
- Add tutorial notebook that shows how to upload a nemo model to the hub
- Prepare the model card with a template
- Upload results of model evaluations
# 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] New Feature
- [ ] Bugfix
- [x] Documentation
If you haven't finished some of the above items you can still open "Draft" PR.
| {
"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/4322/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/4322/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/4321 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/4321/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/4321/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/4321/events | https://github.com/NVIDIA/NeMo/issues/4321 | 1,259,267,204 | I_kwDOC_bI7s5LDuSE | 4,321 | Add Squeezeformer to Nemo | {
"login": "harveenchadha",
"id": 30959215,
"node_id": "MDQ6VXNlcjMwOTU5MjE1",
"avatar_url": "https://avatars.githubusercontent.com/u/30959215?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/harveenchadha",
"html_url": "https://github.com/harveenchadha",
"followers_url": "https://api.github.com/users/harveenchadha/followers",
"following_url": "https://api.github.com/users/harveenchadha/following{/other_user}",
"gists_url": "https://api.github.com/users/harveenchadha/gists{/gist_id}",
"starred_url": "https://api.github.com/users/harveenchadha/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/harveenchadha/subscriptions",
"organizations_url": "https://api.github.com/users/harveenchadha/orgs",
"repos_url": "https://api.github.com/users/harveenchadha/repos",
"events_url": "https://api.github.com/users/harveenchadha/events{/privacy}",
"received_events_url": "https://api.github.com/users/harveenchadha/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"id": 1719393562,
"node_id": "MDU6TGFiZWwxNzE5MzkzNTYy",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/feature",
"name": "feature",
"color": "68F3F0",
"default": false,
"description": "request/PR for a new feature"
}
] | closed | false | {
"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
} | [
{
"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
},
{
"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
}
] | null | null | 2022-06-03T02:40:36 | 2022-06-23T20:39:49 | 2022-06-04T22:20:47 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | Squeezeformer looks promising and uses some of the reusable components from conformer backbone. Creating a placeholder for discussion and implementation.
[Official Implementation](https://github.com/kssteven418/Squeezeformer)
[Paper]([arxiv.org/pdf/2206.00888.pdf](https://arxiv.org/pdf/2206.00888.pdf)) | {
"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/4321/reactions",
"total_count": 6,
"+1": 6,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/4321/timeline | null | completed | false |
https://api.github.com/repos/NVIDIA/NeMo/issues/4320 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/4320/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/4320/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/4320/events | https://github.com/NVIDIA/NeMo/pull/4320 | 1,259,050,808 | PR_kwDOC_bI7s45Bc4d | 4,320 | [TTS] capture exception of non-supported windows. | {
"login": "XuesongYang",
"id": 1646669,
"node_id": "MDQ6VXNlcjE2NDY2Njk=",
"avatar_url": "https://avatars.githubusercontent.com/u/1646669?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/XuesongYang",
"html_url": "https://github.com/XuesongYang",
"followers_url": "https://api.github.com/users/XuesongYang/followers",
"following_url": "https://api.github.com/users/XuesongYang/following{/other_user}",
"gists_url": "https://api.github.com/users/XuesongYang/gists{/gist_id}",
"starred_url": "https://api.github.com/users/XuesongYang/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/XuesongYang/subscriptions",
"organizations_url": "https://api.github.com/users/XuesongYang/orgs",
"repos_url": "https://api.github.com/users/XuesongYang/repos",
"events_url": "https://api.github.com/users/XuesongYang/events{/privacy}",
"received_events_url": "https://api.github.com/users/XuesongYang/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | null | 2022-06-03T00:22:30 | 2022-06-03T20:56:36 | 2022-06-03T20:56:32 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/4320",
"html_url": "https://github.com/NVIDIA/NeMo/pull/4320",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/4320.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/4320.patch",
"merged_at": "2022-06-03T20:56:32"
} | * remove redundant lines;
* declare global variables;
* capture exception of non-supported windows.
Signed-off-by: Xuesong Yang <[email protected]>
# 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
```bash
(nemo) xueyang@aiapps-031622:~/workspace/NeMo$ pytest --cpu tests/collections/tts/test_torch_tts.py::TestTTSDataset::test_raise_exception_on_not_supported_window
============================================================== test session starts ==============================================================
platform linux -- Python 3.8.13, pytest-7.1.1, pluggy-1.0.0 -- /home/xueyang/miniconda3/envs/nemo/bin/python
cachedir: .pytest_cache
rootdir: /home/xueyang/workspace/NeMo, configfile: setup.cfg
plugins: hydra-core-1.1.1
collected 1 item
tests/collections/tts/test_torch_tts.py::TestTTSDataset::test_raise_exception_on_not_supported_window PASSED [100%]
========================================================= 1 passed, 4 warnings in 3.87s =========================================================
```
# 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": "XuesongYang",
"id": 1646669,
"node_id": "MDQ6VXNlcjE2NDY2Njk=",
"avatar_url": "https://avatars.githubusercontent.com/u/1646669?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/XuesongYang",
"html_url": "https://github.com/XuesongYang",
"followers_url": "https://api.github.com/users/XuesongYang/followers",
"following_url": "https://api.github.com/users/XuesongYang/following{/other_user}",
"gists_url": "https://api.github.com/users/XuesongYang/gists{/gist_id}",
"starred_url": "https://api.github.com/users/XuesongYang/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/XuesongYang/subscriptions",
"organizations_url": "https://api.github.com/users/XuesongYang/orgs",
"repos_url": "https://api.github.com/users/XuesongYang/repos",
"events_url": "https://api.github.com/users/XuesongYang/events{/privacy}",
"received_events_url": "https://api.github.com/users/XuesongYang/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/4320/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/4320/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/4319 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/4319/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/4319/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/4319/events | https://github.com/NVIDIA/NeMo/pull/4319 | 1,258,995,742 | PR_kwDOC_bI7s45BQLi | 4,319 | [TTS] add staticmethod decoration for BetaBinomialInterpolator | {
"login": "XuesongYang",
"id": 1646669,
"node_id": "MDQ6VXNlcjE2NDY2Njk=",
"avatar_url": "https://avatars.githubusercontent.com/u/1646669?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/XuesongYang",
"html_url": "https://github.com/XuesongYang",
"followers_url": "https://api.github.com/users/XuesongYang/followers",
"following_url": "https://api.github.com/users/XuesongYang/following{/other_user}",
"gists_url": "https://api.github.com/users/XuesongYang/gists{/gist_id}",
"starred_url": "https://api.github.com/users/XuesongYang/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/XuesongYang/subscriptions",
"organizations_url": "https://api.github.com/users/XuesongYang/orgs",
"repos_url": "https://api.github.com/users/XuesongYang/repos",
"events_url": "https://api.github.com/users/XuesongYang/events{/privacy}",
"received_events_url": "https://api.github.com/users/XuesongYang/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | null | 2022-06-02T23:47:40 | 2022-06-03T20:00:58 | 2022-06-03T20:00:53 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/4319",
"html_url": "https://github.com/NVIDIA/NeMo/pull/4319",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/4319.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/4319.patch",
"merged_at": "2022-06-03T20:00:53"
} | Signed-off-by: Xuesong Yang <[email protected]>
# What does this PR do ?
`member function is static so it needs a decorator of static method.`
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
```
# 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": "XuesongYang",
"id": 1646669,
"node_id": "MDQ6VXNlcjE2NDY2Njk=",
"avatar_url": "https://avatars.githubusercontent.com/u/1646669?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/XuesongYang",
"html_url": "https://github.com/XuesongYang",
"followers_url": "https://api.github.com/users/XuesongYang/followers",
"following_url": "https://api.github.com/users/XuesongYang/following{/other_user}",
"gists_url": "https://api.github.com/users/XuesongYang/gists{/gist_id}",
"starred_url": "https://api.github.com/users/XuesongYang/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/XuesongYang/subscriptions",
"organizations_url": "https://api.github.com/users/XuesongYang/orgs",
"repos_url": "https://api.github.com/users/XuesongYang/repos",
"events_url": "https://api.github.com/users/XuesongYang/events{/privacy}",
"received_events_url": "https://api.github.com/users/XuesongYang/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/4319/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/4319/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/4318 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/4318/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/4318/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/4318/events | https://github.com/NVIDIA/NeMo/pull/4318 | 1,258,790,638 | PR_kwDOC_bI7s45Ag1S | 4,318 | Megatron perceiver with tensor parallelism only | {
"login": "MaximumEntropy",
"id": 9114321,
"node_id": "MDQ6VXNlcjkxMTQzMjE=",
"avatar_url": "https://avatars.githubusercontent.com/u/9114321?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/MaximumEntropy",
"html_url": "https://github.com/MaximumEntropy",
"followers_url": "https://api.github.com/users/MaximumEntropy/followers",
"following_url": "https://api.github.com/users/MaximumEntropy/following{/other_user}",
"gists_url": "https://api.github.com/users/MaximumEntropy/gists{/gist_id}",
"starred_url": "https://api.github.com/users/MaximumEntropy/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/MaximumEntropy/subscriptions",
"organizations_url": "https://api.github.com/users/MaximumEntropy/orgs",
"repos_url": "https://api.github.com/users/MaximumEntropy/repos",
"events_url": "https://api.github.com/users/MaximumEntropy/events{/privacy}",
"received_events_url": "https://api.github.com/users/MaximumEntropy/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | null | 2022-06-02T21:43:07 | 2022-07-06T21:46:33 | 2022-07-06T21:46:29 | CONTRIBUTOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/4318",
"html_url": "https://github.com/NVIDIA/NeMo/pull/4318",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/4318.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/4318.patch",
"merged_at": "2022-07-06T21:46:29"
} | # What does this PR do ?
Implements a Megatron-based perceiver encoder with tensor parallel only.
**Collection**: NLP
# Changelog
- Add `megatron_perceiver_encoders.py` file and add corresponding configuration options in yaml files.
# Usage
Set the following `aayn_base_megatron.yaml` or `megatron_t5_config.yaml`
`encoder_arch: perceiver`
`hidden_steps: 32`
`num_self_attention_per_cross_attention: 2`
# 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": "MaximumEntropy",
"id": 9114321,
"node_id": "MDQ6VXNlcjkxMTQzMjE=",
"avatar_url": "https://avatars.githubusercontent.com/u/9114321?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/MaximumEntropy",
"html_url": "https://github.com/MaximumEntropy",
"followers_url": "https://api.github.com/users/MaximumEntropy/followers",
"following_url": "https://api.github.com/users/MaximumEntropy/following{/other_user}",
"gists_url": "https://api.github.com/users/MaximumEntropy/gists{/gist_id}",
"starred_url": "https://api.github.com/users/MaximumEntropy/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/MaximumEntropy/subscriptions",
"organizations_url": "https://api.github.com/users/MaximumEntropy/orgs",
"repos_url": "https://api.github.com/users/MaximumEntropy/repos",
"events_url": "https://api.github.com/users/MaximumEntropy/events{/privacy}",
"received_events_url": "https://api.github.com/users/MaximumEntropy/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/4318/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/4318/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/4317 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/4317/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/4317/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/4317/events | https://github.com/NVIDIA/NeMo/pull/4317 | 1,258,785,644 | PR_kwDOC_bI7s45Afr3 | 4,317 | Option to disable mp in VAD via num_workers=1 | {
"login": "gkucsko",
"id": 5068315,
"node_id": "MDQ6VXNlcjUwNjgzMTU=",
"avatar_url": "https://avatars.githubusercontent.com/u/5068315?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gkucsko",
"html_url": "https://github.com/gkucsko",
"followers_url": "https://api.github.com/users/gkucsko/followers",
"following_url": "https://api.github.com/users/gkucsko/following{/other_user}",
"gists_url": "https://api.github.com/users/gkucsko/gists{/gist_id}",
"starred_url": "https://api.github.com/users/gkucsko/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/gkucsko/subscriptions",
"organizations_url": "https://api.github.com/users/gkucsko/orgs",
"repos_url": "https://api.github.com/users/gkucsko/repos",
"events_url": "https://api.github.com/users/gkucsko/events{/privacy}",
"received_events_url": "https://api.github.com/users/gkucsko/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | null | 2022-06-02T21:40:21 | 2022-06-15T20:06:55 | 2022-06-15T20:06:55 | CONTRIBUTOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/4317",
"html_url": "https://github.com/NVIDIA/NeMo/pull/4317",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/4317.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/4317.patch",
"merged_at": "2022-06-15T20:06:55"
} | In certain environments python multiprocessing can deadlock. This adds a convenient version to disable by setting num_workers to 1. | {
"login": "fayejf",
"id": 36722593,
"node_id": "MDQ6VXNlcjM2NzIyNTkz",
"avatar_url": "https://avatars.githubusercontent.com/u/36722593?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/fayejf",
"html_url": "https://github.com/fayejf",
"followers_url": "https://api.github.com/users/fayejf/followers",
"following_url": "https://api.github.com/users/fayejf/following{/other_user}",
"gists_url": "https://api.github.com/users/fayejf/gists{/gist_id}",
"starred_url": "https://api.github.com/users/fayejf/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/fayejf/subscriptions",
"organizations_url": "https://api.github.com/users/fayejf/orgs",
"repos_url": "https://api.github.com/users/fayejf/repos",
"events_url": "https://api.github.com/users/fayejf/events{/privacy}",
"received_events_url": "https://api.github.com/users/fayejf/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/4317/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/4317/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/4316 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/4316/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/4316/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/4316/events | https://github.com/NVIDIA/NeMo/pull/4316 | 1,258,759,297 | PR_kwDOC_bI7s45AZpB | 4,316 | Option to disable mp in VAD via num_workers=1 | {
"login": "gkucsko",
"id": 5068315,
"node_id": "MDQ6VXNlcjUwNjgzMTU=",
"avatar_url": "https://avatars.githubusercontent.com/u/5068315?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gkucsko",
"html_url": "https://github.com/gkucsko",
"followers_url": "https://api.github.com/users/gkucsko/followers",
"following_url": "https://api.github.com/users/gkucsko/following{/other_user}",
"gists_url": "https://api.github.com/users/gkucsko/gists{/gist_id}",
"starred_url": "https://api.github.com/users/gkucsko/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/gkucsko/subscriptions",
"organizations_url": "https://api.github.com/users/gkucsko/orgs",
"repos_url": "https://api.github.com/users/gkucsko/repos",
"events_url": "https://api.github.com/users/gkucsko/events{/privacy}",
"received_events_url": "https://api.github.com/users/gkucsko/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | null | 2022-06-02T21:25:45 | 2022-06-02T21:40:24 | 2022-06-02T21:40:24 | CONTRIBUTOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/4316",
"html_url": "https://github.com/NVIDIA/NeMo/pull/4316",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/4316.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/4316.patch",
"merged_at": null
} | In certain environments python multiprocessing can deadlock. This adds a convenient version to disable by setting num_workers to 1. | {
"login": "gkucsko",
"id": 5068315,
"node_id": "MDQ6VXNlcjUwNjgzMTU=",
"avatar_url": "https://avatars.githubusercontent.com/u/5068315?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gkucsko",
"html_url": "https://github.com/gkucsko",
"followers_url": "https://api.github.com/users/gkucsko/followers",
"following_url": "https://api.github.com/users/gkucsko/following{/other_user}",
"gists_url": "https://api.github.com/users/gkucsko/gists{/gist_id}",
"starred_url": "https://api.github.com/users/gkucsko/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/gkucsko/subscriptions",
"organizations_url": "https://api.github.com/users/gkucsko/orgs",
"repos_url": "https://api.github.com/users/gkucsko/repos",
"events_url": "https://api.github.com/users/gkucsko/events{/privacy}",
"received_events_url": "https://api.github.com/users/gkucsko/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/4316/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/4316/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/4315 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/4315/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/4315/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/4315/events | https://github.com/NVIDIA/NeMo/issues/4315 | 1,258,594,405 | I_kwDOC_bI7s5LBKBl | 4,315 | Multiprocessing hangs in VAD during diarization | {
"login": "gkucsko",
"id": 5068315,
"node_id": "MDQ6VXNlcjUwNjgzMTU=",
"avatar_url": "https://avatars.githubusercontent.com/u/5068315?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gkucsko",
"html_url": "https://github.com/gkucsko",
"followers_url": "https://api.github.com/users/gkucsko/followers",
"following_url": "https://api.github.com/users/gkucsko/following{/other_user}",
"gists_url": "https://api.github.com/users/gkucsko/gists{/gist_id}",
"starred_url": "https://api.github.com/users/gkucsko/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/gkucsko/subscriptions",
"organizations_url": "https://api.github.com/users/gkucsko/orgs",
"repos_url": "https://api.github.com/users/gkucsko/repos",
"events_url": "https://api.github.com/users/gkucsko/events{/privacy}",
"received_events_url": "https://api.github.com/users/gkucsko/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": "fayejf",
"id": 36722593,
"node_id": "MDQ6VXNlcjM2NzIyNTkz",
"avatar_url": "https://avatars.githubusercontent.com/u/36722593?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/fayejf",
"html_url": "https://github.com/fayejf",
"followers_url": "https://api.github.com/users/fayejf/followers",
"following_url": "https://api.github.com/users/fayejf/following{/other_user}",
"gists_url": "https://api.github.com/users/fayejf/gists{/gist_id}",
"starred_url": "https://api.github.com/users/fayejf/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/fayejf/subscriptions",
"organizations_url": "https://api.github.com/users/fayejf/orgs",
"repos_url": "https://api.github.com/users/fayejf/repos",
"events_url": "https://api.github.com/users/fayejf/events{/privacy}",
"received_events_url": "https://api.github.com/users/fayejf/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"login": "fayejf",
"id": 36722593,
"node_id": "MDQ6VXNlcjM2NzIyNTkz",
"avatar_url": "https://avatars.githubusercontent.com/u/36722593?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/fayejf",
"html_url": "https://github.com/fayejf",
"followers_url": "https://api.github.com/users/fayejf/followers",
"following_url": "https://api.github.com/users/fayejf/following{/other_user}",
"gists_url": "https://api.github.com/users/fayejf/gists{/gist_id}",
"starred_url": "https://api.github.com/users/fayejf/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/fayejf/subscriptions",
"organizations_url": "https://api.github.com/users/fayejf/orgs",
"repos_url": "https://api.github.com/users/fayejf/repos",
"events_url": "https://api.github.com/users/fayejf/events{/privacy}",
"received_events_url": "https://api.github.com/users/fayejf/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
}
] | null | null | 2022-06-02T19:24:23 | 2022-06-14T17:34:42 | 2022-06-14T17:02:59 | CONTRIBUTOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | In some environments, VAD as part of the diarizer stalls during multiprocessing. Would probably warrant some closer investigation into spawn context, but for a quick fix I added a mini PR to disable multiprocessing by setting num_workers=1
https://github.com/NVIDIA/NeMo/pull/4317 | {
"login": "fayejf",
"id": 36722593,
"node_id": "MDQ6VXNlcjM2NzIyNTkz",
"avatar_url": "https://avatars.githubusercontent.com/u/36722593?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/fayejf",
"html_url": "https://github.com/fayejf",
"followers_url": "https://api.github.com/users/fayejf/followers",
"following_url": "https://api.github.com/users/fayejf/following{/other_user}",
"gists_url": "https://api.github.com/users/fayejf/gists{/gist_id}",
"starred_url": "https://api.github.com/users/fayejf/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/fayejf/subscriptions",
"organizations_url": "https://api.github.com/users/fayejf/orgs",
"repos_url": "https://api.github.com/users/fayejf/repos",
"events_url": "https://api.github.com/users/fayejf/events{/privacy}",
"received_events_url": "https://api.github.com/users/fayejf/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/4315/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/4315/timeline | null | completed | false |
https://api.github.com/repos/NVIDIA/NeMo/issues/4314 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/4314/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/4314/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/4314/events | https://github.com/NVIDIA/NeMo/issues/4314 | 1,258,508,279 | I_kwDOC_bI7s5LA0_3 | 4,314 | How should i use Kaldi MFCCs? | {
"login": "mesut92",
"id": 8597737,
"node_id": "MDQ6VXNlcjg1OTc3Mzc=",
"avatar_url": "https://avatars.githubusercontent.com/u/8597737?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mesut92",
"html_url": "https://github.com/mesut92",
"followers_url": "https://api.github.com/users/mesut92/followers",
"following_url": "https://api.github.com/users/mesut92/following{/other_user}",
"gists_url": "https://api.github.com/users/mesut92/gists{/gist_id}",
"starred_url": "https://api.github.com/users/mesut92/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mesut92/subscriptions",
"organizations_url": "https://api.github.com/users/mesut92/orgs",
"repos_url": "https://api.github.com/users/mesut92/repos",
"events_url": "https://api.github.com/users/mesut92/events{/privacy}",
"received_events_url": "https://api.github.com/users/mesut92/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"id": 1719393562,
"node_id": "MDU6TGFiZWwxNzE5MzkzNTYy",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/feature",
"name": "feature",
"color": "68F3F0",
"default": false,
"description": "request/PR for a new feature"
}
] | 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 | null | 2022-06-02T17:51:18 | 2022-06-02T20:43:34 | 2022-06-02T20:43:34 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | Hi
I have kaldi feats.ark and text, but i do not have wavs. And i need to train ASR. I guess you had scripts for that before, but you removed them. Do you have any suggestion for me?Or any way to use feats?
Thanks
Best Regards
https://docs.nvidia.com/deeplearning/nemo/user-guide/docs/en/stable/starthere/best-practices.html?highlight=kaldi#using-kaldi-formatted-data
| {
"login": "mesut92",
"id": 8597737,
"node_id": "MDQ6VXNlcjg1OTc3Mzc=",
"avatar_url": "https://avatars.githubusercontent.com/u/8597737?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mesut92",
"html_url": "https://github.com/mesut92",
"followers_url": "https://api.github.com/users/mesut92/followers",
"following_url": "https://api.github.com/users/mesut92/following{/other_user}",
"gists_url": "https://api.github.com/users/mesut92/gists{/gist_id}",
"starred_url": "https://api.github.com/users/mesut92/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mesut92/subscriptions",
"organizations_url": "https://api.github.com/users/mesut92/orgs",
"repos_url": "https://api.github.com/users/mesut92/repos",
"events_url": "https://api.github.com/users/mesut92/events{/privacy}",
"received_events_url": "https://api.github.com/users/mesut92/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/4314/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/4314/timeline | null | completed | false |
https://api.github.com/repos/NVIDIA/NeMo/issues/4313 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/4313/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/4313/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/4313/events | https://github.com/NVIDIA/NeMo/issues/4313 | 1,258,459,979 | I_kwDOC_bI7s5LApNL | 4,313 | Is it possible to write custom dataloader and embed it in the architecture of the QuartzNet model for training? | {
"login": "psydok",
"id": 47638600,
"node_id": "MDQ6VXNlcjQ3NjM4NjAw",
"avatar_url": "https://avatars.githubusercontent.com/u/47638600?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/psydok",
"html_url": "https://github.com/psydok",
"followers_url": "https://api.github.com/users/psydok/followers",
"following_url": "https://api.github.com/users/psydok/following{/other_user}",
"gists_url": "https://api.github.com/users/psydok/gists{/gist_id}",
"starred_url": "https://api.github.com/users/psydok/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/psydok/subscriptions",
"organizations_url": "https://api.github.com/users/psydok/orgs",
"repos_url": "https://api.github.com/users/psydok/repos",
"events_url": "https://api.github.com/users/psydok/events{/privacy}",
"received_events_url": "https://api.github.com/users/psydok/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"id": 1719393562,
"node_id": "MDU6TGFiZWwxNzE5MzkzNTYy",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/feature",
"name": "feature",
"color": "68F3F0",
"default": false,
"description": "request/PR for a new feature"
}
] | 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 | null | 2022-06-02T17:04:23 | 2022-06-04T22:21:13 | 2022-06-04T22:21:13 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | Good evening! I have 2 questions...
1. Is it possible to write your own dataloader and embed it in the architecture of the QuartzNet model for training?
It seems to me that I saw somewhere how the default dataloader is replaced with a custom dataloader. But I can't find an example of how to do it.
2. Is it possible to somehow see which dataloader is used from the loaded model in the code?
Many thanks in advance for any insights! | {
"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/4313/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/4313/timeline | null | completed | false |
https://api.github.com/repos/NVIDIA/NeMo/issues/4312 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/4312/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/4312/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/4312/events | https://github.com/NVIDIA/NeMo/pull/4312 | 1,257,658,826 | PR_kwDOC_bI7s448wiX | 4,312 | Removes debug logging statements in Megatron NMT | {
"login": "MaximumEntropy",
"id": 9114321,
"node_id": "MDQ6VXNlcjkxMTQzMjE=",
"avatar_url": "https://avatars.githubusercontent.com/u/9114321?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/MaximumEntropy",
"html_url": "https://github.com/MaximumEntropy",
"followers_url": "https://api.github.com/users/MaximumEntropy/followers",
"following_url": "https://api.github.com/users/MaximumEntropy/following{/other_user}",
"gists_url": "https://api.github.com/users/MaximumEntropy/gists{/gist_id}",
"starred_url": "https://api.github.com/users/MaximumEntropy/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/MaximumEntropy/subscriptions",
"organizations_url": "https://api.github.com/users/MaximumEntropy/orgs",
"repos_url": "https://api.github.com/users/MaximumEntropy/repos",
"events_url": "https://api.github.com/users/MaximumEntropy/events{/privacy}",
"received_events_url": "https://api.github.com/users/MaximumEntropy/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | null | 2022-06-02T04:10:03 | 2022-06-02T20:44:09 | 2022-06-02T20:44:06 | CONTRIBUTOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/4312",
"html_url": "https://github.com/NVIDIA/NeMo/pull/4312",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/4312.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/4312.patch",
"merged_at": "2022-06-02T20:44:06"
} | # What does this PR do ?
Removes logging statements that were added to debug.
**Collection**: NLP
# Changelog
- Removes logging statements that were added to debug megatron NMT
# Usage
* You can potentially add a usage example below
```python
# Add a code snippet demonstrating how to use this
```
# 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": "aklife97",
"id": 16078071,
"node_id": "MDQ6VXNlcjE2MDc4MDcx",
"avatar_url": "https://avatars.githubusercontent.com/u/16078071?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/aklife97",
"html_url": "https://github.com/aklife97",
"followers_url": "https://api.github.com/users/aklife97/followers",
"following_url": "https://api.github.com/users/aklife97/following{/other_user}",
"gists_url": "https://api.github.com/users/aklife97/gists{/gist_id}",
"starred_url": "https://api.github.com/users/aklife97/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/aklife97/subscriptions",
"organizations_url": "https://api.github.com/users/aklife97/orgs",
"repos_url": "https://api.github.com/users/aklife97/repos",
"events_url": "https://api.github.com/users/aklife97/events{/privacy}",
"received_events_url": "https://api.github.com/users/aklife97/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/4312/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/4312/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/4311 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/4311/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/4311/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/4311/events | https://github.com/NVIDIA/NeMo/pull/4311 | 1,257,436,665 | PR_kwDOC_bI7s448BP6 | 4,311 | Add NeMo Adapters tutorial to Core | {
"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
} | [] | closed | false | null | [] | null | null | 2022-06-02T01:12:14 | 2022-06-02T02:40:58 | 2022-06-02T02:40:55 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/4311",
"html_url": "https://github.com/NVIDIA/NeMo/pull/4311",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/4311.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/4311.patch",
"merged_at": "2022-06-02T02:40:55"
} | Signed-off-by: smajumdar <[email protected]>
# What does this PR do ?
Adds NeMo adapters tutorial to Core
**Collection**: [Core, ASR]
# Changelog
- Adds tutorial that explains how to add adapter support to any NeMo / PyTorch model.
# 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
| {
"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/4311/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/4311/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/4310 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/4310/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/4310/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/4310/events | https://github.com/NVIDIA/NeMo/pull/4310 | 1,257,172,420 | PR_kwDOC_bI7s447DrT | 4,310 | IPA support for TTS | {
"login": "redoctopus",
"id": 4268876,
"node_id": "MDQ6VXNlcjQyNjg4NzY=",
"avatar_url": "https://avatars.githubusercontent.com/u/4268876?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/redoctopus",
"html_url": "https://github.com/redoctopus",
"followers_url": "https://api.github.com/users/redoctopus/followers",
"following_url": "https://api.github.com/users/redoctopus/following{/other_user}",
"gists_url": "https://api.github.com/users/redoctopus/gists{/gist_id}",
"starred_url": "https://api.github.com/users/redoctopus/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/redoctopus/subscriptions",
"organizations_url": "https://api.github.com/users/redoctopus/orgs",
"repos_url": "https://api.github.com/users/redoctopus/repos",
"events_url": "https://api.github.com/users/redoctopus/events{/privacy}",
"received_events_url": "https://api.github.com/users/redoctopus/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | null | 2022-06-01T22:20:45 | 2022-06-08T16:44:55 | 2022-06-08T16:44:52 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/4310",
"html_url": "https://github.com/NVIDIA/NeMo/pull/4310",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/4310.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/4310.patch",
"merged_at": "2022-06-08T16:44:52"
} | # What does this PR do ?
Add IPA support to TTS collection with new tokenizer, G2P class, and CMUdict with IPA entries.
**Collection**: TTS
# Changelog
- Adds static tokenizer and G2P that handle IPA
- Adds CMUdict version with IPA entries that can be used with the above classes to train TTS models
- New, completely revamped heteronyms file (old one will be removed in a future PR; it doesn't match up with the existing CMUdict entries we have)
- New example IPA FastPitch config
# Usage
The new IPA FastPitch config can be used practically identically to the previous configs, e.g.:
```bash
python examples/tts/fastpitch.py --config-name=fastpitch_align_ipa.yaml \
train_dataset=/LJSpeech/nvidia_ljspeech_train.json \
validation_datasets=/LJSpeech/nvidia_ljspeech_val.json \
sup_data_path=/LJSpeech/supplementary/
```
**PR Type**:
- [x] New Feature
- [ ] Bugfix
- [ ] Documentation | {
"login": "ekmb",
"id": 10428420,
"node_id": "MDQ6VXNlcjEwNDI4NDIw",
"avatar_url": "https://avatars.githubusercontent.com/u/10428420?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ekmb",
"html_url": "https://github.com/ekmb",
"followers_url": "https://api.github.com/users/ekmb/followers",
"following_url": "https://api.github.com/users/ekmb/following{/other_user}",
"gists_url": "https://api.github.com/users/ekmb/gists{/gist_id}",
"starred_url": "https://api.github.com/users/ekmb/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ekmb/subscriptions",
"organizations_url": "https://api.github.com/users/ekmb/orgs",
"repos_url": "https://api.github.com/users/ekmb/repos",
"events_url": "https://api.github.com/users/ekmb/events{/privacy}",
"received_events_url": "https://api.github.com/users/ekmb/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/4310/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/4310/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/4309 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/4309/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/4309/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/4309/events | https://github.com/NVIDIA/NeMo/pull/4309 | 1,257,157,927 | PR_kwDOC_bI7s447AUV | 4,309 | Remove verbose flag from Dali Index Creator | {
"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
} | [] | closed | false | null | [] | null | null | 2022-06-01T22:11:45 | 2022-06-01T22:12:02 | 2022-06-01T22:11:59 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/4309",
"html_url": "https://github.com/NVIDIA/NeMo/pull/4309",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/4309.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/4309.patch",
"merged_at": "2022-06-01T22:11:59"
} | Signed-off-by: smajumdar <[email protected]>
# What does this PR do ?
Fix an issue in Dali Index Creator causing a crash.
**Collection**: [ASR]
# Changelog
- Remove verbose=False arg from DALI Index Creator.
**PR Type**:
- [ ] New Feature
- [x] Bugfix
- [ ] Documentation
| {
"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/4309/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/4309/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/4308 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/4308/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/4308/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/4308/events | https://github.com/NVIDIA/NeMo/pull/4308 | 1,257,034,114 | PR_kwDOC_bI7s446jkJ | 4,308 | Adjust lr for AdamW from LAMB default | {
"login": "redoctopus",
"id": 4268876,
"node_id": "MDQ6VXNlcjQyNjg4NzY=",
"avatar_url": "https://avatars.githubusercontent.com/u/4268876?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/redoctopus",
"html_url": "https://github.com/redoctopus",
"followers_url": "https://api.github.com/users/redoctopus/followers",
"following_url": "https://api.github.com/users/redoctopus/following{/other_user}",
"gists_url": "https://api.github.com/users/redoctopus/gists{/gist_id}",
"starred_url": "https://api.github.com/users/redoctopus/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/redoctopus/subscriptions",
"organizations_url": "https://api.github.com/users/redoctopus/orgs",
"repos_url": "https://api.github.com/users/redoctopus/repos",
"events_url": "https://api.github.com/users/redoctopus/events{/privacy}",
"received_events_url": "https://api.github.com/users/redoctopus/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | null | 2022-06-01T21:02:40 | 2022-06-02T16:47:06 | 2022-06-02T16:47:02 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/4308",
"html_url": "https://github.com/NVIDIA/NeMo/pull/4308",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/4308.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/4308.patch",
"merged_at": "2022-06-02T16:47:02"
} | Signed-off-by: Jocelyn Huang <[email protected]>
# What does this PR do ?
Adjusts default learning rate down to 1e-3 due to change in default optimizer to AdamW from LAMB (see PR #4233)
**Collection**: TTS
# Changelog
- Changes default learning rate from 1e-1 to 1e-3 for FastPitch and Mixer-TTS models | {
"login": "redoctopus",
"id": 4268876,
"node_id": "MDQ6VXNlcjQyNjg4NzY=",
"avatar_url": "https://avatars.githubusercontent.com/u/4268876?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/redoctopus",
"html_url": "https://github.com/redoctopus",
"followers_url": "https://api.github.com/users/redoctopus/followers",
"following_url": "https://api.github.com/users/redoctopus/following{/other_user}",
"gists_url": "https://api.github.com/users/redoctopus/gists{/gist_id}",
"starred_url": "https://api.github.com/users/redoctopus/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/redoctopus/subscriptions",
"organizations_url": "https://api.github.com/users/redoctopus/orgs",
"repos_url": "https://api.github.com/users/redoctopus/repos",
"events_url": "https://api.github.com/users/redoctopus/events{/privacy}",
"received_events_url": "https://api.github.com/users/redoctopus/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/4308/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/4308/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/4307 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/4307/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/4307/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/4307/events | https://github.com/NVIDIA/NeMo/pull/4307 | 1,256,790,383 | PR_kwDOC_bI7s445rGq | 4,307 | Fix PTL step calculation | {
"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
} | [] | closed | false | null | [] | null | null | 2022-06-01T18:58:55 | 2022-06-01T20:07:57 | 2022-06-01T20:07:54 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/4307",
"html_url": "https://github.com/NVIDIA/NeMo/pull/4307",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/4307.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/4307.patch",
"merged_at": "2022-06-01T20:07:54"
} | Signed-off-by: smajumdar <[email protected]>
# What does this PR do ?
Fixes an issue with step calculation logic.
**Collection**: [Core]
# Changelog
- Update tests to increase num steps.
**PR Type**:
- [ ] New Feature
- [x] Bugfix
- [ ] Documentation
| {
"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/4307/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/4307/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/4306 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/4306/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/4306/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/4306/events | https://github.com/NVIDIA/NeMo/pull/4306 | 1,256,725,979 | PR_kwDOC_bI7s445cHF | 4,306 | clear access registry when adding if not empty | {
"login": "sam1373",
"id": 24465107,
"node_id": "MDQ6VXNlcjI0NDY1MTA3",
"avatar_url": "https://avatars.githubusercontent.com/u/24465107?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sam1373",
"html_url": "https://github.com/sam1373",
"followers_url": "https://api.github.com/users/sam1373/followers",
"following_url": "https://api.github.com/users/sam1373/following{/other_user}",
"gists_url": "https://api.github.com/users/sam1373/gists{/gist_id}",
"starred_url": "https://api.github.com/users/sam1373/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/sam1373/subscriptions",
"organizations_url": "https://api.github.com/users/sam1373/orgs",
"repos_url": "https://api.github.com/users/sam1373/repos",
"events_url": "https://api.github.com/users/sam1373/events{/privacy}",
"received_events_url": "https://api.github.com/users/sam1373/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | null | 2022-06-01T18:31:25 | 2022-06-01T22:41:36 | 2022-06-01T22:41:36 | CONTRIBUTOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/4306",
"html_url": "https://github.com/NVIDIA/NeMo/pull/4306",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/4306.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/4306.patch",
"merged_at": "2022-06-01T22:41:36"
} | Signed-off-by: sam1373 <[email protected]>
# What does this PR do ?
Clear registry if trying to add when it isn't empty
**Collection**: Core
**PR Type**:
- [ ] New Feature
- [X] Bugfix
- [ ] Documentation | {
"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/4306/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/4306/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/4304 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/4304/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/4304/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/4304/events | https://github.com/NVIDIA/NeMo/pull/4304 | 1,256,498,701 | PR_kwDOC_bI7s444nYz | 4,304 | Add library name and version when downloading from the Hugging Face Hub | {
"login": "osanseviero",
"id": 7246357,
"node_id": "MDQ6VXNlcjcyNDYzNTc=",
"avatar_url": "https://avatars.githubusercontent.com/u/7246357?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/osanseviero",
"html_url": "https://github.com/osanseviero",
"followers_url": "https://api.github.com/users/osanseviero/followers",
"following_url": "https://api.github.com/users/osanseviero/following{/other_user}",
"gists_url": "https://api.github.com/users/osanseviero/gists{/gist_id}",
"starred_url": "https://api.github.com/users/osanseviero/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/osanseviero/subscriptions",
"organizations_url": "https://api.github.com/users/osanseviero/orgs",
"repos_url": "https://api.github.com/users/osanseviero/repos",
"events_url": "https://api.github.com/users/osanseviero/events{/privacy}",
"received_events_url": "https://api.github.com/users/osanseviero/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | null | 2022-06-01T16:56:38 | 2022-06-01T21:28:57 | 2022-06-01T21:28:57 | CONTRIBUTOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/4304",
"html_url": "https://github.com/NVIDIA/NeMo/pull/4304",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/4304.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/4304.patch",
"merged_at": "2022-06-01T21:28:57"
} | # What does this PR do ?
Provides additional information for more granular metrics in the future of what version of the library is being used when downloading files.
**Collection**: [Core]
# Changelog
- Trivial change with no functional change
# 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
- [ ] Documentation
If you haven't finished some of the above items you can still open "Draft" PR.
## Who can review?
@titu1994
| {
"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/4304/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/4304/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/4303 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/4303/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/4303/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/4303/events | https://github.com/NVIDIA/NeMo/pull/4303 | 1,256,420,279 | PR_kwDOC_bI7s444Vfi | 4,303 | Adding docs for ASR SSL | {
"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
} | [] | closed | false | null | [] | null | null | 2022-06-01T16:22:28 | 2022-06-06T15:19:07 | 2022-06-06T15:18:40 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/4303",
"html_url": "https://github.com/NVIDIA/NeMo/pull/4303",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/4303.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/4303.patch",
"merged_at": "2022-06-06T15:18:40"
} | # What does this PR do ?
Adding documents for SSL in ASR
**Collection**: ASR
# Changelog
- Added document in `NeMo/docs/source/asr/ssl`
# 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": "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
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/4303/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/4303/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/4302 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/4302/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/4302/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/4302/events | https://github.com/NVIDIA/NeMo/pull/4302 | 1,256,351,891 | PR_kwDOC_bI7s444G8B | 4,302 | Tn add rules | {
"login": "yzhang123",
"id": 4204271,
"node_id": "MDQ6VXNlcjQyMDQyNzE=",
"avatar_url": "https://avatars.githubusercontent.com/u/4204271?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yzhang123",
"html_url": "https://github.com/yzhang123",
"followers_url": "https://api.github.com/users/yzhang123/followers",
"following_url": "https://api.github.com/users/yzhang123/following{/other_user}",
"gists_url": "https://api.github.com/users/yzhang123/gists{/gist_id}",
"starred_url": "https://api.github.com/users/yzhang123/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/yzhang123/subscriptions",
"organizations_url": "https://api.github.com/users/yzhang123/orgs",
"repos_url": "https://api.github.com/users/yzhang123/repos",
"events_url": "https://api.github.com/users/yzhang123/events{/privacy}",
"received_events_url": "https://api.github.com/users/yzhang123/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | null | 2022-06-01T15:54:57 | 2022-06-03T14:35:44 | 2022-06-03T05:29:15 | CONTRIBUTOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/4302",
"html_url": "https://github.com/NVIDIA/NeMo/pull/4302",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/4302.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/4302.patch",
"merged_at": "2022-06-03T05:29:15"
} | null | {
"login": "ekmb",
"id": 10428420,
"node_id": "MDQ6VXNlcjEwNDI4NDIw",
"avatar_url": "https://avatars.githubusercontent.com/u/10428420?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ekmb",
"html_url": "https://github.com/ekmb",
"followers_url": "https://api.github.com/users/ekmb/followers",
"following_url": "https://api.github.com/users/ekmb/following{/other_user}",
"gists_url": "https://api.github.com/users/ekmb/gists{/gist_id}",
"starred_url": "https://api.github.com/users/ekmb/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ekmb/subscriptions",
"organizations_url": "https://api.github.com/users/ekmb/orgs",
"repos_url": "https://api.github.com/users/ekmb/repos",
"events_url": "https://api.github.com/users/ekmb/events{/privacy}",
"received_events_url": "https://api.github.com/users/ekmb/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/4302/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/4302/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/4301 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/4301/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/4301/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/4301/events | https://github.com/NVIDIA/NeMo/pull/4301 | 1,256,256,945 | PR_kwDOC_bI7s443xVE | 4,301 | Option to disable mp in VAD via num_workers=1 | {
"login": "gkucsko",
"id": 5068315,
"node_id": "MDQ6VXNlcjUwNjgzMTU=",
"avatar_url": "https://avatars.githubusercontent.com/u/5068315?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gkucsko",
"html_url": "https://github.com/gkucsko",
"followers_url": "https://api.github.com/users/gkucsko/followers",
"following_url": "https://api.github.com/users/gkucsko/following{/other_user}",
"gists_url": "https://api.github.com/users/gkucsko/gists{/gist_id}",
"starred_url": "https://api.github.com/users/gkucsko/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/gkucsko/subscriptions",
"organizations_url": "https://api.github.com/users/gkucsko/orgs",
"repos_url": "https://api.github.com/users/gkucsko/repos",
"events_url": "https://api.github.com/users/gkucsko/events{/privacy}",
"received_events_url": "https://api.github.com/users/gkucsko/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | null | 2022-06-01T15:14:25 | 2022-06-02T21:26:28 | 2022-06-02T21:14:16 | CONTRIBUTOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/4301",
"html_url": "https://github.com/NVIDIA/NeMo/pull/4301",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/4301.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/4301.patch",
"merged_at": null
} | In certain environments python multiprocessing can deadlock. This adds a convenient version to disable by setting num_workers to 1. | {
"login": "gkucsko",
"id": 5068315,
"node_id": "MDQ6VXNlcjUwNjgzMTU=",
"avatar_url": "https://avatars.githubusercontent.com/u/5068315?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gkucsko",
"html_url": "https://github.com/gkucsko",
"followers_url": "https://api.github.com/users/gkucsko/followers",
"following_url": "https://api.github.com/users/gkucsko/following{/other_user}",
"gists_url": "https://api.github.com/users/gkucsko/gists{/gist_id}",
"starred_url": "https://api.github.com/users/gkucsko/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/gkucsko/subscriptions",
"organizations_url": "https://api.github.com/users/gkucsko/orgs",
"repos_url": "https://api.github.com/users/gkucsko/repos",
"events_url": "https://api.github.com/users/gkucsko/events{/privacy}",
"received_events_url": "https://api.github.com/users/gkucsko/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/4301/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/4301/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/4300 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/4300/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/4300/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/4300/events | https://github.com/NVIDIA/NeMo/issues/4300 | 1,255,928,406 | I_kwDOC_bI7s5K2_JW | 4,300 | Problems running multi-gpu punctuation capitalization training | {
"login": "itzsimpl",
"id": 4784070,
"node_id": "MDQ6VXNlcjQ3ODQwNzA=",
"avatar_url": "https://avatars.githubusercontent.com/u/4784070?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/itzsimpl",
"html_url": "https://github.com/itzsimpl",
"followers_url": "https://api.github.com/users/itzsimpl/followers",
"following_url": "https://api.github.com/users/itzsimpl/following{/other_user}",
"gists_url": "https://api.github.com/users/itzsimpl/gists{/gist_id}",
"starred_url": "https://api.github.com/users/itzsimpl/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/itzsimpl/subscriptions",
"organizations_url": "https://api.github.com/users/itzsimpl/orgs",
"repos_url": "https://api.github.com/users/itzsimpl/repos",
"events_url": "https://api.github.com/users/itzsimpl/events{/privacy}",
"received_events_url": "https://api.github.com/users/itzsimpl/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": "PeganovAnton",
"id": 10737305,
"node_id": "MDQ6VXNlcjEwNzM3MzA1",
"avatar_url": "https://avatars.githubusercontent.com/u/10737305?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/PeganovAnton",
"html_url": "https://github.com/PeganovAnton",
"followers_url": "https://api.github.com/users/PeganovAnton/followers",
"following_url": "https://api.github.com/users/PeganovAnton/following{/other_user}",
"gists_url": "https://api.github.com/users/PeganovAnton/gists{/gist_id}",
"starred_url": "https://api.github.com/users/PeganovAnton/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/PeganovAnton/subscriptions",
"organizations_url": "https://api.github.com/users/PeganovAnton/orgs",
"repos_url": "https://api.github.com/users/PeganovAnton/repos",
"events_url": "https://api.github.com/users/PeganovAnton/events{/privacy}",
"received_events_url": "https://api.github.com/users/PeganovAnton/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"login": "PeganovAnton",
"id": 10737305,
"node_id": "MDQ6VXNlcjEwNzM3MzA1",
"avatar_url": "https://avatars.githubusercontent.com/u/10737305?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/PeganovAnton",
"html_url": "https://github.com/PeganovAnton",
"followers_url": "https://api.github.com/users/PeganovAnton/followers",
"following_url": "https://api.github.com/users/PeganovAnton/following{/other_user}",
"gists_url": "https://api.github.com/users/PeganovAnton/gists{/gist_id}",
"starred_url": "https://api.github.com/users/PeganovAnton/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/PeganovAnton/subscriptions",
"organizations_url": "https://api.github.com/users/PeganovAnton/orgs",
"repos_url": "https://api.github.com/users/PeganovAnton/repos",
"events_url": "https://api.github.com/users/PeganovAnton/events{/privacy}",
"received_events_url": "https://api.github.com/users/PeganovAnton/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
}
] | null | null | 2022-06-01T12:54:11 | 2022-08-25T14:59:34 | 2022-08-25T14:59:33 | CONTRIBUTOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | **Describe the bug**
Running multi-gpu training without a pre-prepared cache, crashes upon initialization with the following trace
```python3
Traceback (most recent call last):
File "examples/nlp/token_classification/punctuation_capitalization_train_evaluate.py", line 155, in <module>
main()
File "/workspace/nemo/nemo/core/config/hydra_runner.py", line 104, in wrapper
_run_hydra(
File "/opt/conda/lib/python3.8/site-packages/hydra/_internal/utils.py", line 377, in _run_hydra
run_and_report(
File "/opt/conda/lib/python3.8/site-packages/hydra/_internal/utils.py", line 214, in run_and_report
raise ex
File "/opt/conda/lib/python3.8/site-packages/hydra/_internal/utils.py", line 211, in run_and_report
return func()
File "/opt/conda/lib/python3.8/site-packages/hydra/_internal/utils.py", line 378, in <lambda>
lambda: hydra.run(
File "/opt/conda/lib/python3.8/site-packages/hydra/_internal/hydra.py", line 111, in run
_ = ret.return_value
File "/opt/conda/lib/python3.8/site-packages/hydra/core/utils.py", line 233, in return_value
raise self._return_value
File "/opt/conda/lib/python3.8/site-packages/hydra/core/utils.py", line 160, in run_job
ret.return_value = task_function(task_cfg)
File "examples/nlp/token_classification/punctuation_capitalization_train_evaluate.py", line 116, in main
model = PunctuationCapitalizationModel(cfg.model, trainer=trainer)
File "/workspace/nemo/nemo/collections/nlp/models/token_classification/punctuation_capitalization_model.py", line 101, in __init__
super().__init__(cfg=cfg, trainer=trainer)
File "/workspace/nemo/nemo/collections/nlp/models/nlp_model.py", line 98, in __init__
super().__init__(cfg, trainer)
File "/workspace/nemo/nemo/core/classes/modelPT.py", line 138, in __init__
self.setup_training_data(self._cfg.train_ds)
File "/workspace/nemo/nemo/collections/nlp/models/token_classification/punctuation_capitalization_model.py", line 469, in setup_training_data
self._train_dl = self._setup_dataloader_from_config(cfg=train_data_config, train=True)
File "/workspace/nemo/nemo/collections/nlp/models/token_classification/punctuation_capitalization_model.py", line 773, in _setup_dataloader_from_config
dataset = BertPunctuationCapitalizationDataset(
File "/workspace/nemo/nemo/collections/nlp/data/token_classification/punctuation_capitalization_dataset.py", line 993, in __init__
features = pickle.load(self.features_pkl.open('rb'))
File "/opt/conda/lib/python3.8/pathlib.py", line 1222, in open
return io.open(self, mode, buffering, encoding, errors, newline,
File "/opt/conda/lib/python3.8/pathlib.py", line 1078, in _opener
return self._accessor.open(self, flags, mode)
FileNotFoundError: [Errno 2] No such file or directory: '/data/punct_v2/cached.text_train.BertTokenizer.max_seq_length512.vocab119547.all_samples.punctuation_capitalization.pkl'
```
The issue arises because, the order of starting the individual processes, does not guarantee that the process with `global_rank()=0` will start first. There seems to be a guard
https://github.com/NVIDIA/NeMo/blob/f9d45db36afae8d75aecc27175a854d289bffd84/nemo/collections/nlp/data/token_classification/punctuation_capitalization_dataset.py#L984-L985
that should block the other processes, but interestingly `torch.distributed.is_initialized()` returns `False` so the guard is skipped.
Adding the parameter `model.train_ds.use_cache=false`, does not help, since the cache is loaded irrespective of the value of this parameter https://github.com/NVIDIA/NeMo/blob/f9d45db36afae8d75aecc27175a854d289bffd84/nemo/collections/nlp/data/token_classification/punctuation_capitalization_dataset.py#L987-L988
**Steps/Code to reproduce bug**
Train using multiple GPUs without a pre-prepared cache.
**Expected behavior**
All processes except the one with `global_rank()=0` to wait for the master to finish preparing cache, and the training start afterwords.
**Environment overview (please complete the following information)**
- Environment location: SLURM
- Method of NeMo install: `pytorch:22.04-py3` container with `nemo:1.8.2` (`./reinstal.sh` without numba update).
| {
"login": "yzhang123",
"id": 4204271,
"node_id": "MDQ6VXNlcjQyMDQyNzE=",
"avatar_url": "https://avatars.githubusercontent.com/u/4204271?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yzhang123",
"html_url": "https://github.com/yzhang123",
"followers_url": "https://api.github.com/users/yzhang123/followers",
"following_url": "https://api.github.com/users/yzhang123/following{/other_user}",
"gists_url": "https://api.github.com/users/yzhang123/gists{/gist_id}",
"starred_url": "https://api.github.com/users/yzhang123/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/yzhang123/subscriptions",
"organizations_url": "https://api.github.com/users/yzhang123/orgs",
"repos_url": "https://api.github.com/users/yzhang123/repos",
"events_url": "https://api.github.com/users/yzhang123/events{/privacy}",
"received_events_url": "https://api.github.com/users/yzhang123/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/4300/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/4300/timeline | null | completed | false |
https://api.github.com/repos/NVIDIA/NeMo/issues/4299 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/4299/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/4299/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/4299/events | https://github.com/NVIDIA/NeMo/pull/4299 | 1,255,506,664 | PR_kwDOC_bI7s441Ft2 | 4,299 | Added support for subnet export | {
"login": "borisfom",
"id": 14189615,
"node_id": "MDQ6VXNlcjE0MTg5NjE1",
"avatar_url": "https://avatars.githubusercontent.com/u/14189615?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/borisfom",
"html_url": "https://github.com/borisfom",
"followers_url": "https://api.github.com/users/borisfom/followers",
"following_url": "https://api.github.com/users/borisfom/following{/other_user}",
"gists_url": "https://api.github.com/users/borisfom/gists{/gist_id}",
"starred_url": "https://api.github.com/users/borisfom/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/borisfom/subscriptions",
"organizations_url": "https://api.github.com/users/borisfom/orgs",
"repos_url": "https://api.github.com/users/borisfom/repos",
"events_url": "https://api.github.com/users/borisfom/events{/privacy}",
"received_events_url": "https://api.github.com/users/borisfom/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | null | 2022-06-01T09:37:27 | 2022-06-03T06:44:33 | 2022-06-03T06:44:32 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/4299",
"html_url": "https://github.com/NVIDIA/NeMo/pull/4299",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/4299.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/4299.patch",
"merged_at": "2022-06-03T06:44:32"
} | Signed-off-by: Boris Fomitchev <[email protected]>
# What does this PR do ?
Added support for subnet export: AIA-2515
**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
```
# 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": "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/4299/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/4299/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/4298 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/4298/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/4298/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/4298/events | https://github.com/NVIDIA/NeMo/pull/4298 | 1,255,438,299 | PR_kwDOC_bI7s4402Nc | 4,298 | Use unique names for temporary directories in punctuation and capitalization tests | {
"login": "PeganovAnton",
"id": 10737305,
"node_id": "MDQ6VXNlcjEwNzM3MzA1",
"avatar_url": "https://avatars.githubusercontent.com/u/10737305?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/PeganovAnton",
"html_url": "https://github.com/PeganovAnton",
"followers_url": "https://api.github.com/users/PeganovAnton/followers",
"following_url": "https://api.github.com/users/PeganovAnton/following{/other_user}",
"gists_url": "https://api.github.com/users/PeganovAnton/gists{/gist_id}",
"starred_url": "https://api.github.com/users/PeganovAnton/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/PeganovAnton/subscriptions",
"organizations_url": "https://api.github.com/users/PeganovAnton/orgs",
"repos_url": "https://api.github.com/users/PeganovAnton/repos",
"events_url": "https://api.github.com/users/PeganovAnton/events{/privacy}",
"received_events_url": "https://api.github.com/users/PeganovAnton/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": "PeganovAnton",
"id": 10737305,
"node_id": "MDQ6VXNlcjEwNzM3MzA1",
"avatar_url": "https://avatars.githubusercontent.com/u/10737305?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/PeganovAnton",
"html_url": "https://github.com/PeganovAnton",
"followers_url": "https://api.github.com/users/PeganovAnton/followers",
"following_url": "https://api.github.com/users/PeganovAnton/following{/other_user}",
"gists_url": "https://api.github.com/users/PeganovAnton/gists{/gist_id}",
"starred_url": "https://api.github.com/users/PeganovAnton/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/PeganovAnton/subscriptions",
"organizations_url": "https://api.github.com/users/PeganovAnton/orgs",
"repos_url": "https://api.github.com/users/PeganovAnton/repos",
"events_url": "https://api.github.com/users/PeganovAnton/events{/privacy}",
"received_events_url": "https://api.github.com/users/PeganovAnton/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"login": "PeganovAnton",
"id": 10737305,
"node_id": "MDQ6VXNlcjEwNzM3MzA1",
"avatar_url": "https://avatars.githubusercontent.com/u/10737305?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/PeganovAnton",
"html_url": "https://github.com/PeganovAnton",
"followers_url": "https://api.github.com/users/PeganovAnton/followers",
"following_url": "https://api.github.com/users/PeganovAnton/following{/other_user}",
"gists_url": "https://api.github.com/users/PeganovAnton/gists{/gist_id}",
"starred_url": "https://api.github.com/users/PeganovAnton/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/PeganovAnton/subscriptions",
"organizations_url": "https://api.github.com/users/PeganovAnton/orgs",
"repos_url": "https://api.github.com/users/PeganovAnton/repos",
"events_url": "https://api.github.com/users/PeganovAnton/events{/privacy}",
"received_events_url": "https://api.github.com/users/PeganovAnton/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
}
] | null | null | 2022-06-01T09:05:44 | 2022-06-02T08:06:04 | 2022-06-02T08:05:58 | CONTRIBUTOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/4298",
"html_url": "https://github.com/NVIDIA/NeMo/pull/4298",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/4298.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/4298.patch",
"merged_at": "2022-06-02T08:05:58"
} |
Use `mktemp -d` for creating temporary directories for punctuation and capitalization model tests. Previously race conditions happened if several similar tests were run on same machine.
**Collection**: nlp
**PR Type**:
- [ ] New Feature
- [x] Bugfix
- [ ] Documentation
If you haven't finished some of the above items you can still open "Draft" PR.
| {
"login": "PeganovAnton",
"id": 10737305,
"node_id": "MDQ6VXNlcjEwNzM3MzA1",
"avatar_url": "https://avatars.githubusercontent.com/u/10737305?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/PeganovAnton",
"html_url": "https://github.com/PeganovAnton",
"followers_url": "https://api.github.com/users/PeganovAnton/followers",
"following_url": "https://api.github.com/users/PeganovAnton/following{/other_user}",
"gists_url": "https://api.github.com/users/PeganovAnton/gists{/gist_id}",
"starred_url": "https://api.github.com/users/PeganovAnton/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/PeganovAnton/subscriptions",
"organizations_url": "https://api.github.com/users/PeganovAnton/orgs",
"repos_url": "https://api.github.com/users/PeganovAnton/repos",
"events_url": "https://api.github.com/users/PeganovAnton/events{/privacy}",
"received_events_url": "https://api.github.com/users/PeganovAnton/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/4298/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/4298/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/4297 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/4297/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/4297/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/4297/events | https://github.com/NVIDIA/NeMo/pull/4297 | 1,255,253,550 | PR_kwDOC_bI7s440MOG | 4,297 | [collections] bugfix for capturing NotImplementedError of non-supported sup data types. | {
"login": "XuesongYang",
"id": 1646669,
"node_id": "MDQ6VXNlcjE2NDY2Njk=",
"avatar_url": "https://avatars.githubusercontent.com/u/1646669?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/XuesongYang",
"html_url": "https://github.com/XuesongYang",
"followers_url": "https://api.github.com/users/XuesongYang/followers",
"following_url": "https://api.github.com/users/XuesongYang/following{/other_user}",
"gists_url": "https://api.github.com/users/XuesongYang/gists{/gist_id}",
"starred_url": "https://api.github.com/users/XuesongYang/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/XuesongYang/subscriptions",
"organizations_url": "https://api.github.com/users/XuesongYang/orgs",
"repos_url": "https://api.github.com/users/XuesongYang/repos",
"events_url": "https://api.github.com/users/XuesongYang/events{/privacy}",
"received_events_url": "https://api.github.com/users/XuesongYang/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | null | 2022-06-01T07:44:51 | 2022-06-02T01:34:45 | 2022-06-02T01:34:37 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/4297",
"html_url": "https://github.com/NVIDIA/NeMo/pull/4297",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/4297.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/4297.patch",
"merged_at": "2022-06-02T01:34:36"
} | # What does this PR do ?
Fixed the bug that does not correctly capture NotImplementedError of non-supported supplementary data types. Original implementation as shown in https://github.com/NVIDIA/NeMo/blob/main/nemo/collections/tts/torch/data.py#L262-L263 will not raise any exception ever because the `data_type` has already been validated by looking it up in `DATA_STR2DATA_CLASS` in line 257.
**Collection**: [Note which collection this PR will affect]
`nemo/collections/tts/torch/data.py`
# Changelog
- Add specific line by line info of high level changes in this PR.
# Usage
* You can potentially add a usage example below
```bash
# added a unit test for the function.
$ pytest --cpu tests/collections/tts/test_torch_tts.py::TestTTSDataset::test_raise_exception_on_not_supported_sup_data_types
========================================= test session starts =========================================
platform linux -- Python 3.8.13, pytest-7.1.1, pluggy-1.0.0 -- /home/xueyang/miniconda3/envs/nemo/bin/python
cachedir: .pytest_cache
rootdir: /home/xueyang/workspace/NeMo, configfile: setup.cfg
plugins: hydra-core-1.1.1
collected 1 item
tests/collections/tts/test_torch_tts.py::TestTTSDataset::test_raise_exception_on_not_supported_sup_data_types PASSED [100%]
==================================== 1 passed, 3 warnings in 2.95s ====================================
```
# 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 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": "XuesongYang",
"id": 1646669,
"node_id": "MDQ6VXNlcjE2NDY2Njk=",
"avatar_url": "https://avatars.githubusercontent.com/u/1646669?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/XuesongYang",
"html_url": "https://github.com/XuesongYang",
"followers_url": "https://api.github.com/users/XuesongYang/followers",
"following_url": "https://api.github.com/users/XuesongYang/following{/other_user}",
"gists_url": "https://api.github.com/users/XuesongYang/gists{/gist_id}",
"starred_url": "https://api.github.com/users/XuesongYang/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/XuesongYang/subscriptions",
"organizations_url": "https://api.github.com/users/XuesongYang/orgs",
"repos_url": "https://api.github.com/users/XuesongYang/repos",
"events_url": "https://api.github.com/users/XuesongYang/events{/privacy}",
"received_events_url": "https://api.github.com/users/XuesongYang/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/4297/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/4297/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/4296 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/4296/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/4296/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/4296/events | https://github.com/NVIDIA/NeMo/issues/4296 | 1,255,096,903 | I_kwDOC_bI7s5Kz0JH | 4,296 | Fine-Tuning TokenClassification NER Bert Model | {
"login": "rajatjaiswal96",
"id": 106558305,
"node_id": "U_kgDOBlnzYQ",
"avatar_url": "https://avatars.githubusercontent.com/u/106558305?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rajatjaiswal96",
"html_url": "https://github.com/rajatjaiswal96",
"followers_url": "https://api.github.com/users/rajatjaiswal96/followers",
"following_url": "https://api.github.com/users/rajatjaiswal96/following{/other_user}",
"gists_url": "https://api.github.com/users/rajatjaiswal96/gists{/gist_id}",
"starred_url": "https://api.github.com/users/rajatjaiswal96/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/rajatjaiswal96/subscriptions",
"organizations_url": "https://api.github.com/users/rajatjaiswal96/orgs",
"repos_url": "https://api.github.com/users/rajatjaiswal96/repos",
"events_url": "https://api.github.com/users/rajatjaiswal96/events{/privacy}",
"received_events_url": "https://api.github.com/users/rajatjaiswal96/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 | null | 2022-06-01T06:24:10 | 2022-06-02T07:03:25 | 2022-06-02T07:03:24 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | **Describe the bug**
A clear and concise description of what the bug is.
**Steps/Code to reproduce bug**
While doing the Fine-Tuning of pretrained ner_en_bert model, Model Config file is not getting update with the new one. It is using the same config file on which model is pretrained on. I can see the same in logs after calling trainer.fit()
I've already tried with below settings:
model.cfg = cfg
model._cfg = cfg
model._hparams_initial = cfg
model_from_scratch = nemo_nlp.models.TokenClassificationModel.from_pretrained("ner_en_bert")
cfg = copy.deepcopy(model_from_scratch.cfg)
cfg.dataset.data_dir = data_dir
cfg.label_ids = {'O': 0, 'B-place': 1, 'B-emotion': 2, 'B-noun': 3, 'B-name': 4}
print('BEFORE:',cfg)
cfg.optim.lr = 0.1
print('CFG',cfg)
model_from_scratch.cfg.label_ids = {'O': 0,'B-place':1,'B-emotion':2,'B-noun':3,'B-name':4}
model_from_scratch.cfg.dataset.data_dir = data_dir #passed using input function parameters
model_from_scratch.update_data_dir(data_dir)
model_from_scratch.setup_training_data()
model_from_scratch.setup_validation_data()
trainer = pl.Trainer(devices=1, accelerator='cpu',max_epochs=2, log_every_n_steps =1,max_steps = 32)
model_from_scratch.set_trainer(trainer)
trainer.fit(model_from_scratch)
**Expected behavior**
Model Should get trained with the new config changes
| {
"login": "ekmb",
"id": 10428420,
"node_id": "MDQ6VXNlcjEwNDI4NDIw",
"avatar_url": "https://avatars.githubusercontent.com/u/10428420?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ekmb",
"html_url": "https://github.com/ekmb",
"followers_url": "https://api.github.com/users/ekmb/followers",
"following_url": "https://api.github.com/users/ekmb/following{/other_user}",
"gists_url": "https://api.github.com/users/ekmb/gists{/gist_id}",
"starred_url": "https://api.github.com/users/ekmb/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ekmb/subscriptions",
"organizations_url": "https://api.github.com/users/ekmb/orgs",
"repos_url": "https://api.github.com/users/ekmb/repos",
"events_url": "https://api.github.com/users/ekmb/events{/privacy}",
"received_events_url": "https://api.github.com/users/ekmb/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/4296/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/4296/timeline | null | completed | false |
https://api.github.com/repos/NVIDIA/NeMo/issues/4295 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/4295/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/4295/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/4295/events | https://github.com/NVIDIA/NeMo/pull/4295 | 1,254,526,368 | PR_kwDOC_bI7s44xk4n | 4,295 | Changed total virtual prompt tokens | {
"login": "vadam5",
"id": 78445382,
"node_id": "MDQ6VXNlcjc4NDQ1Mzgy",
"avatar_url": "https://avatars.githubusercontent.com/u/78445382?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/vadam5",
"html_url": "https://github.com/vadam5",
"followers_url": "https://api.github.com/users/vadam5/followers",
"following_url": "https://api.github.com/users/vadam5/following{/other_user}",
"gists_url": "https://api.github.com/users/vadam5/gists{/gist_id}",
"starred_url": "https://api.github.com/users/vadam5/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/vadam5/subscriptions",
"organizations_url": "https://api.github.com/users/vadam5/orgs",
"repos_url": "https://api.github.com/users/vadam5/repos",
"events_url": "https://api.github.com/users/vadam5/events{/privacy}",
"received_events_url": "https://api.github.com/users/vadam5/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | null | 2022-05-31T23:27:10 | 2022-06-01T00:25:54 | 2022-06-01T00:25:51 | CONTRIBUTOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/4295",
"html_url": "https://github.com/NVIDIA/NeMo/pull/4295",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/4295.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/4295.patch",
"merged_at": "2022-06-01T00:25:51"
} | Signed-off-by: Virginia Adams <[email protected]>
Fix for OOM error in 1.9.0 CI test
**Collection**: BigNLP
# Changelog
- Changed total_virtual_tokens in example prompt learning config
# Usage
n/a
# 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": "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/4295/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/4295/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/4294 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/4294/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/4294/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/4294/events | https://github.com/NVIDIA/NeMo/pull/4294 | 1,254,517,784 | PR_kwDOC_bI7s44xjQe | 4,294 | Update frozen model config with amp_o2=False: | {
"login": "vadam5",
"id": 78445382,
"node_id": "MDQ6VXNlcjc4NDQ1Mzgy",
"avatar_url": "https://avatars.githubusercontent.com/u/78445382?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/vadam5",
"html_url": "https://github.com/vadam5",
"followers_url": "https://api.github.com/users/vadam5/followers",
"following_url": "https://api.github.com/users/vadam5/following{/other_user}",
"gists_url": "https://api.github.com/users/vadam5/gists{/gist_id}",
"starred_url": "https://api.github.com/users/vadam5/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/vadam5/subscriptions",
"organizations_url": "https://api.github.com/users/vadam5/orgs",
"repos_url": "https://api.github.com/users/vadam5/repos",
"events_url": "https://api.github.com/users/vadam5/events{/privacy}",
"received_events_url": "https://api.github.com/users/vadam5/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | null | 2022-05-31T23:19:27 | 2022-07-25T19:11:59 | 2022-07-25T19:11:50 | CONTRIBUTOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/4294",
"html_url": "https://github.com/NVIDIA/NeMo/pull/4294",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/4294.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/4294.patch",
"merged_at": null
} | Signed-off-by: Virginia Adams <[email protected]>
Amp_O2 for prompt learning is not supported in the upcoming JoC release. So, megatron_amp_o2 needs to be overwritten and set to False in the GPT model configs that were trained with O2 in order for those models to load for prompt learning.
This will cause a time overhead as the GPT .nemo file will need to be unpacked once to get the config and overwrite it, then unpacked again when the model is restored.
**Collection**: BigNLP
# Changelog
- Updated PromptLearningGPTModel class to over write megatron amp O2 config.
# Usage
* You can potentially add a usage example below
```python
# Add a code snippet demonstrating how to use this
```
# 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": "vadam5",
"id": 78445382,
"node_id": "MDQ6VXNlcjc4NDQ1Mzgy",
"avatar_url": "https://avatars.githubusercontent.com/u/78445382?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/vadam5",
"html_url": "https://github.com/vadam5",
"followers_url": "https://api.github.com/users/vadam5/followers",
"following_url": "https://api.github.com/users/vadam5/following{/other_user}",
"gists_url": "https://api.github.com/users/vadam5/gists{/gist_id}",
"starred_url": "https://api.github.com/users/vadam5/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/vadam5/subscriptions",
"organizations_url": "https://api.github.com/users/vadam5/orgs",
"repos_url": "https://api.github.com/users/vadam5/repos",
"events_url": "https://api.github.com/users/vadam5/events{/privacy}",
"received_events_url": "https://api.github.com/users/vadam5/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/4294/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/4294/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/4293 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/4293/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/4293/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/4293/events | https://github.com/NVIDIA/NeMo/pull/4293 | 1,254,492,880 | PR_kwDOC_bI7s44xf8F | 4,293 | forcing conv subsampling to 32 bit | {
"login": "bmwshop",
"id": 482416,
"node_id": "MDQ6VXNlcjQ4MjQxNg==",
"avatar_url": "https://avatars.githubusercontent.com/u/482416?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/bmwshop",
"html_url": "https://github.com/bmwshop",
"followers_url": "https://api.github.com/users/bmwshop/followers",
"following_url": "https://api.github.com/users/bmwshop/following{/other_user}",
"gists_url": "https://api.github.com/users/bmwshop/gists{/gist_id}",
"starred_url": "https://api.github.com/users/bmwshop/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/bmwshop/subscriptions",
"organizations_url": "https://api.github.com/users/bmwshop/orgs",
"repos_url": "https://api.github.com/users/bmwshop/repos",
"events_url": "https://api.github.com/users/bmwshop/events{/privacy}",
"received_events_url": "https://api.github.com/users/bmwshop/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | null | 2022-05-31T22:53:33 | 2022-09-22T17:12:28 | 2022-06-01T16:46:44 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/4293",
"html_url": "https://github.com/NVIDIA/NeMo/pull/4293",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/4293.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/4293.patch",
"merged_at": "2022-06-01T16:46:44"
} | # What does this PR do ?
Add a one line overview of what this PR aims to accomplish.
Forces 2D conv subsampling to fp32
**Collection**: [Note which collection this PR will affect]
ASR
# Changelog
- Add specific line by line info of high level changes in this PR.
One liner change in nemo/collections/asr/modules/conformer_encoder.py
# Usage
* You can potentially add a usage example below
No changes
```python
# Add a code snippet demonstrating how to use this
```
No changes
# 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": "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/4293/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/4293/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/4292 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/4292/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/4292/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/4292/events | https://github.com/NVIDIA/NeMo/pull/4292 | 1,254,355,172 | PR_kwDOC_bI7s44xCqi | 4,292 | updating PretrainedModelInfo for ASR SSL models | {
"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
} | [] | closed | false | null | [] | null | null | 2022-05-31T19:56:51 | 2022-06-02T07:36:05 | 2022-06-01T22:40:50 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/4292",
"html_url": "https://github.com/NVIDIA/NeMo/pull/4292",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/4292.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/4292.patch",
"merged_at": "2022-06-01T22:40:50"
} | Signed-off-by: Krishna Puvvada <[email protected]>
# What does this PR do ?
Updating PretrainedModelInfo for ASR SSL models
**Collection**: ASR
# Changelog
- Added conformer large, xlarge info in PretrainedModelInfo
# 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": "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/4292/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/4292/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/4291 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/4291/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/4291/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/4291/events | https://github.com/NVIDIA/NeMo/pull/4291 | 1,253,205,056 | PR_kwDOC_bI7s44tSuN | 4,291 | Prompt Learning Pipeline Parallel | {
"login": "vadam5",
"id": 78445382,
"node_id": "MDQ6VXNlcjc4NDQ1Mzgy",
"avatar_url": "https://avatars.githubusercontent.com/u/78445382?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/vadam5",
"html_url": "https://github.com/vadam5",
"followers_url": "https://api.github.com/users/vadam5/followers",
"following_url": "https://api.github.com/users/vadam5/following{/other_user}",
"gists_url": "https://api.github.com/users/vadam5/gists{/gist_id}",
"starred_url": "https://api.github.com/users/vadam5/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/vadam5/subscriptions",
"organizations_url": "https://api.github.com/users/vadam5/orgs",
"repos_url": "https://api.github.com/users/vadam5/repos",
"events_url": "https://api.github.com/users/vadam5/events{/privacy}",
"received_events_url": "https://api.github.com/users/vadam5/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | null | 2022-05-31T00:21:56 | 2022-06-09T04:26:07 | 2022-06-09T04:26:02 | CONTRIBUTOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/4291",
"html_url": "https://github.com/NVIDIA/NeMo/pull/4291",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/4291.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/4291.patch",
"merged_at": "2022-06-09T04:26:02"
} | # What does this PR do ?
1. Adds pipeline parallel capability to GPT p-tuning and prompt tuning
2. makes prompt learning methods compataible with GPT models trained with amp O2,
3. switches to smaller gpt model and datasets for CI test, adding tp and pp tests
**Collection**: BigNLP
# Changelog
- Updated MegatronGPTPromptLearning class
- Updated prompt learning config
- Moved all reduce gradient method to base megatron model
- Updated prompt learning CI tests
# Usage
```
```
# 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": "vadam5",
"id": 78445382,
"node_id": "MDQ6VXNlcjc4NDQ1Mzgy",
"avatar_url": "https://avatars.githubusercontent.com/u/78445382?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/vadam5",
"html_url": "https://github.com/vadam5",
"followers_url": "https://api.github.com/users/vadam5/followers",
"following_url": "https://api.github.com/users/vadam5/following{/other_user}",
"gists_url": "https://api.github.com/users/vadam5/gists{/gist_id}",
"starred_url": "https://api.github.com/users/vadam5/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/vadam5/subscriptions",
"organizations_url": "https://api.github.com/users/vadam5/orgs",
"repos_url": "https://api.github.com/users/vadam5/repos",
"events_url": "https://api.github.com/users/vadam5/events{/privacy}",
"received_events_url": "https://api.github.com/users/vadam5/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/4291/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/4291/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/4289 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/4289/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/4289/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/4289/events | https://github.com/NVIDIA/NeMo/pull/4289 | 1,253,089,836 | PR_kwDOC_bI7s44s6O3 | 4,289 | verbose k2 install, skip if failed | {
"login": "GNroy",
"id": 16904306,
"node_id": "MDQ6VXNlcjE2OTA0MzA2",
"avatar_url": "https://avatars.githubusercontent.com/u/16904306?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/GNroy",
"html_url": "https://github.com/GNroy",
"followers_url": "https://api.github.com/users/GNroy/followers",
"following_url": "https://api.github.com/users/GNroy/following{/other_user}",
"gists_url": "https://api.github.com/users/GNroy/gists{/gist_id}",
"starred_url": "https://api.github.com/users/GNroy/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/GNroy/subscriptions",
"organizations_url": "https://api.github.com/users/GNroy/orgs",
"repos_url": "https://api.github.com/users/GNroy/repos",
"events_url": "https://api.github.com/users/GNroy/events{/privacy}",
"received_events_url": "https://api.github.com/users/GNroy/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | null | 2022-05-30T20:14:12 | 2022-05-30T20:39:00 | 2022-05-30T20:36:01 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/4289",
"html_url": "https://github.com/NVIDIA/NeMo/pull/4289",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/4289.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/4289.patch",
"merged_at": "2022-05-30T20:36:01"
} | Signed-off-by: Aleksandr Laptev <[email protected]>
# What does this PR do ?
verbose k2 install, skip if failed | {
"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/4289/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/4289/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/4288 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/4288/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/4288/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/4288/events | https://github.com/NVIDIA/NeMo/issues/4288 | 1,252,756,474 | I_kwDOC_bI7s5Kq4v6 | 4,288 | How to initialize the weight of each letter separately for ASR (QuartzNet and CitriNet)? | {
"login": "psydok",
"id": 47638600,
"node_id": "MDQ6VXNlcjQ3NjM4NjAw",
"avatar_url": "https://avatars.githubusercontent.com/u/47638600?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/psydok",
"html_url": "https://github.com/psydok",
"followers_url": "https://api.github.com/users/psydok/followers",
"following_url": "https://api.github.com/users/psydok/following{/other_user}",
"gists_url": "https://api.github.com/users/psydok/gists{/gist_id}",
"starred_url": "https://api.github.com/users/psydok/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/psydok/subscriptions",
"organizations_url": "https://api.github.com/users/psydok/orgs",
"repos_url": "https://api.github.com/users/psydok/repos",
"events_url": "https://api.github.com/users/psydok/events{/privacy}",
"received_events_url": "https://api.github.com/users/psydok/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"id": 1719393562,
"node_id": "MDU6TGFiZWwxNzE5MzkzNTYy",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/feature",
"name": "feature",
"color": "68F3F0",
"default": false,
"description": "request/PR for a new feature"
}
] | 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 | null | 2022-05-30T13:37:35 | 2022-06-04T22:21:26 | 2022-06-04T22:21:26 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | I want to do Transfer Learning by explicitly initializing the en -> ru alphabet.
```python
dict_vocab= {
"a": "а",
"b": "б",
"c": "с",
"d": "д",
"f": "ф",
...
}
```
Do not tell me how this can be done? I didn't find it in the tutorials.
Thanks in advance!
| {
"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/4288/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/4288/timeline | null | completed | false |
https://api.github.com/repos/NVIDIA/NeMo/issues/4287 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/4287/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/4287/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/4287/events | https://github.com/NVIDIA/NeMo/issues/4287 | 1,252,674,238 | I_kwDOC_bI7s5Kqkq- | 4,287 | Tacotron2.ipynb error Hydra | {
"login": "NK990",
"id": 7748729,
"node_id": "MDQ6VXNlcjc3NDg3Mjk=",
"avatar_url": "https://avatars.githubusercontent.com/u/7748729?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/NK990",
"html_url": "https://github.com/NK990",
"followers_url": "https://api.github.com/users/NK990/followers",
"following_url": "https://api.github.com/users/NK990/following{/other_user}",
"gists_url": "https://api.github.com/users/NK990/gists{/gist_id}",
"starred_url": "https://api.github.com/users/NK990/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/NK990/subscriptions",
"organizations_url": "https://api.github.com/users/NK990/orgs",
"repos_url": "https://api.github.com/users/NK990/repos",
"events_url": "https://api.github.com/users/NK990/events{/privacy}",
"received_events_url": "https://api.github.com/users/NK990/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 | null | 2022-05-30T12:31:04 | 2022-05-30T20:57:41 | 2022-05-30T20:34:07 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | Describe the bug
When running the tutorial notebook for Tacotron2 training in Google Colab. After this step;
`!python tacotron2.py \
sample_rate=16000 \
train_dataset=tests/data/asr/an4_train.json \
validation_datasets=tests/data/asr/an4_val.json \
trainer.max_epochs=3 \
trainer.accelerator=null trainer.check_val_every_n_epoch=1 \
trainer.gpus=1`
Hydra issue is raised:
`Traceback (most recent call last):
File "tacotron2.py", line 44, in <module>
main() # noqa pylint: disable=no-value-for-parameter
File "/usr/local/lib/python3.7/dist-packages/nemo/core/config/hydra_runner.py", line 108, in wrapper
config_name='tacotron2.yaml',
TypeError: _run_hydra() missing 1 required positional argument: 'args'`
Maybe you also need to take a look at this warning while we are on the same step
`################################################################################
### WARNING, path does not exist: KALDI_ROOT=/mnt/matylda5/iveselyk/Tools/kaldi-trunk
### (please add 'export KALDI_ROOT=<your_path>' in your $HOME/.profile)
### (or run as: KALDI_ROOT=<your_path> python <your_script>.py)
################################################################################`
Steps/Code to reproduce bug
Running each cell of the Tacotron2 tutorial notebook in a new Colab session,restarting, deleting runtime...
Environment location: Collab
Method of NeMo install: As per instructions within notebook. Please specify exact commands you used to install.
| {
"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/4287/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/4287/timeline | null | completed | false |
https://api.github.com/repos/NVIDIA/NeMo/issues/4286 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/4286/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/4286/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/4286/events | https://github.com/NVIDIA/NeMo/issues/4286 | 1,251,907,448 | I_kwDOC_bI7s5Knpd4 | 4,286 | Remove librosa dependency | {
"login": "msis",
"id": 577139,
"node_id": "MDQ6VXNlcjU3NzEzOQ==",
"avatar_url": "https://avatars.githubusercontent.com/u/577139?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/msis",
"html_url": "https://github.com/msis",
"followers_url": "https://api.github.com/users/msis/followers",
"following_url": "https://api.github.com/users/msis/following{/other_user}",
"gists_url": "https://api.github.com/users/msis/gists{/gist_id}",
"starred_url": "https://api.github.com/users/msis/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/msis/subscriptions",
"organizations_url": "https://api.github.com/users/msis/orgs",
"repos_url": "https://api.github.com/users/msis/repos",
"events_url": "https://api.github.com/users/msis/events{/privacy}",
"received_events_url": "https://api.github.com/users/msis/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | null | 2022-05-29T14:41:45 | 2022-05-30T01:23:44 | 2022-05-29T14:42:27 | CONTRIBUTOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | <!-- Edit the body of your new issue then click the ✓ "Create Issue" button in the top right of the editor. The first line will be the issue title. Assignees and Labels follow after a blank line. Leave an empty line before beginning the body of the issue. --> | {
"login": "msis",
"id": 577139,
"node_id": "MDQ6VXNlcjU3NzEzOQ==",
"avatar_url": "https://avatars.githubusercontent.com/u/577139?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/msis",
"html_url": "https://github.com/msis",
"followers_url": "https://api.github.com/users/msis/followers",
"following_url": "https://api.github.com/users/msis/following{/other_user}",
"gists_url": "https://api.github.com/users/msis/gists{/gist_id}",
"starred_url": "https://api.github.com/users/msis/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/msis/subscriptions",
"organizations_url": "https://api.github.com/users/msis/orgs",
"repos_url": "https://api.github.com/users/msis/repos",
"events_url": "https://api.github.com/users/msis/events{/privacy}",
"received_events_url": "https://api.github.com/users/msis/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/4286/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/4286/timeline | null | completed | false |
https://api.github.com/repos/NVIDIA/NeMo/issues/4285 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/4285/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/4285/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/4285/events | https://github.com/NVIDIA/NeMo/issues/4285 | 1,251,871,808 | I_kwDOC_bI7s5KngxA | 4,285 | My i just use T5 in dialogue without pretrain a language model | {
"login": "520jefferson",
"id": 5691554,
"node_id": "MDQ6VXNlcjU2OTE1NTQ=",
"avatar_url": "https://avatars.githubusercontent.com/u/5691554?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/520jefferson",
"html_url": "https://github.com/520jefferson",
"followers_url": "https://api.github.com/users/520jefferson/followers",
"following_url": "https://api.github.com/users/520jefferson/following{/other_user}",
"gists_url": "https://api.github.com/users/520jefferson/gists{/gist_id}",
"starred_url": "https://api.github.com/users/520jefferson/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/520jefferson/subscriptions",
"organizations_url": "https://api.github.com/users/520jefferson/orgs",
"repos_url": "https://api.github.com/users/520jefferson/repos",
"events_url": "https://api.github.com/users/520jefferson/events{/privacy}",
"received_events_url": "https://api.github.com/users/520jefferson/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"id": 1719393562,
"node_id": "MDU6TGFiZWwxNzE5MzkzNTYy",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/feature",
"name": "feature",
"color": "68F3F0",
"default": false,
"description": "request/PR for a new feature"
}
] | 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 | null | 2022-05-29T12:10:28 | 2022-06-22T16:51:04 | 2022-06-22T16:51:04 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | I want to distill a big model to t5-base model, and the big model use bpe not sentencepiece, So the tokenizer should be load the bpe codes and the vocabs is differenct from the origin t5-base model. Therefore i am not sure about two things.
1, whether the t5 can be train in dialogue without pretrain which treat the t5 like transformer, and i find this config (https://github.com/NVIDIA/NeMo/blob/main/examples/nlp/dialogue/conf/dialogue_config.yaml) , is it meet my demand?
2, how to set the tokenizer to use bpe codes? | {
"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/4285/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/4285/timeline | null | completed | false |
https://api.github.com/repos/NVIDIA/NeMo/issues/4284 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/4284/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/4284/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/4284/events | https://github.com/NVIDIA/NeMo/pull/4284 | 1,251,803,402 | PR_kwDOC_bI7s44otmi | 4,284 | Docs CSS: Update h4 tag style for the right side bar | {
"login": "nickolyamba",
"id": 8766167,
"node_id": "MDQ6VXNlcjg3NjYxNjc=",
"avatar_url": "https://avatars.githubusercontent.com/u/8766167?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/nickolyamba",
"html_url": "https://github.com/nickolyamba",
"followers_url": "https://api.github.com/users/nickolyamba/followers",
"following_url": "https://api.github.com/users/nickolyamba/following{/other_user}",
"gists_url": "https://api.github.com/users/nickolyamba/gists{/gist_id}",
"starred_url": "https://api.github.com/users/nickolyamba/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/nickolyamba/subscriptions",
"organizations_url": "https://api.github.com/users/nickolyamba/orgs",
"repos_url": "https://api.github.com/users/nickolyamba/repos",
"events_url": "https://api.github.com/users/nickolyamba/events{/privacy}",
"received_events_url": "https://api.github.com/users/nickolyamba/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | null | 2022-05-29T06:38:34 | 2022-05-29T07:06:36 | 2022-05-29T07:06:36 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/4284",
"html_url": "https://github.com/NVIDIA/NeMo/pull/4284",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/4284.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/4284.patch",
"merged_at": "2022-05-29T07:06:36"
} | # What does this PR do ?
Adds style overwrite for the h4 tag located on the right side bar. Currently, the font size is too small
**Collection**: Docs
# Changelog
- Adds style overwrite for h4 tag on the right side bar. Currently the font is too small
- Example of the issue: https://docs.nvidia.com/deeplearning/nemo/user-guide/docs/en/main/asr/asr_language_modeling.html#hyperparameter-grid-search
# 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**:
- [ ] 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": "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/4284/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/4284/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/4283 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/4283/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/4283/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/4283/events | https://github.com/NVIDIA/NeMo/issues/4283 | 1,251,516,994 | I_kwDOC_bI7s5KmKJC | 4,283 | External Vad manifest | {
"login": "RezaBi",
"id": 102900868,
"node_id": "U_kgDOBiIkhA",
"avatar_url": "https://avatars.githubusercontent.com/u/102900868?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/RezaBi",
"html_url": "https://github.com/RezaBi",
"followers_url": "https://api.github.com/users/RezaBi/followers",
"following_url": "https://api.github.com/users/RezaBi/following{/other_user}",
"gists_url": "https://api.github.com/users/RezaBi/gists{/gist_id}",
"starred_url": "https://api.github.com/users/RezaBi/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/RezaBi/subscriptions",
"organizations_url": "https://api.github.com/users/RezaBi/orgs",
"repos_url": "https://api.github.com/users/RezaBi/repos",
"events_url": "https://api.github.com/users/RezaBi/events{/privacy}",
"received_events_url": "https://api.github.com/users/RezaBi/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"id": 1719393562,
"node_id": "MDU6TGFiZWwxNzE5MzkzNTYy",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/feature",
"name": "feature",
"color": "68F3F0",
"default": false,
"description": "request/PR for a new feature"
}
] | 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 | null | 2022-05-28T07:44:53 | 2023-05-23T15:31:59 | 2022-05-29T11:03:25 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | **Is your feature request related to a problem? Please describe.**
I have been using diarization.py example using the provided config file. The marble net vad acts really poor detecting speech. So I decided to use an External vad *( e.g pyannote vad ) to provide to the model. I could not find how to convert an external vad outputs to the manifest file required for the model
**Describe the solution you'd like**
A brief documentation on how to build the manifest file and a method to do it if possible.
| {
"login": "RezaBi",
"id": 102900868,
"node_id": "U_kgDOBiIkhA",
"avatar_url": "https://avatars.githubusercontent.com/u/102900868?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/RezaBi",
"html_url": "https://github.com/RezaBi",
"followers_url": "https://api.github.com/users/RezaBi/followers",
"following_url": "https://api.github.com/users/RezaBi/following{/other_user}",
"gists_url": "https://api.github.com/users/RezaBi/gists{/gist_id}",
"starred_url": "https://api.github.com/users/RezaBi/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/RezaBi/subscriptions",
"organizations_url": "https://api.github.com/users/RezaBi/orgs",
"repos_url": "https://api.github.com/users/RezaBi/repos",
"events_url": "https://api.github.com/users/RezaBi/events{/privacy}",
"received_events_url": "https://api.github.com/users/RezaBi/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/4283/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/4283/timeline | null | completed | false |
https://api.github.com/repos/NVIDIA/NeMo/issues/4282 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/4282/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/4282/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/4282/events | https://github.com/NVIDIA/NeMo/pull/4282 | 1,251,413,461 | PR_kwDOC_bI7s44nfQu | 4,282 | [TTS] IPA CMU dict and updated heteronyms list | {
"login": "ekmb",
"id": 10428420,
"node_id": "MDQ6VXNlcjEwNDI4NDIw",
"avatar_url": "https://avatars.githubusercontent.com/u/10428420?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ekmb",
"html_url": "https://github.com/ekmb",
"followers_url": "https://api.github.com/users/ekmb/followers",
"following_url": "https://api.github.com/users/ekmb/following{/other_user}",
"gists_url": "https://api.github.com/users/ekmb/gists{/gist_id}",
"starred_url": "https://api.github.com/users/ekmb/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ekmb/subscriptions",
"organizations_url": "https://api.github.com/users/ekmb/orgs",
"repos_url": "https://api.github.com/users/ekmb/repos",
"events_url": "https://api.github.com/users/ekmb/events{/privacy}",
"received_events_url": "https://api.github.com/users/ekmb/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | null | 2022-05-28T02:01:24 | 2022-08-03T07:15:39 | 2022-05-31T20:24:17 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/4282",
"html_url": "https://github.com/NVIDIA/NeMo/pull/4282",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/4282.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/4282.patch",
"merged_at": null
} | Signed-off-by: ekmb <[email protected]>
# 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
```
# 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": "redoctopus",
"id": 4268876,
"node_id": "MDQ6VXNlcjQyNjg4NzY=",
"avatar_url": "https://avatars.githubusercontent.com/u/4268876?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/redoctopus",
"html_url": "https://github.com/redoctopus",
"followers_url": "https://api.github.com/users/redoctopus/followers",
"following_url": "https://api.github.com/users/redoctopus/following{/other_user}",
"gists_url": "https://api.github.com/users/redoctopus/gists{/gist_id}",
"starred_url": "https://api.github.com/users/redoctopus/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/redoctopus/subscriptions",
"organizations_url": "https://api.github.com/users/redoctopus/orgs",
"repos_url": "https://api.github.com/users/redoctopus/repos",
"events_url": "https://api.github.com/users/redoctopus/events{/privacy}",
"received_events_url": "https://api.github.com/users/redoctopus/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/4282/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/4282/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/4281 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/4281/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/4281/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/4281/events | https://github.com/NVIDIA/NeMo/pull/4281 | 1,251,365,263 | PR_kwDOC_bI7s44nU8v | 4,281 | remove redundant condition for fastpitch. | {
"login": "XuesongYang",
"id": 1646669,
"node_id": "MDQ6VXNlcjE2NDY2Njk=",
"avatar_url": "https://avatars.githubusercontent.com/u/1646669?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/XuesongYang",
"html_url": "https://github.com/XuesongYang",
"followers_url": "https://api.github.com/users/XuesongYang/followers",
"following_url": "https://api.github.com/users/XuesongYang/following{/other_user}",
"gists_url": "https://api.github.com/users/XuesongYang/gists{/gist_id}",
"starred_url": "https://api.github.com/users/XuesongYang/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/XuesongYang/subscriptions",
"organizations_url": "https://api.github.com/users/XuesongYang/orgs",
"repos_url": "https://api.github.com/users/XuesongYang/repos",
"events_url": "https://api.github.com/users/XuesongYang/events{/privacy}",
"received_events_url": "https://api.github.com/users/XuesongYang/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | null | 2022-05-27T23:41:02 | 2022-05-31T20:22:19 | 2022-05-31T20:20:15 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/4281",
"html_url": "https://github.com/NVIDIA/NeMo/pull/4281",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/4281.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/4281.patch",
"merged_at": "2022-05-31T20:20:15"
} |
# What does this PR do ?
remove redundant condition testing for fastpitch. `shuffle_should_be` is already known as `False` in this case, so no need to test again `not shuffle_should_be`.
**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
```
# 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
- [ ] 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": "XuesongYang",
"id": 1646669,
"node_id": "MDQ6VXNlcjE2NDY2Njk=",
"avatar_url": "https://avatars.githubusercontent.com/u/1646669?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/XuesongYang",
"html_url": "https://github.com/XuesongYang",
"followers_url": "https://api.github.com/users/XuesongYang/followers",
"following_url": "https://api.github.com/users/XuesongYang/following{/other_user}",
"gists_url": "https://api.github.com/users/XuesongYang/gists{/gist_id}",
"starred_url": "https://api.github.com/users/XuesongYang/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/XuesongYang/subscriptions",
"organizations_url": "https://api.github.com/users/XuesongYang/orgs",
"repos_url": "https://api.github.com/users/XuesongYang/repos",
"events_url": "https://api.github.com/users/XuesongYang/events{/privacy}",
"received_events_url": "https://api.github.com/users/XuesongYang/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/4281/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/4281/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/4280 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/4280/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/4280/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/4280/events | https://github.com/NVIDIA/NeMo/issues/4280 | 1,251,356,608 | I_kwDOC_bI7s5Kli_A | 4,280 | TTS: How do you get fmin and fmax for a given audio dataset? | {
"login": "gedefet",
"id": 43994544,
"node_id": "MDQ6VXNlcjQzOTk0NTQ0",
"avatar_url": "https://avatars.githubusercontent.com/u/43994544?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/gedefet",
"html_url": "https://github.com/gedefet",
"followers_url": "https://api.github.com/users/gedefet/followers",
"following_url": "https://api.github.com/users/gedefet/following{/other_user}",
"gists_url": "https://api.github.com/users/gedefet/gists{/gist_id}",
"starred_url": "https://api.github.com/users/gedefet/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/gedefet/subscriptions",
"organizations_url": "https://api.github.com/users/gedefet/orgs",
"repos_url": "https://api.github.com/users/gedefet/repos",
"events_url": "https://api.github.com/users/gedefet/events{/privacy}",
"received_events_url": "https://api.github.com/users/gedefet/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"id": 1719393562,
"node_id": "MDU6TGFiZWwxNzE5MzkzNTYy",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/feature",
"name": "feature",
"color": "68F3F0",
"default": false,
"description": "request/PR for a new feature"
}
] | 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 | null | 2022-05-27T23:21:29 | 2022-06-01T13:10:21 | 2022-05-31T18:00:45 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | Hi all.
In different tutorials, specially in the TTS ones, you have to provide parameters fmin and fmax of your speaker. Nevertheless, there is no automatic way or tutorial on how to do that.
How do you extract fmin and fmax from an audio dataset?
Thanks,
| {
"login": "redoctopus",
"id": 4268876,
"node_id": "MDQ6VXNlcjQyNjg4NzY=",
"avatar_url": "https://avatars.githubusercontent.com/u/4268876?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/redoctopus",
"html_url": "https://github.com/redoctopus",
"followers_url": "https://api.github.com/users/redoctopus/followers",
"following_url": "https://api.github.com/users/redoctopus/following{/other_user}",
"gists_url": "https://api.github.com/users/redoctopus/gists{/gist_id}",
"starred_url": "https://api.github.com/users/redoctopus/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/redoctopus/subscriptions",
"organizations_url": "https://api.github.com/users/redoctopus/orgs",
"repos_url": "https://api.github.com/users/redoctopus/repos",
"events_url": "https://api.github.com/users/redoctopus/events{/privacy}",
"received_events_url": "https://api.github.com/users/redoctopus/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/4280/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/4280/timeline | null | completed | false |
https://api.github.com/repos/NVIDIA/NeMo/issues/4279 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/4279/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/4279/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/4279/events | https://github.com/NVIDIA/NeMo/pull/4279 | 1,251,213,758 | PR_kwDOC_bI7s44m0Ae | 4,279 | Updated config to fix CI test OOM error | {
"login": "vadam5",
"id": 78445382,
"node_id": "MDQ6VXNlcjc4NDQ1Mzgy",
"avatar_url": "https://avatars.githubusercontent.com/u/78445382?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/vadam5",
"html_url": "https://github.com/vadam5",
"followers_url": "https://api.github.com/users/vadam5/followers",
"following_url": "https://api.github.com/users/vadam5/following{/other_user}",
"gists_url": "https://api.github.com/users/vadam5/gists{/gist_id}",
"starred_url": "https://api.github.com/users/vadam5/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/vadam5/subscriptions",
"organizations_url": "https://api.github.com/users/vadam5/orgs",
"repos_url": "https://api.github.com/users/vadam5/repos",
"events_url": "https://api.github.com/users/vadam5/events{/privacy}",
"received_events_url": "https://api.github.com/users/vadam5/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | null | 2022-05-27T19:59:00 | 2022-05-28T04:04:58 | 2022-05-28T04:04:55 | CONTRIBUTOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/4279",
"html_url": "https://github.com/NVIDIA/NeMo/pull/4279",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/4279.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/4279.patch",
"merged_at": "2022-05-28T04:04:55"
} | Signed-off-by: Virginia Adams <[email protected]>
Fixes prompt learning config bug in CI test
**Collection**: BigNLP
# Changelog
- Updated prompt learning config file
# Usage
N/A
# 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": "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
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/4279/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/4279/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/4278 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/4278/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/4278/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/4278/events | https://github.com/NVIDIA/NeMo/pull/4278 | 1,251,034,983 | PR_kwDOC_bI7s44mPZS | 4,278 | Add Prompt Learning amp_O2 support | {
"login": "vadam5",
"id": 78445382,
"node_id": "MDQ6VXNlcjc4NDQ1Mzgy",
"avatar_url": "https://avatars.githubusercontent.com/u/78445382?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/vadam5",
"html_url": "https://github.com/vadam5",
"followers_url": "https://api.github.com/users/vadam5/followers",
"following_url": "https://api.github.com/users/vadam5/following{/other_user}",
"gists_url": "https://api.github.com/users/vadam5/gists{/gist_id}",
"starred_url": "https://api.github.com/users/vadam5/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/vadam5/subscriptions",
"organizations_url": "https://api.github.com/users/vadam5/orgs",
"repos_url": "https://api.github.com/users/vadam5/repos",
"events_url": "https://api.github.com/users/vadam5/events{/privacy}",
"received_events_url": "https://api.github.com/users/vadam5/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | null | 2022-05-27T17:27:10 | 2022-09-22T17:12:23 | 2022-07-25T19:11:24 | CONTRIBUTOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/4278",
"html_url": "https://github.com/NVIDIA/NeMo/pull/4278",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/4278.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/4278.patch",
"merged_at": null
} | Signed-off-by: Virginia Adams <[email protected]>
Adds amp o2 support for prompt learning for JoC release. Amp O2 support code taken from @MaximumEntropy's NMT PR.
**Collection**: BigNLP
# Changelog
- Updated NLP Overrides with amp o2 state dict modification
- Updated PromptLearningGPTModel
# Usage
N/A
# 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": "vadam5",
"id": 78445382,
"node_id": "MDQ6VXNlcjc4NDQ1Mzgy",
"avatar_url": "https://avatars.githubusercontent.com/u/78445382?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/vadam5",
"html_url": "https://github.com/vadam5",
"followers_url": "https://api.github.com/users/vadam5/followers",
"following_url": "https://api.github.com/users/vadam5/following{/other_user}",
"gists_url": "https://api.github.com/users/vadam5/gists{/gist_id}",
"starred_url": "https://api.github.com/users/vadam5/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/vadam5/subscriptions",
"organizations_url": "https://api.github.com/users/vadam5/orgs",
"repos_url": "https://api.github.com/users/vadam5/repos",
"events_url": "https://api.github.com/users/vadam5/events{/privacy}",
"received_events_url": "https://api.github.com/users/vadam5/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/4278/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/4278/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/4277 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/4277/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/4277/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/4277/events | https://github.com/NVIDIA/NeMo/pull/4277 | 1,250,918,502 | PR_kwDOC_bI7s44l1W4 | 4,277 | [Add] automaticly resolving relative audio path | {
"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
} | [] | closed | 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
} | [
{
"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 | null | 2022-05-27T15:54:35 | 2022-05-31T20:49:33 | 2022-05-31T20:49:32 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/4277",
"html_url": "https://github.com/NVIDIA/NeMo/pull/4277",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/4277.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/4277.patch",
"merged_at": "2022-05-31T20:49:32"
} | # Add Support for Automatically Resolving Relative Audio Path
This simple modification allows using relative audio paths in the manifest, so that there is no need to change the manifest after moving the dataset to different locations. The updated `iterm_iter` function will first check if the `audio_file` exists, and skip further processing if it does exist. Then the function checks whether `audio_file` is a relative path. If it is, the function will add the parent folder of manifest to the audio file path. For tarred datasets, since the `audio_file` in manifest is not a real path, we will not perform any operation.
This feature is based on the assumption that the manifest is under the same directory as the audio directory, and the relative audio paths always begins with an audio directory (e.g., `wavs/`).
Consider the following dataset folder:
```
/home/steve/libri_speech/
----------------------------->: train_manifest.json
----------------------------->: wavs/
------------------------------------->: 11111.wav
------------------------------------->: 22222.wav
```
and the content of ` train_manifest.json` is:
```
{"audio_filepath": "wavs/11111.wav", duration: "2.3", "text": "one one one one one"}
```
The updated function will first try to read the file `wavs/11111.wav`, but since it's a relative path it won't find it. Then the function will add the parent directory of the manifest to the audio path, which becomes `/home/steve/libri_speech/wavs/11111.wav`.
| {
"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/4277/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/4277/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/4276 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/4276/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/4276/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/4276/events | https://github.com/NVIDIA/NeMo/issues/4276 | 1,250,107,319 | I_kwDOC_bI7s5Kgx-3 | 4,276 | HifiGan finetuning doesn't work | {
"login": "jeffersonquispe",
"id": 8503911,
"node_id": "MDQ6VXNlcjg1MDM5MTE=",
"avatar_url": "https://avatars.githubusercontent.com/u/8503911?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jeffersonquispe",
"html_url": "https://github.com/jeffersonquispe",
"followers_url": "https://api.github.com/users/jeffersonquispe/followers",
"following_url": "https://api.github.com/users/jeffersonquispe/following{/other_user}",
"gists_url": "https://api.github.com/users/jeffersonquispe/gists{/gist_id}",
"starred_url": "https://api.github.com/users/jeffersonquispe/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jeffersonquispe/subscriptions",
"organizations_url": "https://api.github.com/users/jeffersonquispe/orgs",
"repos_url": "https://api.github.com/users/jeffersonquispe/repos",
"events_url": "https://api.github.com/users/jeffersonquispe/events{/privacy}",
"received_events_url": "https://api.github.com/users/jeffersonquispe/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 | null | 2022-05-26T21:23:03 | 2024-02-21T13:30:45 | 2022-06-01T17:38:56 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | **Describe the bug**
Have the following bug when run commamd to traininig HifiGan Finetuning:
Error in call to target 'nemo.collections.tts.torch.data.VocoderDataset':
FileNotFoundError(2, 'No such file or directory')
full_key: train_ds.dataset
**Steps/Code to reproduce bug**
command as the turorial :
python hifigan_finetune.py --config-name=hifigan.yaml model.train_ds.dataloader_params.batch_size=32 model.max_steps=1000 model.optim.lr=0.00001 ~model.optim.sched rain_dataset=./mex_manifest_train_dur_180_mins_local_mels/hifigan_train_ft.json validation_datasets=./mex_manifest_val_dur_180_mins_local_mels/hifigan_val_ft.json exp_manager.exp_dir=hifigan_ft +init_from_pretrained_model=tts_hifigan trainer.check_val_every_n_epoch=10 model/train_ds=train_ds_finetune model/validation_ds=val_ds_finetune
**Expected behavior**
Start training HifiGan Finetuning
**Environment overview (please complete the following information)**
- Environment location: [Bare-metal, Docker, Cloud(specify cloud provider - AWS, Azure, GCP, Collab)]
- Method of NeMo install: [pip install or from source]. Please specify exact commands you used to install.
- If method of install is [Docker], provide `docker pull` & `docker run` commands used
**Environment details**
pip list:
absl-py 1.0.0
aiohttp 3.8.1
aiosignal 1.2.0
alabaster 0.7.12
aniso8601 9.0.1
antlr4-python3-runtime 4.8
appdirs 1.4.4
argon2-cffi 21.3.0
argon2-cffi-bindings 21.2.0
asttokens 2.0.5
async-timeout 4.0.2
attrdict 2.0.1
attrs 21.4.0
audioread 2.1.9
Babel 2.10.1
backcall 0.2.0
beautifulsoup4 4.11.1
black 19.10b0
bleach 5.0.0
boto3 1.23.8
botocore 1.26.8
braceexpand 0.1.7
cachetools 5.1.0
certifi 2022.5.18.1
cffi 1.15.0
charset-normalizer 2.0.12
click 8.1.3
colorama 0.4.4
cycler 0.11.0
Cython 0.29.30
debugpy 1.6.0
decorator 5.1.1
defusedxml 0.7.1
Distance 0.1.3
docker-pycreds 0.4.0
docopt 0.6.2
docutils 0.17.1
editdistance 0.6.0
entrypoints 0.4
executing 0.8.3
fastjsonschema 2.15.3
fasttext 0.9.2
filelock 3.7.0
Flask 2.1.2
Flask-RESTful 0.3.9
fonttools 4.33.3
frozendict 2.3.2
frozenlist 1.3.0
fsspec 2022.5.0
ftfy 6.1.1
g2p-en 2.1.0
gdown 4.4.0
gitdb 4.0.9
GitPython 3.1.27
google-auth 2.6.6
google-auth-oauthlib 0.4.6
grpcio 1.46.3
h5py 3.7.0
huggingface-hub 0.7.0
hydra-core 1.1.2
idna 3.3
imagesize 1.3.0
importlib-metadata 4.11.4
inflect 5.6.0
iniconfig 1.1.1
ipadic 1.0.0
ipykernel 6.13.0
ipython 8.3.0
ipython-genutils 0.2.0
ipywidgets 7.7.0
isort 4.3.21
itsdangerous 2.1.2
jarowinkler 1.0.2
jedi 0.18.1
jieba 0.42.1
Jinja2 3.1.2
jmespath 1.0.0
joblib 1.1.0
jsonschema 4.5.1
jupyter-client 7.3.1
jupyter-core 4.10.0
jupyterlab-pygments 0.2.2
jupyterlab-widgets 1.1.0
kaldi-io 0.9.4
kaldi-python-io 1.2.2
kaldiio 2.17.2
kiwisolver 1.4.2
latexcodec 2.0.1
librosa 0.9.1
llvmlite 0.38.1
Markdown 3.3.7
MarkupSafe 2.1.1
marshmallow 3.15.0
matplotlib 3.5.2
matplotlib-inline 0.1.3
mecab-python3 1.0.5
mistune 0.8.4
mpmath 1.2.1
multidict 6.0.2
nbclient 0.6.3
nbconvert 6.5.0
nbformat 5.4.0
nemo-toolkit 1.8.1
nest-asyncio 1.5.5
nltk 3.7
notebook 6.4.11
numba 0.55.2
numpy 1.22.4
oauthlib 3.2.0
omegaconf 2.1.2
onnx 1.11.0
OpenCC 1.1.3
packaging 21.3
pandas 1.4.2
pandocfilters 1.5.0
pangu 4.0.6.1
parameterized 0.8.1
parso 0.8.3
pathspec 0.9.0
pathtools 0.1.2
pesq 0.0.4
pexpect 4.8.0
pickleshare 0.7.5
Pillow 9.1.1
pip 20.3.4
pip-api 0.0.29
pipreqs 0.4.11
pkg-resources 0.0.0
pluggy 1.0.0
pooch 1.6.0
portalocker 2.4.0
prometheus-client 0.14.1
promise 2.3
prompt-toolkit 3.0.29
protobuf 3.20.1
psutil 5.9.1
ptyprocess 0.7.0
pure-eval 0.2.2
py 1.11.0
pyannote.core 4.4
pyannote.database 4.1.3
pyannote.metrics 3.2
pyasn1 0.4.8
pyasn1-modules 0.2.8
pybind11 2.9.2
pybtex 0.24.0
pybtex-docutils 1.0.2
pycparser 2.21
pyDeprecate 0.3.2
pydub 0.25.1
Pygments 2.12.0
pyparsing 3.0.9
pypinyin 0.46.0
pyrsistent 0.18.1
PySocks 1.7.1
pystoi 0.3.3
pytest 7.1.2
pytest-runner 6.0.0
python-dateutil 2.8.2
pytorch-lightning 1.6.3
pytz 2022.1
PyYAML 5.4.1
pyzmq 23.0.0
rapidfuzz 2.0.11
regex 2022.4.24
requests 2.27.1
requests-oauthlib 1.3.1
resampy 0.2.2
rsa 4.8
ruamel.yaml 0.17.21
ruamel.yaml.clib 0.2.6
s3transfer 0.5.2
sacrebleu 2.1.0
sacremoses 0.0.53
scikit-learn 1.1.1
scipy 1.8.1
Send2Trash 1.8.0
sentencepiece 0.1.96
sentry-sdk 1.5.12
setproctitle 1.2.3
setuptools 59.5.0
shellingham 1.4.0
shortuuid 1.0.9
simplejson 3.17.6
six 1.16.0
smmap 5.0.0
snowballstemmer 2.2.0
sortedcontainers 2.4.0
SoundFile 0.10.3.post1
soupsieve 2.3.2.post1
sox 1.4.1
Sphinx 4.5.0
sphinxcontrib-applehelp 1.0.2
sphinxcontrib-bibtex 2.4.2
sphinxcontrib-devhelp 1.0.2
sphinxcontrib-htmlhelp 2.0.0
sphinxcontrib-jsmath 1.0.1
sphinxcontrib-qthelp 1.0.3
sphinxcontrib-serializinghtml 1.1.5
stack-data 0.2.0
sympy 1.10.1
tabulate 0.8.9
tensorboard 2.9.0
tensorboard-data-server 0.6.1
tensorboard-plugin-wit 1.8.1
terminado 0.15.0
threadpoolctl 3.1.0
tinycss2 1.1.1
tokenizers 0.12.1
toml 0.10.2
tomli 2.0.1
torch 1.11.0+cu113
torch-stft 0.1.4
torchaudio 0.11.0+cu113
torchmetrics 0.8.2
torchvision 0.12.0+cu113
tornado 6.1
tqdm 4.64.0
traitlets 5.2.1.post0
transformers 4.19.2
typed-ast 1.5.4
typer 0.4.1
typing-extensions 4.2.0
Unidecode 1.3.4
urllib3 1.26.9
wandb 0.12.17
wcwidth 0.2.5
webdataset 0.1.62
webencodings 0.5.1
Werkzeug 2.1.2
wget 3.2
wheel 0.37.1
widgetsnbextension 3.6.0
wrapt 1.14.1
yarg 0.1.9
yarl 1.7.2
youtokentome 1.0.6
zipp 3.8.0
More details
- Debian GNU/Linux
- PyTorch version 1.11.0+cu113
- Python version 3.9
**Additional context**
GPU Testla T4 nvidia
| {
"login": "redoctopus",
"id": 4268876,
"node_id": "MDQ6VXNlcjQyNjg4NzY=",
"avatar_url": "https://avatars.githubusercontent.com/u/4268876?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/redoctopus",
"html_url": "https://github.com/redoctopus",
"followers_url": "https://api.github.com/users/redoctopus/followers",
"following_url": "https://api.github.com/users/redoctopus/following{/other_user}",
"gists_url": "https://api.github.com/users/redoctopus/gists{/gist_id}",
"starred_url": "https://api.github.com/users/redoctopus/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/redoctopus/subscriptions",
"organizations_url": "https://api.github.com/users/redoctopus/orgs",
"repos_url": "https://api.github.com/users/redoctopus/repos",
"events_url": "https://api.github.com/users/redoctopus/events{/privacy}",
"received_events_url": "https://api.github.com/users/redoctopus/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/4276/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/4276/timeline | null | completed | false |
https://api.github.com/repos/NVIDIA/NeMo/issues/4275 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/4275/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/4275/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/4275/events | https://github.com/NVIDIA/NeMo/issues/4275 | 1,249,819,966 | I_kwDOC_bI7s5Kfr0- | 4,275 | Compute needed to train ASR on Nemo ASRSet v3.0 | {
"login": "sciai-ai",
"id": 52277510,
"node_id": "MDQ6VXNlcjUyMjc3NTEw",
"avatar_url": "https://avatars.githubusercontent.com/u/52277510?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sciai-ai",
"html_url": "https://github.com/sciai-ai",
"followers_url": "https://api.github.com/users/sciai-ai/followers",
"following_url": "https://api.github.com/users/sciai-ai/following{/other_user}",
"gists_url": "https://api.github.com/users/sciai-ai/gists{/gist_id}",
"starred_url": "https://api.github.com/users/sciai-ai/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/sciai-ai/subscriptions",
"organizations_url": "https://api.github.com/users/sciai-ai/orgs",
"repos_url": "https://api.github.com/users/sciai-ai/repos",
"events_url": "https://api.github.com/users/sciai-ai/events{/privacy}",
"received_events_url": "https://api.github.com/users/sciai-ai/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | null | 2022-05-26T17:00:35 | 2022-05-29T16:24:01 | 2022-05-29T16:24:01 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | I am trying to train an ASR from scratch using somewhat like an ASRSet. I am wondering what compute power (GPUs etc) was used to train the STT models in Nemo. and whether it is possible in GCP to have enough compute power to do this? | {
"login": "sciai-ai",
"id": 52277510,
"node_id": "MDQ6VXNlcjUyMjc3NTEw",
"avatar_url": "https://avatars.githubusercontent.com/u/52277510?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sciai-ai",
"html_url": "https://github.com/sciai-ai",
"followers_url": "https://api.github.com/users/sciai-ai/followers",
"following_url": "https://api.github.com/users/sciai-ai/following{/other_user}",
"gists_url": "https://api.github.com/users/sciai-ai/gists{/gist_id}",
"starred_url": "https://api.github.com/users/sciai-ai/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/sciai-ai/subscriptions",
"organizations_url": "https://api.github.com/users/sciai-ai/orgs",
"repos_url": "https://api.github.com/users/sciai-ai/repos",
"events_url": "https://api.github.com/users/sciai-ai/events{/privacy}",
"received_events_url": "https://api.github.com/users/sciai-ai/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/4275/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/4275/timeline | null | completed | false |
https://api.github.com/repos/NVIDIA/NeMo/issues/4274 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/4274/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/4274/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/4274/events | https://github.com/NVIDIA/NeMo/pull/4274 | 1,249,666,474 | PR_kwDOC_bI7s44hrJU | 4,274 | Set Save on train end to false | {
"login": "vadam5",
"id": 78445382,
"node_id": "MDQ6VXNlcjc4NDQ1Mzgy",
"avatar_url": "https://avatars.githubusercontent.com/u/78445382?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/vadam5",
"html_url": "https://github.com/vadam5",
"followers_url": "https://api.github.com/users/vadam5/followers",
"following_url": "https://api.github.com/users/vadam5/following{/other_user}",
"gists_url": "https://api.github.com/users/vadam5/gists{/gist_id}",
"starred_url": "https://api.github.com/users/vadam5/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/vadam5/subscriptions",
"organizations_url": "https://api.github.com/users/vadam5/orgs",
"repos_url": "https://api.github.com/users/vadam5/repos",
"events_url": "https://api.github.com/users/vadam5/events{/privacy}",
"received_events_url": "https://api.github.com/users/vadam5/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | null | 2022-05-26T14:43:04 | 2022-05-26T18:15:04 | 2022-05-26T18:14:58 | CONTRIBUTOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/4274",
"html_url": "https://github.com/NVIDIA/NeMo/pull/4274",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/4274.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/4274.patch",
"merged_at": "2022-05-26T18:14:58"
} | # What does this PR do ?
Add documentation on setting save_on_train_end to False
**Collection**: BigNLP
# Changelog
- Updated prompt learning docs
- Updated prompt learning config
# Usage
N/A
# 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": "vadam5",
"id": 78445382,
"node_id": "MDQ6VXNlcjc4NDQ1Mzgy",
"avatar_url": "https://avatars.githubusercontent.com/u/78445382?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/vadam5",
"html_url": "https://github.com/vadam5",
"followers_url": "https://api.github.com/users/vadam5/followers",
"following_url": "https://api.github.com/users/vadam5/following{/other_user}",
"gists_url": "https://api.github.com/users/vadam5/gists{/gist_id}",
"starred_url": "https://api.github.com/users/vadam5/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/vadam5/subscriptions",
"organizations_url": "https://api.github.com/users/vadam5/orgs",
"repos_url": "https://api.github.com/users/vadam5/repos",
"events_url": "https://api.github.com/users/vadam5/events{/privacy}",
"received_events_url": "https://api.github.com/users/vadam5/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/4274/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/4274/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/4273 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/4273/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/4273/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/4273/events | https://github.com/NVIDIA/NeMo/pull/4273 | 1,249,633,197 | PR_kwDOC_bI7s44hkDd | 4,273 | pt container 1.10->1.11.0 | {
"login": "ekmb",
"id": 10428420,
"node_id": "MDQ6VXNlcjEwNDI4NDIw",
"avatar_url": "https://avatars.githubusercontent.com/u/10428420?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ekmb",
"html_url": "https://github.com/ekmb",
"followers_url": "https://api.github.com/users/ekmb/followers",
"following_url": "https://api.github.com/users/ekmb/following{/other_user}",
"gists_url": "https://api.github.com/users/ekmb/gists{/gist_id}",
"starred_url": "https://api.github.com/users/ekmb/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ekmb/subscriptions",
"organizations_url": "https://api.github.com/users/ekmb/orgs",
"repos_url": "https://api.github.com/users/ekmb/repos",
"events_url": "https://api.github.com/users/ekmb/events{/privacy}",
"received_events_url": "https://api.github.com/users/ekmb/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | null | 2022-05-26T14:17:41 | 2022-05-26T15:42:56 | 2022-05-26T15:42:52 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/4273",
"html_url": "https://github.com/NVIDIA/NeMo/pull/4273",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/4273.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/4273.patch",
"merged_at": "2022-05-26T15:42:52"
} | Signed-off-by: ekmb <[email protected]>
# 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
```
# 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": "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/4273/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/4273/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/4271 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/4271/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/4271/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/4271/events | https://github.com/NVIDIA/NeMo/issues/4271 | 1,249,277,108 | I_kwDOC_bI7s5KdnS0 | 4,271 | transcribe_audio | {
"login": "leonardltk",
"id": 22384973,
"node_id": "MDQ6VXNlcjIyMzg0OTcz",
"avatar_url": "https://avatars.githubusercontent.com/u/22384973?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/leonardltk",
"html_url": "https://github.com/leonardltk",
"followers_url": "https://api.github.com/users/leonardltk/followers",
"following_url": "https://api.github.com/users/leonardltk/following{/other_user}",
"gists_url": "https://api.github.com/users/leonardltk/gists{/gist_id}",
"starred_url": "https://api.github.com/users/leonardltk/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/leonardltk/subscriptions",
"organizations_url": "https://api.github.com/users/leonardltk/orgs",
"repos_url": "https://api.github.com/users/leonardltk/repos",
"events_url": "https://api.github.com/users/leonardltk/events{/privacy}",
"received_events_url": "https://api.github.com/users/leonardltk/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"id": 1719393562,
"node_id": "MDU6TGFiZWwxNzE5MzkzNTYy",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/feature",
"name": "feature",
"color": "68F3F0",
"default": false,
"description": "request/PR for a new feature"
}
] | 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 | null | 2022-05-26T08:40:27 | 2022-08-15T14:28:37 | 2022-06-04T22:21:40 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | ```python
def transcribe(self, paths2audio_files: List[str], batch_size: int = 4) -> List[str]:
"""
Takes paths to audio files and returns text transcription
Args:
paths2audio_files: paths to audio fragment to be transcribed
Returns:
transcription texts
"""
pass
```
is there a replacement of `transcribe` that takes in the already loaded audio in numpy/torch array instead of the path ?
| {
"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/4271/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/4271/timeline | null | completed | false |
https://api.github.com/repos/NVIDIA/NeMo/issues/4270 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/4270/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/4270/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/4270/events | https://github.com/NVIDIA/NeMo/pull/4270 | 1,248,981,347 | PR_kwDOC_bI7s44fdE- | 4,270 | Update ASR configs with num_workers and pin_memory | {
"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
} | [] | closed | false | null | [] | null | null | 2022-05-26T01:32:18 | 2022-05-26T02:37:22 | 2022-05-26T02:37:20 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/4270",
"html_url": "https://github.com/NVIDIA/NeMo/pull/4270",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/4270.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/4270.patch",
"merged_at": "2022-05-26T02:37:19"
} | Signed-off-by: smajumdar <[email protected]>
# What does this PR do ?
Updates all ASR configs to have num_workers and pin_memory.
**Collection**: [ASR]
**PR Type**:
- [x] New Feature
- [ ] Bugfix
- [ ] Documentation
| {
"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/4270/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/4270/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/4269 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/4269/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/4269/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/4269/events | https://github.com/NVIDIA/NeMo/pull/4269 | 1,248,927,312 | PR_kwDOC_bI7s44fR0B | 4,269 | Fix missing validation dataset, whitelist certain keywords for datasets | {
"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
} | [] | closed | false | null | [] | null | null | 2022-05-26T00:05:07 | 2022-05-26T01:09:14 | 2022-05-26T01:09:11 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/4269",
"html_url": "https://github.com/NVIDIA/NeMo/pull/4269",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/4269.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/4269.patch",
"merged_at": "2022-05-26T01:09:11"
} | Signed-off-by: smajumdar <[email protected]>
# What does this PR do ?
Fix adapters training script when there are no validation configs.
**Collection**: [ASR]
# Changelog
- Fix validation config bug
- Improve the handling of dataloader speeds in ASR
**PR Type**:
- [ ] New Feature
- [x] Bugfix
- [ ] Documentation
| {
"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/4269/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/4269/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/4268 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/4268/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/4268/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/4268/events | https://github.com/NVIDIA/NeMo/pull/4268 | 1,248,913,137 | PR_kwDOC_bI7s44fOkF | 4,268 | ssl fixes | {
"login": "sam1373",
"id": 24465107,
"node_id": "MDQ6VXNlcjI0NDY1MTA3",
"avatar_url": "https://avatars.githubusercontent.com/u/24465107?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sam1373",
"html_url": "https://github.com/sam1373",
"followers_url": "https://api.github.com/users/sam1373/followers",
"following_url": "https://api.github.com/users/sam1373/following{/other_user}",
"gists_url": "https://api.github.com/users/sam1373/gists{/gist_id}",
"starred_url": "https://api.github.com/users/sam1373/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/sam1373/subscriptions",
"organizations_url": "https://api.github.com/users/sam1373/orgs",
"repos_url": "https://api.github.com/users/sam1373/repos",
"events_url": "https://api.github.com/users/sam1373/events{/privacy}",
"received_events_url": "https://api.github.com/users/sam1373/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | null | 2022-05-25T23:50:55 | 2022-05-26T17:23:59 | 2022-05-26T17:23:59 | CONTRIBUTOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/4268",
"html_url": "https://github.com/NVIDIA/NeMo/pull/4268",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/4268.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/4268.patch",
"merged_at": "2022-05-26T17:23:59"
} | Signed-off-by: sam1373 <[email protected]>
# What does this PR do ?
- fixes masked patch augmentation to round up to guarantee specified fraction of masked steps
- updates to citrinet and contextnet ssl configs and relevant decoder
- fixes tutorial to work with updated configs + minor changes
- revert rnnt decoding change since it's not needed at the moment
**Collection**: ASR
**PR Type**:
- [ ] New Feature
- [X] Bugfix
- [ ] Documentation
| {
"login": "sam1373",
"id": 24465107,
"node_id": "MDQ6VXNlcjI0NDY1MTA3",
"avatar_url": "https://avatars.githubusercontent.com/u/24465107?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sam1373",
"html_url": "https://github.com/sam1373",
"followers_url": "https://api.github.com/users/sam1373/followers",
"following_url": "https://api.github.com/users/sam1373/following{/other_user}",
"gists_url": "https://api.github.com/users/sam1373/gists{/gist_id}",
"starred_url": "https://api.github.com/users/sam1373/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/sam1373/subscriptions",
"organizations_url": "https://api.github.com/users/sam1373/orgs",
"repos_url": "https://api.github.com/users/sam1373/repos",
"events_url": "https://api.github.com/users/sam1373/events{/privacy}",
"received_events_url": "https://api.github.com/users/sam1373/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/4268/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/4268/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/4267 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/4267/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/4267/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/4267/events | https://github.com/NVIDIA/NeMo/pull/4267 | 1,248,860,946 | PR_kwDOC_bI7s44fCXS | 4,267 | BigNLP perf regression fix | {
"login": "MaximumEntropy",
"id": 9114321,
"node_id": "MDQ6VXNlcjkxMTQzMjE=",
"avatar_url": "https://avatars.githubusercontent.com/u/9114321?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/MaximumEntropy",
"html_url": "https://github.com/MaximumEntropy",
"followers_url": "https://api.github.com/users/MaximumEntropy/followers",
"following_url": "https://api.github.com/users/MaximumEntropy/following{/other_user}",
"gists_url": "https://api.github.com/users/MaximumEntropy/gists{/gist_id}",
"starred_url": "https://api.github.com/users/MaximumEntropy/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/MaximumEntropy/subscriptions",
"organizations_url": "https://api.github.com/users/MaximumEntropy/orgs",
"repos_url": "https://api.github.com/users/MaximumEntropy/repos",
"events_url": "https://api.github.com/users/MaximumEntropy/events{/privacy}",
"received_events_url": "https://api.github.com/users/MaximumEntropy/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | null | 2022-05-25T23:14:39 | 2022-05-26T04:50:48 | 2022-05-26T04:50:43 | CONTRIBUTOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/4267",
"html_url": "https://github.com/NVIDIA/NeMo/pull/4267",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/4267.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/4267.patch",
"merged_at": "2022-05-26T04:50:43"
} | # What does this PR do ?
Reverts a change to ModelPT's `cfg` attr.
**Collection**: All
# Changelog
- Reverts a change to ModelPT's `cfg` attr.
# Usage
* You can potentially add a usage example below
```python
# Add a code snippet demonstrating how to use this
```
# 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": "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/4267/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/4267/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/4266 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/4266/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/4266/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/4266/events | https://github.com/NVIDIA/NeMo/pull/4266 | 1,248,809,969 | PR_kwDOC_bI7s44e3dt | 4,266 | [TTS] Training Fastpitch on German text and phonemes and finetuning HiFi-GAN on predicted mels | {
"login": "aroraakshit",
"id": 30349184,
"node_id": "MDQ6VXNlcjMwMzQ5MTg0",
"avatar_url": "https://avatars.githubusercontent.com/u/30349184?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/aroraakshit",
"html_url": "https://github.com/aroraakshit",
"followers_url": "https://api.github.com/users/aroraakshit/followers",
"following_url": "https://api.github.com/users/aroraakshit/following{/other_user}",
"gists_url": "https://api.github.com/users/aroraakshit/gists{/gist_id}",
"starred_url": "https://api.github.com/users/aroraakshit/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/aroraakshit/subscriptions",
"organizations_url": "https://api.github.com/users/aroraakshit/orgs",
"repos_url": "https://api.github.com/users/aroraakshit/repos",
"events_url": "https://api.github.com/users/aroraakshit/events{/privacy}",
"received_events_url": "https://api.github.com/users/aroraakshit/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | null | 2022-05-25T22:21:04 | 2022-06-15T16:44:03 | 2022-06-07T23:12:50 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/4266",
"html_url": "https://github.com/NVIDIA/NeMo/pull/4266",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/4266.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/4266.patch",
"merged_at": "2022-06-07T23:12:49"
} | Signed-off-by: Akshit Arora <[email protected]>
# What does this PR do ?
Adds the code and tutorial to train Fastpitch model from scratch on German neutral dataset ([openslr/95](https://www.openslr.org/95)) text and phonemes, and Finetune HiFi-GAN model on predicted mels from Fastpitch.
**Collection**: TTS
# Changelog
- Added a tutorial to `NeMo/tutorials/tts/Fastpitch_Training_GermanTTS.ipynb`
- Added Fastpitch config for German `NeMo/examples/tts/conf/de/fastpitch_align_de.yaml`
- Added IPA symbols to GermanCharsTokenizer in `NeMo/nemo/collections/tts/torch/tts_tokenizers.py`
- Modified data.py to process `phonemes` flag and generate unique file names when the flag is set to 1 `NeMo/nemo/collections/tts/torch/data.py`
# Usage
* `Fastpitch_Training_GermanTTS.ipynb` walks through the usage.
# 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
* N/A
| {
"login": "aroraakshit",
"id": 30349184,
"node_id": "MDQ6VXNlcjMwMzQ5MTg0",
"avatar_url": "https://avatars.githubusercontent.com/u/30349184?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/aroraakshit",
"html_url": "https://github.com/aroraakshit",
"followers_url": "https://api.github.com/users/aroraakshit/followers",
"following_url": "https://api.github.com/users/aroraakshit/following{/other_user}",
"gists_url": "https://api.github.com/users/aroraakshit/gists{/gist_id}",
"starred_url": "https://api.github.com/users/aroraakshit/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/aroraakshit/subscriptions",
"organizations_url": "https://api.github.com/users/aroraakshit/orgs",
"repos_url": "https://api.github.com/users/aroraakshit/repos",
"events_url": "https://api.github.com/users/aroraakshit/events{/privacy}",
"received_events_url": "https://api.github.com/users/aroraakshit/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/4266/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/4266/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/4265 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/4265/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/4265/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/4265/events | https://github.com/NVIDIA/NeMo/pull/4265 | 1,248,758,054 | PR_kwDOC_bI7s44erp2 | 4,265 | Fix epoch end for NeMo NMT | {
"login": "MaximumEntropy",
"id": 9114321,
"node_id": "MDQ6VXNlcjkxMTQzMjE=",
"avatar_url": "https://avatars.githubusercontent.com/u/9114321?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/MaximumEntropy",
"html_url": "https://github.com/MaximumEntropy",
"followers_url": "https://api.github.com/users/MaximumEntropy/followers",
"following_url": "https://api.github.com/users/MaximumEntropy/following{/other_user}",
"gists_url": "https://api.github.com/users/MaximumEntropy/gists{/gist_id}",
"starred_url": "https://api.github.com/users/MaximumEntropy/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/MaximumEntropy/subscriptions",
"organizations_url": "https://api.github.com/users/MaximumEntropy/orgs",
"repos_url": "https://api.github.com/users/MaximumEntropy/repos",
"events_url": "https://api.github.com/users/MaximumEntropy/events{/privacy}",
"received_events_url": "https://api.github.com/users/MaximumEntropy/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | null | 2022-05-25T21:32:53 | 2022-05-26T16:20:41 | 2022-05-26T16:20:38 | CONTRIBUTOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/4265",
"html_url": "https://github.com/NVIDIA/NeMo/pull/4265",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/4265.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/4265.patch",
"merged_at": "2022-05-26T16:20:38"
} | Signed-off-by: MaximumEntropy <[email protected]>
# What does this PR do ?
Fixes NMT epoch end
**Collection**: NLP
# Changelog
- NLP eval epoch end fix due to PTL bug.
# Usage
* You can potentially add a usage example below
```python
# Add a code snippet demonstrating how to use this
```
# 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/4265/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/4265/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/4264 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/4264/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/4264/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/4264/events | https://github.com/NVIDIA/NeMo/pull/4264 | 1,248,740,030 | PR_kwDOC_bI7s44ennB | 4,264 | Raise error if bicleaner is not installed in NMT Data preprocesing notebook | {
"login": "MaximumEntropy",
"id": 9114321,
"node_id": "MDQ6VXNlcjkxMTQzMjE=",
"avatar_url": "https://avatars.githubusercontent.com/u/9114321?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/MaximumEntropy",
"html_url": "https://github.com/MaximumEntropy",
"followers_url": "https://api.github.com/users/MaximumEntropy/followers",
"following_url": "https://api.github.com/users/MaximumEntropy/following{/other_user}",
"gists_url": "https://api.github.com/users/MaximumEntropy/gists{/gist_id}",
"starred_url": "https://api.github.com/users/MaximumEntropy/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/MaximumEntropy/subscriptions",
"organizations_url": "https://api.github.com/users/MaximumEntropy/orgs",
"repos_url": "https://api.github.com/users/MaximumEntropy/repos",
"events_url": "https://api.github.com/users/MaximumEntropy/events{/privacy}",
"received_events_url": "https://api.github.com/users/MaximumEntropy/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | null | 2022-05-25T21:15:51 | 2022-05-25T22:44:17 | 2022-05-25T22:44:10 | CONTRIBUTOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/4264",
"html_url": "https://github.com/NVIDIA/NeMo/pull/4264",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/4264.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/4264.patch",
"merged_at": "2022-05-25T22:44:10"
} | Signed-off-by: MaximumEntropy <[email protected]>
# What does this PR do ?
Fixes NMT preproc notebook.
**Collection**: [Note which collection this PR will affect]
# Changelog
- Raise error if bicleaner is not installed.
# Usage
* You can potentially add a usage example below
```python
# Add a code snippet demonstrating how to use this
```
# 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": "MaximumEntropy",
"id": 9114321,
"node_id": "MDQ6VXNlcjkxMTQzMjE=",
"avatar_url": "https://avatars.githubusercontent.com/u/9114321?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/MaximumEntropy",
"html_url": "https://github.com/MaximumEntropy",
"followers_url": "https://api.github.com/users/MaximumEntropy/followers",
"following_url": "https://api.github.com/users/MaximumEntropy/following{/other_user}",
"gists_url": "https://api.github.com/users/MaximumEntropy/gists{/gist_id}",
"starred_url": "https://api.github.com/users/MaximumEntropy/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/MaximumEntropy/subscriptions",
"organizations_url": "https://api.github.com/users/MaximumEntropy/orgs",
"repos_url": "https://api.github.com/users/MaximumEntropy/repos",
"events_url": "https://api.github.com/users/MaximumEntropy/events{/privacy}",
"received_events_url": "https://api.github.com/users/MaximumEntropy/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/4264/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/4264/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/4263 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/4263/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/4263/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/4263/events | https://github.com/NVIDIA/NeMo/pull/4263 | 1,248,615,536 | PR_kwDOC_bI7s44eM0k | 4,263 | Add benchmark=false to all TTS configs | {
"login": "redoctopus",
"id": 4268876,
"node_id": "MDQ6VXNlcjQyNjg4NzY=",
"avatar_url": "https://avatars.githubusercontent.com/u/4268876?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/redoctopus",
"html_url": "https://github.com/redoctopus",
"followers_url": "https://api.github.com/users/redoctopus/followers",
"following_url": "https://api.github.com/users/redoctopus/following{/other_user}",
"gists_url": "https://api.github.com/users/redoctopus/gists{/gist_id}",
"starred_url": "https://api.github.com/users/redoctopus/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/redoctopus/subscriptions",
"organizations_url": "https://api.github.com/users/redoctopus/orgs",
"repos_url": "https://api.github.com/users/redoctopus/repos",
"events_url": "https://api.github.com/users/redoctopus/events{/privacy}",
"received_events_url": "https://api.github.com/users/redoctopus/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | null | 2022-05-25T19:32:19 | 2022-05-25T22:34:54 | 2022-05-25T22:34:51 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/4263",
"html_url": "https://github.com/NVIDIA/NeMo/pull/4263",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/4263.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/4263.patch",
"merged_at": "2022-05-25T22:34:51"
} | Signed-off-by: Jocelyn Huang <[email protected]>
# What does this PR do ?
Sets PTL trainer `benchmark` back to default False for all TTS configs (see #4083).
**Collection**: TTS
# Additional Information
* Related to #4083, #4260 | {
"login": "redoctopus",
"id": 4268876,
"node_id": "MDQ6VXNlcjQyNjg4NzY=",
"avatar_url": "https://avatars.githubusercontent.com/u/4268876?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/redoctopus",
"html_url": "https://github.com/redoctopus",
"followers_url": "https://api.github.com/users/redoctopus/followers",
"following_url": "https://api.github.com/users/redoctopus/following{/other_user}",
"gists_url": "https://api.github.com/users/redoctopus/gists{/gist_id}",
"starred_url": "https://api.github.com/users/redoctopus/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/redoctopus/subscriptions",
"organizations_url": "https://api.github.com/users/redoctopus/orgs",
"repos_url": "https://api.github.com/users/redoctopus/repos",
"events_url": "https://api.github.com/users/redoctopus/events{/privacy}",
"received_events_url": "https://api.github.com/users/redoctopus/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/4263/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/4263/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/4262 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/4262/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/4262/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/4262/events | https://github.com/NVIDIA/NeMo/pull/4262 | 1,248,515,391 | PR_kwDOC_bI7s44d3Kg | 4,262 | Prompt learning notebook bugfix | {
"login": "vadam5",
"id": 78445382,
"node_id": "MDQ6VXNlcjc4NDQ1Mzgy",
"avatar_url": "https://avatars.githubusercontent.com/u/78445382?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/vadam5",
"html_url": "https://github.com/vadam5",
"followers_url": "https://api.github.com/users/vadam5/followers",
"following_url": "https://api.github.com/users/vadam5/following{/other_user}",
"gists_url": "https://api.github.com/users/vadam5/gists{/gist_id}",
"starred_url": "https://api.github.com/users/vadam5/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/vadam5/subscriptions",
"organizations_url": "https://api.github.com/users/vadam5/orgs",
"repos_url": "https://api.github.com/users/vadam5/repos",
"events_url": "https://api.github.com/users/vadam5/events{/privacy}",
"received_events_url": "https://api.github.com/users/vadam5/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | null | 2022-05-25T18:29:44 | 2022-05-25T18:33:17 | 2022-05-25T18:33:15 | CONTRIBUTOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/4262",
"html_url": "https://github.com/NVIDIA/NeMo/pull/4262",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/4262.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/4262.patch",
"merged_at": "2022-05-25T18:33:14"
} | # What does this PR do ?
Fixes notebook typo, changes branch to r1.9.0, improves manual dataset download message
**Collection**: BigNLP
# Changelog
- Prompt Learning Notebook
# Usage
N/A
# 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 https://nvbugs/3639143 [ML-NeMo][A30] Multitask_Prompt_and_PTuning.ipynb branch name not 'r1.9.0' and failed with ImportError: cannot import name 'VirtualPromptStyle' as shown below if manually changed to the r1.9.0 branch | {
"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/4262/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/4262/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/4261 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/4261/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/4261/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/4261/events | https://github.com/NVIDIA/NeMo/pull/4261 | 1,248,478,072 | PR_kwDOC_bI7s44dupQ | 4,261 | Update YAML with trainer.benchmark=False for NLP | {
"login": "MaximumEntropy",
"id": 9114321,
"node_id": "MDQ6VXNlcjkxMTQzMjE=",
"avatar_url": "https://avatars.githubusercontent.com/u/9114321?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/MaximumEntropy",
"html_url": "https://github.com/MaximumEntropy",
"followers_url": "https://api.github.com/users/MaximumEntropy/followers",
"following_url": "https://api.github.com/users/MaximumEntropy/following{/other_user}",
"gists_url": "https://api.github.com/users/MaximumEntropy/gists{/gist_id}",
"starred_url": "https://api.github.com/users/MaximumEntropy/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/MaximumEntropy/subscriptions",
"organizations_url": "https://api.github.com/users/MaximumEntropy/orgs",
"repos_url": "https://api.github.com/users/MaximumEntropy/repos",
"events_url": "https://api.github.com/users/MaximumEntropy/events{/privacy}",
"received_events_url": "https://api.github.com/users/MaximumEntropy/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | null | 2022-05-25T18:06:25 | 2022-09-22T17:12:20 | 2022-05-26T22:19:00 | CONTRIBUTOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/4261",
"html_url": "https://github.com/NVIDIA/NeMo/pull/4261",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/4261.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/4261.patch",
"merged_at": "2022-05-26T22:18:59"
} | Signed-off-by: MaximumEntropy <[email protected]>
# What does this PR do ?
Sets `trainer.benchmark=False` for all NLP yaml configs.
**Collection**: NLP
# Changelog
Sets `trainer.benchmark=False` for all NLP yaml configs.
# Usage
* You can potentially add a usage example below
```python
# Add a code snippet demonstrating how to use this
```
# 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": "MaximumEntropy",
"id": 9114321,
"node_id": "MDQ6VXNlcjkxMTQzMjE=",
"avatar_url": "https://avatars.githubusercontent.com/u/9114321?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/MaximumEntropy",
"html_url": "https://github.com/MaximumEntropy",
"followers_url": "https://api.github.com/users/MaximumEntropy/followers",
"following_url": "https://api.github.com/users/MaximumEntropy/following{/other_user}",
"gists_url": "https://api.github.com/users/MaximumEntropy/gists{/gist_id}",
"starred_url": "https://api.github.com/users/MaximumEntropy/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/MaximumEntropy/subscriptions",
"organizations_url": "https://api.github.com/users/MaximumEntropy/orgs",
"repos_url": "https://api.github.com/users/MaximumEntropy/repos",
"events_url": "https://api.github.com/users/MaximumEntropy/events{/privacy}",
"received_events_url": "https://api.github.com/users/MaximumEntropy/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/4261/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/4261/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/4260 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/4260/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/4260/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/4260/events | https://github.com/NVIDIA/NeMo/pull/4260 | 1,248,449,041 | PR_kwDOC_bI7s44doiE | 4,260 | Fixing the speed slow-down for speech models. | {
"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
} | [] | closed | false | null | [] | null | null | 2022-05-25T17:42:00 | 2022-05-25T18:58:06 | 2022-05-25T18:58:06 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/4260",
"html_url": "https://github.com/NVIDIA/NeMo/pull/4260",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/4260.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/4260.patch",
"merged_at": "2022-05-25T18:58:06"
} | Signed-off-by: vahidoox <[email protected]>
# What does this PR do ?
There was a slow down in speech models when upgraded to PTL 1.6. They changed the default of trainer.benchmark to True which slows down model with variable input lengths including speech models. This PR set all the trainer.benchmark to false for all speech models.
# Changelog
Fixed the speed slow-down for speech models by setting benchmark=false for all speech configs.
**PR Type**:
- [ ] New Feature
- [x] Bugfix
- [ ] Documentation | {
"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/4260/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/4260/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/4259 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/4259/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/4259/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/4259/events | https://github.com/NVIDIA/NeMo/pull/4259 | 1,248,430,716 | PR_kwDOC_bI7s44dlKx | 4,259 | updating PretrainedModelInfo and benchmark sheet for ASR models | {
"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
} | [] | closed | false | null | [] | null | null | 2022-05-25T17:27:55 | 2022-05-31T17:52:04 | 2022-05-31T17:52:04 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/4259",
"html_url": "https://github.com/NVIDIA/NeMo/pull/4259",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/4259.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/4259.patch",
"merged_at": "2022-05-31T17:52:04"
} | Signed-off-by: Krishna Puvvada <[email protected]>
# What does this PR do ?
Updating PretrainedModelInfo and benchmark sheet for ASR models
**Collection**: ASR
# Changelog
- Added conformer RNNT xlarge, xxlarge info in PretrainedModelInfo, benchmark sheet
- Added conformer CTC xlarge info in PretrainedModelinfo, benchmark sheet
# 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": "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/4259/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/4259/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/4257 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/4257/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/4257/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/4257/events | https://github.com/NVIDIA/NeMo/pull/4257 | 1,248,121,853 | PR_kwDOC_bI7s44cmwJ | 4,257 | fix broken link in the tutorial | {
"login": "bene-ges",
"id": 61418381,
"node_id": "MDQ6VXNlcjYxNDE4Mzgx",
"avatar_url": "https://avatars.githubusercontent.com/u/61418381?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/bene-ges",
"html_url": "https://github.com/bene-ges",
"followers_url": "https://api.github.com/users/bene-ges/followers",
"following_url": "https://api.github.com/users/bene-ges/following{/other_user}",
"gists_url": "https://api.github.com/users/bene-ges/gists{/gist_id}",
"starred_url": "https://api.github.com/users/bene-ges/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/bene-ges/subscriptions",
"organizations_url": "https://api.github.com/users/bene-ges/orgs",
"repos_url": "https://api.github.com/users/bene-ges/repos",
"events_url": "https://api.github.com/users/bene-ges/events{/privacy}",
"received_events_url": "https://api.github.com/users/bene-ges/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | null | 2022-05-25T13:44:03 | 2022-05-25T15:42:20 | 2022-05-25T15:42:17 | CONTRIBUTOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/4257",
"html_url": "https://github.com/NVIDIA/NeMo/pull/4257",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/4257.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/4257.patch",
"merged_at": "2022-05-25T15:42:17"
} | # What does this PR do ?
Fix broken link
**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
```
# 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": "ekmb",
"id": 10428420,
"node_id": "MDQ6VXNlcjEwNDI4NDIw",
"avatar_url": "https://avatars.githubusercontent.com/u/10428420?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ekmb",
"html_url": "https://github.com/ekmb",
"followers_url": "https://api.github.com/users/ekmb/followers",
"following_url": "https://api.github.com/users/ekmb/following{/other_user}",
"gists_url": "https://api.github.com/users/ekmb/gists{/gist_id}",
"starred_url": "https://api.github.com/users/ekmb/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ekmb/subscriptions",
"organizations_url": "https://api.github.com/users/ekmb/orgs",
"repos_url": "https://api.github.com/users/ekmb/repos",
"events_url": "https://api.github.com/users/ekmb/events{/privacy}",
"received_events_url": "https://api.github.com/users/ekmb/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/4257/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/4257/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/4256 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/4256/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/4256/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/4256/events | https://github.com/NVIDIA/NeMo/pull/4256 | 1,247,312,414 | PR_kwDOC_bI7s44Z1px | 4,256 | add 'relative positional embedding (RPE)' feature - re-creating after… | {
"login": "khcs",
"id": 5403167,
"node_id": "MDQ6VXNlcjU0MDMxNjc=",
"avatar_url": "https://avatars.githubusercontent.com/u/5403167?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/khcs",
"html_url": "https://github.com/khcs",
"followers_url": "https://api.github.com/users/khcs/followers",
"following_url": "https://api.github.com/users/khcs/following{/other_user}",
"gists_url": "https://api.github.com/users/khcs/gists{/gist_id}",
"starred_url": "https://api.github.com/users/khcs/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/khcs/subscriptions",
"organizations_url": "https://api.github.com/users/khcs/orgs",
"repos_url": "https://api.github.com/users/khcs/repos",
"events_url": "https://api.github.com/users/khcs/events{/privacy}",
"received_events_url": "https://api.github.com/users/khcs/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | null | 2022-05-25T01:32:00 | 2022-05-28T05:33:13 | 2022-05-28T05:33:10 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/4256",
"html_url": "https://github.com/NVIDIA/NeMo/pull/4256",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/4256.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/4256.patch",
"merged_at": "2022-05-28T05:33:10"
} | … re-basing to 'main' branch from r1.9.0 - all previous review comments are in.
Signed-off-by: Hoo Chang Shin <[email protected]>
# What does this PR do ?
Add 'relative positional embedding (RPE)' feature to T5 model.
**Collection**: NLP
# Changelog
Adds an option to use 'relative positional embedding' other than 'absolute position embedding' or 'fixed position encoding'.
# Usage
In the 'megatron_t5_config.yaml' file change the 'position_embedding_type' option to 'relative'.
```python
python megatron_t5_pretraining.py
```
# 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": "MaximumEntropy",
"id": 9114321,
"node_id": "MDQ6VXNlcjkxMTQzMjE=",
"avatar_url": "https://avatars.githubusercontent.com/u/9114321?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/MaximumEntropy",
"html_url": "https://github.com/MaximumEntropy",
"followers_url": "https://api.github.com/users/MaximumEntropy/followers",
"following_url": "https://api.github.com/users/MaximumEntropy/following{/other_user}",
"gists_url": "https://api.github.com/users/MaximumEntropy/gists{/gist_id}",
"starred_url": "https://api.github.com/users/MaximumEntropy/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/MaximumEntropy/subscriptions",
"organizations_url": "https://api.github.com/users/MaximumEntropy/orgs",
"repos_url": "https://api.github.com/users/MaximumEntropy/repos",
"events_url": "https://api.github.com/users/MaximumEntropy/events{/privacy}",
"received_events_url": "https://api.github.com/users/MaximumEntropy/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/4256/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/4256/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/4255 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/4255/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/4255/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/4255/events | https://github.com/NVIDIA/NeMo/pull/4255 | 1,247,261,238 | PR_kwDOC_bI7s44ZqPM | 4,255 | Support load_adapters with just adapter_name | {
"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
} | [] | closed | false | null | [] | null | null | 2022-05-25T00:36:05 | 2022-05-25T01:24:46 | 2022-05-25T01:24:43 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/4255",
"html_url": "https://github.com/NVIDIA/NeMo/pull/4255",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/4255.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/4255.patch",
"merged_at": "2022-05-25T01:24:43"
} | Signed-off-by: smajumdar <[email protected]>
# What does this PR do ?
Adds support for load_adapters to load any module adapter with just the adapter_name
**Collection**: [Core, ASR]
# Changelog
- Update code and tests
# Usage
```python
model = ModelWithAdapterSupport()
model.add_adapters("module:adapter_name", adapter_cfg)
model.save_adapters("adapters.pt")
new_model = ModelWithAdaptersSupport()
new_model.load_adapters("adapters.pt", name="adapter_name")
```
**PR Type**:
- [x] New Feature
- [ ] Bugfix
- [ ] Documentation
| {
"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/4255/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/4255/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/4254 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/4254/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/4254/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/4254/events | https://github.com/NVIDIA/NeMo/pull/4254 | 1,247,223,712 | PR_kwDOC_bI7s44ZiVN | 4,254 | Add 'relational positional embedding (RPE)' feature to T5 | {
"login": "khcs",
"id": 5403167,
"node_id": "MDQ6VXNlcjU0MDMxNjc=",
"avatar_url": "https://avatars.githubusercontent.com/u/5403167?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/khcs",
"html_url": "https://github.com/khcs",
"followers_url": "https://api.github.com/users/khcs/followers",
"following_url": "https://api.github.com/users/khcs/following{/other_user}",
"gists_url": "https://api.github.com/users/khcs/gists{/gist_id}",
"starred_url": "https://api.github.com/users/khcs/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/khcs/subscriptions",
"organizations_url": "https://api.github.com/users/khcs/orgs",
"repos_url": "https://api.github.com/users/khcs/repos",
"events_url": "https://api.github.com/users/khcs/events{/privacy}",
"received_events_url": "https://api.github.com/users/khcs/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | null | 2022-05-24T23:27:58 | 2022-05-24T23:41:10 | 2022-05-24T23:41:07 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/4254",
"html_url": "https://github.com/NVIDIA/NeMo/pull/4254",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/4254.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/4254.patch",
"merged_at": null
} | # What does this PR do ?
Add 'relative positional embedding (RPE)' feature to T5 model.
**Collection**: NLP
# Changelog
Adds an option to use 'relative positional embedding' other than 'absolute position embedding' or 'fixed position encoding'.
# Usage
In the 'megatron_t5_config.yaml' file change the 'position_embedding_type' option to 'relative'.
```python
python megatron_t5_pretraining.py
```
# 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": "khcs",
"id": 5403167,
"node_id": "MDQ6VXNlcjU0MDMxNjc=",
"avatar_url": "https://avatars.githubusercontent.com/u/5403167?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/khcs",
"html_url": "https://github.com/khcs",
"followers_url": "https://api.github.com/users/khcs/followers",
"following_url": "https://api.github.com/users/khcs/following{/other_user}",
"gists_url": "https://api.github.com/users/khcs/gists{/gist_id}",
"starred_url": "https://api.github.com/users/khcs/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/khcs/subscriptions",
"organizations_url": "https://api.github.com/users/khcs/orgs",
"repos_url": "https://api.github.com/users/khcs/repos",
"events_url": "https://api.github.com/users/khcs/events{/privacy}",
"received_events_url": "https://api.github.com/users/khcs/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/4254/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/4254/timeline | null | null | true |
Subsets and Splits