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/4906 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/4906/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/4906/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/4906/events | https://github.com/NVIDIA/NeMo/pull/4906 | 1,367,069,777 | PR_kwDOC_bI7s4-o7Nr | 4,906 | Update the prompt learning to handle large lanague model | {
"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-09-08T22:52:35 | 2022-09-14T02:13:01 | 2022-09-13T23:37:38 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/4906",
"html_url": "https://github.com/NVIDIA/NeMo/pull/4906",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/4906.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/4906.patch",
"merged_at": "2022-09-13T23:37:38"
} | # What does this PR do ?
Added the following features:
1. Allow the model to load from the unpacked nemo file
2. Remove LM model weights from optimizer
3. It can apply various activation checkpoint optimizations to the large LM
4. When Pytorch Lightning restore the model, the weights are in fp32 format for some reason even the checkpoint file are saved as bf16. I fix this issue by casting the floating number type to the correct precision. This saves the half of the initial GPU memory consumption.
5. Implement to enable the sequence parallel for p-tuning. It saves a lot of GPU activation memory by using it. Also, it enables selective activation, so it can save extra activation memory without sacrificing much performance.
6. Implement the Tensor Parallel version of the MLP prompt encoder, so it saves GPU memory and distributed computation in TP workgroup.
7. Added a script to conver PTL p-tuning checkpoint files to nemo file for evaluation.
8. Added cache capability to the prompt dataset to save the data processing time.
| {
"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/4906/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/4906/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/4905 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/4905/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/4905/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/4905/events | https://github.com/NVIDIA/NeMo/pull/4905 | 1,367,024,900 | PR_kwDOC_bI7s4-oxoB | 4,905 | Fix saving the last checkpoint when using val check interval | {
"login": "SeanNaren",
"id": 6707363,
"node_id": "MDQ6VXNlcjY3MDczNjM=",
"avatar_url": "https://avatars.githubusercontent.com/u/6707363?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/SeanNaren",
"html_url": "https://github.com/SeanNaren",
"followers_url": "https://api.github.com/users/SeanNaren/followers",
"following_url": "https://api.github.com/users/SeanNaren/following{/other_user}",
"gists_url": "https://api.github.com/users/SeanNaren/gists{/gist_id}",
"starred_url": "https://api.github.com/users/SeanNaren/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/SeanNaren/subscriptions",
"organizations_url": "https://api.github.com/users/SeanNaren/orgs",
"repos_url": "https://api.github.com/users/SeanNaren/repos",
"events_url": "https://api.github.com/users/SeanNaren/events{/privacy}",
"received_events_url": "https://api.github.com/users/SeanNaren/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": "SeanNaren",
"id": 6707363,
"node_id": "MDQ6VXNlcjY3MDczNjM=",
"avatar_url": "https://avatars.githubusercontent.com/u/6707363?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/SeanNaren",
"html_url": "https://github.com/SeanNaren",
"followers_url": "https://api.github.com/users/SeanNaren/followers",
"following_url": "https://api.github.com/users/SeanNaren/following{/other_user}",
"gists_url": "https://api.github.com/users/SeanNaren/gists{/gist_id}",
"starred_url": "https://api.github.com/users/SeanNaren/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/SeanNaren/subscriptions",
"organizations_url": "https://api.github.com/users/SeanNaren/orgs",
"repos_url": "https://api.github.com/users/SeanNaren/repos",
"events_url": "https://api.github.com/users/SeanNaren/events{/privacy}",
"received_events_url": "https://api.github.com/users/SeanNaren/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"login": "SeanNaren",
"id": 6707363,
"node_id": "MDQ6VXNlcjY3MDczNjM=",
"avatar_url": "https://avatars.githubusercontent.com/u/6707363?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/SeanNaren",
"html_url": "https://github.com/SeanNaren",
"followers_url": "https://api.github.com/users/SeanNaren/followers",
"following_url": "https://api.github.com/users/SeanNaren/following{/other_user}",
"gists_url": "https://api.github.com/users/SeanNaren/gists{/gist_id}",
"starred_url": "https://api.github.com/users/SeanNaren/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/SeanNaren/subscriptions",
"organizations_url": "https://api.github.com/users/SeanNaren/orgs",
"repos_url": "https://api.github.com/users/SeanNaren/repos",
"events_url": "https://api.github.com/users/SeanNaren/events{/privacy}",
"received_events_url": "https://api.github.com/users/SeanNaren/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
}
] | null | null | 2022-09-08T21:50:09 | 2022-09-09T18:53:14 | 2022-09-09T04:14:44 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/4905",
"html_url": "https://github.com/NVIDIA/NeMo/pull/4905",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/4905.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/4905.patch",
"merged_at": "2022-09-09T04:14:44"
} | # What does this PR do ?
When saving a checkpoint and the validation check interval isn't divisible by the number of batches, we can miss saving the final checkpoint. This ensures we save the final checkpoint.
I've noticed that the epoch saved in the checkpoint is incremented. Not sure if this will be an issue, but considering this is the final step I assume it should be fine.
cc @ericharper @okuchaiev
# Changelog
- Fix saving the last checkpoint when `val_check_interval`.
# 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
## Who can review?
Anyone in the community is free to review the PR once the checks have passed.
[Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md) contains specific people who can review PRs to various areas.
| {
"login": "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/4905/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/4905/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/4904 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/4904/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/4904/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/4904/events | https://github.com/NVIDIA/NeMo/pull/4904 | 1,366,990,704 | PR_kwDOC_bI7s4-oqLq | 4,904 | Add mixed-representation config to PhonemizerTokenizer | {
"login": "rlangman",
"id": 9942053,
"node_id": "MDQ6VXNlcjk5NDIwNTM=",
"avatar_url": "https://avatars.githubusercontent.com/u/9942053?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rlangman",
"html_url": "https://github.com/rlangman",
"followers_url": "https://api.github.com/users/rlangman/followers",
"following_url": "https://api.github.com/users/rlangman/following{/other_user}",
"gists_url": "https://api.github.com/users/rlangman/gists{/gist_id}",
"starred_url": "https://api.github.com/users/rlangman/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/rlangman/subscriptions",
"organizations_url": "https://api.github.com/users/rlangman/orgs",
"repos_url": "https://api.github.com/users/rlangman/repos",
"events_url": "https://api.github.com/users/rlangman/events{/privacy}",
"received_events_url": "https://api.github.com/users/rlangman/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | null | 2022-09-08T21:08:33 | 2022-12-09T16:14:54 | 2022-09-10T14:38:07 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/4904",
"html_url": "https://github.com/NVIDIA/NeMo/pull/4904",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/4904.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/4904.patch",
"merged_at": "2022-09-10T14:38:07"
} | Signed-off-by: Ryan <[email protected]>
# What does this PR do ?
Extends the IPATokenizer and PhonemizerTokenizer classes so we can do mixed-representation grapheme/phoneme training for non-English languages.
**Collection**: [TTS]
# Changelog
- Add phoneme_probability argument to PhonemizerTokenizer, with code changes to add the grapheme set for each language. The grapheme set was obtained by taking all graphemes in the words of each language's pronunciation dictionary.
- Removed "use_chars" logic in IPATokenizer, which currently adds hardcoded list of English ASCII chars, in favor of parsing them from the user-provided phoneme dictionary in IPAG2P (similar to how it infers its phoneme set from the dictionary).
- In IPAG2P I added accented characters & locale-agnostic digit to the word/token checker. In an earlier commit, I accidentally added this to the EnglishG2p instead (when refactoring the PR around the tokenizer file directory change). Though I don't see any reason to remove it from EnglishG2p.
# 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
# Additional Information
| {
"login": "rlangman",
"id": 9942053,
"node_id": "MDQ6VXNlcjk5NDIwNTM=",
"avatar_url": "https://avatars.githubusercontent.com/u/9942053?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rlangman",
"html_url": "https://github.com/rlangman",
"followers_url": "https://api.github.com/users/rlangman/followers",
"following_url": "https://api.github.com/users/rlangman/following{/other_user}",
"gists_url": "https://api.github.com/users/rlangman/gists{/gist_id}",
"starred_url": "https://api.github.com/users/rlangman/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/rlangman/subscriptions",
"organizations_url": "https://api.github.com/users/rlangman/orgs",
"repos_url": "https://api.github.com/users/rlangman/repos",
"events_url": "https://api.github.com/users/rlangman/events{/privacy}",
"received_events_url": "https://api.github.com/users/rlangman/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/4904/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/4904/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/4903 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/4903/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/4903/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/4903/events | https://github.com/NVIDIA/NeMo/issues/4903 | 1,366,146,698 | I_kwDOC_bI7s5Rbb6K | 4,903 | Identifying Spoken Language | {
"login": "Sasha-Bachynskyi",
"id": 93126453,
"node_id": "U_kgDOBYz_NQ",
"avatar_url": "https://avatars.githubusercontent.com/u/93126453?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Sasha-Bachynskyi",
"html_url": "https://github.com/Sasha-Bachynskyi",
"followers_url": "https://api.github.com/users/Sasha-Bachynskyi/followers",
"following_url": "https://api.github.com/users/Sasha-Bachynskyi/following{/other_user}",
"gists_url": "https://api.github.com/users/Sasha-Bachynskyi/gists{/gist_id}",
"starred_url": "https://api.github.com/users/Sasha-Bachynskyi/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Sasha-Bachynskyi/subscriptions",
"organizations_url": "https://api.github.com/users/Sasha-Bachynskyi/orgs",
"repos_url": "https://api.github.com/users/Sasha-Bachynskyi/repos",
"events_url": "https://api.github.com/users/Sasha-Bachynskyi/events{/privacy}",
"received_events_url": "https://api.github.com/users/Sasha-Bachynskyi/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-09-08T11:47:22 | 2023-02-22T23:20:17 | 2022-10-05T17:10:50 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | Hello, developers.
Is there a model or something to identify spoken language? For example, how to identify whether a speaker speaks English or Russian.
I looked for it in the tutorials and found nothing.
I will appreciate any help | {
"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/4903/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/4903/timeline | null | completed | false |
https://api.github.com/repos/NVIDIA/NeMo/issues/4902 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/4902/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/4902/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/4902/events | https://github.com/NVIDIA/NeMo/pull/4902 | 1,365,489,530 | PR_kwDOC_bI7s4-jdK5 | 4,902 | [TTS] fix wrong g2p path. | {
"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-09-08T03:57:54 | 2022-09-08T18:13:42 | 2022-09-08T15:59:24 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/4902",
"html_url": "https://github.com/NVIDIA/NeMo/pull/4902",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/4902.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/4902.patch",
"merged_at": "2022-09-08T15:59:24"
} | Signed-off-by: Xuesong Yang <[email protected]>
# What does this PR do ?
fixed wrong g2p path. Previously in https://github.com/NVIDIA/NeMo/pull/4690, g2p modules were moved to `nemo_text_processing.g2p.modules`.
**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": "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/4902/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/4902/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/4901 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/4901/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/4901/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/4901/events | https://github.com/NVIDIA/NeMo/pull/4901 | 1,365,401,098 | PR_kwDOC_bI7s4-jKVE | 4,901 | removed unused imports for all domains. | {
"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-09-08T01:34:41 | 2022-09-08T20:46:53 | 2022-09-08T20:41:11 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/4901",
"html_url": "https://github.com/NVIDIA/NeMo/pull/4901",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/4901.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/4901.patch",
"merged_at": "2022-09-08T20:41:11"
} | Signed-off-by: Xuesong Yang <[email protected]>
# What does this PR do ?
LGTM.com detected 100 ish unused imports. Clean up to remove those warnings.
**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/4901/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/4901/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/4900 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/4900/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/4900/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/4900/events | https://github.com/NVIDIA/NeMo/pull/4900 | 1,365,301,290 | PR_kwDOC_bI7s4-i0at | 4,900 | Support distributed Adam with T5 and support overlapped grad reductions with pipeline parallelism | {
"login": "timmoon10",
"id": 4406448,
"node_id": "MDQ6VXNlcjQ0MDY0NDg=",
"avatar_url": "https://avatars.githubusercontent.com/u/4406448?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/timmoon10",
"html_url": "https://github.com/timmoon10",
"followers_url": "https://api.github.com/users/timmoon10/followers",
"following_url": "https://api.github.com/users/timmoon10/following{/other_user}",
"gists_url": "https://api.github.com/users/timmoon10/gists{/gist_id}",
"starred_url": "https://api.github.com/users/timmoon10/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/timmoon10/subscriptions",
"organizations_url": "https://api.github.com/users/timmoon10/orgs",
"repos_url": "https://api.github.com/users/timmoon10/repos",
"events_url": "https://api.github.com/users/timmoon10/events{/privacy}",
"received_events_url": "https://api.github.com/users/timmoon10/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | null | 2022-09-07T23:21:59 | 2022-10-21T04:49:29 | 2022-10-21T04:49:29 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/4900",
"html_url": "https://github.com/NVIDIA/NeMo/pull/4900",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/4900.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/4900.patch",
"merged_at": "2022-10-21T04:49:29"
} | # What does this PR do ?
Generalize distributed Adam support for GPT-3 to T5 and other Megatron-LM models. It also implements several performance optimizations.
**Collection**: NLP
# Changelog
- When params are BF16, distributed Adam will store 16-bit param remainders instead of FP32 main params
- Decouples distributed Adam support from Megatron O2-level optizations
- Add support for Apex distributed Adam optimizer with other Megatron-LM models, namely T5
- Add support for overlapped grad reductions with pipeline or sequence parallelism
# Usage
Set optimizer to `distributed_fused_adam` in config file:
https://github.com/NVIDIA/NeMo/blob/265f7b17876aef7937cf0fedf7a76885bdc63288/examples/nlp/language_modeling/conf/megatron_t5_config.yaml#L137
# Before your PR is "Ready for review"
**Pre checks**:
- [x] Make sure you read and followed [Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md)
- [ ] Did you write any new necessary tests?
- [ ] Did you add or update any necessary documentation?
- [x] Does the PR affect components that are optional to install? (Ex: Numba, Pynini, Apex etc)
- [ ] Reviewer: Does the PR have correct import guards for all optional libraries?
**PR Type**:
- [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
* Closes https://github.com/NVIDIA/NeMo/pull/4799
* Depends on https://github.com/NVIDIA/apex/pull/1475 | {
"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/4900/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/4900/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/4897 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/4897/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/4897/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/4897/events | https://github.com/NVIDIA/NeMo/pull/4897 | 1,365,282,412 | PR_kwDOC_bI7s4-iwTV | 4,897 | Fix question answering docs r1p11 | {
"login": "Zhilin123",
"id": 29811458,
"node_id": "MDQ6VXNlcjI5ODExNDU4",
"avatar_url": "https://avatars.githubusercontent.com/u/29811458?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Zhilin123",
"html_url": "https://github.com/Zhilin123",
"followers_url": "https://api.github.com/users/Zhilin123/followers",
"following_url": "https://api.github.com/users/Zhilin123/following{/other_user}",
"gists_url": "https://api.github.com/users/Zhilin123/gists{/gist_id}",
"starred_url": "https://api.github.com/users/Zhilin123/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Zhilin123/subscriptions",
"organizations_url": "https://api.github.com/users/Zhilin123/orgs",
"repos_url": "https://api.github.com/users/Zhilin123/repos",
"events_url": "https://api.github.com/users/Zhilin123/events{/privacy}",
"received_events_url": "https://api.github.com/users/Zhilin123/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | null | 2022-09-07T22:51:33 | 2022-09-08T00:19:47 | 2022-09-08T00:19:36 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/4897",
"html_url": "https://github.com/NVIDIA/NeMo/pull/4897",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/4897.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/4897.patch",
"merged_at": "2022-09-08T00:19:36"
} | # What does this PR do ?
Fix bug in documentation
**Collection**: nlp
# Changelog
- Add specific line by line info of high level changes in this PR.
# Usage
* You can potentially add a usage example below
```python
# Add a code snippet demonstrating how to use this
```
# Before your PR is "Ready for review"
**Pre checks**:
- [ ] Make sure you read and followed [Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md)
- [ ] Did you write any new necessary tests?
- [ ] Did you add or update any necessary documentation?
- [ ] Does the PR affect components that are optional to install? (Ex: Numba, Pynini, Apex etc)
- [ ] Reviewer: Does the PR have correct import guards for all optional libraries?
**PR Type**:
- [ ] New Feature
- [ ] Bugfix
- [x] Documentation
If you haven't finished some of the above items you can still open "Draft" PR.
## Who can review?
Anyone in the community is free to review the PR once the checks have passed.
[Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md) contains specific people who can review PRs to various areas.
# Additional Information
* Related to # (issue 4775)
| {
"login": "Zhilin123",
"id": 29811458,
"node_id": "MDQ6VXNlcjI5ODExNDU4",
"avatar_url": "https://avatars.githubusercontent.com/u/29811458?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Zhilin123",
"html_url": "https://github.com/Zhilin123",
"followers_url": "https://api.github.com/users/Zhilin123/followers",
"following_url": "https://api.github.com/users/Zhilin123/following{/other_user}",
"gists_url": "https://api.github.com/users/Zhilin123/gists{/gist_id}",
"starred_url": "https://api.github.com/users/Zhilin123/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Zhilin123/subscriptions",
"organizations_url": "https://api.github.com/users/Zhilin123/orgs",
"repos_url": "https://api.github.com/users/Zhilin123/repos",
"events_url": "https://api.github.com/users/Zhilin123/events{/privacy}",
"received_events_url": "https://api.github.com/users/Zhilin123/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/4897/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/4897/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/4896 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/4896/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/4896/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/4896/events | https://github.com/NVIDIA/NeMo/issues/4896 | 1,365,282,109 | I_kwDOC_bI7s5RYI09 | 4,896 | Addition of word in Citrinet Model | {
"login": "sharaddobariya05",
"id": 50762494,
"node_id": "MDQ6VXNlcjUwNzYyNDk0",
"avatar_url": "https://avatars.githubusercontent.com/u/50762494?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sharaddobariya05",
"html_url": "https://github.com/sharaddobariya05",
"followers_url": "https://api.github.com/users/sharaddobariya05/followers",
"following_url": "https://api.github.com/users/sharaddobariya05/following{/other_user}",
"gists_url": "https://api.github.com/users/sharaddobariya05/gists{/gist_id}",
"starred_url": "https://api.github.com/users/sharaddobariya05/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/sharaddobariya05/subscriptions",
"organizations_url": "https://api.github.com/users/sharaddobariya05/orgs",
"repos_url": "https://api.github.com/users/sharaddobariya05/repos",
"events_url": "https://api.github.com/users/sharaddobariya05/events{/privacy}",
"received_events_url": "https://api.github.com/users/sharaddobariya05/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | null | 2022-09-07T22:51:16 | 2022-09-08T06:29:57 | 2022-09-08T06:29:57 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | stt_en_citrinet_512 and stt_en_citrinet_1024 both are trained on large English speech data, is there any way we can add few more words such as name(Example Hanuman or Ganesha), pronunciation of these words might be different depends upon the language , if we have enough speech data to add these words for improvement its transcription accuracy.
In short, I want to add few more words in dictionary of this model.
| {
"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/4896/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/4896/timeline | null | completed | false |
https://api.github.com/repos/NVIDIA/NeMo/issues/4895 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/4895/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/4895/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/4895/events | https://github.com/NVIDIA/NeMo/pull/4895 | 1,365,273,957 | PR_kwDOC_bI7s4-iu4n | 4,895 | Update tutorials.rst for question answering | {
"login": "Zhilin123",
"id": 29811458,
"node_id": "MDQ6VXNlcjI5ODExNDU4",
"avatar_url": "https://avatars.githubusercontent.com/u/29811458?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Zhilin123",
"html_url": "https://github.com/Zhilin123",
"followers_url": "https://api.github.com/users/Zhilin123/followers",
"following_url": "https://api.github.com/users/Zhilin123/following{/other_user}",
"gists_url": "https://api.github.com/users/Zhilin123/gists{/gist_id}",
"starred_url": "https://api.github.com/users/Zhilin123/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Zhilin123/subscriptions",
"organizations_url": "https://api.github.com/users/Zhilin123/orgs",
"repos_url": "https://api.github.com/users/Zhilin123/repos",
"events_url": "https://api.github.com/users/Zhilin123/events{/privacy}",
"received_events_url": "https://api.github.com/users/Zhilin123/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | null | 2022-09-07T22:44:43 | 2022-09-08T00:20:00 | 2022-09-08T00:19:57 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/4895",
"html_url": "https://github.com/NVIDIA/NeMo/pull/4895",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/4895.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/4895.patch",
"merged_at": "2022-09-08T00:19:57"
} | # What does this PR do ?
Documentation bug fix.
**Collection**: nlp
# Changelog
- Add specific line by line info of high level changes in this PR.
# Usage
* You can potentially add a usage example below
```python
# Add a code snippet demonstrating how to use this
```
# Before your PR is "Ready for review"
**Pre checks**:
- [ ] Make sure you read and followed [Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md)
- [ ] Did you write any new necessary tests?
- [ ] Did you add or update any necessary documentation?
- [ ] Does the PR affect components that are optional to install? (Ex: Numba, Pynini, Apex etc)
- [ ] Reviewer: Does the PR have correct import guards for all optional libraries?
**PR Type**:
- [ ] New Feature
- [ ] Bugfix
- [x] Documentation
If you haven't finished some of the above items you can still open "Draft" PR.
## Who can review?
Anyone in the community is free to review the PR once the checks have passed.
[Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md) contains specific people who can review PRs to various areas.
# Additional Information
* Related to # (issue 4775)
| {
"login": "Zhilin123",
"id": 29811458,
"node_id": "MDQ6VXNlcjI5ODExNDU4",
"avatar_url": "https://avatars.githubusercontent.com/u/29811458?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Zhilin123",
"html_url": "https://github.com/Zhilin123",
"followers_url": "https://api.github.com/users/Zhilin123/followers",
"following_url": "https://api.github.com/users/Zhilin123/following{/other_user}",
"gists_url": "https://api.github.com/users/Zhilin123/gists{/gist_id}",
"starred_url": "https://api.github.com/users/Zhilin123/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Zhilin123/subscriptions",
"organizations_url": "https://api.github.com/users/Zhilin123/orgs",
"repos_url": "https://api.github.com/users/Zhilin123/repos",
"events_url": "https://api.github.com/users/Zhilin123/events{/privacy}",
"received_events_url": "https://api.github.com/users/Zhilin123/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/4895/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/4895/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/4894 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/4894/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/4894/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/4894/events | https://github.com/NVIDIA/NeMo/pull/4894 | 1,365,157,954 | PR_kwDOC_bI7s4-iYZR | 4,894 | Fixing Megatron BERT output dimensions to [batch x sec x hidden] | {
"login": "michalivne",
"id": 7453913,
"node_id": "MDQ6VXNlcjc0NTM5MTM=",
"avatar_url": "https://avatars.githubusercontent.com/u/7453913?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/michalivne",
"html_url": "https://github.com/michalivne",
"followers_url": "https://api.github.com/users/michalivne/followers",
"following_url": "https://api.github.com/users/michalivne/following{/other_user}",
"gists_url": "https://api.github.com/users/michalivne/gists{/gist_id}",
"starred_url": "https://api.github.com/users/michalivne/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/michalivne/subscriptions",
"organizations_url": "https://api.github.com/users/michalivne/orgs",
"repos_url": "https://api.github.com/users/michalivne/repos",
"events_url": "https://api.github.com/users/michalivne/events{/privacy}",
"received_events_url": "https://api.github.com/users/michalivne/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | null | 2022-09-07T20:39:01 | 2022-09-07T21:33:18 | 2022-09-07T21:32:11 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/4894",
"html_url": "https://github.com/NVIDIA/NeMo/pull/4894",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/4894.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/4894.patch",
"merged_at": "2022-09-07T21:32:11"
} | Signed-off-by: Micha Livne <[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": "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/4894/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/4894/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/4893 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/4893/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/4893/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/4893/events | https://github.com/NVIDIA/NeMo/pull/4893 | 1,365,004,984 | PR_kwDOC_bI7s4-h3WO | 4,893 | Enable mlflow logger | {
"login": "whrichd",
"id": 43883260,
"node_id": "MDQ6VXNlcjQzODgzMjYw",
"avatar_url": "https://avatars.githubusercontent.com/u/43883260?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/whrichd",
"html_url": "https://github.com/whrichd",
"followers_url": "https://api.github.com/users/whrichd/followers",
"following_url": "https://api.github.com/users/whrichd/following{/other_user}",
"gists_url": "https://api.github.com/users/whrichd/gists{/gist_id}",
"starred_url": "https://api.github.com/users/whrichd/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/whrichd/subscriptions",
"organizations_url": "https://api.github.com/users/whrichd/orgs",
"repos_url": "https://api.github.com/users/whrichd/repos",
"events_url": "https://api.github.com/users/whrichd/events{/privacy}",
"received_events_url": "https://api.github.com/users/whrichd/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | null | 2022-09-07T17:55:34 | 2022-11-09T18:45:40 | 2022-11-09T18:45:30 | CONTRIBUTOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/4893",
"html_url": "https://github.com/NVIDIA/NeMo/pull/4893",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/4893.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/4893.patch",
"merged_at": "2022-11-09T18:45:29"
} | Signed-off-by: whrichd <[email protected]>
# What does this PR do ?
MLFlow is already a dependancy in Pytorch Lightning, so some small changes enables MLFlow tracking, a free alternative to WnB.
**Collection**: utils
# Changelog
- Changed exp_manager.py
# Usage
* Add the MLflow logger just as how you would add the weighs and biases logger, in the config files.
# 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": "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/4893/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/4893/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/4892 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/4892/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/4892/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/4892/events | https://github.com/NVIDIA/NeMo/pull/4892 | 1,364,949,438 | PR_kwDOC_bI7s4-hrXt | 4,892 | added utf8 encoding | {
"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-09-07T16:59:13 | 2022-09-07T18:03:04 | 2022-09-07T18:03:00 | CONTRIBUTOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/4892",
"html_url": "https://github.com/NVIDIA/NeMo/pull/4892",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/4892.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/4892.patch",
"merged_at": "2022-09-07T18:03:00"
} | Signed-off-by: Virginia Adams <[email protected]>
Writes T5 prompt learning prediction file with utf-8 encoding.
Add a one line overview of what this PR aims to accomplish.
**Collection**: NLP
# Changelog
- T5 prompt learning eval script
# 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": "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/4892/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/4892/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/4891 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/4891/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/4891/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/4891/events | https://github.com/NVIDIA/NeMo/pull/4891 | 1,364,936,191 | PR_kwDOC_bI7s4-hooD | 4,891 | Update label_models.py | {
"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-09-07T16:45:44 | 2022-09-08T00:20:35 | 2022-09-08T00:16:16 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/4891",
"html_url": "https://github.com/NVIDIA/NeMo/pull/4891",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/4891.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/4891.patch",
"merged_at": "2022-09-08T00:16:16"
} | # What does this PR do ?
- Removed AUROC metric since it's slow and cost a lot of memory to store the logits&labels.
- Fixed macro-accuracy metric usage for multiple validation manifests.
- Refactored validation and test function since they share the same code but just different tags in display ("val_" vs. "test_")
| {
"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/4891/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/4891/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/4889 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/4889/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/4889/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/4889/events | https://github.com/NVIDIA/NeMo/issues/4889 | 1,364,176,363 | I_kwDOC_bI7s5RT63r | 4,889 | Deploying to Riva with self-trained ASR model, but unable to infer audio | {
"login": "hanchi-gao",
"id": 56921951,
"node_id": "MDQ6VXNlcjU2OTIxOTUx",
"avatar_url": "https://avatars.githubusercontent.com/u/56921951?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/hanchi-gao",
"html_url": "https://github.com/hanchi-gao",
"followers_url": "https://api.github.com/users/hanchi-gao/followers",
"following_url": "https://api.github.com/users/hanchi-gao/following{/other_user}",
"gists_url": "https://api.github.com/users/hanchi-gao/gists{/gist_id}",
"starred_url": "https://api.github.com/users/hanchi-gao/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/hanchi-gao/subscriptions",
"organizations_url": "https://api.github.com/users/hanchi-gao/orgs",
"repos_url": "https://api.github.com/users/hanchi-gao/repos",
"events_url": "https://api.github.com/users/hanchi-gao/events{/privacy}",
"received_events_url": "https://api.github.com/users/hanchi-gao/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"id": 1485815557,
"node_id": "MDU6TGFiZWwxNDg1ODE1NTU3",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": "Something isn't working"
},
{
"id": 4585431311,
"node_id": "LA_kwDOC_bI7s8AAAABEVAhDw",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/stale",
"name": "stale",
"color": "ededed",
"default": false,
"description": null
}
] | closed | false | null | [] | null | null | 2022-09-07T06:48:10 | 2022-10-23T02:14:29 | 2022-10-23T02:14:29 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | **Describe the bug**
I used NeMo to train a Mandarin ASR model (QuartzNet), and then I converted it to .rmir format through the tutorial.
I deployed .rmir to riva (I only have this model enabled), but the client cannot successfully call the ASR model on the server side, there will be the following error

**Steps/Code to reproduce bug**
- build environment
docker pull nvcr.io/nvidia/riva/riva-speech:2.4.0-servicemaker
sudo docker run --gpus all -it --rm -v /NeMo/nemo_experiments/QuartzNet15x5/rmir_fold:/servicemaker-dev -v /NeMo/nemo_experiments/QuartzNet15x5:/data --entrypoint="/bin/bash" nvcr.io/nvidia/riva/riva-speech:2.4.0-servicemaker
- convert to .riva file
nemo2riva --out Nemo_CTC.riva QuartzNet15x5.nemo
- convert to .rmir file
riva-build speech_recognition -f /servicemaker-dev/NeMo_CTC.rmir /data/2022-08-19_07-43-11/Nemo_CTC.riva --decoder_type=greedy
- start riva-speech
ngc registry resource download-version nvidia/riva/riva_quickstart:2.4.0
cd riva_quickstart_v2.4.0
bash riva_init.sh
bash riva_start.sh
**get a result like this =>**
**c1106038@DGX-Station-62:~/NeMo/riva_quickstart_v2.4.0$ sudo bash riva_start.sh
Starting Riva Speech Services. This may take several minutes depending on the number of models deployed.
2cfde38fd430b4ce346b125850848e187cc399422c59470f5eaef05bc00ea22b
Waiting for Riva server to load all models...retrying in 10 seconds
Riva server is ready...**
(In order to use a custom rmir file, only modify riva_model_loc and use_existing_rmirs=true in config.sh)
1. riva_model_loc="/home/c1106038/NeMo/nemo_experiments/QuartzNet15x5/rmir_fold"
2. use_existing_rmirs=true
- start client
bash riva_start_client.sh
(In order to use GPU modify the riva_start_client.sh as follows)

**get a result like this =>**

- Execute riva_asr_client
riva_asr_client --audio_file=/test/morning_conference_000001.wav -language_code=zh-CN
**get a Error=>**

**Expected behavior**
Custom model inference audio available on Riva.
**Environment overview (please complete the following information)**
- DGX V100 GPU
- Method of NeMo install:
docker pull nvcr.io/nvidia/nemo:22.05
docker run --gpus all -it --name Nemo_container -v NeMo:/workspace --shm-size=8g -p 8888:8888 -p 6006:6006 --ulimit memlock=-1 --ulimit stack=67108864 --device=/dev/snd nvcr.io/nvidia/nemo:22.05
**Environment details**
OS version: Ubuntu 20.04
PyTorch version: 1.12.0a0+8a1a93a
Python version: 3.8.13
| {
"login": "github-actions[bot]",
"id": 41898282,
"node_id": "MDM6Qm90NDE4OTgyODI=",
"avatar_url": "https://avatars.githubusercontent.com/in/15368?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/github-actions%5Bbot%5D",
"html_url": "https://github.com/apps/github-actions",
"followers_url": "https://api.github.com/users/github-actions%5Bbot%5D/followers",
"following_url": "https://api.github.com/users/github-actions%5Bbot%5D/following{/other_user}",
"gists_url": "https://api.github.com/users/github-actions%5Bbot%5D/gists{/gist_id}",
"starred_url": "https://api.github.com/users/github-actions%5Bbot%5D/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/github-actions%5Bbot%5D/subscriptions",
"organizations_url": "https://api.github.com/users/github-actions%5Bbot%5D/orgs",
"repos_url": "https://api.github.com/users/github-actions%5Bbot%5D/repos",
"events_url": "https://api.github.com/users/github-actions%5Bbot%5D/events{/privacy}",
"received_events_url": "https://api.github.com/users/github-actions%5Bbot%5D/received_events",
"type": "Bot",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/4889/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/4889/timeline | null | not_planned | false |
https://api.github.com/repos/NVIDIA/NeMo/issues/4888 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/4888/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/4888/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/4888/events | https://github.com/NVIDIA/NeMo/issues/4888 | 1,364,012,012 | I_kwDOC_bI7s5RTSvs | 4,888 | [Speaker Recognition and Verification] got runtime error on training | {
"login": "triumph9989",
"id": 48488138,
"node_id": "MDQ6VXNlcjQ4NDg4MTM4",
"avatar_url": "https://avatars.githubusercontent.com/u/48488138?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/triumph9989",
"html_url": "https://github.com/triumph9989",
"followers_url": "https://api.github.com/users/triumph9989/followers",
"following_url": "https://api.github.com/users/triumph9989/following{/other_user}",
"gists_url": "https://api.github.com/users/triumph9989/gists{/gist_id}",
"starred_url": "https://api.github.com/users/triumph9989/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/triumph9989/subscriptions",
"organizations_url": "https://api.github.com/users/triumph9989/orgs",
"repos_url": "https://api.github.com/users/triumph9989/repos",
"events_url": "https://api.github.com/users/triumph9989/events{/privacy}",
"received_events_url": "https://api.github.com/users/triumph9989/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"id": 1485815557,
"node_id": "MDU6TGFiZWwxNDg1ODE1NTU3",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": "Something isn't working"
},
{
"id": 4585431311,
"node_id": "LA_kwDOC_bI7s8AAAABEVAhDw",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/stale",
"name": "stale",
"color": "ededed",
"default": false,
"description": null
}
] | closed | false | null | [] | null | null | 2022-09-07T02:41:33 | 2022-10-20T02:13:56 | 2022-10-20T02:13:56 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | I tried to learn training speaker embedding extractor from [https://docs.nvidia.com/deeplearning/nemo/user-guide/docs/en/stable/starthere/tutorials.html](url)
Domain: ASR
title: Speaker Recognition and Verification
It's no problem before cell [20]
cell [20]:
`trainer.fit(speaker_model)`
bug:
```
INFO:pytorch_lightning.accelerators.gpu:LOCAL_RANK: 0 - CUDA_VISIBLE_DEVICES: [0]
[NeMo I 2022-09-07 02:27:14 modelPT:587] Optimizer config = SGD (
Parameter Group 0
dampening: 0
foreach: None
lr: 0.006
maximize: False
momentum: 0
nesterov: False
weight_decay: 0.001
)
[NeMo I 2022-09-07 02:27:14 lr_scheduler:914] Scheduler "<nemo.core.optim.lr_scheduler.CosineAnnealing object at 0x7f682c63a690>"
will be used during training (effective maximum steps = 140) -
Parameters :
(warmup_ratio: 0.1
min_lr: 0.0
max_steps: 140
)
INFO:pytorch_lightning.callbacks.model_summary:
| Name | Type | Params
------------------------------------------------------------------------
0 | preprocessor | AudioToMelSpectrogramPreprocessor | 0
1 | encoder | ConvASREncoder | 19.4 M
2 | decoder | SpeakerDecoder | 2.8 M
3 | loss | AngularSoftmaxLoss | 0
4 | _accuracy | TopKClassificationAccuracy | 0
5 | spec_augmentation | SpectrogramAugmentation | 0
------------------------------------------------------------------------
22.1 M Trainable params
0 Non-trainable params
22.1 M Total params
88.546 Total estimated model params size (MB)
[NeMo I 2022-09-07 02:27:15 label_models:312] val_loss: 13.214
---------------------------------------------------------------------------
RuntimeError Traceback (most recent call last)
[<ipython-input-22-f8bb6804e159>](https://localhost:8080/#) in <module>
----> 1 trainer.fit(speaker_model)
14 frames
[/usr/local/lib/python3.7/dist-packages/nemo/utils/timers.py](https://localhost:8080/#) in start(self, name)
90
91 if "start" in timer_data:
---> 92 raise RuntimeError(f"Cannot start timer = '{name}' since it is already active")
93
94 # synchronize pytorch cuda execution if supported
RuntimeError: Cannot start timer = 'train_step_timing' since it is already active
Epoch 0: 0%
0/15 [00:00<?, ?it/s]
```
**Additional context**
Before the above Runtime error, I got `TypeError: unhashable type: 'list'` from `/usr/local/lib/python3.7/dist-packages/numba/cuda/dispatcher.py`. But I fixed it.
| {
"login": "github-actions[bot]",
"id": 41898282,
"node_id": "MDM6Qm90NDE4OTgyODI=",
"avatar_url": "https://avatars.githubusercontent.com/in/15368?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/github-actions%5Bbot%5D",
"html_url": "https://github.com/apps/github-actions",
"followers_url": "https://api.github.com/users/github-actions%5Bbot%5D/followers",
"following_url": "https://api.github.com/users/github-actions%5Bbot%5D/following{/other_user}",
"gists_url": "https://api.github.com/users/github-actions%5Bbot%5D/gists{/gist_id}",
"starred_url": "https://api.github.com/users/github-actions%5Bbot%5D/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/github-actions%5Bbot%5D/subscriptions",
"organizations_url": "https://api.github.com/users/github-actions%5Bbot%5D/orgs",
"repos_url": "https://api.github.com/users/github-actions%5Bbot%5D/repos",
"events_url": "https://api.github.com/users/github-actions%5Bbot%5D/events{/privacy}",
"received_events_url": "https://api.github.com/users/github-actions%5Bbot%5D/received_events",
"type": "Bot",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/4888/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/4888/timeline | null | not_planned | false |
https://api.github.com/repos/NVIDIA/NeMo/issues/4887 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/4887/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/4887/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/4887/events | https://github.com/NVIDIA/NeMo/pull/4887 | 1,363,747,459 | PR_kwDOC_bI7s4-drZN | 4,887 | Fixed output of BERT to be [batch x seq x hidden] | {
"login": "michalivne",
"id": 7453913,
"node_id": "MDQ6VXNlcjc0NTM5MTM=",
"avatar_url": "https://avatars.githubusercontent.com/u/7453913?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/michalivne",
"html_url": "https://github.com/michalivne",
"followers_url": "https://api.github.com/users/michalivne/followers",
"following_url": "https://api.github.com/users/michalivne/following{/other_user}",
"gists_url": "https://api.github.com/users/michalivne/gists{/gist_id}",
"starred_url": "https://api.github.com/users/michalivne/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/michalivne/subscriptions",
"organizations_url": "https://api.github.com/users/michalivne/orgs",
"repos_url": "https://api.github.com/users/michalivne/repos",
"events_url": "https://api.github.com/users/michalivne/events{/privacy}",
"received_events_url": "https://api.github.com/users/michalivne/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | null | 2022-09-06T19:54:06 | 2022-09-07T20:08:22 | 2022-09-07T20:08:18 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/4887",
"html_url": "https://github.com/NVIDIA/NeMo/pull/4887",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/4887.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/4887.patch",
"merged_at": "2022-09-07T20:08:18"
} | Signed-off-by: Micha Livne <[email protected]>
# What does this PR do ?
This PR Fixes the output of BERT to be [batch x seq x hidden] instead of [se x batch x hidden]
**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": "michalivne",
"id": 7453913,
"node_id": "MDQ6VXNlcjc0NTM5MTM=",
"avatar_url": "https://avatars.githubusercontent.com/u/7453913?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/michalivne",
"html_url": "https://github.com/michalivne",
"followers_url": "https://api.github.com/users/michalivne/followers",
"following_url": "https://api.github.com/users/michalivne/following{/other_user}",
"gists_url": "https://api.github.com/users/michalivne/gists{/gist_id}",
"starred_url": "https://api.github.com/users/michalivne/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/michalivne/subscriptions",
"organizations_url": "https://api.github.com/users/michalivne/orgs",
"repos_url": "https://api.github.com/users/michalivne/repos",
"events_url": "https://api.github.com/users/michalivne/events{/privacy}",
"received_events_url": "https://api.github.com/users/michalivne/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/4887/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/4887/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/4886 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/4886/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/4886/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/4886/events | https://github.com/NVIDIA/NeMo/pull/4886 | 1,363,694,522 | PR_kwDOC_bI7s4-dgOT | 4,886 | [TTS] add missing WikiHomograph data entries to CMUdict, updates to match new ipa set | {
"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-09-06T19:00:27 | 2022-09-06T21:11:58 | 2022-09-06T21:11:56 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/4886",
"html_url": "https://github.com/NVIDIA/NeMo/pull/4886",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/4886.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/4886.patch",
"merged_at": "2022-09-06T21:11:56"
} | 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/4886/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/4886/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/4885 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/4885/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/4885/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/4885/events | https://github.com/NVIDIA/NeMo/issues/4885 | 1,363,619,494 | I_kwDOC_bI7s5RRy6m | 4,885 | Convert rnnt asr model to tensorrt | {
"login": "catalwaysright",
"id": 60195620,
"node_id": "MDQ6VXNlcjYwMTk1NjIw",
"avatar_url": "https://avatars.githubusercontent.com/u/60195620?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/catalwaysright",
"html_url": "https://github.com/catalwaysright",
"followers_url": "https://api.github.com/users/catalwaysright/followers",
"following_url": "https://api.github.com/users/catalwaysright/following{/other_user}",
"gists_url": "https://api.github.com/users/catalwaysright/gists{/gist_id}",
"starred_url": "https://api.github.com/users/catalwaysright/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/catalwaysright/subscriptions",
"organizations_url": "https://api.github.com/users/catalwaysright/orgs",
"repos_url": "https://api.github.com/users/catalwaysright/repos",
"events_url": "https://api.github.com/users/catalwaysright/events{/privacy}",
"received_events_url": "https://api.github.com/users/catalwaysright/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-09-06T17:43:11 | 2022-09-08T03:39:39 | 2022-09-08T03:39:39 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | I am working on converting the RNNT model to tensorrt for my application and I have convert the torch model to ONNX as suggested. However, I am stuck on converting ONNX to trt model right now. I tried lots of methods and still failed. Is it possible to convert? Did anyone succeed on converting this model to tensorrt? Which tensorrt version should I use or how can I do the conversion? Any tutorials?
| {
"login": "catalwaysright",
"id": 60195620,
"node_id": "MDQ6VXNlcjYwMTk1NjIw",
"avatar_url": "https://avatars.githubusercontent.com/u/60195620?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/catalwaysright",
"html_url": "https://github.com/catalwaysright",
"followers_url": "https://api.github.com/users/catalwaysright/followers",
"following_url": "https://api.github.com/users/catalwaysright/following{/other_user}",
"gists_url": "https://api.github.com/users/catalwaysright/gists{/gist_id}",
"starred_url": "https://api.github.com/users/catalwaysright/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/catalwaysright/subscriptions",
"organizations_url": "https://api.github.com/users/catalwaysright/orgs",
"repos_url": "https://api.github.com/users/catalwaysright/repos",
"events_url": "https://api.github.com/users/catalwaysright/events{/privacy}",
"received_events_url": "https://api.github.com/users/catalwaysright/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/4885/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/4885/timeline | null | completed | false |
https://api.github.com/repos/NVIDIA/NeMo/issues/4884 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/4884/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/4884/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/4884/events | https://github.com/NVIDIA/NeMo/pull/4884 | 1,363,596,150 | PR_kwDOC_bI7s4-dLUE | 4,884 | Fix Megatron NMT consumed samples and ckpt_to_nemo split rank | {
"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-09-06T17:18:48 | 2022-09-06T19:10:20 | 2022-09-06T19:10:17 | CONTRIBUTOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/4884",
"html_url": "https://github.com/NVIDIA/NeMo/pull/4884",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/4884.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/4884.patch",
"merged_at": "2022-09-06T19:10:17"
} | Signed-off-by: MaximumEntropy <[email protected]>
# What does this PR do ?
Fixes bugs in Megatron NMT due to incorrect split rank in the checkpoint file and split rank in ckpt->nemo conversion.
**Collection**: NLP
# Changelog
- Add specific line by line info of high level changes in this PR.
# Usage
* You can potentially add a usage example below
```python
# Add a code snippet demonstrating how to use this
```
# 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/4884/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/4884/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/4883 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/4883/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/4883/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/4883/events | https://github.com/NVIDIA/NeMo/issues/4883 | 1,363,317,364 | I_kwDOC_bI7s5RQpJ0 | 4,883 | Q: How to reset optimizer/LR to finetune? | {
"login": "jonasla",
"id": 12822166,
"node_id": "MDQ6VXNlcjEyODIyMTY2",
"avatar_url": "https://avatars.githubusercontent.com/u/12822166?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jonasla",
"html_url": "https://github.com/jonasla",
"followers_url": "https://api.github.com/users/jonasla/followers",
"following_url": "https://api.github.com/users/jonasla/following{/other_user}",
"gists_url": "https://api.github.com/users/jonasla/gists{/gist_id}",
"starred_url": "https://api.github.com/users/jonasla/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jonasla/subscriptions",
"organizations_url": "https://api.github.com/users/jonasla/orgs",
"repos_url": "https://api.github.com/users/jonasla/repos",
"events_url": "https://api.github.com/users/jonasla/events{/privacy}",
"received_events_url": "https://api.github.com/users/jonasla/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | true | null | [] | null | null | 2022-09-06T13:47:27 | 2022-09-09T04:16:42 | 2022-09-09T04:16:42 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | Hi,
I trained a MT model following the example from `enc_dec_nmt.py`, so far all good. Now I'd like to load one of the checkpoints generated from this training, keep training the model weights, but restarting the optimizer / LR / global trainer step / etc. I've tried different approaches, but in all cases the training continues from where it was (i.e. from the previous global step, epoch and everything).
What's the correct way of achieving this?
Approaches I tried:
### Approach 1
Setting `resume_if_exists: true` in my config, so NeMo will take the last checkpoint. The in the model file (`mt_enc_dec_model.py`) I added a `on_train_start` hook, where I create a new optimizer and assign it back to the model. It looks something like this
```python
def on_train_start(self) -> None:
opt: LightningOptimizer = self.optimizers()
new_pt_opt: Optimizer = opt.optimizer.__class__(opt.optimizer.param_groups, **opt.optimizer.defaults)
self.trainer.strategy.optimizers = [new_pt_opt]
```
### Approach 2
With `resume_if_exists: false`. When calling `trainer.fit` in `enc_dec_nmt.py`, setting `ckpt_path` to one of the checkpoints. Basically something like
```python
trainer.fit(mt_model, ckpt_path="path/to/checkpoint.cpkt")
``` | null | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/4883/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/4883/timeline | null | completed | false |
https://api.github.com/repos/NVIDIA/NeMo/issues/4882 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/4882/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/4882/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/4882/events | https://github.com/NVIDIA/NeMo/issues/4882 | 1,363,283,827 | I_kwDOC_bI7s5RQg9z | 4,882 | Conformer Transducer - Call to cuLaunchKernel results in CUDA_ERROR_INVALID_VALUE | {
"login": "shahin-trunk",
"id": 58107095,
"node_id": "MDQ6VXNlcjU4MTA3MDk1",
"avatar_url": "https://avatars.githubusercontent.com/u/58107095?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/shahin-trunk",
"html_url": "https://github.com/shahin-trunk",
"followers_url": "https://api.github.com/users/shahin-trunk/followers",
"following_url": "https://api.github.com/users/shahin-trunk/following{/other_user}",
"gists_url": "https://api.github.com/users/shahin-trunk/gists{/gist_id}",
"starred_url": "https://api.github.com/users/shahin-trunk/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/shahin-trunk/subscriptions",
"organizations_url": "https://api.github.com/users/shahin-trunk/orgs",
"repos_url": "https://api.github.com/users/shahin-trunk/repos",
"events_url": "https://api.github.com/users/shahin-trunk/events{/privacy}",
"received_events_url": "https://api.github.com/users/shahin-trunk/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-09-06T13:24:14 | 2022-09-08T03:55:11 | 2022-09-08T03:55:11 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | **Describe the bug**
Error while training conformer transducer bpe ASR model.
**Steps/Code to reproduce bug**
Use the attached config and initiate the training. After a few steps before epoch completion the following
`Call to cuLaunchKernel results in CUDA_ERROR_INVALID_VALUE` error occurs and the training get stopped.
`Call to cuLaunchKernel results in CUDA_ERROR_INVALID_VALUE
Error executing job with overrides: []
Traceback (most recent call last):
File "/opt/conda/lib/python3.8/site-packages/nemo/collections/asr/parts/numba/rnnt_loss/rnnt_pytorch.py", line 174, in forward
return self.loss(
File "/opt/conda/lib/python3.8/site-packages/nemo/collections/asr/parts/numba/rnnt_loss/rnnt_pytorch.py", line 64, in forward
loss_func(
File "/opt/conda/lib/python3.8/site-packages/nemo/collections/asr/parts/numba/rnnt_loss/rnnt.py", line 223, in rnnt_loss_gpu
status = wrapper.cost_and_grad(
File "/opt/conda/lib/python3.8/site-packages/nemo/collections/asr/parts/numba/rnnt_loss/utils/cuda_utils/gpu_rnnt.py", line 249, in cost_and_grad
return self.compute_cost_and_score(acts, grads, costs, pad_labels, label_lengths, input_lengths)
File "/opt/conda/lib/python3.8/site-packages/nemo/collections/asr/parts/numba/rnnt_loss/utils/cuda_utils/gpu_rnnt.py", line 161, in compute_cost_and_score
gpu_rnnt_kernel.compute_alphas_kernel[self.minibatch_, self.maxU_, self.stream_, 0](
File "/opt/conda/lib/python3.8/site-packages/numba/cuda/compiler.py", line 729, in __call__
return self.dispatcher.call(args, self.griddim, self.blockdim,
File "/opt/conda/lib/python3.8/site-packages/numba/cuda/compiler.py", line 919, in call
kernel.launch(args, griddim, blockdim, stream, sharedmem)
File "/opt/conda/lib/python3.8/site-packages/numba/cuda/compiler.py", line 576, in launch
driver.launch_kernel(cufunc.handle,
File "/opt/conda/lib/python3.8/site-packages/numba/cuda/cudadrv/driver.py", line 2550, in launch_kernel
driver.cuLaunchKernel(cufunc_handle,
File "/opt/conda/lib/python3.8/site-packages/numba/cuda/cudadrv/driver.py", line 319, in safe_cuda_api_call
self._check_ctypes_error(fname, retcode)
File "/opt/conda/lib/python3.8/site-packages/numba/cuda/cudadrv/driver.py", line 387, in _check_ctypes_error
raise CudaAPIError(retcode, msg)
numba.cuda.cudadrv.driver.CudaAPIError: [1] Call to cuLaunchKernel results in CUDA_ERROR_INVALID_VALUE
`
**Expected behavior**
Run training without any error.
**Environment overview (please complete the following information)**
- SLURM Managed cluster
- DGX-1 8x V100 GPU
- Singularity environment - nvcr.io/nvidia/nemo:22.05
**Environment details**
If NVIDIA docker image is used you don't need to specify these.
Otherwise, please provide:
- OS version
- PyTorch version
- Python version
**Additional context**
DGX-1 8x V100 GPU x 4 Nodes
**Training Config**
[cmr_en_rnnt_v2_n4.txt](https://github.com/NVIDIA/NeMo/files/9497280/cmr_en_rnnt_v2_n4.txt)
| {
"login": "shahin-trunk",
"id": 58107095,
"node_id": "MDQ6VXNlcjU4MTA3MDk1",
"avatar_url": "https://avatars.githubusercontent.com/u/58107095?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/shahin-trunk",
"html_url": "https://github.com/shahin-trunk",
"followers_url": "https://api.github.com/users/shahin-trunk/followers",
"following_url": "https://api.github.com/users/shahin-trunk/following{/other_user}",
"gists_url": "https://api.github.com/users/shahin-trunk/gists{/gist_id}",
"starred_url": "https://api.github.com/users/shahin-trunk/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/shahin-trunk/subscriptions",
"organizations_url": "https://api.github.com/users/shahin-trunk/orgs",
"repos_url": "https://api.github.com/users/shahin-trunk/repos",
"events_url": "https://api.github.com/users/shahin-trunk/events{/privacy}",
"received_events_url": "https://api.github.com/users/shahin-trunk/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/4882/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/4882/timeline | null | completed | false |
https://api.github.com/repos/NVIDIA/NeMo/issues/4881 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/4881/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/4881/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/4881/events | https://github.com/NVIDIA/NeMo/pull/4881 | 1,363,062,737 | PR_kwDOC_bI7s4-bZoP | 4,881 | Changes to MSDD code after review, fix test log call | {
"login": "SeanNaren",
"id": 6707363,
"node_id": "MDQ6VXNlcjY3MDczNjM=",
"avatar_url": "https://avatars.githubusercontent.com/u/6707363?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/SeanNaren",
"html_url": "https://github.com/SeanNaren",
"followers_url": "https://api.github.com/users/SeanNaren/followers",
"following_url": "https://api.github.com/users/SeanNaren/following{/other_user}",
"gists_url": "https://api.github.com/users/SeanNaren/gists{/gist_id}",
"starred_url": "https://api.github.com/users/SeanNaren/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/SeanNaren/subscriptions",
"organizations_url": "https://api.github.com/users/SeanNaren/orgs",
"repos_url": "https://api.github.com/users/SeanNaren/repos",
"events_url": "https://api.github.com/users/SeanNaren/events{/privacy}",
"received_events_url": "https://api.github.com/users/SeanNaren/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | {
"login": "SeanNaren",
"id": 6707363,
"node_id": "MDQ6VXNlcjY3MDczNjM=",
"avatar_url": "https://avatars.githubusercontent.com/u/6707363?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/SeanNaren",
"html_url": "https://github.com/SeanNaren",
"followers_url": "https://api.github.com/users/SeanNaren/followers",
"following_url": "https://api.github.com/users/SeanNaren/following{/other_user}",
"gists_url": "https://api.github.com/users/SeanNaren/gists{/gist_id}",
"starred_url": "https://api.github.com/users/SeanNaren/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/SeanNaren/subscriptions",
"organizations_url": "https://api.github.com/users/SeanNaren/orgs",
"repos_url": "https://api.github.com/users/SeanNaren/repos",
"events_url": "https://api.github.com/users/SeanNaren/events{/privacy}",
"received_events_url": "https://api.github.com/users/SeanNaren/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"login": "SeanNaren",
"id": 6707363,
"node_id": "MDQ6VXNlcjY3MDczNjM=",
"avatar_url": "https://avatars.githubusercontent.com/u/6707363?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/SeanNaren",
"html_url": "https://github.com/SeanNaren",
"followers_url": "https://api.github.com/users/SeanNaren/followers",
"following_url": "https://api.github.com/users/SeanNaren/following{/other_user}",
"gists_url": "https://api.github.com/users/SeanNaren/gists{/gist_id}",
"starred_url": "https://api.github.com/users/SeanNaren/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/SeanNaren/subscriptions",
"organizations_url": "https://api.github.com/users/SeanNaren/orgs",
"repos_url": "https://api.github.com/users/SeanNaren/repos",
"events_url": "https://api.github.com/users/SeanNaren/events{/privacy}",
"received_events_url": "https://api.github.com/users/SeanNaren/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
}
] | null | null | 2022-09-06T10:26:15 | 2022-09-07T09:07:01 | 2022-09-06T23:26:03 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/4881",
"html_url": "https://github.com/NVIDIA/NeMo/pull/4881",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/4881.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/4881.patch",
"merged_at": "2022-09-06T23:26:03"
} | # What does this PR do ?
Going through the MSDD code I noticed a few off the bat code changes to be made + fix the `self.log` call in the multi_test function.
cc @tango4j @nithinraok
# 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
## Who can review?
Anyone in the community is free to review the PR once the checks have passed.
[Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md) contains specific people who can review PRs to various areas.
| {
"login": "nithinraok",
"id": 19668129,
"node_id": "MDQ6VXNlcjE5NjY4MTI5",
"avatar_url": "https://avatars.githubusercontent.com/u/19668129?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/nithinraok",
"html_url": "https://github.com/nithinraok",
"followers_url": "https://api.github.com/users/nithinraok/followers",
"following_url": "https://api.github.com/users/nithinraok/following{/other_user}",
"gists_url": "https://api.github.com/users/nithinraok/gists{/gist_id}",
"starred_url": "https://api.github.com/users/nithinraok/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/nithinraok/subscriptions",
"organizations_url": "https://api.github.com/users/nithinraok/orgs",
"repos_url": "https://api.github.com/users/nithinraok/repos",
"events_url": "https://api.github.com/users/nithinraok/events{/privacy}",
"received_events_url": "https://api.github.com/users/nithinraok/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/4881/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/4881/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/4880 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/4880/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/4880/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/4880/events | https://github.com/NVIDIA/NeMo/issues/4880 | 1,362,830,667 | I_kwDOC_bI7s5ROyVL | 4,880 | significant parameter for tts with male speaker | {
"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": 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": 4418253970,
"node_id": "LA_kwDOC_bI7s8AAAABB1k0kg",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/TTS",
"name": "TTS",
"color": "49AF28",
"default": false,
"description": ""
},
{
"id": 4585431311,
"node_id": "LA_kwDOC_bI7s8AAAABEVAhDw",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/stale",
"name": "stale",
"color": "ededed",
"default": false,
"description": null
}
] | 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-09-06T07:28:58 | 2022-11-17T02:10:44 | 2022-11-17T02:10:44 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | Hi,
I am trying to train a TTS model (mixertts+univnet). the dataset contains male speakers voices.
Is there a parameter that needs to be changed to train these models with male speakers voices? Because the tone of the output voices are not very good.
Thanks in advance. | {
"login": "github-actions[bot]",
"id": 41898282,
"node_id": "MDM6Qm90NDE4OTgyODI=",
"avatar_url": "https://avatars.githubusercontent.com/in/15368?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/github-actions%5Bbot%5D",
"html_url": "https://github.com/apps/github-actions",
"followers_url": "https://api.github.com/users/github-actions%5Bbot%5D/followers",
"following_url": "https://api.github.com/users/github-actions%5Bbot%5D/following{/other_user}",
"gists_url": "https://api.github.com/users/github-actions%5Bbot%5D/gists{/gist_id}",
"starred_url": "https://api.github.com/users/github-actions%5Bbot%5D/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/github-actions%5Bbot%5D/subscriptions",
"organizations_url": "https://api.github.com/users/github-actions%5Bbot%5D/orgs",
"repos_url": "https://api.github.com/users/github-actions%5Bbot%5D/repos",
"events_url": "https://api.github.com/users/github-actions%5Bbot%5D/events{/privacy}",
"received_events_url": "https://api.github.com/users/github-actions%5Bbot%5D/received_events",
"type": "Bot",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/4880/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/4880/timeline | null | not_planned | false |
https://api.github.com/repos/NVIDIA/NeMo/issues/4879 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/4879/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/4879/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/4879/events | https://github.com/NVIDIA/NeMo/issues/4879 | 1,362,805,878 | I_kwDOC_bI7s5ROsR2 | 4,879 | cannot train new model with TTS tacotron2 | {
"login": "Lanzik",
"id": 21003446,
"node_id": "MDQ6VXNlcjIxMDAzNDQ2",
"avatar_url": "https://avatars.githubusercontent.com/u/21003446?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Lanzik",
"html_url": "https://github.com/Lanzik",
"followers_url": "https://api.github.com/users/Lanzik/followers",
"following_url": "https://api.github.com/users/Lanzik/following{/other_user}",
"gists_url": "https://api.github.com/users/Lanzik/gists{/gist_id}",
"starred_url": "https://api.github.com/users/Lanzik/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Lanzik/subscriptions",
"organizations_url": "https://api.github.com/users/Lanzik/orgs",
"repos_url": "https://api.github.com/users/Lanzik/repos",
"events_url": "https://api.github.com/users/Lanzik/events{/privacy}",
"received_events_url": "https://api.github.com/users/Lanzik/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"id": 1485815557,
"node_id": "MDU6TGFiZWwxNDg1ODE1NTU3",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": "Something isn't working"
},
{
"id": 4418253970,
"node_id": "LA_kwDOC_bI7s8AAAABB1k0kg",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/TTS",
"name": "TTS",
"color": "49AF28",
"default": false,
"description": ""
}
] | closed | false | {
"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
} | [
{
"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
},
{
"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
}
] | null | null | 2022-09-06T07:06:09 | 2022-10-02T17:49:17 | 2022-10-02T17:49:17 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | # I want to train new model with my dataset for other language
# one case in my dataset json file is:
`{"audio_filepath": "./wav/4.wav", "duration": 5.6750625, "is_phoneme": 1, "original_text": "gAme sevvOm d%r b/rnamerizI | $enAxte moqe@iyy%te fe@lIye hozE @%st | ", "normalized_text": "gAme sevvOm d%r b/rnamerizI | $enAxte moqe@iyy%te fe@lIye hozE @%st | "}`
# and my confige file is:
name: Tacotron2
train_dataset: ???
validation_datasets: ???
sup_data_path: null
sup_data_types: null
phoneme_dict_path: "scripts/tts_dataset_files/cmudict-0.7b_nv22.01"
heteronyms_path: "scripts/tts_dataset_files/heteronyms-030921"
whitelist_path: "nemo_text_processing/text_normalization/en/data/whitelist/lj_speech.tsv"
model:
pitch_fmin: 65.40639132514966
pitch_fmax: 2093.004522404789
sample_rate: 22050
n_mel_channels: 80
n_window_size: 1024
n_window_stride: 256
n_fft: 1024
lowfreq: 0
highfreq: 8000
window: hann
pad_value: -11.52
text_normalizer:
_target_: nemo_text_processing.text_normalization.normalize.Normalizer
lang: en
input_case: cased
whitelist: ${whitelist_path}
text_normalizer_call_kwargs:
verbose: false
punct_pre_process: true
punct_post_process: true
text_tokenizer:
_target_: nemo.collections.tts.torch.tts_tokenizers.EnglishPhonemesTokenizer
punct: true
stresses: true
chars: true
apostrophe: true
pad_with_space: true
g2p:
_target_: nemo.collections.tts.torch.g2ps.EnglishG2p
phoneme_dict: ${phoneme_dict_path}
heteronyms: ${heteronyms_path}
train_ds:
dataset:
_target_: "nemo.collections.tts.torch.data.TTSDataset"
manifest_filepath: ${train_dataset}
sample_rate: ${model.sample_rate}
sup_data_path: ${sup_data_path}
sup_data_types: ${sup_data_types}
n_fft: ${model.n_fft}
win_length: ${model.n_window_size}
hop_length: ${model.n_window_stride}
window: ${model.window}
n_mels: ${model.n_mel_channels}
lowfreq: ${model.lowfreq}
highfreq: ${model.highfreq}
max_duration: null
min_duration: 0.1
ignore_file: null
trim: False
pitch_fmin: ${model.pitch_fmin}
pitch_fmax: ${model.pitch_fmax}
dataloader_params:
drop_last: false
shuffle: true
batch_size: 48
num_workers: 4
pin_memory: true
validation_ds:
dataset:
_target_: "nemo.collections.tts.torch.data.TTSDataset"
manifest_filepath: ${train_dataset}
sample_rate: ${model.sample_rate}
sup_data_path: ${sup_data_path}
sup_data_types: ${sup_data_types}
n_fft: ${model.n_fft}
win_length: ${model.n_window_size}
hop_length: ${model.n_window_stride}
window: ${model.window}
n_mels: ${model.n_mel_channels}
lowfreq: ${model.lowfreq}
highfreq: ${model.highfreq}
max_duration: null
min_duration: 0.1
ignore_file: null
trim: False
pitch_fmin: ${model.pitch_fmin}
pitch_fmax: ${model.pitch_fmax}
dataloader_params:
drop_last: false
shuffle: false
batch_size: 24
num_workers: 8
pin_memory: true
preprocessor:
_target_: nemo.collections.asr.parts.preprocessing.features.FilterbankFeatures
nfilt: ${model.n_mel_channels}
highfreq: ${model.highfreq}
log: true
log_zero_guard_type: clamp
log_zero_guard_value: 1e-05
lowfreq: ${model.lowfreq}
n_fft: ${model.n_fft}
n_window_size: ${model.n_window_size}
n_window_stride: ${model.n_window_stride}
pad_to: 16
pad_value: ${model.pad_value}
sample_rate: ${model.sample_rate}
window: ${model.window}
normalize: null
preemph: null
dither: 0.0
frame_splicing: 1
stft_conv: false
nb_augmentation_prob : 0
mag_power: 1.0
exact_pad: true
use_grads: false
encoder:
_target_: nemo.collections.tts.modules.tacotron2.Encoder
encoder_kernel_size: 5
encoder_n_convolutions: 3
encoder_embedding_dim: 512
decoder:
_target_: nemo.collections.tts.modules.tacotron2.Decoder
decoder_rnn_dim: 1024
encoder_embedding_dim: ${model.encoder.encoder_embedding_dim}
gate_threshold: 0.5
max_decoder_steps: 1000
n_frames_per_step: 1 # currently only 1 is supported
n_mel_channels: ${model.n_mel_channels}
p_attention_dropout: 0.1
p_decoder_dropout: 0.1
prenet_dim: 256
prenet_p_dropout: 0.5
# Attention parameters
attention_dim: 128
attention_rnn_dim: 1024
# AttentionLocation Layer parameters
attention_location_kernel_size: 31
attention_location_n_filters: 32
early_stopping: true
postnet:
_target_: nemo.collections.tts.modules.tacotron2.Postnet
n_mel_channels: ${model.n_mel_channels}
p_dropout: 0.5
postnet_embedding_dim: 512
postnet_kernel_size: 5
postnet_n_convolutions: 5
optim:
name: adam
lr: 1e-3
weight_decay: 1e-6
# scheduler setup
sched:
name: CosineAnnealing
min_lr: 1e-5
trainer:
devices: 1 # number of gpus
max_epochs: ???
num_nodes: 1
accelerator: gpu
strategy: ddp
accumulate_grad_batches: 1
enable_checkpointing: False # Provided by exp_manager
logger: False # Provided by exp_manager
gradient_clip_val: 1.0
log_every_n_steps: 60
check_val_every_n_epoch: 2
benchmark: false
exp_manager:
exp_dir: null
name: ${name}
create_tensorboard_logger: true
create_checkpoint_callback: true
checkpoint_callback_params:
monitor: val_loss
mode: min
# but I get this error:
Error executing job with overrides: ['model.sample_rate=16000', 'train_dataset=new_text.json', 'validation_datasets=new_text.json', 'trainer.max_epochs=100', 'trainer.accelerator=gpu', 'trainer.check_val_every_n_epoch=1', '+trainer.gpus=1']
Error in call to target 'nemo.collections.tts.torch.data.TTSDataset':
KeyError('text')
full_key: train_ds.dataset
# how to I resolve this?
I replaced "original_text" with "text" but again I got this error | {
"login": "Lanzik",
"id": 21003446,
"node_id": "MDQ6VXNlcjIxMDAzNDQ2",
"avatar_url": "https://avatars.githubusercontent.com/u/21003446?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Lanzik",
"html_url": "https://github.com/Lanzik",
"followers_url": "https://api.github.com/users/Lanzik/followers",
"following_url": "https://api.github.com/users/Lanzik/following{/other_user}",
"gists_url": "https://api.github.com/users/Lanzik/gists{/gist_id}",
"starred_url": "https://api.github.com/users/Lanzik/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Lanzik/subscriptions",
"organizations_url": "https://api.github.com/users/Lanzik/orgs",
"repos_url": "https://api.github.com/users/Lanzik/repos",
"events_url": "https://api.github.com/users/Lanzik/events{/privacy}",
"received_events_url": "https://api.github.com/users/Lanzik/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/4879/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/4879/timeline | null | completed | false |
https://api.github.com/repos/NVIDIA/NeMo/issues/4878 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/4878/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/4878/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/4878/events | https://github.com/NVIDIA/NeMo/issues/4878 | 1,362,635,085 | I_kwDOC_bI7s5ROClN | 4,878 | We will train the ASR model in Mandarin,But got a error of TypeError("__init__() got an unexpected keyword argument 'causal_downsampling'") | {
"login": "hanchi-gao",
"id": 56921951,
"node_id": "MDQ6VXNlcjU2OTIxOTUx",
"avatar_url": "https://avatars.githubusercontent.com/u/56921951?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/hanchi-gao",
"html_url": "https://github.com/hanchi-gao",
"followers_url": "https://api.github.com/users/hanchi-gao/followers",
"following_url": "https://api.github.com/users/hanchi-gao/following{/other_user}",
"gists_url": "https://api.github.com/users/hanchi-gao/gists{/gist_id}",
"starred_url": "https://api.github.com/users/hanchi-gao/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/hanchi-gao/subscriptions",
"organizations_url": "https://api.github.com/users/hanchi-gao/orgs",
"repos_url": "https://api.github.com/users/hanchi-gao/repos",
"events_url": "https://api.github.com/users/hanchi-gao/events{/privacy}",
"received_events_url": "https://api.github.com/users/hanchi-gao/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-09-06T02:54:55 | 2022-09-07T04:02:48 | 2022-09-07T04:02:48 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | **Describe the bug**
Hi everyone, I want to train an ASR model (Conformer_CTC_bpe) in Mandarin.
I generated vocab.txt using "process_asr_text_tokenizer.py", modified "/conf/conformer/conformer_ctc_bpe.yaml" and executed "examples/asr/asr_ctc/speech_to_text_ctc_bpe.py".
but got a TypeError
`TypeError("__init__() got an unexpected keyword argument 'causal_downsampling'")`
**Steps/Code to reproduce bug**
we only modify conf/conformer/conformer_ctc_bpe.yaml as follows:
```
tokenizer:
dir: data_tw_v2/Stage2/tokenizer_wpe_v1024
type: wpe
```
where the "dir" is generated by the program "/scripts/tokenizers/process_asr_text_tokenizer.py"。
The directory contains a vocab.txt with the following content:

and I execution the following Code:
`CUDA_VISIBLE_DEVICES=2,3 python examples/asr/asr_ctc/speech_to_text_ctc_bpe.py --config-path=../conf/conformer --config-name=conformer_ctc_bpe model.train_ds.manifest_filepath="data_tw_v2/Stage1/Quartznet/train.json" model.validation_ds.manifest_filepath="data_tw_v2/Stage1/Quartznet/valid.json" model.tokenizer.dir=data_tw_v2/Stage2/tokenizer_wpe_v1024 model.tokenizer.type=wpe trainer.devices=2 trainer.accelerator='gpu' trainer.max_epochs=150 trainer.strategy="ddp" model.optim.name="adamw" model.optim.lr=0.001 model.optim.betas=[0.9,0.999] model.optim.weight_decay=0.0001 model.optim.sched.warmup_steps=2000 exp_manager.create_wandb_logger=True exp_manager.wandb_logger_kwargs.name="wpe" exp_manager.wandb_logger_kwargs.project="A"`
But got a error of :
`Error executing job with overrides: ['model.train_ds.manifest_filepath=data_tw_v2/Stage1/Quartznet/train.json', 'model.validation_ds.manifest_filepath=data_tw_v2/Stage1/Quartznet/valid.json', 'model.tokenizer.dir=data_tw_v2/Stage2/tokenizer_wpe_v1024', 'model.tokenizer.type=wpe', 'trainer.devices=2', 'trainer.accelerator=gpu', 'trainer.max_epochs=150', 'trainer.strategy=ddp', 'model.optim.name=adamw', 'model.optim.lr=0.001', 'model.optim.betas=[0.9,0.999]', 'model.optim.weight_decay=0.0001', 'model.optim.sched.warmup_steps=2000', 'exp_manager.create_wandb_logger=True', 'exp_manager.wandb_logger_kwargs.name=wpe', 'exp_manager.wandb_logger_kwargs.project=Conformer_norm_type']
Error in call to target 'nemo.collections.asr.modules.conformer_encoder.ConformerEncoder':
TypeError("__init__() got an unexpected keyword argument 'causal_downsampling'")`
**Expected behavior**
Make the ASR model train successfully
**Environment overview (please complete the following information)**
Environment location: Docker
Method of NeMo install:
docker pull [nvcr.io/nvidia/nemo:22.05](http://nvcr.io/nvidia/nemo:22.05)
docker run --gpus all -it --name Nemo_container -v <nemo_github_folder>:/workspace --shm-size=8g -p 8888:8888 -p 6006:6006 --ulimit memlock=-1 --ulimit stack=67108864 --device=/dev/snd [nvcr.io/nvidia/nemo:22.05](http://nvcr.io/nvidia/nemo:22.05)
**Environment details**
OS version: Ubuntu 20.04
PyTorch version: 1.12.0a0+8a1a93a
Python version: 3.8.13
| {
"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/4878/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/4878/timeline | null | completed | false |
https://api.github.com/repos/NVIDIA/NeMo/issues/4877 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/4877/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/4877/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/4877/events | https://github.com/NVIDIA/NeMo/issues/4877 | 1,361,859,813 | I_kwDOC_bI7s5RLFTl | 4,877 | RuntimeError: stft input and window must be on the same device but got self on cuda:1 and window on cuda:0 | {
"login": "answer1201",
"id": 23027105,
"node_id": "MDQ6VXNlcjIzMDI3MTA1",
"avatar_url": "https://avatars.githubusercontent.com/u/23027105?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/answer1201",
"html_url": "https://github.com/answer1201",
"followers_url": "https://api.github.com/users/answer1201/followers",
"following_url": "https://api.github.com/users/answer1201/following{/other_user}",
"gists_url": "https://api.github.com/users/answer1201/gists{/gist_id}",
"starred_url": "https://api.github.com/users/answer1201/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/answer1201/subscriptions",
"organizations_url": "https://api.github.com/users/answer1201/orgs",
"repos_url": "https://api.github.com/users/answer1201/repos",
"events_url": "https://api.github.com/users/answer1201/events{/privacy}",
"received_events_url": "https://api.github.com/users/answer1201/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"id": 1485815557,
"node_id": "MDU6TGFiZWwxNDg1ODE1NTU3",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": "Something isn't working"
},
{
"id": 4585431311,
"node_id": "LA_kwDOC_bI7s8AAAABEVAhDw",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/stale",
"name": "stale",
"color": "ededed",
"default": false,
"description": null
}
] | closed | false | null | [] | null | null | 2022-09-05T12:22:09 | 2022-10-30T02:13:24 | 2022-10-30T02:13:24 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | >>>
>>> trainer = pl.Trainer(strategy='dp', gpus=4, max_epochs=1)
GPU available: True, used: True
TPU available: False, using: 0 TPU cores
IPU available: False, using: 0 IPUs
HPU available: False, using: 0 HPUs
>>> trainer.fit(quartznet)
RuntimeError: Caught RuntimeError in replica 1 on device 1.
Original Traceback (most recent call last):
File "/usr/local/lib/python3.8/site-packages/torch/nn/parallel/parallel_apply.py", line 61, in _worker
output = module(*input, **kwargs)
File "/usr/local/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1130, in _call_impl
return forward_call(*input, **kwargs)
File "/usr/local/lib/python3.8/site-packages/pytorch_lightning/overrides/data_parallel.py", line 64, in forward
output = super().forward(*inputs, **kwargs)
File "/usr/local/lib/python3.8/site-packages/pytorch_lightning/overrides/base.py", line 93, in forward
return self.module.validation_step(*inputs, **kwargs)
File "/usr/local/lib/python3.8/site-packages/nemo/collections/asr/models/ctc_models.py", line 544, in validation_step
log_probs, encoded_len, predictions = self.forward(input_signal=signal, input_signal_length=signal_len)
File "/usr/local/lib/python3.8/site-packages/nemo/core/classes/common.py", line 963, in __call__
outputs = wrapped(*args, **kwargs)
File "/usr/local/lib/python3.8/site-packages/nemo/collections/asr/models/ctc_models.py", line 470, in forward
processed_signal, processed_signal_length = self.preprocessor(
File "/usr/local/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1130, in _call_impl
return forward_call(*input, **kwargs)
File "/usr/local/lib/python3.8/site-packages/nemo/core/classes/common.py", line 963, in __call__
outputs = wrapped(*args, **kwargs)
File "/usr/local/lib/python3.8/site-packages/torch/autograd/grad_mode.py", line 27, in decorate_context
return func(*args, **kwargs)
File "/usr/local/lib/python3.8/site-packages/nemo/collections/asr/modules/audio_preprocessing.py", line 85, in forward
processed_signal, processed_length = self.get_features(input_signal, length)
File "/usr/local/lib/python3.8/site-packages/nemo/collections/asr/modules/audio_preprocessing.py", line 268, in get_features
return self.featurizer(input_signal, length)
File "/usr/local/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1130, in _call_impl
return forward_call(*input, **kwargs)
File "/usr/local/lib/python3.8/site-packages/torch/autograd/grad_mode.py", line 27, in decorate_context
return func(*args, **kwargs)
File "/usr/local/lib/python3.8/site-packages/nemo/collections/asr/parts/preprocessing/features.py", line 327, in forward
x = self.stft(x)
File "/usr/local/lib/python3.8/site-packages/nemo/collections/asr/parts/preprocessing/features.py", line 219, in <lambda>
self.stft = lambda x: torch.stft(
File "/usr/local/lib/python3.8/site-packages/torch/functional.py", line 606, in stft
return _VF.stft(input, n_fft, hop_length, win_length, window, # type: ignore[attr-defined]
RuntimeError: stft input and window must be on the same device but got self on cuda:1 and window on cuda:0 | {
"login": "github-actions[bot]",
"id": 41898282,
"node_id": "MDM6Qm90NDE4OTgyODI=",
"avatar_url": "https://avatars.githubusercontent.com/in/15368?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/github-actions%5Bbot%5D",
"html_url": "https://github.com/apps/github-actions",
"followers_url": "https://api.github.com/users/github-actions%5Bbot%5D/followers",
"following_url": "https://api.github.com/users/github-actions%5Bbot%5D/following{/other_user}",
"gists_url": "https://api.github.com/users/github-actions%5Bbot%5D/gists{/gist_id}",
"starred_url": "https://api.github.com/users/github-actions%5Bbot%5D/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/github-actions%5Bbot%5D/subscriptions",
"organizations_url": "https://api.github.com/users/github-actions%5Bbot%5D/orgs",
"repos_url": "https://api.github.com/users/github-actions%5Bbot%5D/repos",
"events_url": "https://api.github.com/users/github-actions%5Bbot%5D/events{/privacy}",
"received_events_url": "https://api.github.com/users/github-actions%5Bbot%5D/received_events",
"type": "Bot",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/4877/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/4877/timeline | null | not_planned | false |
https://api.github.com/repos/NVIDIA/NeMo/issues/4876 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/4876/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/4876/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/4876/events | https://github.com/NVIDIA/NeMo/pull/4876 | 1,361,718,590 | PR_kwDOC_bI7s4-W2pZ | 4,876 | Add sync for logging calls to ensure aggregation across devices | {
"login": "SeanNaren",
"id": 6707363,
"node_id": "MDQ6VXNlcjY3MDczNjM=",
"avatar_url": "https://avatars.githubusercontent.com/u/6707363?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/SeanNaren",
"html_url": "https://github.com/SeanNaren",
"followers_url": "https://api.github.com/users/SeanNaren/followers",
"following_url": "https://api.github.com/users/SeanNaren/following{/other_user}",
"gists_url": "https://api.github.com/users/SeanNaren/gists{/gist_id}",
"starred_url": "https://api.github.com/users/SeanNaren/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/SeanNaren/subscriptions",
"organizations_url": "https://api.github.com/users/SeanNaren/orgs",
"repos_url": "https://api.github.com/users/SeanNaren/repos",
"events_url": "https://api.github.com/users/SeanNaren/events{/privacy}",
"received_events_url": "https://api.github.com/users/SeanNaren/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": "SeanNaren",
"id": 6707363,
"node_id": "MDQ6VXNlcjY3MDczNjM=",
"avatar_url": "https://avatars.githubusercontent.com/u/6707363?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/SeanNaren",
"html_url": "https://github.com/SeanNaren",
"followers_url": "https://api.github.com/users/SeanNaren/followers",
"following_url": "https://api.github.com/users/SeanNaren/following{/other_user}",
"gists_url": "https://api.github.com/users/SeanNaren/gists{/gist_id}",
"starred_url": "https://api.github.com/users/SeanNaren/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/SeanNaren/subscriptions",
"organizations_url": "https://api.github.com/users/SeanNaren/orgs",
"repos_url": "https://api.github.com/users/SeanNaren/repos",
"events_url": "https://api.github.com/users/SeanNaren/events{/privacy}",
"received_events_url": "https://api.github.com/users/SeanNaren/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"login": "SeanNaren",
"id": 6707363,
"node_id": "MDQ6VXNlcjY3MDczNjM=",
"avatar_url": "https://avatars.githubusercontent.com/u/6707363?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/SeanNaren",
"html_url": "https://github.com/SeanNaren",
"followers_url": "https://api.github.com/users/SeanNaren/followers",
"following_url": "https://api.github.com/users/SeanNaren/following{/other_user}",
"gists_url": "https://api.github.com/users/SeanNaren/gists{/gist_id}",
"starred_url": "https://api.github.com/users/SeanNaren/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/SeanNaren/subscriptions",
"organizations_url": "https://api.github.com/users/SeanNaren/orgs",
"repos_url": "https://api.github.com/users/SeanNaren/repos",
"events_url": "https://api.github.com/users/SeanNaren/events{/privacy}",
"received_events_url": "https://api.github.com/users/SeanNaren/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
}
] | null | null | 2022-09-05T10:19:26 | 2022-09-08T16:54:23 | 2022-09-08T16:54:20 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/4876",
"html_url": "https://github.com/NVIDIA/NeMo/pull/4876",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/4876.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/4876.patch",
"merged_at": "2022-09-08T16:54:20"
} | # What does this PR do ?
After speaking to @nithinraok a few places do not have sync calls when logging (some are taken care off by the underlying Metrics, or they are already synced across processes like global steps).
I've been a bit cautious and not touched the return objects from `validation_step` or `test_step`. There seems to be some parsing of logic in the ModelPT file so need to investigate further as to what to do with those metrics, and how they are logged.
# Changelog
- Add `sync_dist` to logging metric calls to ensure aggregation across all devices.
# 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
## Who can review?
Anyone in the community is free to review the PR once the checks have passed.
[Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md) contains specific people who can review PRs to various areas. | {
"login": "SeanNaren",
"id": 6707363,
"node_id": "MDQ6VXNlcjY3MDczNjM=",
"avatar_url": "https://avatars.githubusercontent.com/u/6707363?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/SeanNaren",
"html_url": "https://github.com/SeanNaren",
"followers_url": "https://api.github.com/users/SeanNaren/followers",
"following_url": "https://api.github.com/users/SeanNaren/following{/other_user}",
"gists_url": "https://api.github.com/users/SeanNaren/gists{/gist_id}",
"starred_url": "https://api.github.com/users/SeanNaren/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/SeanNaren/subscriptions",
"organizations_url": "https://api.github.com/users/SeanNaren/orgs",
"repos_url": "https://api.github.com/users/SeanNaren/repos",
"events_url": "https://api.github.com/users/SeanNaren/events{/privacy}",
"received_events_url": "https://api.github.com/users/SeanNaren/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/4876/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/4876/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/4872 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/4872/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/4872/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/4872/events | https://github.com/NVIDIA/NeMo/issues/4872 | 1,360,826,340 | I_kwDOC_bI7s5RHI_k | 4,872 | How to enable kenlm weight accounting with Conformer-CTC acoustic model on BPE tokens? | {
"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": 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-09-03T11:08:36 | 2022-09-09T13:45:26 | 2022-09-09T13:45:26 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | Trained Conformer-CTC on BPE tokens, tried to make a prediction based on kenlm. But all the predictions turned out to be just nonsense from one word.
As I understand it, this is due to the fact that models on BPE tokens return an underscore instead of a space.
Tell me, can this problem be somehow elegantly solved in order to use kenlm with an acoustic model on BPE?
From thoughts, can kenlm be trained on texts where there is an underscore instead of a space? But that doesn't seem to work... | {
"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/4872/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/4872/timeline | null | completed | false |
https://api.github.com/repos/NVIDIA/NeMo/issues/4871 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/4871/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/4871/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/4871/events | https://github.com/NVIDIA/NeMo/pull/4871 | 1,360,617,809 | PR_kwDOC_bI7s4-Tc5s | 4,871 | ipa bug fix | {
"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-09-02T21:15:27 | 2022-09-02T23:47:13 | 2022-09-02T23:47:10 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/4871",
"html_url": "https://github.com/NVIDIA/NeMo/pull/4871",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/4871.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/4871.patch",
"merged_at": "2022-09-02T23:47:10"
} | 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": "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/4871/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/4871/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/4870 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/4870/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/4870/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/4870/events | https://github.com/NVIDIA/NeMo/pull/4870 | 1,360,615,152 | PR_kwDOC_bI7s4-TcVg | 4,870 | [ASR] Generate multichannel noise | {
"login": "anteju",
"id": 108555623,
"node_id": "U_kgDOBnhtZw",
"avatar_url": "https://avatars.githubusercontent.com/u/108555623?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/anteju",
"html_url": "https://github.com/anteju",
"followers_url": "https://api.github.com/users/anteju/followers",
"following_url": "https://api.github.com/users/anteju/following{/other_user}",
"gists_url": "https://api.github.com/users/anteju/gists{/gist_id}",
"starred_url": "https://api.github.com/users/anteju/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/anteju/subscriptions",
"organizations_url": "https://api.github.com/users/anteju/orgs",
"repos_url": "https://api.github.com/users/anteju/repos",
"events_url": "https://api.github.com/users/anteju/events{/privacy}",
"received_events_url": "https://api.github.com/users/anteju/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | null | 2022-09-02T21:10:46 | 2022-09-13T16:17:58 | 2022-09-13T16:17:58 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/4870",
"html_url": "https://github.com/NVIDIA/NeMo/pull/4870",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/4870.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/4870.patch",
"merged_at": "2022-09-13T16:17:58"
} | # What does this PR do ?
This PR adds tools for generating multi-channel microphone signal approximately matching the desired spatial coherence
**Collection**: ASR
# Changelog
- Adds functions for generating an approximate noise field
- Unit tests for spatial coherence calculation and noise generation
# Usage
```python
noise_field = generate_approximate_noise_field(mic_positions, noise_signal, sample_rate)
```
where `mic_positions` are positions of the `M` microphones in 3D Cartesian coordinates, `noise_signal` is an `M`-channel noise signal, where channels are statistically independent, sampled at `sample_rate` Hz. Currently, only `spherical` noise field is supported.
# 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
## 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": "jbalam-nv",
"id": 4916480,
"node_id": "MDQ6VXNlcjQ5MTY0ODA=",
"avatar_url": "https://avatars.githubusercontent.com/u/4916480?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jbalam-nv",
"html_url": "https://github.com/jbalam-nv",
"followers_url": "https://api.github.com/users/jbalam-nv/followers",
"following_url": "https://api.github.com/users/jbalam-nv/following{/other_user}",
"gists_url": "https://api.github.com/users/jbalam-nv/gists{/gist_id}",
"starred_url": "https://api.github.com/users/jbalam-nv/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbalam-nv/subscriptions",
"organizations_url": "https://api.github.com/users/jbalam-nv/orgs",
"repos_url": "https://api.github.com/users/jbalam-nv/repos",
"events_url": "https://api.github.com/users/jbalam-nv/events{/privacy}",
"received_events_url": "https://api.github.com/users/jbalam-nv/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/4870/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/4870/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/4869 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/4869/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/4869/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/4869/events | https://github.com/NVIDIA/NeMo/pull/4869 | 1,360,484,748 | PR_kwDOC_bI7s4-TAmP | 4,869 | IPA G2P bugfixes | {
"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-09-02T18:12:25 | 2022-09-02T21:01:24 | 2022-09-02T21:01:20 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/4869",
"html_url": "https://github.com/NVIDIA/NeMo/pull/4869",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/4869.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/4869.patch",
"merged_at": "2022-09-02T21:01:20"
} | Fix uppercasing bug that led to heteronyms list mismatch, bad path in IPA FastPitch config
Signed-off-by: Jocelyn Huang <[email protected]>
**Collection**: TTS
# Changelog
- The IPA G2P class uppercases words by default (to avoid IPA symbol conflicts), but they would not match anything in the lowercased heteronyms file. Fixed by uppercasing heteronyms when loading the file.
- IPA FastPitch config fixed to point to the updated location of the IPA G2P class.
**PR Type**:
- [ ] New Feature
- [x] Bugfix
- [ ] Documentation
# Additional Information
* The first fix is identical to the one merged into the r1.11.0 branch (#4860), reproduced here since the file has been moved in `main`.
| {
"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/4869/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/4869/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/4868 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/4868/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/4868/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/4868/events | https://github.com/NVIDIA/NeMo/issues/4868 | 1,360,447,540 | I_kwDOC_bI7s5RFsg0 | 4,868 | [TTS][German][Single Speaker] Generated audio far away from original Thorsten voice | {
"login": "eqikkwkp25-cyber",
"id": 73107516,
"node_id": "MDQ6VXNlcjczMTA3NTE2",
"avatar_url": "https://avatars.githubusercontent.com/u/73107516?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/eqikkwkp25-cyber",
"html_url": "https://github.com/eqikkwkp25-cyber",
"followers_url": "https://api.github.com/users/eqikkwkp25-cyber/followers",
"following_url": "https://api.github.com/users/eqikkwkp25-cyber/following{/other_user}",
"gists_url": "https://api.github.com/users/eqikkwkp25-cyber/gists{/gist_id}",
"starred_url": "https://api.github.com/users/eqikkwkp25-cyber/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/eqikkwkp25-cyber/subscriptions",
"organizations_url": "https://api.github.com/users/eqikkwkp25-cyber/orgs",
"repos_url": "https://api.github.com/users/eqikkwkp25-cyber/repos",
"events_url": "https://api.github.com/users/eqikkwkp25-cyber/events{/privacy}",
"received_events_url": "https://api.github.com/users/eqikkwkp25-cyber/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"id": 1485815557,
"node_id": "MDU6TGFiZWwxNDg1ODE1NTU3",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": "Something isn't working"
},
{
"id": 4418253970,
"node_id": "LA_kwDOC_bI7s8AAAABB1k0kg",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/TTS",
"name": "TTS",
"color": "49AF28",
"default": false,
"description": ""
}
] | closed | false | {
"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
} | [
{
"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
},
{
"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": "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
}
] | null | null | 2022-09-02T17:25:05 | 2022-09-09T19:03:23 | 2022-09-09T19:01:25 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | **Describe the bug**
Using the main branch of Nemo and TTS inference with Fastpitch and Hifigan / German single speaker model results in bad audio.
**Steps/Code to reproduce bug**
git clone https://github.com/NVIDIA/NeMo/
cd NeMo
python3.8 -m venv venv
source venv/bin/activate
pip3 install a-lot-of-missing-requirements when executing
python3 tts_german.py where inference code is as follows tts_german.py
```
import soundfile as sf
from nemo.collections.tts.models.base import SpectrogramGenerator, Vocoder
# Download and load the pretrained fastpitch model
spec_generator = SpectrogramGenerator.from_pretrained(model_name="tts_de_fastpitch_singlespeaker")#.cuda()
# Download and load the pretrained hifigan model
vocoder = Vocoder.from_pretrained(model_name="tts_de_hui_hifigan_ft_fastpitch_multispeaker_5")#.cuda()
# All spectrogram generators start by parsing raw strings to a tokenized version of the string
parsed = spec_generator.parse("In den alten Zeiten, wo das Wünschen noch geholfen hat, lebte ein König, dessen Töchter waren alle schön.")
# They then take the tokenized string and produce a spectrogram
spectrogram = spec_generator.generate_spectrogram(tokens=parsed)
# Finally, a vocoder converts the spectrogram to audio
audio = vocoder.convert_spectrogram_to_audio(spec=spectrogram)
# Save the audio to disk in a file called speech.wav
# Note vocoder return a batch of audio. In this example, we just take the first and only sample.
sf.write("speech.wav", audio.to('cpu').detach().numpy()[0], 44100)
```
**Expected behavior**
Good audio
**Environment overview (please complete the following information)**
See above
**Environment details**
See above
**Additional context**
Audio sample [https://sndup.net/hxnz/](https://sndup.net/hxnz/)
| {
"login": "eqikkwkp25-cyber",
"id": 73107516,
"node_id": "MDQ6VXNlcjczMTA3NTE2",
"avatar_url": "https://avatars.githubusercontent.com/u/73107516?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/eqikkwkp25-cyber",
"html_url": "https://github.com/eqikkwkp25-cyber",
"followers_url": "https://api.github.com/users/eqikkwkp25-cyber/followers",
"following_url": "https://api.github.com/users/eqikkwkp25-cyber/following{/other_user}",
"gists_url": "https://api.github.com/users/eqikkwkp25-cyber/gists{/gist_id}",
"starred_url": "https://api.github.com/users/eqikkwkp25-cyber/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/eqikkwkp25-cyber/subscriptions",
"organizations_url": "https://api.github.com/users/eqikkwkp25-cyber/orgs",
"repos_url": "https://api.github.com/users/eqikkwkp25-cyber/repos",
"events_url": "https://api.github.com/users/eqikkwkp25-cyber/events{/privacy}",
"received_events_url": "https://api.github.com/users/eqikkwkp25-cyber/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/4868/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/4868/timeline | null | completed | false |
https://api.github.com/repos/NVIDIA/NeMo/issues/4867 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/4867/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/4867/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/4867/events | https://github.com/NVIDIA/NeMo/issues/4867 | 1,360,396,924 | I_kwDOC_bI7s5RFgJ8 | 4,867 | Learning rate does not change | {
"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": 1485815557,
"node_id": "MDU6TGFiZWwxNDg1ODE1NTU3",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": "Something isn't working"
},
{
"id": 4585431311,
"node_id": "LA_kwDOC_bI7s8AAAABEVAhDw",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/stale",
"name": "stale",
"color": "ededed",
"default": false,
"description": null
}
] | closed | false | null | [] | null | null | 2022-09-02T16:23:51 | 2022-10-17T02:13:38 | 2022-10-17T02:13:38 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | Can you please tell me why the learning rate does not change when the fine-tuning model is launched?
```python
cfg = OmegaConf.load("conformer_ctc/config.yaml")
trainer = pl.Trainer(
logger=logger,
**cfg.trainer,
callbacks=[
model_checkpoint_callback
]
)
model = nemo_asr.models.EncDecCTCModel(cfg=cfg.model, trainer=trainer)
model.set_trainer(trainer)
trainer.fit(model, ckpt_path="pretrained/epoch=39.ckpt")
```
Log fit:
> 610/1200 [06:32<-1:37:02, -0.43it/s, loss=61.6, v_num=103]
But according to the graphs learning_rate = 1-e6 throughout the training.
Half "conformer_ctc/config.yaml":
```
name: "Conformer-CTC-Char"
model:
sample_rate: 8000
optim:
name: adamw
lr: 2.0
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: 0.0
sched:
name: NoamAnnealing
d_model: ${model.encoder.d_model}
# scheduler config override
warmup_steps: 15000
warmup_ratio: null
min_lr: 1e-6
trainer:
devices: -1
num_nodes: 1
max_epochs: 100
max_steps: -1
val_check_interval: 1.0
accelerator: auto
strategy: dp
accumulate_grad_batches: 1
gradient_clip_val: 1.0
precision: 32 # Should be set to 16 for O1 and O2 to enable the AMP.
# amp_level: O2
# amp_backend: apex
log_every_n_steps: 50
progress_bar_refresh_rate: 10
resume_from_checkpoint: null
num_sanity_val_steps: 0
check_val_every_n_epoch: 1 # number of evaluations on validation every n epochs
sync_batchnorm: true
enable_checkpointing: true
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}
use_datetime_version: True
create_tensorboard_logger: true
create_checkpoint_callback: true
checkpoint_callback_params:
monitor: "val_wer"
mode: "min"
save_top_k: 3
always_save_nemo: True
resume_if_exists: False
resume_ignore_no_checkpoint: False
create_wandb_logger: false
wandb_logger_kwargs:
name: null
project: null
```
| {
"login": "github-actions[bot]",
"id": 41898282,
"node_id": "MDM6Qm90NDE4OTgyODI=",
"avatar_url": "https://avatars.githubusercontent.com/in/15368?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/github-actions%5Bbot%5D",
"html_url": "https://github.com/apps/github-actions",
"followers_url": "https://api.github.com/users/github-actions%5Bbot%5D/followers",
"following_url": "https://api.github.com/users/github-actions%5Bbot%5D/following{/other_user}",
"gists_url": "https://api.github.com/users/github-actions%5Bbot%5D/gists{/gist_id}",
"starred_url": "https://api.github.com/users/github-actions%5Bbot%5D/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/github-actions%5Bbot%5D/subscriptions",
"organizations_url": "https://api.github.com/users/github-actions%5Bbot%5D/orgs",
"repos_url": "https://api.github.com/users/github-actions%5Bbot%5D/repos",
"events_url": "https://api.github.com/users/github-actions%5Bbot%5D/events{/privacy}",
"received_events_url": "https://api.github.com/users/github-actions%5Bbot%5D/received_events",
"type": "Bot",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/4867/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/4867/timeline | null | not_planned | false |
https://api.github.com/repos/NVIDIA/NeMo/issues/4866 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/4866/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/4866/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/4866/events | https://github.com/NVIDIA/NeMo/pull/4866 | 1,360,353,431 | PR_kwDOC_bI7s4-SlEl | 4,866 | Fix mha | {
"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-09-02T15:38:27 | 2022-09-02T20:14:40 | 2022-09-02T20:14:37 | CONTRIBUTOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/4866",
"html_url": "https://github.com/NVIDIA/NeMo/pull/4866",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/4866.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/4866.patch",
"merged_at": "2022-09-02T20:14:37"
} | # What does this PR do ?
fix mha | {
"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/4866/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/4866/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/4865 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/4865/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/4865/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/4865/events | https://github.com/NVIDIA/NeMo/pull/4865 | 1,360,327,408 | PR_kwDOC_bI7s4-Sfon | 4,865 | Fix error with class method reference in msdd | {
"login": "SeanNaren",
"id": 6707363,
"node_id": "MDQ6VXNlcjY3MDczNjM=",
"avatar_url": "https://avatars.githubusercontent.com/u/6707363?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/SeanNaren",
"html_url": "https://github.com/SeanNaren",
"followers_url": "https://api.github.com/users/SeanNaren/followers",
"following_url": "https://api.github.com/users/SeanNaren/following{/other_user}",
"gists_url": "https://api.github.com/users/SeanNaren/gists{/gist_id}",
"starred_url": "https://api.github.com/users/SeanNaren/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/SeanNaren/subscriptions",
"organizations_url": "https://api.github.com/users/SeanNaren/orgs",
"repos_url": "https://api.github.com/users/SeanNaren/repos",
"events_url": "https://api.github.com/users/SeanNaren/events{/privacy}",
"received_events_url": "https://api.github.com/users/SeanNaren/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": "SeanNaren",
"id": 6707363,
"node_id": "MDQ6VXNlcjY3MDczNjM=",
"avatar_url": "https://avatars.githubusercontent.com/u/6707363?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/SeanNaren",
"html_url": "https://github.com/SeanNaren",
"followers_url": "https://api.github.com/users/SeanNaren/followers",
"following_url": "https://api.github.com/users/SeanNaren/following{/other_user}",
"gists_url": "https://api.github.com/users/SeanNaren/gists{/gist_id}",
"starred_url": "https://api.github.com/users/SeanNaren/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/SeanNaren/subscriptions",
"organizations_url": "https://api.github.com/users/SeanNaren/orgs",
"repos_url": "https://api.github.com/users/SeanNaren/repos",
"events_url": "https://api.github.com/users/SeanNaren/events{/privacy}",
"received_events_url": "https://api.github.com/users/SeanNaren/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"login": "SeanNaren",
"id": 6707363,
"node_id": "MDQ6VXNlcjY3MDczNjM=",
"avatar_url": "https://avatars.githubusercontent.com/u/6707363?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/SeanNaren",
"html_url": "https://github.com/SeanNaren",
"followers_url": "https://api.github.com/users/SeanNaren/followers",
"following_url": "https://api.github.com/users/SeanNaren/following{/other_user}",
"gists_url": "https://api.github.com/users/SeanNaren/gists{/gist_id}",
"starred_url": "https://api.github.com/users/SeanNaren/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/SeanNaren/subscriptions",
"organizations_url": "https://api.github.com/users/SeanNaren/orgs",
"repos_url": "https://api.github.com/users/SeanNaren/repos",
"events_url": "https://api.github.com/users/SeanNaren/events{/privacy}",
"received_events_url": "https://api.github.com/users/SeanNaren/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
}
] | null | null | 2022-09-02T15:14:16 | 2022-09-02T19:17:04 | 2022-09-02T19:17:01 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/4865",
"html_url": "https://github.com/NVIDIA/NeMo/pull/4865",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/4865.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/4865.patch",
"merged_at": "2022-09-02T19:17:01"
} | # What does this PR do ?
Small error when referring to the available models. This isn't tested yet since no models are yet available for MSDD, but I think soon @tango4j will introduce them!
# 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
## Who can review?
Anyone in the community is free to review the PR once the checks have passed.
[Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md) contains specific people who can review PRs to various areas.
| {
"login": "SeanNaren",
"id": 6707363,
"node_id": "MDQ6VXNlcjY3MDczNjM=",
"avatar_url": "https://avatars.githubusercontent.com/u/6707363?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/SeanNaren",
"html_url": "https://github.com/SeanNaren",
"followers_url": "https://api.github.com/users/SeanNaren/followers",
"following_url": "https://api.github.com/users/SeanNaren/following{/other_user}",
"gists_url": "https://api.github.com/users/SeanNaren/gists{/gist_id}",
"starred_url": "https://api.github.com/users/SeanNaren/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/SeanNaren/subscriptions",
"organizations_url": "https://api.github.com/users/SeanNaren/orgs",
"repos_url": "https://api.github.com/users/SeanNaren/repos",
"events_url": "https://api.github.com/users/SeanNaren/events{/privacy}",
"received_events_url": "https://api.github.com/users/SeanNaren/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/4865/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/4865/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/4864 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/4864/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/4864/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/4864/events | https://github.com/NVIDIA/NeMo/pull/4864 | 1,360,292,157 | PR_kwDOC_bI7s4-SYFC | 4,864 | Add AMI dataset script | {
"login": "SeanNaren",
"id": 6707363,
"node_id": "MDQ6VXNlcjY3MDczNjM=",
"avatar_url": "https://avatars.githubusercontent.com/u/6707363?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/SeanNaren",
"html_url": "https://github.com/SeanNaren",
"followers_url": "https://api.github.com/users/SeanNaren/followers",
"following_url": "https://api.github.com/users/SeanNaren/following{/other_user}",
"gists_url": "https://api.github.com/users/SeanNaren/gists{/gist_id}",
"starred_url": "https://api.github.com/users/SeanNaren/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/SeanNaren/subscriptions",
"organizations_url": "https://api.github.com/users/SeanNaren/orgs",
"repos_url": "https://api.github.com/users/SeanNaren/repos",
"events_url": "https://api.github.com/users/SeanNaren/events{/privacy}",
"received_events_url": "https://api.github.com/users/SeanNaren/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | {
"login": "SeanNaren",
"id": 6707363,
"node_id": "MDQ6VXNlcjY3MDczNjM=",
"avatar_url": "https://avatars.githubusercontent.com/u/6707363?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/SeanNaren",
"html_url": "https://github.com/SeanNaren",
"followers_url": "https://api.github.com/users/SeanNaren/followers",
"following_url": "https://api.github.com/users/SeanNaren/following{/other_user}",
"gists_url": "https://api.github.com/users/SeanNaren/gists{/gist_id}",
"starred_url": "https://api.github.com/users/SeanNaren/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/SeanNaren/subscriptions",
"organizations_url": "https://api.github.com/users/SeanNaren/orgs",
"repos_url": "https://api.github.com/users/SeanNaren/repos",
"events_url": "https://api.github.com/users/SeanNaren/events{/privacy}",
"received_events_url": "https://api.github.com/users/SeanNaren/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"login": "SeanNaren",
"id": 6707363,
"node_id": "MDQ6VXNlcjY3MDczNjM=",
"avatar_url": "https://avatars.githubusercontent.com/u/6707363?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/SeanNaren",
"html_url": "https://github.com/SeanNaren",
"followers_url": "https://api.github.com/users/SeanNaren/followers",
"following_url": "https://api.github.com/users/SeanNaren/following{/other_user}",
"gists_url": "https://api.github.com/users/SeanNaren/gists{/gist_id}",
"starred_url": "https://api.github.com/users/SeanNaren/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/SeanNaren/subscriptions",
"organizations_url": "https://api.github.com/users/SeanNaren/orgs",
"repos_url": "https://api.github.com/users/SeanNaren/repos",
"events_url": "https://api.github.com/users/SeanNaren/events{/privacy}",
"received_events_url": "https://api.github.com/users/SeanNaren/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
}
] | null | null | 2022-09-02T14:43:39 | 2022-09-07T20:36:19 | 2022-09-07T20:36:16 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/4864",
"html_url": "https://github.com/NVIDIA/NeMo/pull/4864",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/4864.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/4864.patch",
"merged_at": "2022-09-07T20:36:16"
} | # What does this PR do ?
Adds a script to streamline downloading/parsing AMI. @tango4j suggested adding microphone array audio as well, just need to figure out how to format this.
**Collection**: ASR
# Changelog
- Add script to download the AMI dataset for Speaker Diarization
# 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
## Who can review?
Anyone in the community is free to review the PR once the checks have passed.
[Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md) contains specific people who can review PRs to various areas. | {
"login": "SeanNaren",
"id": 6707363,
"node_id": "MDQ6VXNlcjY3MDczNjM=",
"avatar_url": "https://avatars.githubusercontent.com/u/6707363?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/SeanNaren",
"html_url": "https://github.com/SeanNaren",
"followers_url": "https://api.github.com/users/SeanNaren/followers",
"following_url": "https://api.github.com/users/SeanNaren/following{/other_user}",
"gists_url": "https://api.github.com/users/SeanNaren/gists{/gist_id}",
"starred_url": "https://api.github.com/users/SeanNaren/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/SeanNaren/subscriptions",
"organizations_url": "https://api.github.com/users/SeanNaren/orgs",
"repos_url": "https://api.github.com/users/SeanNaren/repos",
"events_url": "https://api.github.com/users/SeanNaren/events{/privacy}",
"received_events_url": "https://api.github.com/users/SeanNaren/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/4864/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/4864/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/4863 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/4863/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/4863/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/4863/events | https://github.com/NVIDIA/NeMo/issues/4863 | 1,359,746,121 | I_kwDOC_bI7s5RDBRJ | 4,863 | Error when training ASR with Transducers on GPU | {
"login": "stalevna",
"id": 53433879,
"node_id": "MDQ6VXNlcjUzNDMzODc5",
"avatar_url": "https://avatars.githubusercontent.com/u/53433879?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stalevna",
"html_url": "https://github.com/stalevna",
"followers_url": "https://api.github.com/users/stalevna/followers",
"following_url": "https://api.github.com/users/stalevna/following{/other_user}",
"gists_url": "https://api.github.com/users/stalevna/gists{/gist_id}",
"starred_url": "https://api.github.com/users/stalevna/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/stalevna/subscriptions",
"organizations_url": "https://api.github.com/users/stalevna/orgs",
"repos_url": "https://api.github.com/users/stalevna/repos",
"events_url": "https://api.github.com/users/stalevna/events{/privacy}",
"received_events_url": "https://api.github.com/users/stalevna/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-09-02T06:08:23 | 2022-10-06T01:16:35 | 2022-10-06T01:16:35 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | 
when training ASR with Transducers and leaving
**freq_masks: 2
time_masks: 10**
instead of zeroing them out an error occurs

TypeError Traceback (most recent call last)
[<ipython-input-29-1bf927b35c34>](https://localhost:8080/#) in <module>
1 # Train the model
----> 2 trainer.fit(model)
42 frames
[/usr/local/lib/python3.7/dist-packages/numba/cuda/dispatcher.py](https://localhost:8080/#) in __getitem__(self, args)
567 if len(args) not in [2, 3, 4]:
568 raise ValueError('must specify at least the griddim and blockdim')
--> 569 return self.configure(*args)
570
571 def forall(self, ntasks, tpb=0, stream=0, sharedmem=0):
TypeError: unhashable type: 'list'
It happens both in google colab and when training on local machine.
To reproduce this I skipped
**config.model.spec_augment.freq_masks = 0
config.model.spec_augment.time_masks = 0**
in colab tutorial **ASR_with_Transducers**
if I zero spec_augment everything works. Could you check if it's a possible bug or it is something I do wrong
| {
"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/4863/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/4863/timeline | null | completed | false |
https://api.github.com/repos/NVIDIA/NeMo/issues/4862 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/4862/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/4862/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/4862/events | https://github.com/NVIDIA/NeMo/issues/4862 | 1,359,714,764 | I_kwDOC_bI7s5RC5nM | 4,862 | Speaker Diarization - Audio Length Limit | {
"login": "sjsakshi",
"id": 53194868,
"node_id": "MDQ6VXNlcjUzMTk0ODY4",
"avatar_url": "https://avatars.githubusercontent.com/u/53194868?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sjsakshi",
"html_url": "https://github.com/sjsakshi",
"followers_url": "https://api.github.com/users/sjsakshi/followers",
"following_url": "https://api.github.com/users/sjsakshi/following{/other_user}",
"gists_url": "https://api.github.com/users/sjsakshi/gists{/gist_id}",
"starred_url": "https://api.github.com/users/sjsakshi/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/sjsakshi/subscriptions",
"organizations_url": "https://api.github.com/users/sjsakshi/orgs",
"repos_url": "https://api.github.com/users/sjsakshi/repos",
"events_url": "https://api.github.com/users/sjsakshi/events{/privacy}",
"received_events_url": "https://api.github.com/users/sjsakshi/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"id": 4585431311,
"node_id": "LA_kwDOC_bI7s8AAAABEVAhDw",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/stale",
"name": "stale",
"color": "ededed",
"default": false,
"description": null
}
] | closed | false | null | [] | null | null | 2022-09-02T05:18:30 | 2022-10-30T04:58:00 | 2022-10-30T02:13:26 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | Hi,
Thanks for the prompt reply on helping me out with diarization with unknown speakers.
I just had a question - is there a limit on the length of audio file that can be processed for speaker diarization , or any speaker model in general with nemo.
If I have files with 1.5 hrs length, can they be effectively diarized?
Thanks!! | {
"login": "github-actions[bot]",
"id": 41898282,
"node_id": "MDM6Qm90NDE4OTgyODI=",
"avatar_url": "https://avatars.githubusercontent.com/in/15368?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/github-actions%5Bbot%5D",
"html_url": "https://github.com/apps/github-actions",
"followers_url": "https://api.github.com/users/github-actions%5Bbot%5D/followers",
"following_url": "https://api.github.com/users/github-actions%5Bbot%5D/following{/other_user}",
"gists_url": "https://api.github.com/users/github-actions%5Bbot%5D/gists{/gist_id}",
"starred_url": "https://api.github.com/users/github-actions%5Bbot%5D/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/github-actions%5Bbot%5D/subscriptions",
"organizations_url": "https://api.github.com/users/github-actions%5Bbot%5D/orgs",
"repos_url": "https://api.github.com/users/github-actions%5Bbot%5D/repos",
"events_url": "https://api.github.com/users/github-actions%5Bbot%5D/events{/privacy}",
"received_events_url": "https://api.github.com/users/github-actions%5Bbot%5D/received_events",
"type": "Bot",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/4862/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/4862/timeline | null | not_planned | false |
https://api.github.com/repos/NVIDIA/NeMo/issues/4861 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/4861/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/4861/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/4861/events | https://github.com/NVIDIA/NeMo/pull/4861 | 1,359,436,682 | PR_kwDOC_bI7s4-PhWe | 4,861 | Update Speaker Diarization notebooks with unknown oracle_num_speakers | {
"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
} | [] | closed | false | null | [] | null | null | 2022-09-01T21:38:37 | 2022-09-01T23:24:37 | 2022-09-01T23:24:31 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/4861",
"html_url": "https://github.com/NVIDIA/NeMo/pull/4861",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/4861.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/4861.patch",
"merged_at": "2022-09-01T23:24:31"
} | # What does this PR do ?
Add a one line overview of what this PR aims to accomplish.
**Collection**: ASR
# Changelog
- Update Speaker Diarization notebooks with unknown oracle_num_speakers.
- Use multiscale diarization in tutorials.
- Add flexibility for vad result plotting
# Usage
* Notebook 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?
- [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": "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/4861/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/4861/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/4860 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/4860/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/4860/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/4860/events | https://github.com/NVIDIA/NeMo/pull/4860 | 1,359,393,670 | PR_kwDOC_bI7s4-PYIG | 4,860 | Fix uppercasing mismatch for IPA heteronyms | {
"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-09-01T20:52:35 | 2022-09-01T22:31:58 | 2022-09-01T22:31:55 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/4860",
"html_url": "https://github.com/NVIDIA/NeMo/pull/4860",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/4860.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/4860.patch",
"merged_at": "2022-09-01T22:31:55"
} | Signed-off-by: Jocelyn Huang <[email protected]>
# What does this PR do ?
Fixes bug where lowercase heteronyms wouldn't match with uppercased graphemes in IPA G2P. (Graphemes were uppercased to avoid conflicts with IPA symbols, but the heteronyms list is lowercased, so they would never match.)
**Collection**: TTS
**PR Type**:
- [ ] New Feature
- [x] Bugfix
- [ ] Documentation | {
"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/4860/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/4860/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/4859 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/4859/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/4859/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/4859/events | https://github.com/NVIDIA/NeMo/pull/4859 | 1,359,281,616 | PR_kwDOC_bI7s4-O_sa | 4,859 | Fix mha bug | {
"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-09-01T19:03:54 | 2022-09-02T15:36:01 | 2022-09-02T15:35:52 | CONTRIBUTOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/4859",
"html_url": "https://github.com/NVIDIA/NeMo/pull/4859",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/4859.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/4859.patch",
"merged_at": "2022-09-02T15:35:52"
} | # What does this PR do ?
fix bug in multi head attention forward function
| {
"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/4859/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/4859/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/4858 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/4858/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/4858/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/4858/events | https://github.com/NVIDIA/NeMo/pull/4858 | 1,358,621,982 | PR_kwDOC_bI7s4-MwZj | 4,858 | Missing types in clustering | {
"login": "SeanNaren",
"id": 6707363,
"node_id": "MDQ6VXNlcjY3MDczNjM=",
"avatar_url": "https://avatars.githubusercontent.com/u/6707363?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/SeanNaren",
"html_url": "https://github.com/SeanNaren",
"followers_url": "https://api.github.com/users/SeanNaren/followers",
"following_url": "https://api.github.com/users/SeanNaren/following{/other_user}",
"gists_url": "https://api.github.com/users/SeanNaren/gists{/gist_id}",
"starred_url": "https://api.github.com/users/SeanNaren/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/SeanNaren/subscriptions",
"organizations_url": "https://api.github.com/users/SeanNaren/orgs",
"repos_url": "https://api.github.com/users/SeanNaren/repos",
"events_url": "https://api.github.com/users/SeanNaren/events{/privacy}",
"received_events_url": "https://api.github.com/users/SeanNaren/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | {
"login": "SeanNaren",
"id": 6707363,
"node_id": "MDQ6VXNlcjY3MDczNjM=",
"avatar_url": "https://avatars.githubusercontent.com/u/6707363?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/SeanNaren",
"html_url": "https://github.com/SeanNaren",
"followers_url": "https://api.github.com/users/SeanNaren/followers",
"following_url": "https://api.github.com/users/SeanNaren/following{/other_user}",
"gists_url": "https://api.github.com/users/SeanNaren/gists{/gist_id}",
"starred_url": "https://api.github.com/users/SeanNaren/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/SeanNaren/subscriptions",
"organizations_url": "https://api.github.com/users/SeanNaren/orgs",
"repos_url": "https://api.github.com/users/SeanNaren/repos",
"events_url": "https://api.github.com/users/SeanNaren/events{/privacy}",
"received_events_url": "https://api.github.com/users/SeanNaren/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"login": "SeanNaren",
"id": 6707363,
"node_id": "MDQ6VXNlcjY3MDczNjM=",
"avatar_url": "https://avatars.githubusercontent.com/u/6707363?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/SeanNaren",
"html_url": "https://github.com/SeanNaren",
"followers_url": "https://api.github.com/users/SeanNaren/followers",
"following_url": "https://api.github.com/users/SeanNaren/following{/other_user}",
"gists_url": "https://api.github.com/users/SeanNaren/gists{/gist_id}",
"starred_url": "https://api.github.com/users/SeanNaren/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/SeanNaren/subscriptions",
"organizations_url": "https://api.github.com/users/SeanNaren/orgs",
"repos_url": "https://api.github.com/users/SeanNaren/repos",
"events_url": "https://api.github.com/users/SeanNaren/events{/privacy}",
"received_events_url": "https://api.github.com/users/SeanNaren/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
}
] | null | null | 2022-09-01T10:33:55 | 2022-09-01T12:09:27 | 2022-09-01T12:09:24 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/4858",
"html_url": "https://github.com/NVIDIA/NeMo/pull/4858",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/4858.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/4858.patch",
"merged_at": "2022-09-01T12:09:24"
} | # What does this PR do ?
When going through the code saw a couple of missing types in the class, doesn't hurt to add them.
# 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": "SeanNaren",
"id": 6707363,
"node_id": "MDQ6VXNlcjY3MDczNjM=",
"avatar_url": "https://avatars.githubusercontent.com/u/6707363?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/SeanNaren",
"html_url": "https://github.com/SeanNaren",
"followers_url": "https://api.github.com/users/SeanNaren/followers",
"following_url": "https://api.github.com/users/SeanNaren/following{/other_user}",
"gists_url": "https://api.github.com/users/SeanNaren/gists{/gist_id}",
"starred_url": "https://api.github.com/users/SeanNaren/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/SeanNaren/subscriptions",
"organizations_url": "https://api.github.com/users/SeanNaren/orgs",
"repos_url": "https://api.github.com/users/SeanNaren/repos",
"events_url": "https://api.github.com/users/SeanNaren/events{/privacy}",
"received_events_url": "https://api.github.com/users/SeanNaren/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/4858/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/4858/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/4857 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/4857/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/4857/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/4857/events | https://github.com/NVIDIA/NeMo/issues/4857 | 1,358,512,929 | I_kwDOC_bI7s5Q-UMh | 4,857 | Kenlm Language model with citrinet model(Subword Tokenization) is not working (Issue in deployment on riva). | {
"login": "sac-skz",
"id": 101621669,
"node_id": "U_kgDOBg6fpQ",
"avatar_url": "https://avatars.githubusercontent.com/u/101621669?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sac-skz",
"html_url": "https://github.com/sac-skz",
"followers_url": "https://api.github.com/users/sac-skz/followers",
"following_url": "https://api.github.com/users/sac-skz/following{/other_user}",
"gists_url": "https://api.github.com/users/sac-skz/gists{/gist_id}",
"starred_url": "https://api.github.com/users/sac-skz/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/sac-skz/subscriptions",
"organizations_url": "https://api.github.com/users/sac-skz/orgs",
"repos_url": "https://api.github.com/users/sac-skz/repos",
"events_url": "https://api.github.com/users/sac-skz/events{/privacy}",
"received_events_url": "https://api.github.com/users/sac-skz/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": "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": "tango4j",
"id": 13211483,
"node_id": "MDQ6VXNlcjEzMjExNDgz",
"avatar_url": "https://avatars.githubusercontent.com/u/13211483?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tango4j",
"html_url": "https://github.com/tango4j",
"followers_url": "https://api.github.com/users/tango4j/followers",
"following_url": "https://api.github.com/users/tango4j/following{/other_user}",
"gists_url": "https://api.github.com/users/tango4j/gists{/gist_id}",
"starred_url": "https://api.github.com/users/tango4j/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/tango4j/subscriptions",
"organizations_url": "https://api.github.com/users/tango4j/orgs",
"repos_url": "https://api.github.com/users/tango4j/repos",
"events_url": "https://api.github.com/users/tango4j/events{/privacy}",
"received_events_url": "https://api.github.com/users/tango4j/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
},
{
"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-09-01T09:10:12 | 2022-09-06T11:05:53 | 2022-09-06T11:05:53 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | I am trying to deploy my asr system in Riva and facing issue in deploying custom Kenlm language model. Steps followed - :
**Nemo model training** **:**
Model : citrinet_512
Tokenizer : subword (bpe of sentence piece tokenizer)
Language model : Kenlm 3 gram
language : Filipino
**Issue :** Nemo provides us the script(/NeMo/scripts/asr_language_modeling/ngram_lm/train_kenlm.py) to train a kenlm language model taking manifest as input. It seems like this script converts the training manifest in to character level format using offset and tokenizer. After that language model is trained as character level language model.
**Issue in riva :** I passed nemo model, language model binary, decoding vocab to riva build command but getting empty transcripts during Inference.
how riva is going to know that language model is trained as character level model and how riva will decode it.
**Decoding Vocab analysis:** Considering language model is trained on character level so I tokenized my corpus using subword tokenizer used in nemo model then convert each word(new_char) in to character level by :
offset = 100
vocab_number = convert each word of tokenized corpus into id.
new_char = chr(vocab_number + offset)
```
unique_vocabs = set()
offset = 100
with open(corpus) as crp:
for i in crp:
text = i.split(" ")
for t in text:
curr_vocab = ""
for j in tokenizer.text_to_ids(t):
curr_vocab = curr_vocab + chr(j+offset)
unique_vocabs.add(curr_vocab)
with open(decoder_vocab_path, "w") as vcb:
for i in unique_vocabs:
vcb.write(i)
vcb.write('\n')
```
I Passed decoder_vocab_path to riva build command. Sample vocab ->
[vocab.txt|attachment](upload://xkiOPpsQSBRY95y7xh6RMb1mee9.txt) (111.6 KB)
**Is this the right way to make decoding vocab for a character level language model to deploy it in riva?**
Any help would be appreciated. | {
"login": "sac-skz",
"id": 101621669,
"node_id": "U_kgDOBg6fpQ",
"avatar_url": "https://avatars.githubusercontent.com/u/101621669?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sac-skz",
"html_url": "https://github.com/sac-skz",
"followers_url": "https://api.github.com/users/sac-skz/followers",
"following_url": "https://api.github.com/users/sac-skz/following{/other_user}",
"gists_url": "https://api.github.com/users/sac-skz/gists{/gist_id}",
"starred_url": "https://api.github.com/users/sac-skz/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/sac-skz/subscriptions",
"organizations_url": "https://api.github.com/users/sac-skz/orgs",
"repos_url": "https://api.github.com/users/sac-skz/repos",
"events_url": "https://api.github.com/users/sac-skz/events{/privacy}",
"received_events_url": "https://api.github.com/users/sac-skz/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/4857/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/4857/timeline | null | completed | false |
https://api.github.com/repos/NVIDIA/NeMo/issues/4856 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/4856/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/4856/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/4856/events | https://github.com/NVIDIA/NeMo/issues/4856 | 1,358,307,062 | I_kwDOC_bI7s5Q9h72 | 4,856 | What all parameters need to be changed and how in config, if i want to change min_duration in SSL_CONFORMER_PRETRAINING | {
"login": "mujhenahiata",
"id": 94825377,
"node_id": "U_kgDOBabroQ",
"avatar_url": "https://avatars.githubusercontent.com/u/94825377?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mujhenahiata",
"html_url": "https://github.com/mujhenahiata",
"followers_url": "https://api.github.com/users/mujhenahiata/followers",
"following_url": "https://api.github.com/users/mujhenahiata/following{/other_user}",
"gists_url": "https://api.github.com/users/mujhenahiata/gists{/gist_id}",
"starred_url": "https://api.github.com/users/mujhenahiata/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mujhenahiata/subscriptions",
"organizations_url": "https://api.github.com/users/mujhenahiata/orgs",
"repos_url": "https://api.github.com/users/mujhenahiata/repos",
"events_url": "https://api.github.com/users/mujhenahiata/events{/privacy}",
"received_events_url": "https://api.github.com/users/mujhenahiata/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-09-01T06:12:18 | 2022-09-02T06:04:33 | 2022-09-02T06:04:33 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | link to config: https://github.com/NVIDIA/NeMo/blob/main/examples/asr/conf/ssl/conformer/conformer_ssl.yaml
when I change min duration to let's say 1.6 sec
I get errors like
RuntimeError: shape '[8, 44, -1]' is invalid for input of size 143360
RuntimeError: cannot sample n_sample > prob_dist.size(-1) samples without replacement
what all parameters I need to change in order to run the experiment successfully
these are the few parameters I think need some updation.
stride_layers
combine_time_steps
patch_size
mask_patches
num_negatives
| {
"login": "mujhenahiata",
"id": 94825377,
"node_id": "U_kgDOBabroQ",
"avatar_url": "https://avatars.githubusercontent.com/u/94825377?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mujhenahiata",
"html_url": "https://github.com/mujhenahiata",
"followers_url": "https://api.github.com/users/mujhenahiata/followers",
"following_url": "https://api.github.com/users/mujhenahiata/following{/other_user}",
"gists_url": "https://api.github.com/users/mujhenahiata/gists{/gist_id}",
"starred_url": "https://api.github.com/users/mujhenahiata/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mujhenahiata/subscriptions",
"organizations_url": "https://api.github.com/users/mujhenahiata/orgs",
"repos_url": "https://api.github.com/users/mujhenahiata/repos",
"events_url": "https://api.github.com/users/mujhenahiata/events{/privacy}",
"received_events_url": "https://api.github.com/users/mujhenahiata/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/4856/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/4856/timeline | null | completed | false |
https://api.github.com/repos/NVIDIA/NeMo/issues/4855 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/4855/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/4855/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/4855/events | https://github.com/NVIDIA/NeMo/issues/4855 | 1,358,292,719 | I_kwDOC_bI7s5Q9ebv | 4,855 | CUSOLVER_STATUS_INTERNAL_ERROR | {
"login": "Lagstill",
"id": 89288089,
"node_id": "MDQ6VXNlcjg5Mjg4MDg5",
"avatar_url": "https://avatars.githubusercontent.com/u/89288089?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Lagstill",
"html_url": "https://github.com/Lagstill",
"followers_url": "https://api.github.com/users/Lagstill/followers",
"following_url": "https://api.github.com/users/Lagstill/following{/other_user}",
"gists_url": "https://api.github.com/users/Lagstill/gists{/gist_id}",
"starred_url": "https://api.github.com/users/Lagstill/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Lagstill/subscriptions",
"organizations_url": "https://api.github.com/users/Lagstill/orgs",
"repos_url": "https://api.github.com/users/Lagstill/repos",
"events_url": "https://api.github.com/users/Lagstill/events{/privacy}",
"received_events_url": "https://api.github.com/users/Lagstill/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-09-01T05:57:34 | 2022-09-02T10:44:16 | 2022-09-02T10:43:46 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | **Describe the bug**
For few audio file has this error when calling speaker diariation function, Error Message as below:
Error:cusolver error: CUSOLVER_STATUS_INTERNAL_ERROR, when calling cusolverDnSsyevd(handle, jobz, uplo, n, A, lda, W, work, lwork, info)
**Steps/Code to reproduce bug**
The error might be occuring in the function clustering: nmsec , when call eigh(laplacian) with cuda (cuda device =1/0).
def eigDecompose(laplacian, cuda, device=None):
print(len(laplacian))
if TORCH_EIGN:
if cuda:
if device is None:
device = torch.cuda.current_device()
A helpful guide on on how to craft a minimal bug report http://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports.
**Expected behavior**
A diarised audio file
**Environment overview (please complete the following information)**
Linux environment, 4 gpus
**Environment details**
If NVIDIA docker image is used you don't need to specify these.
Otherwise, please provide:
- OS version :Microsoft Windows [Version 10.0.19044.1889]
- PyTorch version : 1.12.0+cu102
- Python version: Python 3.7.13
- -Nemo :1.8
- Cuda : 11.6
**Additional context**
Re-opening wrt :https://github.com/NVIDIA/NeMo/issues/3757#issue-1150037680 | {
"login": "Lagstill",
"id": 89288089,
"node_id": "MDQ6VXNlcjg5Mjg4MDg5",
"avatar_url": "https://avatars.githubusercontent.com/u/89288089?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Lagstill",
"html_url": "https://github.com/Lagstill",
"followers_url": "https://api.github.com/users/Lagstill/followers",
"following_url": "https://api.github.com/users/Lagstill/following{/other_user}",
"gists_url": "https://api.github.com/users/Lagstill/gists{/gist_id}",
"starred_url": "https://api.github.com/users/Lagstill/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Lagstill/subscriptions",
"organizations_url": "https://api.github.com/users/Lagstill/orgs",
"repos_url": "https://api.github.com/users/Lagstill/repos",
"events_url": "https://api.github.com/users/Lagstill/events{/privacy}",
"received_events_url": "https://api.github.com/users/Lagstill/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/4855/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/4855/timeline | null | completed | false |
https://api.github.com/repos/NVIDIA/NeMo/issues/4854 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/4854/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/4854/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/4854/events | https://github.com/NVIDIA/NeMo/pull/4854 | 1,358,117,786 | PR_kwDOC_bI7s4-LE2s | 4,854 | Joint rnnt/ctc training | {
"login": "iankur",
"id": 17414021,
"node_id": "MDQ6VXNlcjE3NDE0MDIx",
"avatar_url": "https://avatars.githubusercontent.com/u/17414021?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/iankur",
"html_url": "https://github.com/iankur",
"followers_url": "https://api.github.com/users/iankur/followers",
"following_url": "https://api.github.com/users/iankur/following{/other_user}",
"gists_url": "https://api.github.com/users/iankur/gists{/gist_id}",
"starred_url": "https://api.github.com/users/iankur/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/iankur/subscriptions",
"organizations_url": "https://api.github.com/users/iankur/orgs",
"repos_url": "https://api.github.com/users/iankur/repos",
"events_url": "https://api.github.com/users/iankur/events{/privacy}",
"received_events_url": "https://api.github.com/users/iankur/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"id": 4585431311,
"node_id": "LA_kwDOC_bI7s8AAAABEVAhDw",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/stale",
"name": "stale",
"color": "ededed",
"default": false,
"description": null
}
] | closed | false | null | [] | null | null | 2022-09-01T01:22:04 | 2022-10-16T02:13:48 | 2022-10-16T02:13:48 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/4854",
"html_url": "https://github.com/NVIDIA/NeMo/pull/4854",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/4854.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/4854.patch",
"merged_at": null
} | Signed-off-by: Ankur Kumar <[email protected]>
# What does this PR do ?
Add a one line overview of what this PR aims to accomplish.
- Adds support to optionally train CTC decoder jointly with RNN-T model (encoder is shared)
**Collection**: [ASR]
# Changelog
- Add specific line by line info of high level changes in this PR.
# Usage
* You can potentially add a usage example below
Need to add following flags to RNN-T training command and set `D_MODEL` to encoder output dim
```python
++model.ctc.ctc_reduction=mean_batch \
++model.ctc.ctc_loss_weight=0.3 \
++model.ctc.decoder._target_=nemo.collections.asr.modules.ConvASRDecoder \
++model.ctc.decoder.feat_in=$D_MODEL \
++model.ctc.decoder.num_classes=-1 \
++model.ctc.decoder.vocabulary=[]
```
```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**:
- [x] New Feature
- [ ] Bugfix
- [ ] Documentation
If you haven't finished some of the above items you can still open "Draft" PR.
## Who can review?
Anyone in the community is free to review the PR once the checks have passed.
[Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md) contains specific people who can review PRs to various areas.
# Additional Information
* Related to # (issue)
| {
"login": "github-actions[bot]",
"id": 41898282,
"node_id": "MDM6Qm90NDE4OTgyODI=",
"avatar_url": "https://avatars.githubusercontent.com/in/15368?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/github-actions%5Bbot%5D",
"html_url": "https://github.com/apps/github-actions",
"followers_url": "https://api.github.com/users/github-actions%5Bbot%5D/followers",
"following_url": "https://api.github.com/users/github-actions%5Bbot%5D/following{/other_user}",
"gists_url": "https://api.github.com/users/github-actions%5Bbot%5D/gists{/gist_id}",
"starred_url": "https://api.github.com/users/github-actions%5Bbot%5D/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/github-actions%5Bbot%5D/subscriptions",
"organizations_url": "https://api.github.com/users/github-actions%5Bbot%5D/orgs",
"repos_url": "https://api.github.com/users/github-actions%5Bbot%5D/repos",
"events_url": "https://api.github.com/users/github-actions%5Bbot%5D/events{/privacy}",
"received_events_url": "https://api.github.com/users/github-actions%5Bbot%5D/received_events",
"type": "Bot",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/4854/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/4854/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/4853 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/4853/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/4853/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/4853/events | https://github.com/NVIDIA/NeMo/pull/4853 | 1,357,915,872 | PR_kwDOC_bI7s4-KXPE | 4,853 | Add rnnt be | {
"login": "Jorjeous",
"id": 37293288,
"node_id": "MDQ6VXNlcjM3MjkzMjg4",
"avatar_url": "https://avatars.githubusercontent.com/u/37293288?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Jorjeous",
"html_url": "https://github.com/Jorjeous",
"followers_url": "https://api.github.com/users/Jorjeous/followers",
"following_url": "https://api.github.com/users/Jorjeous/following{/other_user}",
"gists_url": "https://api.github.com/users/Jorjeous/gists{/gist_id}",
"starred_url": "https://api.github.com/users/Jorjeous/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Jorjeous/subscriptions",
"organizations_url": "https://api.github.com/users/Jorjeous/orgs",
"repos_url": "https://api.github.com/users/Jorjeous/repos",
"events_url": "https://api.github.com/users/Jorjeous/events{/privacy}",
"received_events_url": "https://api.github.com/users/Jorjeous/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | null | 2022-08-31T21:57:40 | 2022-08-31T21:58:11 | 2022-08-31T21:58:11 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/4853",
"html_url": "https://github.com/NVIDIA/NeMo/pull/4853",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/4853.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/4853.patch",
"merged_at": "2022-08-31T21:58:11"
} | # What does this PR do ?
adds rnnt model
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": "Jorjeous",
"id": 37293288,
"node_id": "MDQ6VXNlcjM3MjkzMjg4",
"avatar_url": "https://avatars.githubusercontent.com/u/37293288?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Jorjeous",
"html_url": "https://github.com/Jorjeous",
"followers_url": "https://api.github.com/users/Jorjeous/followers",
"following_url": "https://api.github.com/users/Jorjeous/following{/other_user}",
"gists_url": "https://api.github.com/users/Jorjeous/gists{/gist_id}",
"starred_url": "https://api.github.com/users/Jorjeous/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Jorjeous/subscriptions",
"organizations_url": "https://api.github.com/users/Jorjeous/orgs",
"repos_url": "https://api.github.com/users/Jorjeous/repos",
"events_url": "https://api.github.com/users/Jorjeous/events{/privacy}",
"received_events_url": "https://api.github.com/users/Jorjeous/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/4853/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/4853/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/4852 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/4852/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/4852/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/4852/events | https://github.com/NVIDIA/NeMo/pull/4852 | 1,357,907,379 | PR_kwDOC_bI7s4-KVar | 4,852 | add new models | {
"login": "Jorjeous",
"id": 37293288,
"node_id": "MDQ6VXNlcjM3MjkzMjg4",
"avatar_url": "https://avatars.githubusercontent.com/u/37293288?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Jorjeous",
"html_url": "https://github.com/Jorjeous",
"followers_url": "https://api.github.com/users/Jorjeous/followers",
"following_url": "https://api.github.com/users/Jorjeous/following{/other_user}",
"gists_url": "https://api.github.com/users/Jorjeous/gists{/gist_id}",
"starred_url": "https://api.github.com/users/Jorjeous/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Jorjeous/subscriptions",
"organizations_url": "https://api.github.com/users/Jorjeous/orgs",
"repos_url": "https://api.github.com/users/Jorjeous/repos",
"events_url": "https://api.github.com/users/Jorjeous/events{/privacy}",
"received_events_url": "https://api.github.com/users/Jorjeous/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | null | 2022-08-31T21:46:26 | 2023-02-22T18:43:26 | 2022-09-01T15:16:47 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/4852",
"html_url": "https://github.com/NVIDIA/NeMo/pull/4852",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/4852.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/4852.patch",
"merged_at": "2022-09-01T15:16:47"
} | Signed-off-by: George Zelenfroind [[email protected]](mailto:[email protected])
# What does this PR do ?
Add a one line overview of what this PR aims to accomplish.
Adds links to Belarusian models (ctc and rnnt conformer large)
**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**:
- [yes] 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": "vsl9",
"id": 4344862,
"node_id": "MDQ6VXNlcjQzNDQ4NjI=",
"avatar_url": "https://avatars.githubusercontent.com/u/4344862?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/vsl9",
"html_url": "https://github.com/vsl9",
"followers_url": "https://api.github.com/users/vsl9/followers",
"following_url": "https://api.github.com/users/vsl9/following{/other_user}",
"gists_url": "https://api.github.com/users/vsl9/gists{/gist_id}",
"starred_url": "https://api.github.com/users/vsl9/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/vsl9/subscriptions",
"organizations_url": "https://api.github.com/users/vsl9/orgs",
"repos_url": "https://api.github.com/users/vsl9/repos",
"events_url": "https://api.github.com/users/vsl9/events{/privacy}",
"received_events_url": "https://api.github.com/users/vsl9/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/4852/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/4852/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/4851 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/4851/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/4851/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/4851/events | https://github.com/NVIDIA/NeMo/pull/4851 | 1,357,642,811 | PR_kwDOC_bI7s4-JcTl | 4,851 | Add new features to SDE and transcribe speech | {
"login": "Jorjeous",
"id": 37293288,
"node_id": "MDQ6VXNlcjM3MjkzMjg4",
"avatar_url": "https://avatars.githubusercontent.com/u/37293288?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Jorjeous",
"html_url": "https://github.com/Jorjeous",
"followers_url": "https://api.github.com/users/Jorjeous/followers",
"following_url": "https://api.github.com/users/Jorjeous/following{/other_user}",
"gists_url": "https://api.github.com/users/Jorjeous/gists{/gist_id}",
"starred_url": "https://api.github.com/users/Jorjeous/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Jorjeous/subscriptions",
"organizations_url": "https://api.github.com/users/Jorjeous/orgs",
"repos_url": "https://api.github.com/users/Jorjeous/repos",
"events_url": "https://api.github.com/users/Jorjeous/events{/privacy}",
"received_events_url": "https://api.github.com/users/Jorjeous/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | null | 2022-08-31T17:25:39 | 2023-02-23T01:59:47 | 2022-09-09T18:31:33 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/4851",
"html_url": "https://github.com/NVIDIA/NeMo/pull/4851",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/4851.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/4851.patch",
"merged_at": null
} | Signed-off-by: George Zelenfroind <[email protected]>
# What does this PR do ?
Adds feature of comparing to models to SDE
And adds new way of transcribing audio - add new transcripts to existing JSON file
Add a one line overview of what this PR aims to accomplish.
**Collection**: [Note which collection this PR will affect]
asr
# Changelog
- Add specific line by line info of high level changes in this PR.
# Usage
* You can potentially add a usage example below
* in readme
```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**:
- [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": "Jorjeous",
"id": 37293288,
"node_id": "MDQ6VXNlcjM3MjkzMjg4",
"avatar_url": "https://avatars.githubusercontent.com/u/37293288?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Jorjeous",
"html_url": "https://github.com/Jorjeous",
"followers_url": "https://api.github.com/users/Jorjeous/followers",
"following_url": "https://api.github.com/users/Jorjeous/following{/other_user}",
"gists_url": "https://api.github.com/users/Jorjeous/gists{/gist_id}",
"starred_url": "https://api.github.com/users/Jorjeous/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Jorjeous/subscriptions",
"organizations_url": "https://api.github.com/users/Jorjeous/orgs",
"repos_url": "https://api.github.com/users/Jorjeous/repos",
"events_url": "https://api.github.com/users/Jorjeous/events{/privacy}",
"received_events_url": "https://api.github.com/users/Jorjeous/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/4851/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/4851/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/4850 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/4850/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/4850/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/4850/events | https://github.com/NVIDIA/NeMo/pull/4850 | 1,357,540,123 | PR_kwDOC_bI7s4-JGUc | 4,850 | ARP to IPA mapping, g2p_encode for IPATokenizer | {
"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-08-31T15:54:00 | 2022-12-13T05:47:14 | 2022-09-02T01:43:12 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/4850",
"html_url": "https://github.com/NVIDIA/NeMo/pull/4850",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/4850.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/4850.patch",
"merged_at": "2022-09-02T01:43:12"
} | 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**:
- [ 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": "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/4850/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/4850/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/4849 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/4849/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/4849/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/4849/events | https://github.com/NVIDIA/NeMo/pull/4849 | 1,357,486,835 | PR_kwDOC_bI7s4-I6x7 | 4,849 | MLP Prompt Learning Encoder | {
"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-08-31T15:13:22 | 2022-09-08T20:34:02 | 2022-09-08T20:33:57 | CONTRIBUTOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/4849",
"html_url": "https://github.com/NVIDIA/NeMo/pull/4849",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/4849.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/4849.patch",
"merged_at": "2022-09-08T20:33:57"
} | # What does this PR do ?
Adds MLP option for prompt learning encoder
**Collection**: NLP
# Changelog
- Updates Prompt Encoder class
- Updates GPT Prompt Learning Model Class
- Updates Base Prompt Learning Model Class
# Usage
These can optionally be added to the prompt learning config
```
p_tuning: # P-tuning specific params
encoder_type: "mlp"
encoder_hidden: 512
num_layers: 2
dropout: 0.0
```
# 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/4849/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/4849/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/4848 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/4848/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/4848/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/4848/events | https://github.com/NVIDIA/NeMo/issues/4848 | 1,356,794,388 | I_kwDOC_bI7s5Q3woU | 4,848 | How to Convert FastPitch and HifiGan Nemo models to TensorRT ? Is there any script available for it? | {
"login": "JayZ92-99",
"id": 49517909,
"node_id": "MDQ6VXNlcjQ5NTE3OTA5",
"avatar_url": "https://avatars.githubusercontent.com/u/49517909?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/JayZ92-99",
"html_url": "https://github.com/JayZ92-99",
"followers_url": "https://api.github.com/users/JayZ92-99/followers",
"following_url": "https://api.github.com/users/JayZ92-99/following{/other_user}",
"gists_url": "https://api.github.com/users/JayZ92-99/gists{/gist_id}",
"starred_url": "https://api.github.com/users/JayZ92-99/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/JayZ92-99/subscriptions",
"organizations_url": "https://api.github.com/users/JayZ92-99/orgs",
"repos_url": "https://api.github.com/users/JayZ92-99/repos",
"events_url": "https://api.github.com/users/JayZ92-99/events{/privacy}",
"received_events_url": "https://api.github.com/users/JayZ92-99/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"id": 4418253970,
"node_id": "LA_kwDOC_bI7s8AAAABB1k0kg",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/TTS",
"name": "TTS",
"color": "49AF28",
"default": false,
"description": ""
},
{
"id": 4585431311,
"node_id": "LA_kwDOC_bI7s8AAAABEVAhDw",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/stale",
"name": "stale",
"color": "ededed",
"default": false,
"description": null
}
] | closed | false | null | [] | null | null | 2022-08-31T05:19:45 | 2022-11-18T02:11:17 | 2022-11-18T02:11:17 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | null | {
"login": "github-actions[bot]",
"id": 41898282,
"node_id": "MDM6Qm90NDE4OTgyODI=",
"avatar_url": "https://avatars.githubusercontent.com/in/15368?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/github-actions%5Bbot%5D",
"html_url": "https://github.com/apps/github-actions",
"followers_url": "https://api.github.com/users/github-actions%5Bbot%5D/followers",
"following_url": "https://api.github.com/users/github-actions%5Bbot%5D/following{/other_user}",
"gists_url": "https://api.github.com/users/github-actions%5Bbot%5D/gists{/gist_id}",
"starred_url": "https://api.github.com/users/github-actions%5Bbot%5D/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/github-actions%5Bbot%5D/subscriptions",
"organizations_url": "https://api.github.com/users/github-actions%5Bbot%5D/orgs",
"repos_url": "https://api.github.com/users/github-actions%5Bbot%5D/repos",
"events_url": "https://api.github.com/users/github-actions%5Bbot%5D/events{/privacy}",
"received_events_url": "https://api.github.com/users/github-actions%5Bbot%5D/received_events",
"type": "Bot",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/4848/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/4848/timeline | null | not_planned | false |
https://api.github.com/repos/NVIDIA/NeMo/issues/4847 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/4847/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/4847/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/4847/events | https://github.com/NVIDIA/NeMo/pull/4847 | 1,356,632,303 | PR_kwDOC_bI7s4-GCNe | 4,847 | Fix decoding for T5 models with RPE | {
"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-08-31T01:50:29 | 2022-09-01T21:38:51 | 2022-09-01T21:38:48 | CONTRIBUTOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/4847",
"html_url": "https://github.com/NVIDIA/NeMo/pull/4847",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/4847.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/4847.patch",
"merged_at": "2022-09-01T21:38:48"
} | Signed-off-by: MaximumEntropy <[email protected]>
# What does this PR do ?
Fixes a bug with decoding from Enc-Dec models with RPE.
**Collection**: NLP
# Changelog
- Add specific line by line info of high level changes in this PR.
# Usage
* You can potentially add a usage example below
```python
# Add a code snippet demonstrating how to use this
```
# 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/4847/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/4847/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/4846 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/4846/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/4846/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/4846/events | https://github.com/NVIDIA/NeMo/pull/4846 | 1,356,556,294 | PR_kwDOC_bI7s4-Fw_f | 4,846 | Spoken Language Identification | {
"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
} | [] | closed | false | null | [] | null | null | 2022-08-31T00:52:17 | 2022-10-08T01:33:01 | 2022-08-31T17:44:34 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/4846",
"html_url": "https://github.com/NVIDIA/NeMo/pull/4846",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/4846.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/4846.patch",
"merged_at": "2022-08-31T17:44:34"
} | # What does this PR do ?
Add training script and config (titanet) for spoken language identification.
**Collection**:ASR
# Changelog
- Calculate weight for using weighted cross entropy for imbalanced training set.
- Add val_acc_macro and val_auroc for model selection. Support test_acc_macro and test_aucro as well.
- Extend speech_to_label.py to support language identification.
- Add model config file which achieves SOTA performance on voxlingua107.
# Usage
```python
python speech_to_label.py --config-path="../conf/lang_id" --config-name="titanet_large" \
model.train_ds.manifest_filepath=<train_manifest> \
model.validation_ds.manifest_filepath=<dev_manifest> \
model.train_ds.augmentor.noise.manifest_path=<noise_manifest> \
model.train_ds.augmentor.impulse.manifest_path=<impulse_manifest> \
exp_manager.wandb_logger_kwargs.name="titanet_large" \
exp_manager.wandb_logger_kwargs.project="lang_id" \
+exp_manager.checkpoint_callback_params.monitor="val_acc_macro" \
+exp_manager.checkpoint_callback_params.mode="max"
```
# 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?
[doc will be updated in next PR]
- [ ] 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": "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/4846/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/4846/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/4845 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/4845/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/4845/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/4845/events | https://github.com/NVIDIA/NeMo/pull/4845 | 1,356,546,806 | PR_kwDOC_bI7s4-FuxH | 4,845 | [Tutorial][ASR][Fix] Data paths in ASR with NeMo tutorial | {
"login": "anteju",
"id": 108555623,
"node_id": "U_kgDOBnhtZw",
"avatar_url": "https://avatars.githubusercontent.com/u/108555623?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/anteju",
"html_url": "https://github.com/anteju",
"followers_url": "https://api.github.com/users/anteju/followers",
"following_url": "https://api.github.com/users/anteju/following{/other_user}",
"gists_url": "https://api.github.com/users/anteju/gists{/gist_id}",
"starred_url": "https://api.github.com/users/anteju/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/anteju/subscriptions",
"organizations_url": "https://api.github.com/users/anteju/orgs",
"repos_url": "https://api.github.com/users/anteju/repos",
"events_url": "https://api.github.com/users/anteju/events{/privacy}",
"received_events_url": "https://api.github.com/users/anteju/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | null | 2022-08-31T00:46:32 | 2022-08-31T03:54:33 | 2022-08-31T03:49:26 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/4845",
"html_url": "https://github.com/NVIDIA/NeMo/pull/4845",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/4845.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/4845.patch",
"merged_at": "2022-08-31T03:49:26"
} |
# What does this PR do ?
This PR aims to fix a few small issues in the ASR with NeMo tutorial.
**Collection**: ASR
# Changelog
- check if `data_dir` exists and create if necessary
- prepend `data_dir` to `paths2audio_files`
- check if the expected config file exists and download if necessary
# 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
## 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": "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/4845/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/4845/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/4844 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/4844/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/4844/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/4844/events | https://github.com/NVIDIA/NeMo/issues/4844 | 1,356,404,594 | I_kwDOC_bI7s5Q2Rdy | 4,844 | Conformer model fails to load on CPU after export | {
"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
} | [
{
"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
}
] | null | null | 2022-08-30T22:38:24 | 2022-09-09T13:45:58 | 2022-09-09T13:45:58 | CONTRIBUTOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | **Describe the bug**
Conformer model cannot be loaded when loaded on CPU.
There an unclear `RuntimeError`:
```
Traceback (most recent call last):
File "bug_nemo.py", line 12, in <module>
ts_model = torch.jit.load(f"/tmp/{model_name}.pt")
File "/opt/conda/lib/python3.8/site-packages/torch/jit/_serialization.py", line 162, in load
cpp_module = torch._C.import_ir_module(cu, str(f), map_location, _extra_files)
RuntimeError: required keyword attribute 'value' is undefined
```
It works fine when loading on GPU or using Citrinet, for example : `stt_en_citrinet_1024`.
**Steps/Code to reproduce bug**
```python:bug_nemo.py
import torch
import nemo.collections.asr as nemo_asr
model_name = "stt_en_conformer_ctc_small"
nemo_model = nemo_asr.models.EncDecCTCModelBPE.from_pretrained(
model_name=model_name,
map_location="cpu"
)
nemo_model.export(f"/tmp/{model_name}.pt")
ts_model = torch.jit.load(f"/tmp/{model_name}.pt")
```
Output:
```
/opt/conda/lib/python3.8/site-packages/apex/pyprof/__init__.py:5: FutureWarning: pyprof will be removed by the end of June, 2022
warnings.warn("pyprof will be removed by the end of June, 2022", FutureWarning)
[NeMo I 2022-08-30 22:17:01 cloud:56] Found existing object /home/tarteel/.cache/torch/NeMo/NeMo_1.10.0/stt_en_conformer_ctc_small/5d2d8e5b2b5adb8f5091363c6ba19c55/stt_en_conformer_ctc_small.nemo.
[NeMo I 2022-08-30 22:17:01 cloud:62] Re-using file from: /home/tarteel/.cache/torch/NeMo/NeMo_1.10.0/stt_en_conformer_ctc_small/5d2d8e5b2b5adb8f5091363c6ba19c55/stt_en_conformer_ctc_small.nemo
[NeMo I 2022-08-30 22:17:01 common:789] Instantiating model from pre-trained checkpoint
[NeMo I 2022-08-30 22:17:02 mixins:166] Tokenizer SentencePieceTokenizer initialized with 1024 tokens
[NeMo W 2022-08-30 22:17:02 modelPT:148] If you intend to do training or fine-tuning, please call the ModelPT.setup_training_data() method and provide a valid configuration file to setup the train data loader.
Train config :
manifest_filepath: /data/NeMo_ASR_SET/English/v2.0/train/tarred_audio_manifest.json
sample_rate: 16000
batch_size: 64
shuffle: true
num_workers: 8
pin_memory: true
use_start_end_token: false
trim_silence: false
max_duration: 20.0
min_duration: 0.1
shuffle_n: 2048
is_tarred: true
tarred_audio_filepaths: /data/NeMo_ASR_SET/English/v2.0/train/audio__OP_0..4095_CL_.tar
[NeMo W 2022-08-30 22:17:02 modelPT:155] If you intend to do validation, please call the ModelPT.setup_validation_data() or ModelPT.setup_multiple_validation_data() method and provide a valid configuration file to setup the validation data loader(s).
Validation config :
manifest_filepath:
- /data/ASR/LibriSpeech/librispeech_withsp2/manifests/librivox-dev-other.json
- /data/ASR/LibriSpeech/librispeech_withsp2/manifests/librivox-dev-clean.json
- /data/ASR/LibriSpeech/librispeech_withsp2/manifests/librivox-test-other.json
- /data/ASR/LibriSpeech/librispeech_withsp2/manifests/librivox-test-clean.json
sample_rate: 16000
batch_size: 64
shuffle: false
num_workers: 8
pin_memory: true
use_start_end_token: false
is_tarred: false
tarred_audio_filepaths: na
[NeMo W 2022-08-30 22:17:02 modelPT:161] Please call the ModelPT.setup_test_data() or ModelPT.setup_multiple_test_data() method and provide a valid configuration file to setup the test data loader(s).
Test config :
manifest_filepath:
- /data/ASR/LibriSpeech/librispeech_withsp2/manifests/librivox-test-other.json
- /data/ASR/LibriSpeech/librispeech_withsp2/manifests/librivox-dev-clean.json
- /data/ASR/LibriSpeech/librispeech_withsp2/manifests/librivox-dev-other.json
- /data/ASR/LibriSpeech/librispeech_withsp2/manifests/librivox-test-clean.json
sample_rate: 16000
batch_size: 64
shuffle: false
num_workers: 8
pin_memory: true
use_start_end_token: false
is_tarred: false
tarred_audio_filepaths: na
[NeMo I 2022-08-30 22:17:02 features:200] PADDING: 0
[NeMo W 2022-08-30 22:17:03 nemo_logging:349] /opt/conda/lib/python3.8/site-packages/torchmetrics/utilities/prints.py:36: UserWarning: Torchmetrics v0.9 introduced a new argument class property called `full_state_update` that has
not been set for this class (WER). The property determines if `update` by
default needs access to the full metric state. If this is not the case, significant speedups can be
achieved and we recommend setting this to `False`.
We provide an checking function
`from torchmetrics.utilities import check_forward_no_full_state`
that can be used to check if the `full_state_update=True` (old and potential slower behaviour,
default for now) or if `full_state_update=False` can be used safely.
warnings.warn(*args, **kwargs)
[NeMo W 2022-08-30 22:17:03 nemo_logging:349] /opt/conda/lib/python3.8/site-packages/torchmetrics/utilities/prints.py:36: UserWarning: Torchmetrics v0.9 introduced a new argument class property called `full_state_update` that has
not been set for this class (WERBPE). The property determines if `update` by
default needs access to the full metric state. If this is not the case, significant speedups can be
achieved and we recommend setting this to `False`.
We provide an checking function
`from torchmetrics.utilities import check_forward_no_full_state`
that can be used to check if the `full_state_update=True` (old and potential slower behaviour,
default for now) or if `full_state_update=False` can be used safely.
warnings.warn(*args, **kwargs)
[NeMo I 2022-08-30 22:17:03 save_restore_connector:243] Model EncDecCTCModelBPE was successfully restored from /home/tarteel/.cache/torch/NeMo/NeMo_1.10.0/stt_en_conformer_ctc_small/5d2d8e5b2b5adb8f5091363c6ba19c55/stt_en_conformer_ctc_small.nemo.
[NeMo I 2022-08-30 22:17:03 export_utils:263] Swapped 96 modules
[NeMo W 2022-08-30 22:17:04 nemo_logging:349] /opt/conda/lib/python3.8/site-packages/torch/_jit_internal.py:669: LightningDeprecationWarning: The `LightningModule.model_size` property was deprecated in v1.5 and will be removed in v1.7. Please use the `pytorch_lightning.utilities.memory.get_model_size_mb`.
if hasattr(mod, name):
[NeMo W 2022-08-30 22:17:04 nemo_logging:349] /opt/conda/lib/python3.8/site-packages/torch/nn/modules/module.py:1402: UserWarning: positional arguments and argument "destination" are deprecated. nn.Module.state_dict will not accept them in the future. Refer to https://pytorch.org/docs/master/generated/torch.nn.Module.html#torch.nn.Module.state_dict for details.
warnings.warn(
[NeMo W 2022-08-30 22:17:04 nemo_logging:349] /opt/conda/lib/python3.8/site-packages/torch/nn/modules/module.py:1402: UserWarning: argument "destination" are deprecated. nn.Module.state_dict will not accept them in the future. Refer to https://pytorch.org/docs/master/generated/torch.nn.Module.html#torch.nn.Module.state_dict for details.
warnings.warn(
[NeMo W 2022-08-30 22:17:04 nemo_logging:349] /opt/conda/lib/python3.8/site-packages/torch/_jit_internal.py:670: LightningDeprecationWarning: The `LightningModule.model_size` property was deprecated in v1.5 and will be removed in v1.7. Please use the `pytorch_lightning.utilities.memory.get_model_size_mb`.
item = getattr(mod, name)
[NeMo W 2022-08-30 22:17:04 nemo_logging:349] /opt/conda/lib/python3.8/site-packages/torch/_jit_internal.py:669: LightningDeprecationWarning: `LightningModule.use_amp` was deprecated in v1.6 and will be removed in v1.8. Please use `Trainer.amp_backend`.
if hasattr(mod, name):
[NeMo W 2022-08-30 22:17:04 nemo_logging:349] /opt/conda/lib/python3.8/site-packages/torch/_jit_internal.py:670: LightningDeprecationWarning: `LightningModule.use_amp` was deprecated in v1.6 and will be removed in v1.8. Please use `Trainer.amp_backend`.
item = getattr(mod, name)
[NeMo W 2022-08-30 22:17:04 nemo_logging:349] /opt/conda/lib/python3.8/site-packages/nemo/collections/asr/modules/conformer_encoder.py:248: TracerWarning: Converting a tensor to a Python boolean might cause the trace to be incorrect. We can't record the data flow of Python values, so this value will be treated as a constant in the future. This means that the trace might not generalize to other inputs!
if max_audio_length > self.max_audio_length:
[NeMo I 2022-08-30 22:17:06 exportable:84] Successfully exported EncDecCTCModelBPE to /tmp/stt_en_conformer_ctc_small.pt
Traceback (most recent call last):
File "bug_nemo.py", line 12, in <module>
ts_model = torch.jit.load(f"/tmp/{model_name}.pt")
File "/opt/conda/lib/python3.8/site-packages/torch/jit/_serialization.py", line 162, in load
cpp_module = torch._C.import_ir_module(cu, str(f), map_location, _extra_files)
RuntimeError: required keyword attribute 'value' is undefined
```
**Expected behavior**
Export a CPU TorchScript model.
If `map_location=cpu` is removed, the exported GPU model works.
I’ve tried moving to CPU after loading it, with no success:
```
nemo_model = nemo_model.to(‘cpu’)
```
**Environment details**
Docker image: `nvcr.io/nvidia/nemo:22.05`
| {
"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/4844/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/4844/timeline | null | completed | false |
https://api.github.com/repos/NVIDIA/NeMo/issues/4843 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/4843/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/4843/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/4843/events | https://github.com/NVIDIA/NeMo/pull/4843 | 1,356,400,572 | PR_kwDOC_bI7s4-FNM8 | 4,843 | Fix providing glue in seq2seq eval | {
"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-08-30T22:35:49 | 2022-08-31T17:27:21 | 2022-08-31T17:27:17 | CONTRIBUTOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/4843",
"html_url": "https://github.com/NVIDIA/NeMo/pull/4843",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/4843.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/4843.patch",
"merged_at": "2022-08-31T17:27:17"
} | Signed-off-by: MaximumEntropy <[email protected]>
# What does this PR do ?
Fixes a bug that prevented doing GLUE fine-tuning eval.
**Collection**: NLP
# Changelog
- Add specific line by line info of high level changes in this PR.
# Usage
* You can potentially add a usage example below
```python
# Add a code snippet demonstrating how to use this
```
# 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/4843/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/4843/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/4842 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/4842/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/4842/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/4842/events | https://github.com/NVIDIA/NeMo/pull/4842 | 1,356,106,462 | PR_kwDOC_bI7s4-EMrw | 4,842 | Updates to adapter training | {
"login": "arendu",
"id": 108822655,
"node_id": "U_kgDOBnyAfw",
"avatar_url": "https://avatars.githubusercontent.com/u/108822655?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/arendu",
"html_url": "https://github.com/arendu",
"followers_url": "https://api.github.com/users/arendu/followers",
"following_url": "https://api.github.com/users/arendu/following{/other_user}",
"gists_url": "https://api.github.com/users/arendu/gists{/gist_id}",
"starred_url": "https://api.github.com/users/arendu/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/arendu/subscriptions",
"organizations_url": "https://api.github.com/users/arendu/orgs",
"repos_url": "https://api.github.com/users/arendu/repos",
"events_url": "https://api.github.com/users/arendu/events{/privacy}",
"received_events_url": "https://api.github.com/users/arendu/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | null | 2022-08-30T17:47:29 | 2022-09-02T21:15:54 | 2022-09-02T21:15:45 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/4842",
"html_url": "https://github.com/NVIDIA/NeMo/pull/4842",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/4842.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/4842.patch",
"merged_at": "2022-09-02T21:15:45"
} | # What does this PR do ?
Parallel adapter did not perform as well initially.
**Collection**: [NLP]
# Changelog
- Config now lets you select the type of initialization for ColumnLinear.
# Usage
* See #4717
# 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)
- [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": "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/4842/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/4842/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/4841 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/4841/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/4841/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/4841/events | https://github.com/NVIDIA/NeMo/pull/4841 | 1,356,087,161 | PR_kwDOC_bI7s4-EIhb | 4,841 | G2P docs | {
"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-08-30T17:28:17 | 2022-08-30T23:48:51 | 2022-08-30T23:48:48 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/4841",
"html_url": "https://github.com/NVIDIA/NeMo/pull/4841",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/4841.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/4841.patch",
"merged_at": "2022-08-30T23:48:48"
} | 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
- [ 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": "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/4841/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/4841/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/4840 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/4840/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/4840/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/4840/events | https://github.com/NVIDIA/NeMo/issues/4840 | 1,355,612,684 | I_kwDOC_bI7s5QzQIM | 4,840 | Why `.float()` is in `conformer_modules.py`? | {
"login": "grazder",
"id": 21354805,
"node_id": "MDQ6VXNlcjIxMzU0ODA1",
"avatar_url": "https://avatars.githubusercontent.com/u/21354805?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/grazder",
"html_url": "https://github.com/grazder",
"followers_url": "https://api.github.com/users/grazder/followers",
"following_url": "https://api.github.com/users/grazder/following{/other_user}",
"gists_url": "https://api.github.com/users/grazder/gists{/gist_id}",
"starred_url": "https://api.github.com/users/grazder/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/grazder/subscriptions",
"organizations_url": "https://api.github.com/users/grazder/orgs",
"repos_url": "https://api.github.com/users/grazder/repos",
"events_url": "https://api.github.com/users/grazder/events{/privacy}",
"received_events_url": "https://api.github.com/users/grazder/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"id": 4585431311,
"node_id": "LA_kwDOC_bI7s8AAAABEVAhDw",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/stale",
"name": "stale",
"color": "ededed",
"default": false,
"description": null
}
] | closed | false | {
"login": "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
} | [
{
"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
}
] | null | null | 2022-08-30T11:27:42 | 2022-11-15T02:10:07 | 2022-11-15T02:10:07 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | https://github.com/NVIDIA/NeMo/blob/eae1684f7f33c2a18de9ecfa42ec7db93d39e631/nemo/collections/asr/parts/submodules/conformer_modules.py#L259
Hi! I'm wondering why `.float()` is here. It seems like it will break code if both model parameters and input in float16 | {
"login": "github-actions[bot]",
"id": 41898282,
"node_id": "MDM6Qm90NDE4OTgyODI=",
"avatar_url": "https://avatars.githubusercontent.com/in/15368?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/github-actions%5Bbot%5D",
"html_url": "https://github.com/apps/github-actions",
"followers_url": "https://api.github.com/users/github-actions%5Bbot%5D/followers",
"following_url": "https://api.github.com/users/github-actions%5Bbot%5D/following{/other_user}",
"gists_url": "https://api.github.com/users/github-actions%5Bbot%5D/gists{/gist_id}",
"starred_url": "https://api.github.com/users/github-actions%5Bbot%5D/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/github-actions%5Bbot%5D/subscriptions",
"organizations_url": "https://api.github.com/users/github-actions%5Bbot%5D/orgs",
"repos_url": "https://api.github.com/users/github-actions%5Bbot%5D/repos",
"events_url": "https://api.github.com/users/github-actions%5Bbot%5D/events{/privacy}",
"received_events_url": "https://api.github.com/users/github-actions%5Bbot%5D/received_events",
"type": "Bot",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/4840/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/4840/timeline | null | not_planned | false |
https://api.github.com/repos/NVIDIA/NeMo/issues/4839 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/4839/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/4839/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/4839/events | https://github.com/NVIDIA/NeMo/pull/4839 | 1,355,579,387 | PR_kwDOC_bI7s4-Ca_7 | 4,839 | Fix small spelling mistakes | {
"login": "SeanNaren",
"id": 6707363,
"node_id": "MDQ6VXNlcjY3MDczNjM=",
"avatar_url": "https://avatars.githubusercontent.com/u/6707363?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/SeanNaren",
"html_url": "https://github.com/SeanNaren",
"followers_url": "https://api.github.com/users/SeanNaren/followers",
"following_url": "https://api.github.com/users/SeanNaren/following{/other_user}",
"gists_url": "https://api.github.com/users/SeanNaren/gists{/gist_id}",
"starred_url": "https://api.github.com/users/SeanNaren/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/SeanNaren/subscriptions",
"organizations_url": "https://api.github.com/users/SeanNaren/orgs",
"repos_url": "https://api.github.com/users/SeanNaren/repos",
"events_url": "https://api.github.com/users/SeanNaren/events{/privacy}",
"received_events_url": "https://api.github.com/users/SeanNaren/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"id": 1485815558,
"node_id": "MDU6TGFiZWwxNDg1ODE1NTU4",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/documentation",
"name": "documentation",
"color": "0075ca",
"default": true,
"description": "Improvements or additions to documentation"
}
] | closed | false | {
"login": "SeanNaren",
"id": 6707363,
"node_id": "MDQ6VXNlcjY3MDczNjM=",
"avatar_url": "https://avatars.githubusercontent.com/u/6707363?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/SeanNaren",
"html_url": "https://github.com/SeanNaren",
"followers_url": "https://api.github.com/users/SeanNaren/followers",
"following_url": "https://api.github.com/users/SeanNaren/following{/other_user}",
"gists_url": "https://api.github.com/users/SeanNaren/gists{/gist_id}",
"starred_url": "https://api.github.com/users/SeanNaren/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/SeanNaren/subscriptions",
"organizations_url": "https://api.github.com/users/SeanNaren/orgs",
"repos_url": "https://api.github.com/users/SeanNaren/repos",
"events_url": "https://api.github.com/users/SeanNaren/events{/privacy}",
"received_events_url": "https://api.github.com/users/SeanNaren/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"login": "SeanNaren",
"id": 6707363,
"node_id": "MDQ6VXNlcjY3MDczNjM=",
"avatar_url": "https://avatars.githubusercontent.com/u/6707363?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/SeanNaren",
"html_url": "https://github.com/SeanNaren",
"followers_url": "https://api.github.com/users/SeanNaren/followers",
"following_url": "https://api.github.com/users/SeanNaren/following{/other_user}",
"gists_url": "https://api.github.com/users/SeanNaren/gists{/gist_id}",
"starred_url": "https://api.github.com/users/SeanNaren/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/SeanNaren/subscriptions",
"organizations_url": "https://api.github.com/users/SeanNaren/orgs",
"repos_url": "https://api.github.com/users/SeanNaren/repos",
"events_url": "https://api.github.com/users/SeanNaren/events{/privacy}",
"received_events_url": "https://api.github.com/users/SeanNaren/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
}
] | null | null | 2022-08-30T11:00:40 | 2022-08-30T14:45:59 | 2022-08-30T14:41:48 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/4839",
"html_url": "https://github.com/NVIDIA/NeMo/pull/4839",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/4839.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/4839.patch",
"merged_at": "2022-08-30T14:41:48"
} | Signed-off-by: SeanNaren <[email protected]>
# What does this PR do ?
When going through the examples I saw these small spelling mistakes.
# Before your PR is "Ready for review"
**Pre checks**:
- [x] Make sure you read and followed [Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md)
- [ ] Did you write any new necessary tests?
- [ ] Did you add or update any necessary documentation?
- [ ] Does the PR affect components that are optional to install? (Ex: Numba, Pynini, Apex etc)
- [ ] Reviewer: Does the PR have correct import guards for all optional libraries?
**PR Type**:
- [ ] New Feature
- [ ] Bugfix
- [x] Documentation
If you haven't finished some of the above items you can still open "Draft" PR.
## Who can review?
Anyone in the community is free to review the PR once the checks have passed.
[Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md) contains specific people who can review PRs to various areas.
# Additional Information
* Related to # (issue)
| {
"login": "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/4839/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/4839/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/4838 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/4838/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/4838/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/4838/events | https://github.com/NVIDIA/NeMo/pull/4838 | 1,355,216,212 | PR_kwDOC_bI7s4-BMfb | 4,838 | Incorporate API change in TE | {
"login": "ksivaman",
"id": 36168853,
"node_id": "MDQ6VXNlcjM2MTY4ODUz",
"avatar_url": "https://avatars.githubusercontent.com/u/36168853?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ksivaman",
"html_url": "https://github.com/ksivaman",
"followers_url": "https://api.github.com/users/ksivaman/followers",
"following_url": "https://api.github.com/users/ksivaman/following{/other_user}",
"gists_url": "https://api.github.com/users/ksivaman/gists{/gist_id}",
"starred_url": "https://api.github.com/users/ksivaman/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ksivaman/subscriptions",
"organizations_url": "https://api.github.com/users/ksivaman/orgs",
"repos_url": "https://api.github.com/users/ksivaman/repos",
"events_url": "https://api.github.com/users/ksivaman/events{/privacy}",
"received_events_url": "https://api.github.com/users/ksivaman/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | null | 2022-08-30T06:05:14 | 2022-08-30T22:50:43 | 2022-08-30T22:50:38 | MEMBER | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/4838",
"html_url": "https://github.com/NVIDIA/NeMo/pull/4838",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/4838.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/4838.patch",
"merged_at": "2022-08-30T22:50:38"
} | Moves the `checkpoint_core_attention` argument to the forward pass instead of init to allow more flexibility in SAR, i.e. per layer setting. | {
"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/4838/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/4838/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/4837 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/4837/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/4837/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/4837/events | https://github.com/NVIDIA/NeMo/issues/4837 | 1,355,115,692 | I_kwDOC_bI7s5QxWys | 4,837 | Streaming conformer CTC ASR: is there an optimal audio duration per chunk? | {
"login": "leecming82",
"id": 95391408,
"node_id": "U_kgDOBa-OsA",
"avatar_url": "https://avatars.githubusercontent.com/u/95391408?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/leecming82",
"html_url": "https://github.com/leecming82",
"followers_url": "https://api.github.com/users/leecming82/followers",
"following_url": "https://api.github.com/users/leecming82/following{/other_user}",
"gists_url": "https://api.github.com/users/leecming82/gists{/gist_id}",
"starred_url": "https://api.github.com/users/leecming82/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/leecming82/subscriptions",
"organizations_url": "https://api.github.com/users/leecming82/orgs",
"repos_url": "https://api.github.com/users/leecming82/repos",
"events_url": "https://api.github.com/users/leecming82/events{/privacy}",
"received_events_url": "https://api.github.com/users/leecming82/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | null | 2022-08-30T03:30:38 | 2022-09-01T01:11:29 | 2022-09-01T01:11:29 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | If I'm chunking audio (with context audio at the sides) to handle long audio files, is there an optimal chunk duration (e.g. 30 seconds, 15 seconds) or does it not matter?
I've noticed fairly different predictions between the two aforementioned durations | {
"login": "leecming82",
"id": 95391408,
"node_id": "U_kgDOBa-OsA",
"avatar_url": "https://avatars.githubusercontent.com/u/95391408?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/leecming82",
"html_url": "https://github.com/leecming82",
"followers_url": "https://api.github.com/users/leecming82/followers",
"following_url": "https://api.github.com/users/leecming82/following{/other_user}",
"gists_url": "https://api.github.com/users/leecming82/gists{/gist_id}",
"starred_url": "https://api.github.com/users/leecming82/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/leecming82/subscriptions",
"organizations_url": "https://api.github.com/users/leecming82/orgs",
"repos_url": "https://api.github.com/users/leecming82/repos",
"events_url": "https://api.github.com/users/leecming82/events{/privacy}",
"received_events_url": "https://api.github.com/users/leecming82/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/4837/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/4837/timeline | null | completed | false |
https://api.github.com/repos/NVIDIA/NeMo/issues/4836 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/4836/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/4836/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/4836/events | https://github.com/NVIDIA/NeMo/issues/4836 | 1,355,110,714 | I_kwDOC_bI7s5QxVk6 | 4,836 | Check if conda is active rather than if it is present - reinstall.sh | {
"login": "anand-nv",
"id": 105917641,
"node_id": "U_kgDOBlAsyQ",
"avatar_url": "https://avatars.githubusercontent.com/u/105917641?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/anand-nv",
"html_url": "https://github.com/anand-nv",
"followers_url": "https://api.github.com/users/anand-nv/followers",
"following_url": "https://api.github.com/users/anand-nv/following{/other_user}",
"gists_url": "https://api.github.com/users/anand-nv/gists{/gist_id}",
"starred_url": "https://api.github.com/users/anand-nv/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/anand-nv/subscriptions",
"organizations_url": "https://api.github.com/users/anand-nv/orgs",
"repos_url": "https://api.github.com/users/anand-nv/repos",
"events_url": "https://api.github.com/users/anand-nv/events{/privacy}",
"received_events_url": "https://api.github.com/users/anand-nv/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": "nithinraok",
"id": 19668129,
"node_id": "MDQ6VXNlcjE5NjY4MTI5",
"avatar_url": "https://avatars.githubusercontent.com/u/19668129?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/nithinraok",
"html_url": "https://github.com/nithinraok",
"followers_url": "https://api.github.com/users/nithinraok/followers",
"following_url": "https://api.github.com/users/nithinraok/following{/other_user}",
"gists_url": "https://api.github.com/users/nithinraok/gists{/gist_id}",
"starred_url": "https://api.github.com/users/nithinraok/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/nithinraok/subscriptions",
"organizations_url": "https://api.github.com/users/nithinraok/orgs",
"repos_url": "https://api.github.com/users/nithinraok/repos",
"events_url": "https://api.github.com/users/nithinraok/events{/privacy}",
"received_events_url": "https://api.github.com/users/nithinraok/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"login": "nithinraok",
"id": 19668129,
"node_id": "MDQ6VXNlcjE5NjY4MTI5",
"avatar_url": "https://avatars.githubusercontent.com/u/19668129?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/nithinraok",
"html_url": "https://github.com/nithinraok",
"followers_url": "https://api.github.com/users/nithinraok/followers",
"following_url": "https://api.github.com/users/nithinraok/following{/other_user}",
"gists_url": "https://api.github.com/users/nithinraok/gists{/gist_id}",
"starred_url": "https://api.github.com/users/nithinraok/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/nithinraok/subscriptions",
"organizations_url": "https://api.github.com/users/nithinraok/orgs",
"repos_url": "https://api.github.com/users/nithinraok/repos",
"events_url": "https://api.github.com/users/nithinraok/events{/privacy}",
"received_events_url": "https://api.github.com/users/nithinraok/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
}
] | null | null | 2022-08-30T03:21:58 | 2022-09-21T04:25:00 | 2022-09-21T04:25:00 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | **Describe the bug**
https://github.com/NVIDIA/NeMo/blob/main/reinstall.sh#L27
This should check if conda is active (` [ -n "${CONDA_PREFIX}" ] `) rather than if conda is present (` [ -x "$(command -v conda)" ]
`).
Ref: https://conda.io/projects/conda/en/latest/user-guide/tasks/manage-environments.html
If conda is installed on a system, but a standard python virtual environment is being, this fails to install nemo correctly.
**Steps/Code to reproduce bug**
- Deactivate conda
- Create a python virtual environment
- Install Nemo in it | {
"login": "nithinraok",
"id": 19668129,
"node_id": "MDQ6VXNlcjE5NjY4MTI5",
"avatar_url": "https://avatars.githubusercontent.com/u/19668129?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/nithinraok",
"html_url": "https://github.com/nithinraok",
"followers_url": "https://api.github.com/users/nithinraok/followers",
"following_url": "https://api.github.com/users/nithinraok/following{/other_user}",
"gists_url": "https://api.github.com/users/nithinraok/gists{/gist_id}",
"starred_url": "https://api.github.com/users/nithinraok/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/nithinraok/subscriptions",
"organizations_url": "https://api.github.com/users/nithinraok/orgs",
"repos_url": "https://api.github.com/users/nithinraok/repos",
"events_url": "https://api.github.com/users/nithinraok/events{/privacy}",
"received_events_url": "https://api.github.com/users/nithinraok/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/4836/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/4836/timeline | null | completed | false |
https://api.github.com/repos/NVIDIA/NeMo/issues/4835 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/4835/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/4835/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/4835/events | https://github.com/NVIDIA/NeMo/pull/4835 | 1,354,939,404 | PR_kwDOC_bI7s4-ARtP | 4,835 | Updated inference code and squad scripts | {
"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-08-29T22:24:33 | 2022-09-01T18:37:31 | 2022-08-31T23:10:43 | CONTRIBUTOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/4835",
"html_url": "https://github.com/NVIDIA/NeMo/pull/4835",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/4835.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/4835.patch",
"merged_at": "2022-08-31T23:10:43"
} | Signed-off-by: Virginia Adams <[email protected]>
# What does this PR do ?
1. Updates squad preprocessing script and adds squad metric calculation script
2. Updates prompt learning inference script to write prediction to file
3. Turns off sequence parallel for GPT models trained with it
**Collection**: NLP
# Changelog
- Update squad preprocessing script
- Add squad metric calculation script
- Updates GPT prompt learning model class
- Updates prompt learning GPT eval script
- Updates T5 prompt learning model class
- Updates prompt learning T5 eval script
# Usage
* You can potentially add a usage example below
Updated gpt prompt learning eval command
```
python megatron_gpt_prompt_learning_eval.py \
virtual_prompt_model_file=PATH_TO_NEMO_PROMPT_LEARNING_MODEL_FILE \
gpt_model_file=PATH_TO_FROZEN_GPT_MODEL_FILE \
inference.greedy=True \
inference.add_BOS=False \
trainer.devices=1 \
trainer.num_nodes=1 \
tensor_model_parallel_size=1 \
pipeline_model_parallel_size=1 \
pred_file_path=PATH_WHERE_PRED_TEXT_FILE_WILL_BE_SAVED \
data_paths=[path/to/dataset1.jsonl, path/to/dataset2.jsonl]
```
Squad metric calculation script
```
python squad_metric_calc.py --ground-truth squad_test_gt.jsonl --preds squad_20B_preds.txt
```
# Before your PR is "Ready for review"
**Pre checks**:
- [ ] Make sure you read and followed [Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md)
- [ ] Did you write any new necessary tests?
- [ ] Did you add or update any necessary documentation?
- [ ] Does the PR affect components that are optional to install? (Ex: Numba, Pynini, Apex etc)
- [ ] Reviewer: Does the PR have correct import guards for all optional libraries?
**PR Type**:
- [x] New Feature
- [ ] Bugfix
- [ ] Documentation
If you haven't finished some of the above items you can still open "Draft" PR.
## Who can review?
Anyone in the community is free to review the PR once the checks have passed.
[Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md) contains specific people who can review PRs to various areas.
# Additional Information
* Related to # (issue) | {
"login": "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/4835/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/4835/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/4834 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/4834/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/4834/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/4834/events | https://github.com/NVIDIA/NeMo/pull/4834 | 1,354,777,870 | PR_kwDOC_bI7s49_u2p | 4,834 | add chinese to language doc and fix bug | {
"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-08-29T19:31:59 | 2022-08-30T15:38:25 | 2022-08-30T15:38:22 | CONTRIBUTOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/4834",
"html_url": "https://github.com/NVIDIA/NeMo/pull/4834",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/4834.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/4834.patch",
"merged_at": "2022-08-30T15:38:22"
} | Signed-off-by: Yang Zhang <[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": "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/4834/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/4834/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/4833 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/4833/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/4833/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/4833/events | https://github.com/NVIDIA/NeMo/pull/4833 | 1,354,772,318 | PR_kwDOC_bI7s49_tpH | 4,833 | wrap fp8_autocast around all layers for efficient amax aggregation | {
"login": "ksivaman",
"id": 36168853,
"node_id": "MDQ6VXNlcjM2MTY4ODUz",
"avatar_url": "https://avatars.githubusercontent.com/u/36168853?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ksivaman",
"html_url": "https://github.com/ksivaman",
"followers_url": "https://api.github.com/users/ksivaman/followers",
"following_url": "https://api.github.com/users/ksivaman/following{/other_user}",
"gists_url": "https://api.github.com/users/ksivaman/gists{/gist_id}",
"starred_url": "https://api.github.com/users/ksivaman/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ksivaman/subscriptions",
"organizations_url": "https://api.github.com/users/ksivaman/orgs",
"repos_url": "https://api.github.com/users/ksivaman/repos",
"events_url": "https://api.github.com/users/ksivaman/events{/privacy}",
"received_events_url": "https://api.github.com/users/ksivaman/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | null | 2022-08-29T19:26:17 | 2022-08-29T21:27:33 | 2022-08-29T21:27:30 | MEMBER | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/4833",
"html_url": "https://github.com/NVIDIA/NeMo/pull/4833",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/4833.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/4833.patch",
"merged_at": "2022-08-29T21:27:30"
} | Global reduction of amax tensors is costly, and TE has an optimization to aggregate amaxes per `fp8_autocast` call for both forward and backward. To make this as efficient as possible, this PR wraps an entire microbatch into `fp8_autocast`. | {
"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/4833/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/4833/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/4832 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/4832/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/4832/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/4832/events | https://github.com/NVIDIA/NeMo/issues/4832 | 1,354,297,940 | I_kwDOC_bI7s5QuPJU | 4,832 | Need Info on train dataset 'augmentor' key in the config.yml file. | {
"login": "evilc3",
"id": 19889717,
"node_id": "MDQ6VXNlcjE5ODg5NzE3",
"avatar_url": "https://avatars.githubusercontent.com/u/19889717?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/evilc3",
"html_url": "https://github.com/evilc3",
"followers_url": "https://api.github.com/users/evilc3/followers",
"following_url": "https://api.github.com/users/evilc3/following{/other_user}",
"gists_url": "https://api.github.com/users/evilc3/gists{/gist_id}",
"starred_url": "https://api.github.com/users/evilc3/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/evilc3/subscriptions",
"organizations_url": "https://api.github.com/users/evilc3/orgs",
"repos_url": "https://api.github.com/users/evilc3/repos",
"events_url": "https://api.github.com/users/evilc3/events{/privacy}",
"received_events_url": "https://api.github.com/users/evilc3/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | {
"login": "erastorgueva-nv",
"id": 80532067,
"node_id": "MDQ6VXNlcjgwNTMyMDY3",
"avatar_url": "https://avatars.githubusercontent.com/u/80532067?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/erastorgueva-nv",
"html_url": "https://github.com/erastorgueva-nv",
"followers_url": "https://api.github.com/users/erastorgueva-nv/followers",
"following_url": "https://api.github.com/users/erastorgueva-nv/following{/other_user}",
"gists_url": "https://api.github.com/users/erastorgueva-nv/gists{/gist_id}",
"starred_url": "https://api.github.com/users/erastorgueva-nv/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/erastorgueva-nv/subscriptions",
"organizations_url": "https://api.github.com/users/erastorgueva-nv/orgs",
"repos_url": "https://api.github.com/users/erastorgueva-nv/repos",
"events_url": "https://api.github.com/users/erastorgueva-nv/events{/privacy}",
"received_events_url": "https://api.github.com/users/erastorgueva-nv/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"login": "erastorgueva-nv",
"id": 80532067,
"node_id": "MDQ6VXNlcjgwNTMyMDY3",
"avatar_url": "https://avatars.githubusercontent.com/u/80532067?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/erastorgueva-nv",
"html_url": "https://github.com/erastorgueva-nv",
"followers_url": "https://api.github.com/users/erastorgueva-nv/followers",
"following_url": "https://api.github.com/users/erastorgueva-nv/following{/other_user}",
"gists_url": "https://api.github.com/users/erastorgueva-nv/gists{/gist_id}",
"starred_url": "https://api.github.com/users/erastorgueva-nv/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/erastorgueva-nv/subscriptions",
"organizations_url": "https://api.github.com/users/erastorgueva-nv/orgs",
"repos_url": "https://api.github.com/users/erastorgueva-nv/repos",
"events_url": "https://api.github.com/users/erastorgueva-nv/events{/privacy}",
"received_events_url": "https://api.github.com/users/erastorgueva-nv/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
}
] | null | null | 2022-08-29T13:26:10 | 2022-09-21T00:13:31 | 2022-09-21T00:13:31 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | Found this lines in the stt_es_conformer_ctc_large config file
'augmentor': {'noise': {'prob': 0.1, 'manifest_path': '/rir_noises_tarred/noises_20s_tarred/tarred_audio_manifest.json', 'audio_tar_filepaths': '/rir_noises_tarred/noises_20s_tarred/audio_{0..255}.tar', 'min_snr_db': 0, 'max_snr_db': 30}, 'transcode_aug': {'prob': 0.2}}, 'is_tarred': False, 'tarred_audio_filepaths': None, 'shuffle_n': 2048}
could not find reference of this key in any notebooks in the tutorial dir.
how to obtain these nose manifest ? (is this related to the online_noise_augmentation.ipynb notebook)?,
will setting this to none affect the new model being trained?
| {
"login": "jbalam-nv",
"id": 4916480,
"node_id": "MDQ6VXNlcjQ5MTY0ODA=",
"avatar_url": "https://avatars.githubusercontent.com/u/4916480?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jbalam-nv",
"html_url": "https://github.com/jbalam-nv",
"followers_url": "https://api.github.com/users/jbalam-nv/followers",
"following_url": "https://api.github.com/users/jbalam-nv/following{/other_user}",
"gists_url": "https://api.github.com/users/jbalam-nv/gists{/gist_id}",
"starred_url": "https://api.github.com/users/jbalam-nv/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbalam-nv/subscriptions",
"organizations_url": "https://api.github.com/users/jbalam-nv/orgs",
"repos_url": "https://api.github.com/users/jbalam-nv/repos",
"events_url": "https://api.github.com/users/jbalam-nv/events{/privacy}",
"received_events_url": "https://api.github.com/users/jbalam-nv/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/4832/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/4832/timeline | null | completed | false |
https://api.github.com/repos/NVIDIA/NeMo/issues/4831 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/4831/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/4831/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/4831/events | https://github.com/NVIDIA/NeMo/pull/4831 | 1,353,643,605 | PR_kwDOC_bI7s49750p | 4,831 | Riva itn 2.0 | {
"login": "anand-nv",
"id": 105917641,
"node_id": "U_kgDOBlAsyQ",
"avatar_url": "https://avatars.githubusercontent.com/u/105917641?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/anand-nv",
"html_url": "https://github.com/anand-nv",
"followers_url": "https://api.github.com/users/anand-nv/followers",
"following_url": "https://api.github.com/users/anand-nv/following{/other_user}",
"gists_url": "https://api.github.com/users/anand-nv/gists{/gist_id}",
"starred_url": "https://api.github.com/users/anand-nv/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/anand-nv/subscriptions",
"organizations_url": "https://api.github.com/users/anand-nv/orgs",
"repos_url": "https://api.github.com/users/anand-nv/repos",
"events_url": "https://api.github.com/users/anand-nv/events{/privacy}",
"received_events_url": "https://api.github.com/users/anand-nv/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"id": 4585431311,
"node_id": "LA_kwDOC_bI7s8AAAABEVAhDw",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/stale",
"name": "stale",
"color": "ededed",
"default": false,
"description": null
}
] | closed | false | null | [] | null | null | 2022-08-29T03:36:54 | 2022-12-29T01:57:22 | 2022-12-29T01:57:22 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/4831",
"html_url": "https://github.com/NVIDIA/NeMo/pull/4831",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/4831.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/4831.patch",
"merged_at": null
} | # What does this PR do ?
Update TN and ITN for ES to 2.0, add en_in (EN International, current Riva EN ITN 2.0)
**Collection**: nemo_text_processing
# Changelog
Add en_in ITN (current Riva EN ITN 2.0)
Update ES for TN and ITN to 2.0
**PR Type**:
- [X ] New Feature
- [X ] Bugfix
| {
"login": "github-actions[bot]",
"id": 41898282,
"node_id": "MDM6Qm90NDE4OTgyODI=",
"avatar_url": "https://avatars.githubusercontent.com/in/15368?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/github-actions%5Bbot%5D",
"html_url": "https://github.com/apps/github-actions",
"followers_url": "https://api.github.com/users/github-actions%5Bbot%5D/followers",
"following_url": "https://api.github.com/users/github-actions%5Bbot%5D/following{/other_user}",
"gists_url": "https://api.github.com/users/github-actions%5Bbot%5D/gists{/gist_id}",
"starred_url": "https://api.github.com/users/github-actions%5Bbot%5D/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/github-actions%5Bbot%5D/subscriptions",
"organizations_url": "https://api.github.com/users/github-actions%5Bbot%5D/orgs",
"repos_url": "https://api.github.com/users/github-actions%5Bbot%5D/repos",
"events_url": "https://api.github.com/users/github-actions%5Bbot%5D/events{/privacy}",
"received_events_url": "https://api.github.com/users/github-actions%5Bbot%5D/received_events",
"type": "Bot",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/4831/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/4831/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/4830 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/4830/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/4830/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/4830/events | https://github.com/NVIDIA/NeMo/pull/4830 | 1,353,528,304 | PR_kwDOC_bI7s497hE6 | 4,830 | clean warnings from tests and CI runs, and prepare for upgrade to PTL 1.8 | {
"login": "nithinraok",
"id": 19668129,
"node_id": "MDQ6VXNlcjE5NjY4MTI5",
"avatar_url": "https://avatars.githubusercontent.com/u/19668129?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/nithinraok",
"html_url": "https://github.com/nithinraok",
"followers_url": "https://api.github.com/users/nithinraok/followers",
"following_url": "https://api.github.com/users/nithinraok/following{/other_user}",
"gists_url": "https://api.github.com/users/nithinraok/gists{/gist_id}",
"starred_url": "https://api.github.com/users/nithinraok/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/nithinraok/subscriptions",
"organizations_url": "https://api.github.com/users/nithinraok/orgs",
"repos_url": "https://api.github.com/users/nithinraok/repos",
"events_url": "https://api.github.com/users/nithinraok/events{/privacy}",
"received_events_url": "https://api.github.com/users/nithinraok/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | null | 2022-08-29T00:53:43 | 2022-09-26T01:40:17 | 2022-09-26T01:39:59 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/4830",
"html_url": "https://github.com/NVIDIA/NeMo/pull/4830",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/4830.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/4830.patch",
"merged_at": "2022-09-26T01:39:59"
} | Signed-off-by: nithinraok <[email protected]>
# What does this PR do ?
Remove warnings from core and ASR code. NLP part needs more rework than expected.
**Collection**: Core, ASR
# Changelog
- [x] weights_save_path has been removed
- [x] Some changes on ptl self.log sync_dist = True
- [x] torch.qr -> torch.linalg.qr
- [x] on_pretrain_routine_start -> on_fit_start
- [x] Update most metrics to have full_state_update = True variable
- [x] Pytest remove with_downloads marker warning
- [x] regex escape sequence and np float deprecation
# 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
| {
"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/4830/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/4830/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/4829 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/4829/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/4829/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/4829/events | https://github.com/NVIDIA/NeMo/pull/4829 | 1,353,503,101 | PR_kwDOC_bI7s497cGm | 4,829 | adding loss normalization options to rnnt joint | {
"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-08-28T23:37:58 | 2022-10-08T00:23:02 | 2022-10-08T00:22:55 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/4829",
"html_url": "https://github.com/NVIDIA/NeMo/pull/4829",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/4829.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/4829.patch",
"merged_at": "2022-10-08T00:22:55"
} | # What does this PR do ?
Adds "mean" and "mean_volume" loss normalization options to RNNT Joint
**Collection**:
ASR
# Changelog
- Add specific line by line info of high level changes in this PR.
# Usage
In the config file, set `rnnt_reduction` to `mean`, `mean_batch` (same as the default today), or `mean_volume` in the `model` section
```python
# Add a code snippet demonstrating how to use this
rnnt_reduction: mean_batch
```
# 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": "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
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/4829/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/4829/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/4828 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/4828/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/4828/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/4828/events | https://github.com/NVIDIA/NeMo/issues/4828 | 1,353,412,597 | I_kwDOC_bI7s5Qq2_1 | 4,828 | [TTS][German] hydra.errors.InstantiationException: Error locating target 'nemo.collections.tts.torch.tts_tokenizers.GermanPhonemesTokenizer', see chained exception above. | {
"login": "eqikkwkp25-cyber",
"id": 73107516,
"node_id": "MDQ6VXNlcjczMTA3NTE2",
"avatar_url": "https://avatars.githubusercontent.com/u/73107516?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/eqikkwkp25-cyber",
"html_url": "https://github.com/eqikkwkp25-cyber",
"followers_url": "https://api.github.com/users/eqikkwkp25-cyber/followers",
"following_url": "https://api.github.com/users/eqikkwkp25-cyber/following{/other_user}",
"gists_url": "https://api.github.com/users/eqikkwkp25-cyber/gists{/gist_id}",
"starred_url": "https://api.github.com/users/eqikkwkp25-cyber/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/eqikkwkp25-cyber/subscriptions",
"organizations_url": "https://api.github.com/users/eqikkwkp25-cyber/orgs",
"repos_url": "https://api.github.com/users/eqikkwkp25-cyber/repos",
"events_url": "https://api.github.com/users/eqikkwkp25-cyber/events{/privacy}",
"received_events_url": "https://api.github.com/users/eqikkwkp25-cyber/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"id": 1485815557,
"node_id": "MDU6TGFiZWwxNDg1ODE1NTU3",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": "Something isn't working"
},
{
"id": 4418253970,
"node_id": "LA_kwDOC_bI7s8AAAABB1k0kg",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/TTS",
"name": "TTS",
"color": "49AF28",
"default": false,
"description": ""
}
] | closed | false | {
"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
} | [
{
"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
}
] | null | null | 2022-08-28T17:02:21 | 2022-09-09T01:38:37 | 2022-08-30T17:12:22 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | **Describe the bug**
German fastpitch model refers to non existing tokenizer
**Steps/Code to reproduce bug**
git clone https://github.com/NVIDIA/NeMo/
cd NeMo
python3.8 -m venv venv
source venv/bin/activate
pip3 install a-lot-of-missing-requirements when executing
python3 tts_german.py where inference code is as follows tts_german.py
```
import soundfile as sf
from nemo.collections.tts.models.base import SpectrogramGenerator, Vocoder
# Download and load the pretrained fastpitch model
spec_generator = SpectrogramGenerator.from_pretrained(model_name="tts_de_fastpitch_multispeaker_5")#.cuda()
# Download and load the pretrained hifigan model
vocoder = Vocoder.from_pretrained(model_name="tts_de_hui_hifigan_ft_fastpitch_multispeaker_5")#.cuda()
# All spectrogram generators start by parsing raw strings to a tokenized version of the string
parsed = spec_generator.parse("Hallo, magst du warme Milch trinken.")
# They then take the tokenized string and produce a spectrogram
spectrogram = spec_generator.generate_spectrogram(tokens=parsed)
# Finally, a vocoder converts the spectrogram to audio
audio = vocoder.convert_spectrogram_to_audio(spec=spectrogram)
# Save the audio to disk in a file called speech.wav
# Note vocoder return a batch of audio. In this example, we just take the first and only sample.
sf.write("speech.wav", audio.to('cpu').detach().numpy()[0], 44100)
```
**Expected behavior**
Generation of speech.wav
**Environment overview (please complete the following information)**
See above
**Environment details**
See above
**Add any other context about the problem here.**
Error message:
```
(venv) userxyz@linux-u01v:~/devel/tts/NeMo> python3 tts_german.py
[NeMo W 2022-08-28 17:44:54 optimizers:55] Apex was not found. Using the lamb or fused_adam optimizer will error out.
[NeMo W 2022-08-28 17:44:54 experimental:27] Module <class 'nemo_text_processing.g2p.modules.IPAG2P'> is experimental, not ready for production and is not fully supported. Use at your own risk.
[NeMo W 2022-08-28 17:44:54 experimental:27] Module <class 'nemo.collections.common.tokenizers.text_to_speech.tts_tokenizers.IPATokenizer'> is experimental, not ready for production and is not fully supported. Use at your own risk.
[NeMo W 2022-08-28 17:44:54 nemo_logging:349] /home/userxyz/devel/tts/NeMo/venv/lib64/python3.8/site-packages/torch/amp/autocast_mode.py:198: UserWarning: User provided device_type of 'cuda', but CUDA is not available. Disabling
warnings.warn('User provided device_type of \'cuda\', but CUDA is not available. Disabling')
[NeMo W 2022-08-28 17:44:54 experimental:27] Module <class 'nemo.collections.tts.models.radtts.RadTTSModel'> is experimental, not ready for production and is not fully supported. Use at your own risk.
[NeMo I 2022-08-28 17:44:54 cloud:56] Found existing object /home/userxyz/.cache/torch/NeMo/NeMo_1.12.0rc0/tts_de_fastpitch_multispeaker_5/cd9aa375555376d59f140d3fb4b23fb2/tts_de_fastpitch_multispeaker_5.nemo.
[NeMo I 2022-08-28 17:44:54 cloud:62] Re-using file from: /home/userxyz/.cache/torch/NeMo/NeMo_1.12.0rc0/tts_de_fastpitch_multispeaker_5/cd9aa375555376d59f140d3fb4b23fb2/tts_de_fastpitch_multispeaker_5.nemo
[NeMo I 2022-08-28 17:44:54 common:910] Instantiating model from pre-trained checkpoint
[NeMo I 2022-08-28 17:44:55 tokenize_and_classify:81] Creating ClassifyFst grammars. This might take some time...
[NeMo I 2022-08-28 17:45:14 tokenize_and_classify:81] Creating ClassifyFst grammars. This might take some time...
[NeMo E 2022-08-28 17:45:33 common:503] Model instantiation failed!
Target class: nemo.collections.tts.models.fastpitch.FastPitchModel
Error(s): Error locating target 'nemo.collections.tts.torch.tts_tokenizers.GermanPhonemesTokenizer', see chained exception above.
full_key: text_tokenizer
Traceback (most recent call last):
File "/home/userxyz/devel/tts/NeMo/venv/lib64/python3.8/site-packages/hydra/_internal/utils.py", line 645, in _locate
obj = import_module(mod)
File "/usr/lib64/python3.8/importlib/__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
File "<frozen importlib._bootstrap>", line 991, in _find_and_load
File "<frozen importlib._bootstrap>", line 970, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'nemo.collections.tts.torch.tts_tokenizers.GermanPhonemesTokenizer'; 'nemo.collections.tts.torch.tts_tokenizers' is not a package
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/userxyz/devel/tts/NeMo/venv/lib64/python3.8/site-packages/hydra/_internal/instantiate/_instantiate2.py", line 134, in _resolve_target
target = _locate(target)
File "/home/userxyz/devel/tts/NeMo/venv/lib64/python3.8/site-packages/hydra/_internal/utils.py", line 648, in _locate
raise ImportError(
ImportError: Error loading 'nemo.collections.tts.torch.tts_tokenizers.GermanPhonemesTokenizer':
ModuleNotFoundError("No module named 'nemo.collections.tts.torch.tts_tokenizers.GermanPhonemesTokenizer'; 'nemo.collections.tts.torch.tts_tokenizers' is not a package")
Are you sure that 'GermanPhonemesTokenizer' is importable from module 'nemo.collections.tts.torch.tts_tokenizers'?
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/userxyz/devel/tts/NeMo/nemo/core/classes/common.py", line 482, in from_config_dict
instance = imported_cls(cfg=config, trainer=trainer)
File "/home/userxyz/devel/tts/NeMo/nemo/collections/tts/models/fastpitch.py", line 95, in __init__
self._setup_tokenizer(cfg)
File "/home/userxyz/devel/tts/NeMo/nemo/collections/tts/models/fastpitch.py", line 199, in _setup_tokenizer
self.vocab = instantiate(cfg.text_tokenizer, **text_tokenizer_kwargs)
File "/home/userxyz/devel/tts/NeMo/venv/lib64/python3.8/site-packages/hydra/_internal/instantiate/_instantiate2.py", line 222, in instantiate
return instantiate_node(
File "/home/userxyz/devel/tts/NeMo/venv/lib64/python3.8/site-packages/hydra/_internal/instantiate/_instantiate2.py", line 325, in instantiate_node
_target_ = _resolve_target(node.get(_Keys.TARGET), full_key)
File "/home/userxyz/devel/tts/NeMo/venv/lib64/python3.8/site-packages/hydra/_internal/instantiate/_instantiate2.py", line 139, in _resolve_target
raise InstantiationException(msg) from e
hydra.errors.InstantiationException: Error locating target 'nemo.collections.tts.torch.tts_tokenizers.GermanPhonemesTokenizer', see chained exception above.
full_key: text_tokenizer
Traceback (most recent call last):
File "/home/userxyz/devel/tts/NeMo/venv/lib64/python3.8/site-packages/hydra/_internal/utils.py", line 645, in _locate
obj = import_module(mod)
File "/usr/lib64/python3.8/importlib/__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
File "<frozen importlib._bootstrap>", line 991, in _find_and_load
File "<frozen importlib._bootstrap>", line 970, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'nemo.collections.tts.torch.tts_tokenizers.GermanPhonemesTokenizer'; 'nemo.collections.tts.torch.tts_tokenizers' is not a package
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/userxyz/devel/tts/NeMo/venv/lib64/python3.8/site-packages/hydra/_internal/instantiate/_instantiate2.py", line 134, in _resolve_target
target = _locate(target)
File "/home/userxyz/devel/tts/NeMo/venv/lib64/python3.8/site-packages/hydra/_internal/utils.py", line 648, in _locate
raise ImportError(
ImportError: Error loading 'nemo.collections.tts.torch.tts_tokenizers.GermanPhonemesTokenizer':
ModuleNotFoundError("No module named 'nemo.collections.tts.torch.tts_tokenizers.GermanPhonemesTokenizer'; 'nemo.collections.tts.torch.tts_tokenizers' is not a package")
Are you sure that 'GermanPhonemesTokenizer' is importable from module 'nemo.collections.tts.torch.tts_tokenizers'?
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "tts_german.py", line 5, in <module>
spec_generator = SpectrogramGenerator.from_pretrained(model_name="tts_de_fastpitch_multispeaker_5")#.cuda()
File "/home/userxyz/devel/tts/NeMo/nemo/core/classes/common.py", line 849, in from_pretrained
instance = class_.restore_from(
File "/home/userxyz/devel/tts/NeMo/nemo/core/classes/modelPT.py", line 311, in restore_from
instance = cls._save_restore_connector.restore_from(
File "/home/userxyz/devel/tts/NeMo/nemo/core/connectors/save_restore_connector.py", line 235, in restore_from
loaded_params = self.load_config_and_state_dict(
File "/home/userxyz/devel/tts/NeMo/nemo/core/connectors/save_restore_connector.py", line 158, in load_config_and_state_dict
instance = calling_cls.from_config_dict(config=conf, trainer=trainer)
File "/home/userxyz/devel/tts/NeMo/nemo/core/classes/common.py", line 504, in from_config_dict
raise e
File "/home/userxyz/devel/tts/NeMo/nemo/core/classes/common.py", line 496, in from_config_dict
instance = cls(cfg=config, trainer=trainer)
File "/home/userxyz/devel/tts/NeMo/nemo/collections/tts/models/fastpitch.py", line 95, in __init__
self._setup_tokenizer(cfg)
File "/home/userxyz/devel/tts/NeMo/nemo/collections/tts/models/fastpitch.py", line 199, in _setup_tokenizer
self.vocab = instantiate(cfg.text_tokenizer, **text_tokenizer_kwargs)
File "/home/userxyz/devel/tts/NeMo/venv/lib64/python3.8/site-packages/hydra/_internal/instantiate/_instantiate2.py", line 222, in instantiate
return instantiate_node(
File "/home/userxyz/devel/tts/NeMo/venv/lib64/python3.8/site-packages/hydra/_internal/instantiate/_instantiate2.py", line 325, in instantiate_node
_target_ = _resolve_target(node.get(_Keys.TARGET), full_key)
File "/home/userxyz/devel/tts/NeMo/venv/lib64/python3.8/site-packages/hydra/_internal/instantiate/_instantiate2.py", line 139, in _resolve_target
raise InstantiationException(msg) from e
hydra.errors.InstantiationException: Error locating target 'nemo.collections.tts.torch.tts_tokenizers.GermanPhonemesTokenizer', see chained exception above.
full_key: text_tokenizer
``` | {
"login": "eqikkwkp25-cyber",
"id": 73107516,
"node_id": "MDQ6VXNlcjczMTA3NTE2",
"avatar_url": "https://avatars.githubusercontent.com/u/73107516?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/eqikkwkp25-cyber",
"html_url": "https://github.com/eqikkwkp25-cyber",
"followers_url": "https://api.github.com/users/eqikkwkp25-cyber/followers",
"following_url": "https://api.github.com/users/eqikkwkp25-cyber/following{/other_user}",
"gists_url": "https://api.github.com/users/eqikkwkp25-cyber/gists{/gist_id}",
"starred_url": "https://api.github.com/users/eqikkwkp25-cyber/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/eqikkwkp25-cyber/subscriptions",
"organizations_url": "https://api.github.com/users/eqikkwkp25-cyber/orgs",
"repos_url": "https://api.github.com/users/eqikkwkp25-cyber/repos",
"events_url": "https://api.github.com/users/eqikkwkp25-cyber/events{/privacy}",
"received_events_url": "https://api.github.com/users/eqikkwkp25-cyber/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/4828/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/4828/timeline | null | completed | false |
https://api.github.com/repos/NVIDIA/NeMo/issues/4827 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/4827/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/4827/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/4827/events | https://github.com/NVIDIA/NeMo/pull/4827 | 1,353,145,416 | PR_kwDOC_bI7s496XHe | 4,827 | adding instancenorm as an option for conv normalization | {
"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-08-27T21:10:39 | 2022-08-30T04:23:05 | 2022-08-30T04:23:01 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/4827",
"html_url": "https://github.com/NVIDIA/NeMo/pull/4827",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/4827.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/4827.patch",
"merged_at": "2022-08-30T04:23:01"
} | # What does this PR do ?
Adds instancenorm as an option for conv normalization
**Collection**: ASR
# Changelog
- nemo/collections/asr/parts/submodules/conformer_modules.py - accept `instance_norm` as an accepted config parameter value for ```model.encoder.conv_norm_type```
# Usage
* In config file, set ```model.encoder.conv_norm_type=instance_norm```
```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/4827/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/4827/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/4826 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/4826/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/4826/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/4826/events | https://github.com/NVIDIA/NeMo/pull/4826 | 1,352,935,436 | PR_kwDOC_bI7s495wmI | 4,826 | [Chinese text normalization]Chinese TN part in text_normalization | {
"login": "mzxcpp",
"id": 59506191,
"node_id": "MDQ6VXNlcjU5NTA2MTkx",
"avatar_url": "https://avatars.githubusercontent.com/u/59506191?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mzxcpp",
"html_url": "https://github.com/mzxcpp",
"followers_url": "https://api.github.com/users/mzxcpp/followers",
"following_url": "https://api.github.com/users/mzxcpp/following{/other_user}",
"gists_url": "https://api.github.com/users/mzxcpp/gists{/gist_id}",
"starred_url": "https://api.github.com/users/mzxcpp/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mzxcpp/subscriptions",
"organizations_url": "https://api.github.com/users/mzxcpp/orgs",
"repos_url": "https://api.github.com/users/mzxcpp/repos",
"events_url": "https://api.github.com/users/mzxcpp/events{/privacy}",
"received_events_url": "https://api.github.com/users/mzxcpp/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | null | 2022-08-27T04:12:35 | 2022-08-29T19:27:44 | 2022-08-29T19:27:44 | CONTRIBUTOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/4826",
"html_url": "https://github.com/NVIDIA/NeMo/pull/4826",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/4826.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/4826.patch",
"merged_at": "2022-08-29T19:27:44"
} | This PR continues https://github.com/NVIDIA/NeMo/issues/4543 & https://github.com/NVIDIA/NeMo/pull/4638 & https://github.com/NVIDIA/NeMo/pull/4683
What does this PR do ?
Add Chinese Text Normalization Tools in NeMo
Collection:
[NeMo/norm_text_processing/text_normalization]
[NeMo/tools/text_processing_deployment]
[NeMo/tests/nemo_text_processing/zh]
| {
"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/4826/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/4826/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/4825 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/4825/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/4825/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/4825/events | https://github.com/NVIDIA/NeMo/pull/4825 | 1,352,870,849 | PR_kwDOC_bI7s495ixh | 4,825 | Prompt Learning Eval Updates | {
"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-08-27T00:44:41 | 2022-08-31T23:11:31 | 2022-08-31T23:11:25 | CONTRIBUTOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/4825",
"html_url": "https://github.com/NVIDIA/NeMo/pull/4825",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/4825.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/4825.patch",
"merged_at": null
} | Signed-off-by: Virginia Adams <[email protected]>
# What does this PR do ?
1. Updates squad preprocessing script and adds squad metric calculation script
2. Updates prompt learning inference script to write prediction to file
3. Turns off sequence parallel for GPT models trained with it
**Collection**: NLP
# Changelog
- Update squad preprocessing script
- Add squad metric calculation script
- Updates GPT prompt learning model class
- Updates prompt learning GPT eval script
# Usage
* You can potentially add a usage example below
Updated gpt prompt learning eval command
```
python megatron_gpt_prompt_learning_eval.py \
virtual_prompt_model_file=PATH_TO_NEMO_PROMPT_LEARNING_MODEL_FILE \
gpt_model_file=PATH_TO_FROZEN_GPT_MODEL_FILE \
inference.greedy=True \
inference.add_BOS=False \
trainer.devices=1 \
trainer.num_nodes=1 \
tensor_model_parallel_size=1 \
pipeline_model_parallel_size=1 \
pred_file_path=PATH_WHERE_PRED_TEXT_FILE_WILL_BE_SAVED \
data_paths=[path/to/dataset1.jsonl, path/to/dataset2.jsonl]
```
Squad metric calculation script
```
python squad_metric_calc.py --ground-truth squad_test_gt.jsonl --preds squad_20B_preds.txt
```
# Before your PR is "Ready for review"
**Pre checks**:
- [ ] Make sure you read and followed [Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md)
- [ ] Did you write any new necessary tests?
- [ ] Did you add or update any necessary documentation?
- [ ] Does the PR affect components that are optional to install? (Ex: Numba, Pynini, Apex etc)
- [ ] Reviewer: Does the PR have correct import guards for all optional libraries?
**PR Type**:
- [x] New Feature
- [ ] Bugfix
- [ ] Documentation
If you haven't finished some of the above items you can still open "Draft" PR.
## Who can review?
Anyone in the community is free to review the PR once the checks have passed.
[Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md) contains specific people who can review PRs to various areas.
# Additional Information
* Related to # (issue)
| {
"login": "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/4825/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/4825/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/4824 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/4824/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/4824/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/4824/events | https://github.com/NVIDIA/NeMo/pull/4824 | 1,352,848,249 | PR_kwDOC_bI7s495dcW | 4,824 | [ASR] Fix for multi-channel signals in AudioSegment | {
"login": "anteju",
"id": 108555623,
"node_id": "U_kgDOBnhtZw",
"avatar_url": "https://avatars.githubusercontent.com/u/108555623?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/anteju",
"html_url": "https://github.com/anteju",
"followers_url": "https://api.github.com/users/anteju/followers",
"following_url": "https://api.github.com/users/anteju/following{/other_user}",
"gists_url": "https://api.github.com/users/anteju/gists{/gist_id}",
"starred_url": "https://api.github.com/users/anteju/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/anteju/subscriptions",
"organizations_url": "https://api.github.com/users/anteju/orgs",
"repos_url": "https://api.github.com/users/anteju/repos",
"events_url": "https://api.github.com/users/anteju/events{/privacy}",
"received_events_url": "https://api.github.com/users/anteju/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | null | 2022-08-27T00:23:51 | 2022-09-06T18:31:37 | 2022-09-06T18:31:36 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/4824",
"html_url": "https://github.com/NVIDIA/NeMo/pull/4824",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/4824.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/4824.patch",
"merged_at": "2022-09-06T18:31:36"
} | Signed-off-by: Ante Jukić <[email protected]>
# What does this PR do ?
Currently, `AudioSegment` aims to do channel averaging for multi-channel audio signals:
```
if self._samples.ndim >= 2:
self._samples = np.mean(self._samples, 1)
```
However, samples in its constructor are arranged as `(num_channels, num_samples)`, instead of the assumed `(num_samples, num_channels)`. This means that `samples` of the created `AudioSegment` will have an unexpected size, and also ASR will fail when running `transcribe` on a multi-channel audio signal.
This can be tested by running `test_audiosegment.py` and `test_asr_multi_channel_audio.py` from the attached scripts in [test_audiosegment_with_channel_selector.zip](https://github.com/NVIDIA/NeMo/files/9458412/test_audiosegment_with_channel_selector.zip)
**Collection**: ASR
# Changelog
### Necessary fix in `AudioSegment`
- correction to dimension ordering for multi-channel audio
- added a new parameter `channel_selector` which can be used to select a single-channel (or a subset of channels) from a multi-channel audio signal
- added unit tests for both channel selector and AudioSegment
Changes above are in `segment.py` and `audio_utils.py` and tests are in `test_preprocessing_segment.py` and `test_audio_utils.py`.
### Nice to have: `channel_selector` for `transcribe`
- Added a `channel_selector` option to `transcribe`, and forwarded it through models, audio-to-text dataset and `WaveformFeaturizer` to `AudioSegment`
- This is a convenience when running an existing model on a multi-channel audio file, we can select either one of the channels or the channel-wise average.
If preferred, this can be removed from the PR.
# Usage
* Check the attached scripts: [test_audiosegment_with_channel_selector.zip](https://github.com/NVIDIA/NeMo/files/9458412/test_audiosegment_with_channel_selector.zip)
## Example: `AudioSegment`
- Check `test_audiosegment.py`
```python
AudioSegment.from_file(audio_file) # loads the complete signal (including all channels)
AudioSegment.from_file(audio_file, channel_selector='average') # loads a single-channel signal (average across channels)
AudioSegment.from_file(audio_file, channel_selector=0) # loads only first channel
```
## Example: `AudioSegment`
- Check `test_asr_with_channel_selector.py`
```python
asr_model.transcribe(mc_files, channel_selector='average') # apply channel averaging when loading audio
```
# Tests
- Existing unit tests + newly-added unit tests
- Compared transcription using single-channel signal matches between `main` and `fix` branch for wav, flac, mp3 input (`test_asr_formats.py`, attached)
- Compared transcription of a channel from a multi-channel signal is matching transcription using a single-channel input signal (`test_asr_with_channel_selector.py`, attached)
- Tutorials `ASR_with_NeMo.ipynb` and `ASR_with_Transducers.ipynb` running fine with the `fix` branch
# 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
- [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
* n/a
| {
"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/4824/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/4824/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/4823 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/4823/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/4823/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/4823/events | https://github.com/NVIDIA/NeMo/pull/4823 | 1,352,844,459 | PR_kwDOC_bI7s495cjU | 4,823 | Update diarization folder structure | {
"login": "tango4j",
"id": 13211483,
"node_id": "MDQ6VXNlcjEzMjExNDgz",
"avatar_url": "https://avatars.githubusercontent.com/u/13211483?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tango4j",
"html_url": "https://github.com/tango4j",
"followers_url": "https://api.github.com/users/tango4j/followers",
"following_url": "https://api.github.com/users/tango4j/following{/other_user}",
"gists_url": "https://api.github.com/users/tango4j/gists{/gist_id}",
"starred_url": "https://api.github.com/users/tango4j/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/tango4j/subscriptions",
"organizations_url": "https://api.github.com/users/tango4j/orgs",
"repos_url": "https://api.github.com/users/tango4j/repos",
"events_url": "https://api.github.com/users/tango4j/events{/privacy}",
"received_events_url": "https://api.github.com/users/tango4j/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | null | 2022-08-27T00:19:55 | 2022-09-01T01:42:30 | 2022-09-01T01:37:55 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/4823",
"html_url": "https://github.com/NVIDIA/NeMo/pull/4823",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/4823.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/4823.patch",
"merged_at": "2022-09-01T01:37:55"
} | # What does this PR do ?
This PR updates the folder structure of example/speaker_task/diarization folder.
<img width="369" alt="image" src="https://user-images.githubusercontent.com/13211483/187006224-6ac5993b-e6b2-4ac2-85d5-c66208850983.png">
**Collection**: [Note which collection this PR will affect]
ASR (speaker tasks)
# Changelog
- yaml files in diarization example folder
- changed the names in the diarization example folder.
- changed related parts in docs
- updated yaml paths in tutorials
# Usage
Usage can be found in README.md file in example diarization folder
# 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.
## 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": "tango4j",
"id": 13211483,
"node_id": "MDQ6VXNlcjEzMjExNDgz",
"avatar_url": "https://avatars.githubusercontent.com/u/13211483?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tango4j",
"html_url": "https://github.com/tango4j",
"followers_url": "https://api.github.com/users/tango4j/followers",
"following_url": "https://api.github.com/users/tango4j/following{/other_user}",
"gists_url": "https://api.github.com/users/tango4j/gists{/gist_id}",
"starred_url": "https://api.github.com/users/tango4j/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/tango4j/subscriptions",
"organizations_url": "https://api.github.com/users/tango4j/orgs",
"repos_url": "https://api.github.com/users/tango4j/repos",
"events_url": "https://api.github.com/users/tango4j/events{/privacy}",
"received_events_url": "https://api.github.com/users/tango4j/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/4823/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/4823/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/4822 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/4822/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/4822/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/4822/events | https://github.com/NVIDIA/NeMo/pull/4822 | 1,352,608,391 | PR_kwDOC_bI7s494pif | 4,822 | fix type error in rnnt_wer.py, rnnt_wer_bpe.py, wer_bpe.py | {
"login": "hainan-xv",
"id": 5440014,
"node_id": "MDQ6VXNlcjU0NDAwMTQ=",
"avatar_url": "https://avatars.githubusercontent.com/u/5440014?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/hainan-xv",
"html_url": "https://github.com/hainan-xv",
"followers_url": "https://api.github.com/users/hainan-xv/followers",
"following_url": "https://api.github.com/users/hainan-xv/following{/other_user}",
"gists_url": "https://api.github.com/users/hainan-xv/gists{/gist_id}",
"starred_url": "https://api.github.com/users/hainan-xv/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/hainan-xv/subscriptions",
"organizations_url": "https://api.github.com/users/hainan-xv/orgs",
"repos_url": "https://api.github.com/users/hainan-xv/repos",
"events_url": "https://api.github.com/users/hainan-xv/events{/privacy}",
"received_events_url": "https://api.github.com/users/hainan-xv/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | null | 2022-08-26T18:34:45 | 2022-08-30T03:04:12 | 2022-08-26T20:35:25 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/4822",
"html_url": "https://github.com/NVIDIA/NeMo/pull/4822",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/4822.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/4822.patch",
"merged_at": "2022-08-26T20:35:25"
} | # What does this PR do ?
Add a one line overview of what this PR aims to accomplish.
Fix float/integer type error in wer computation. Similar to PR https://github.com/NVIDIA/NeMo/pull/4816 but on different files.
# Changelog
Fix type errors in file rnnt_wer.py, rnnt_wer_bpe.py, wer_bpe.py.
# 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": "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/4822/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/4822/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/4821 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/4821/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/4821/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/4821/events | https://github.com/NVIDIA/NeMo/pull/4821 | 1,352,560,402 | PR_kwDOC_bI7s494fL_ | 4,821 | Asr codeswitch | {
"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-08-26T17:41:55 | 2022-09-27T22:16:43 | 2022-09-27T22:16:39 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/4821",
"html_url": "https://github.com/NVIDIA/NeMo/pull/4821",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/4821.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/4821.patch",
"merged_at": "2022-09-27T22:16:39"
} | # What does this PR do ?
Enables manifest processing / multilingual model training where there is more than one language ID per sample
**Collection**: [Note which collection this PR will affect]
ASR
# Changelog
- [audio_to_text.py] modified to parse the manifest in the new format
- [collections.py] modified to not require global lang id per sample in this case (since lang id will be specified on each text span)
# Usage
Use manifest format as shown below. No other code changes required.
```json
{"audio_filepath": "_data_cs_constructed_data_v1_0.wav", "shard_id": 168, "duration": 17.715125, "text": [{"lang": "es", "str": "es probablemente la amiga de puck que m\u00e1s aparece y m\u00e1s presencia tiene "}, {"lang": "en", "str": "she might have gone on but that she caught kinraid's eyes looking at her with kindly admiration "}, {"lang": "es", "str": "o las que tienes de estar con alguien que no lo es porque"}]}
```
# Before your PR is "Ready for review"
**Pre checks**:
- [ ] Make sure you read and followed [Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md)
- [ ] Did you write any new necessary tests?
- [ ] Did you add or update any necessary documentation?
- [ ] Does the PR affect components that are optional to install? (Ex: Numba, Pynini, Apex etc)
- [ ] Reviewer: Does the PR have correct import guards for all optional libraries?
**PR Type**:
- [X ] New Feature
- [ ] Bugfix
- [ ] Documentation
If you haven't finished some of the above items you can still open "Draft" PR.
## Who can review?
Anyone in the community is free to review the PR once the checks have passed.
[Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md) contains specific people who can review PRs to various areas.
# Additional Information
* Related to # (issue)
| {
"login": "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
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/4821/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/4821/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/4820 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/4820/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/4820/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/4820/events | https://github.com/NVIDIA/NeMo/pull/4820 | 1,352,546,254 | PR_kwDOC_bI7s494cO1 | 4,820 | Lids | {
"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-08-26T17:24:39 | 2022-10-02T14:41:27 | 2022-10-02T14:41:21 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/4820",
"html_url": "https://github.com/NVIDIA/NeMo/pull/4820",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/4820.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/4820.patch",
"merged_at": "2022-10-02T14:41:21"
} | # What does this PR do ?
Enable optional output of language IDs during AASR transcription / inference
**Collection**: [Note which collection this PR will affect]
ASR
# Changelog
- Aggregate tokenizer modified so that it can output token and sample LIDs
- rnnt_wer.py modified to handle the compute_langs flag and produce output
- rnnt_wer_bpe.py modified to handle the compute_langs flag and produce output
# Usage
See the sample code below. This works similar to timestamp output.
```
# Run this:
# python langs.py
# Sample output
Transcription: o que es demasiado ruidosa o que tiene palabras que no deberían de ponerlas en canciones porque es como
Langs: es
Langs chars [{'char': ' o', 'lang': 'es'}, {'char': ' que', 'lang': 'es'}, {'char': ' es', 'lang': 'es'}, {'char': ' de', 'lang': 'es'}, {'char': 'ma', 'lang': 'es'}, {'char': 's', 'lang': 'es'}, {'char': 'i', 'lang': 'es'}, {'char': 'ado', 'lang': 'es'}, {'char': ' ru', 'lang': 'es'}, {'char': 'ido', 'lang': 'es'}, {'char': 's', 'lang': 'es'}, {'char': 'a', 'lang': 'es'}, {'char': ' o', 'lang': 'es'}, {'char': ' que', 'lang': 'es'}, {'char': ' tiene', 'lang': 'es'}, {'char': ' palabra', 'lang': 'es'}, {'char': 's', 'lang': 'es'}, {'char': ' que', 'lang': 'es'}, {'char': ' no', 'lang': 'es'}, {'char': ' debe', 'lang': 'es'}, {'char': 'ría', 'lang': 'es'}, {'char': 'n', 'lang': 'es'}, {'char': ' de', 'lang': 'es'}, {'char': ' poner', 'lang': 'es'}, {'char': 'las', 'lang': 'es'}, {'char': ' en', 'lang': 'es'}, {'char': ' can', 'lang': 'es'}, {'char': 'ciones', 'lang': 'es'}, {'char': ' porque', 'lang': 'es'}, {'char': ' es', 'lang': 'es'}, {'char': ' como', 'lang': 'es'}]
Langs words [{'word': ' o', 'lang': 'es'}, {'word': ' que', 'lang': 'es'}, {'word': ' es', 'lang': 'es'}, {'word': ' demasiado', 'lang': 'es'}, {'word': ' ruidosa', 'lang': 'es'}, {'word': ' o', 'lang': 'es'}, {'word': ' que', 'lang': 'es'}, {'word': ' tiene', 'lang': 'es'}, {'word': ' palabras', 'lang': 'es'}, {'word': ' que', 'lang': 'es'}, {'word': ' no', 'lang': 'es'}, {'word': ' deberían', 'lang': 'es'}, {'word': ' de', 'lang': 'es'}, {'word': ' ponerlas', 'lang': 'es'}, {'word': ' en', 'lang': 'es'}, {'word': ' canciones', 'lang': 'es'}, {'word': ' porque', 'lang': 'es'}, {'word': ' es', 'lang': 'es'}, {'word': ' como', 'lang': 'es'}]
```
```python
import pytorch_lightning as pl
from omegaconf import OmegaConf, open_dict
from nemo.collections.asr.models import ASRModel
def main():
trainer = pl.Trainer(gpus=[0], precision=32, logger=False)
# Char model
# path = "Path to char model"
# Multilingual model
path = "/data3/models/enes_agg_277e.nemo"
asr_model = ASRModel.restore_from(path, trainer=trainer, map_location='cpu')
asr_model.eval()
asr_model.freeze()
asr_model.preprocessor.featurizer.dither = 0.0
asr_model.preprocessor.featurizer.pad_to = 0
decoding_cfg = OmegaConf.create({})
with open_dict(decoding_cfg):
decoding_cfg.strategy = "greedy_batch"
decoding_cfg.preserve_alignments = True
decoding_cfg.compute_langs = True
asr_model.change_decoding_strategy(decoding_cfg)
# speech sample
WAV = 'es.wav'
hyp, _ = asr_model.transcribe([WAV],
batch_size=1, return_hypotheses=True)
print("Evaluating ---")
print()
print("Transcription: ", hyp[0].text)
print()
print("Langs: ", hyp[0].langs)
print()
print("Langs chars", hyp[0].langs_chars)
print()
print("Langs words ", hyp[0].langs_words)
print()
if __name__ == '__main__':
main()
```
# Before your PR is "Ready for review"
**Pre checks**:
- [ ] Make sure you read and followed [Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md)
- [ ] Did you write any new necessary tests?
- [ ] Did you add or update any necessary documentation?
- [ ] Does the PR affect components that are optional to install? (Ex: Numba, Pynini, Apex etc)
- [ ] Reviewer: Does the PR have correct import guards for all optional libraries?
**PR Type**:
- [ X] New Feature
- [ ] Bugfix
- [ ] Documentation
If you haven't finished some of the above items you can still open "Draft" PR.
## Who can review?
Anyone in the community is free to review the PR once the checks have passed.
[Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md) contains specific people who can review PRs to various areas.
# Additional Information
* Related to # (issue)
| {
"login": "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
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/4820/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/4820/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/4819 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/4819/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/4819/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/4819/events | https://github.com/NVIDIA/NeMo/pull/4819 | 1,352,382,959 | PR_kwDOC_bI7s4935go | 4,819 | add kab language asr models | {
"login": "nithinraok",
"id": 19668129,
"node_id": "MDQ6VXNlcjE5NjY4MTI5",
"avatar_url": "https://avatars.githubusercontent.com/u/19668129?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/nithinraok",
"html_url": "https://github.com/nithinraok",
"followers_url": "https://api.github.com/users/nithinraok/followers",
"following_url": "https://api.github.com/users/nithinraok/following{/other_user}",
"gists_url": "https://api.github.com/users/nithinraok/gists{/gist_id}",
"starred_url": "https://api.github.com/users/nithinraok/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/nithinraok/subscriptions",
"organizations_url": "https://api.github.com/users/nithinraok/orgs",
"repos_url": "https://api.github.com/users/nithinraok/repos",
"events_url": "https://api.github.com/users/nithinraok/events{/privacy}",
"received_events_url": "https://api.github.com/users/nithinraok/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | null | 2022-08-26T14:56:08 | 2022-08-28T09:09:24 | 2022-08-28T09:09:20 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/4819",
"html_url": "https://github.com/NVIDIA/NeMo/pull/4819",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/4819.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/4819.patch",
"merged_at": "2022-08-28T09:09:20"
} | Signed-off-by: nithinraok <[email protected]>
# What does this PR do ?
Add kabyle language ASR models
**Collection**: ASR
# Changelog
- Add kabyle language ASR models
# Usage
```python
import nemo.collections.asr as nemo_asr
asr_model = nemo_asr.models.EncDecRNNTBPEModel.from_pretrained(model_name="stt_kab_conformer_transducer_large")
```
# 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
- [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/4819/reactions",
"total_count": 1,
"+1": 1,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/4819/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/4818 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/4818/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/4818/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/4818/events | https://github.com/NVIDIA/NeMo/issues/4818 | 1,352,373,863 | I_kwDOC_bI7s5Qm5Zn | 4,818 | Speaker Diarization Inference - unable to detect number of speakers when oracle_num_speakers set to False | {
"login": "sjsakshi",
"id": 53194868,
"node_id": "MDQ6VXNlcjUzMTk0ODY4",
"avatar_url": "https://avatars.githubusercontent.com/u/53194868?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sjsakshi",
"html_url": "https://github.com/sjsakshi",
"followers_url": "https://api.github.com/users/sjsakshi/followers",
"following_url": "https://api.github.com/users/sjsakshi/following{/other_user}",
"gists_url": "https://api.github.com/users/sjsakshi/gists{/gist_id}",
"starred_url": "https://api.github.com/users/sjsakshi/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/sjsakshi/subscriptions",
"organizations_url": "https://api.github.com/users/sjsakshi/orgs",
"repos_url": "https://api.github.com/users/sjsakshi/repos",
"events_url": "https://api.github.com/users/sjsakshi/events{/privacy}",
"received_events_url": "https://api.github.com/users/sjsakshi/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | {
"login": "SeanNaren",
"id": 6707363,
"node_id": "MDQ6VXNlcjY3MDczNjM=",
"avatar_url": "https://avatars.githubusercontent.com/u/6707363?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/SeanNaren",
"html_url": "https://github.com/SeanNaren",
"followers_url": "https://api.github.com/users/SeanNaren/followers",
"following_url": "https://api.github.com/users/SeanNaren/following{/other_user}",
"gists_url": "https://api.github.com/users/SeanNaren/gists{/gist_id}",
"starred_url": "https://api.github.com/users/SeanNaren/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/SeanNaren/subscriptions",
"organizations_url": "https://api.github.com/users/SeanNaren/orgs",
"repos_url": "https://api.github.com/users/SeanNaren/repos",
"events_url": "https://api.github.com/users/SeanNaren/events{/privacy}",
"received_events_url": "https://api.github.com/users/SeanNaren/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"login": "SeanNaren",
"id": 6707363,
"node_id": "MDQ6VXNlcjY3MDczNjM=",
"avatar_url": "https://avatars.githubusercontent.com/u/6707363?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/SeanNaren",
"html_url": "https://github.com/SeanNaren",
"followers_url": "https://api.github.com/users/SeanNaren/followers",
"following_url": "https://api.github.com/users/SeanNaren/following{/other_user}",
"gists_url": "https://api.github.com/users/SeanNaren/gists{/gist_id}",
"starred_url": "https://api.github.com/users/SeanNaren/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/SeanNaren/subscriptions",
"organizations_url": "https://api.github.com/users/SeanNaren/orgs",
"repos_url": "https://api.github.com/users/SeanNaren/repos",
"events_url": "https://api.github.com/users/SeanNaren/events{/privacy}",
"received_events_url": "https://api.github.com/users/SeanNaren/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
}
] | null | null | 2022-08-26T14:48:12 | 2022-09-01T23:18:46 | 2022-09-01T23:18:46 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | I am new to nemo and following this Colab notebook - https://github.com/NVIDIA/NeMo/blob/main/tutorials/speaker_tasks/Speaker_Diarization_Inference.ipynb
When I try set num_speakers = None in manifest file and set config.diarizer.clustering.parameters.oracle_num_speakers=False , and run it without oracle vad diarization, it only detects one speaker even for the example file provided in the notebook
This is the code I amended:
```
an4_audio_url = "https://nemo-public.s3.us-east-2.amazonaws.com/an4_diarize_test.wav"
an4_audio = wget.download(an4_audio_url, data_dir)
`import json
meta = {
'audio_filepath': an4_audio,
'offset': 0,
'duration':None,
'label': 'infer',
'text': '-',
**'num_speakers': None,**
'rttm_filepath': None,
'uem_filepath' : None
}
with open('data/input_manifest.json','w') as fp:
json.dump(meta,fp)
fp.write('\n')
**config.diarizer.clustering.parameters.oracle_num_speakers=False**
```
Can someone help me with why it is not able to predict two speakers? | {
"login": "tango4j",
"id": 13211483,
"node_id": "MDQ6VXNlcjEzMjExNDgz",
"avatar_url": "https://avatars.githubusercontent.com/u/13211483?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tango4j",
"html_url": "https://github.com/tango4j",
"followers_url": "https://api.github.com/users/tango4j/followers",
"following_url": "https://api.github.com/users/tango4j/following{/other_user}",
"gists_url": "https://api.github.com/users/tango4j/gists{/gist_id}",
"starred_url": "https://api.github.com/users/tango4j/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/tango4j/subscriptions",
"organizations_url": "https://api.github.com/users/tango4j/orgs",
"repos_url": "https://api.github.com/users/tango4j/repos",
"events_url": "https://api.github.com/users/tango4j/events{/privacy}",
"received_events_url": "https://api.github.com/users/tango4j/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/4818/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/4818/timeline | null | completed | false |
https://api.github.com/repos/NVIDIA/NeMo/issues/4817 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/4817/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/4817/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/4817/events | https://github.com/NVIDIA/NeMo/pull/4817 | 1,351,629,036 | PR_kwDOC_bI7s491ZCd | 4,817 | SQuAD Script and Prompt Learning Eval Updates | {
"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-08-26T01:51:32 | 2022-08-27T00:59:42 | 2022-08-27T00:34:30 | CONTRIBUTOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/4817",
"html_url": "https://github.com/NVIDIA/NeMo/pull/4817",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/4817.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/4817.patch",
"merged_at": null
} | Signed-off-by: Virginia Adams <[email protected]>
Updates squad specific scripts for data set pre-processing and evaluation. Make improvements to prompt learning inference script and fixes bug with batch prompt learning inference.
Add a one line overview of what this PR aims to accomplish.
**Collection**: NLP
# Changelog
- Add specific line by line info of high level changes in this PR.
# Usage
* You can potentially add a usage example below
```python
# Add a code snippet demonstrating how to use this
```
# 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": "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/4817/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/4817/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/4816 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/4816/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/4816/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/4816/events | https://github.com/NVIDIA/NeMo/pull/4816 | 1,351,616,968 | PR_kwDOC_bI7s491WkJ | 4,816 | Fix float/integer type error in WER.update() | {
"login": "fujimotos",
"id": 8974561,
"node_id": "MDQ6VXNlcjg5NzQ1NjE=",
"avatar_url": "https://avatars.githubusercontent.com/u/8974561?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/fujimotos",
"html_url": "https://github.com/fujimotos",
"followers_url": "https://api.github.com/users/fujimotos/followers",
"following_url": "https://api.github.com/users/fujimotos/following{/other_user}",
"gists_url": "https://api.github.com/users/fujimotos/gists{/gist_id}",
"starred_url": "https://api.github.com/users/fujimotos/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/fujimotos/subscriptions",
"organizations_url": "https://api.github.com/users/fujimotos/orgs",
"repos_url": "https://api.github.com/users/fujimotos/repos",
"events_url": "https://api.github.com/users/fujimotos/events{/privacy}",
"received_events_url": "https://api.github.com/users/fujimotos/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | null | 2022-08-26T01:28:03 | 2022-08-27T07:45:04 | 2022-08-26T15:31:43 | CONTRIBUTOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/4816",
"html_url": "https://github.com/NVIDIA/NeMo/pull/4816",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/4816.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/4816.patch",
"merged_at": "2022-08-26T15:31:43"
} |
# What does this PR do ?
Without this, `WER.update()` fails with the following exception:
TypeError: 'float' object cannot be interpreted as an integer
This is because the `score` property is initialized as `tourch.int64`,
but actually is a float value. Fix the initialization so that the
property has the correct type.
*Technical Note:* the actual failing line is line 780 in `nemo/collections/asr/metrics/wer.py`:
```python3
self.scores = torch.tensor(scores, device=self.scores.device, dtype=self.scores.dtype)
```
Since `self.scores.dtype` is `torch.int64` in the current version, this line ended
up something like `torch.tensor(0.5, dtype=torch.int64)` and fails.
**Collection**: [Note which collection this PR will affect]
ASR
# Changelog
- Fix TypeError in WER.update()
# 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)
- [N/A] Did you write any new necessary tests?
- [N/A] Did you add or update any necessary documentation?
- [N/A] Does the PR affect components that are optional to install? (Ex: Numba, Pynini, Apex etc)
- [N/A] 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": "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/4816/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/4816/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/4815 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/4815/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/4815/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/4815/events | https://github.com/NVIDIA/NeMo/pull/4815 | 1,351,610,786 | PR_kwDOC_bI7s491VR3 | 4,815 | Megatron NMT Adapters | {
"login": "Davood-M",
"id": 3964285,
"node_id": "MDQ6VXNlcjM5NjQyODU=",
"avatar_url": "https://avatars.githubusercontent.com/u/3964285?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Davood-M",
"html_url": "https://github.com/Davood-M",
"followers_url": "https://api.github.com/users/Davood-M/followers",
"following_url": "https://api.github.com/users/Davood-M/following{/other_user}",
"gists_url": "https://api.github.com/users/Davood-M/gists{/gist_id}",
"starred_url": "https://api.github.com/users/Davood-M/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Davood-M/subscriptions",
"organizations_url": "https://api.github.com/users/Davood-M/orgs",
"repos_url": "https://api.github.com/users/Davood-M/repos",
"events_url": "https://api.github.com/users/Davood-M/events{/privacy}",
"received_events_url": "https://api.github.com/users/Davood-M/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"id": 4585431311,
"node_id": "LA_kwDOC_bI7s8AAAABEVAhDw",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/stale",
"name": "stale",
"color": "ededed",
"default": false,
"description": null
}
] | closed | false | null | [] | null | null | 2022-08-26T01:16:17 | 2023-02-23T02:02:35 | 2022-11-09T02:12:31 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/4815",
"html_url": "https://github.com/NVIDIA/NeMo/pull/4815",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/4815.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/4815.patch",
"merged_at": null
} | Signed-off-by: David Mosallanezhad <[email protected]>
# What does this PR do ?
Megatron NMT Adapters
**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**:
- [X] New Feature
- [ ] Bugfix
- [ ] Documentation
If you haven't finished some of the above items you can still open "Draft" PR.
## Who can review?
Anyone in the community is free to review the PR once the checks have passed.
[Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md) contains specific people who can review PRs to various areas.
# Additional Information
* Related to # (issue)
| {
"login": "github-actions[bot]",
"id": 41898282,
"node_id": "MDM6Qm90NDE4OTgyODI=",
"avatar_url": "https://avatars.githubusercontent.com/in/15368?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/github-actions%5Bbot%5D",
"html_url": "https://github.com/apps/github-actions",
"followers_url": "https://api.github.com/users/github-actions%5Bbot%5D/followers",
"following_url": "https://api.github.com/users/github-actions%5Bbot%5D/following{/other_user}",
"gists_url": "https://api.github.com/users/github-actions%5Bbot%5D/gists{/gist_id}",
"starred_url": "https://api.github.com/users/github-actions%5Bbot%5D/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/github-actions%5Bbot%5D/subscriptions",
"organizations_url": "https://api.github.com/users/github-actions%5Bbot%5D/orgs",
"repos_url": "https://api.github.com/users/github-actions%5Bbot%5D/repos",
"events_url": "https://api.github.com/users/github-actions%5Bbot%5D/events{/privacy}",
"received_events_url": "https://api.github.com/users/github-actions%5Bbot%5D/received_events",
"type": "Bot",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/4815/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/4815/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/4814 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/4814/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/4814/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/4814/events | https://github.com/NVIDIA/NeMo/pull/4814 | 1,351,604,681 | PR_kwDOC_bI7s491UBJ | 4,814 | Update Apex commit | {
"login": "timmoon10",
"id": 4406448,
"node_id": "MDQ6VXNlcjQ0MDY0NDg=",
"avatar_url": "https://avatars.githubusercontent.com/u/4406448?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/timmoon10",
"html_url": "https://github.com/timmoon10",
"followers_url": "https://api.github.com/users/timmoon10/followers",
"following_url": "https://api.github.com/users/timmoon10/following{/other_user}",
"gists_url": "https://api.github.com/users/timmoon10/gists{/gist_id}",
"starred_url": "https://api.github.com/users/timmoon10/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/timmoon10/subscriptions",
"organizations_url": "https://api.github.com/users/timmoon10/orgs",
"repos_url": "https://api.github.com/users/timmoon10/repos",
"events_url": "https://api.github.com/users/timmoon10/events{/privacy}",
"received_events_url": "https://api.github.com/users/timmoon10/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | null | 2022-08-26T01:05:27 | 2022-09-15T21:24:43 | 2022-09-15T21:23:45 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/4814",
"html_url": "https://github.com/NVIDIA/NeMo/pull/4814",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/4814.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/4814.patch",
"merged_at": null
} | # What does this PR do ?
Updates Apex commit used for building and testing to include distributed Adam.
**Collection**: NLP
# Changelog
- Update Apex commit in Dockerfile and Jenkinsfile
# Usage
```bash
cd /path/to/nemo
DOCKER_BUILDKIT=1 docker build .
```
# 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?
- [x] Does the PR affect components that are optional to install? (Ex: Numba, Pynini, Apex etc)
- [ ] Reviewer: Does the PR have correct import guards for all optional libraries?
**PR Type**:
- [x] New Feature
- [ ] Bugfix
- [ ] Documentation
## Who can review?
Anyone in the community is free to review the PR once the checks have passed.
[Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md) contains specific people who can review PRs to various areas.
# Additional Information
* Enables https://github.com/NVIDIA/NeMo/pull/4487
* The Apex commit corresponds to https://github.com/NVIDIA/apex/pull/1463
* CI fails for https://github.com/NVIDIA/NeMo/pull/4799 since the existing Docker container uses an old Apex commit | {
"login": "timmoon10",
"id": 4406448,
"node_id": "MDQ6VXNlcjQ0MDY0NDg=",
"avatar_url": "https://avatars.githubusercontent.com/u/4406448?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/timmoon10",
"html_url": "https://github.com/timmoon10",
"followers_url": "https://api.github.com/users/timmoon10/followers",
"following_url": "https://api.github.com/users/timmoon10/following{/other_user}",
"gists_url": "https://api.github.com/users/timmoon10/gists{/gist_id}",
"starred_url": "https://api.github.com/users/timmoon10/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/timmoon10/subscriptions",
"organizations_url": "https://api.github.com/users/timmoon10/orgs",
"repos_url": "https://api.github.com/users/timmoon10/repos",
"events_url": "https://api.github.com/users/timmoon10/events{/privacy}",
"received_events_url": "https://api.github.com/users/timmoon10/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/4814/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/4814/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/4813 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/4813/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/4813/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/4813/events | https://github.com/NVIDIA/NeMo/pull/4813 | 1,351,569,461 | PR_kwDOC_bI7s491M3v | 4,813 | Partial activation checkpoint/recomputation | {
"login": "erhoo82",
"id": 15861259,
"node_id": "MDQ6VXNlcjE1ODYxMjU5",
"avatar_url": "https://avatars.githubusercontent.com/u/15861259?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/erhoo82",
"html_url": "https://github.com/erhoo82",
"followers_url": "https://api.github.com/users/erhoo82/followers",
"following_url": "https://api.github.com/users/erhoo82/following{/other_user}",
"gists_url": "https://api.github.com/users/erhoo82/gists{/gist_id}",
"starred_url": "https://api.github.com/users/erhoo82/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/erhoo82/subscriptions",
"organizations_url": "https://api.github.com/users/erhoo82/orgs",
"repos_url": "https://api.github.com/users/erhoo82/repos",
"events_url": "https://api.github.com/users/erhoo82/events{/privacy}",
"received_events_url": "https://api.github.com/users/erhoo82/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | null | 2022-08-26T00:15:39 | 2022-09-02T17:56:03 | 2022-09-02T17:52:15 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/4813",
"html_url": "https://github.com/NVIDIA/NeMo/pull/4813",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/4813.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/4813.patch",
"merged_at": null
} | # What does this PR do ?
This adds two features
**1. Partial activation checkpoint**
This feature is valid only when used with pipeline-parallelism. When an integer value is provided for 'num_micro_batches_with_partial_activation_checkpoints', it sets the number of micro-batches where only a partial number of Transformer layers get checkpointed and recomputed within a window of micro-batches as shown in Figure 1. The rest of the micro-batches in the window checkpoint all Transformer layers. Compared to the baseline Figure 1.a, Figure 1.b, partial activation checkpointing enables skip checkpointing activations by using the remained GPU memory.
The size of the window is set by the maximum outstanding micro-batch backpropagations, which vary at different pipeline stages. In the below example, the first pipeline stage can do partial checkpointing at one micro-batch out of the window of four micro-batches. The second pipeline stage does one out of three and eventually, the last micro-batch does the partial checkpointing at all micro-batches. This is shown in Figure 2. This feature enables the use of activation checkpoints at a fraction of micro-batches up to the point of full GPU memory usage.
**2. Gradual activation checkpoint increase at later pipeline stage**
When an integer value is provided for 'activations_checkpoint_layers_per_pipeline', this sets the additional Transformer layers to checkpoint at later pipeline stages. For example, when using 'activations_checkpoint_layers_per_pipeline' of 3, pipeline stage 1 checkpoints 3 layers less the stage 0 and stage 2 checkpoints 6 layers less the stage 0, and so on. This is shown in Figure 3. This is possible because the later pipeline stage uses less GPU memory with fewer outstanding micro-batch backpropagations. Used with 'num_micro_batches_with_partial_activation_checkpoints', this feature removes most of the activation checkpoints at the last pipeline stage (the critical execution path).

**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/4813/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/4813/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/4812 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/4812/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/4812/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/4812/events | https://github.com/NVIDIA/NeMo/issues/4812 | 1,351,335,284 | I_kwDOC_bI7s5Qi710 | 4,812 | Fine tuning stt_en_conformer_transducer_xxlarge gives a dtype error on GPU ( A100) | {
"login": "1shershah",
"id": 76887404,
"node_id": "MDQ6VXNlcjc2ODg3NDA0",
"avatar_url": "https://avatars.githubusercontent.com/u/76887404?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/1shershah",
"html_url": "https://github.com/1shershah",
"followers_url": "https://api.github.com/users/1shershah/followers",
"following_url": "https://api.github.com/users/1shershah/following{/other_user}",
"gists_url": "https://api.github.com/users/1shershah/gists{/gist_id}",
"starred_url": "https://api.github.com/users/1shershah/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/1shershah/subscriptions",
"organizations_url": "https://api.github.com/users/1shershah/orgs",
"repos_url": "https://api.github.com/users/1shershah/repos",
"events_url": "https://api.github.com/users/1shershah/events{/privacy}",
"received_events_url": "https://api.github.com/users/1shershah/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-08-25T19:06:03 | 2022-08-27T19:42:13 | 2022-08-27T19:41:31 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | Getting a "TypeError: __init__() got an unexpected keyword argument 'dtype'"
at `File python3.8/site-packages/nemo/collections/asr/parts/submodules/subsampling.py:144, in ConvSubsampling.forward(self, x, lengths)
140 x = x.unsqueeze(1)
141 if self._subsampling == 'striding':
142 # added in order to prevent slowdown in torch.nn.Conv2d with bfloat16 / CUDNN v8 API
143 # to be removed once the above is fixed in cudnn
--> 144 with torch.cuda.amp.autocast(dtype=torch.float32):
145 x = self.conv(x)`
**Steps/Code to reproduce bug**
```
pretrained =None
try:
pretrained = nemo_asr.models.EncDecRNNTBPEModel.from_pretrained(model_name="stt_en_conformer_transducer_xxlarge")
except:
pretrained = nemomodels.EncDecRNNTBPEModel.restore_from(restore_path= model_loc_path)
pretrainedConfig = DictConfig(pretrained.cfg)
pretrainedConfig.train_ds.manifest_filepath = TRAIN_MANIFEST
pretrainedConfig.validation_ds.manifest_filepath = VALIDATION_MANIFEST
pretrainedConfig.test_ds.manifest_filepath = TEST_MANIFEST
pretrainedConfig['train_ds']['is_tarred'] = False
pretrainedConfig['train_ds']['tarred_audio_filepaths'] = None
pretrainedConfig['validation_ds']['is_tarred'] = False
pretrainedConfig['validation_ds']['tarred_audio_filepaths'] = None
pretrained.set_trainer(trainer)
pretrained.setup_training_data(pretrainedConfig['train_ds'])
pretrained.setup_validation_data(pretrainedConfig['validation_ds'])
from nemo.utils import exp_manager
from omegaconf import OmegaConf
# Environment variable generally used for multi-node multi-gpu training.
# In notebook environments, this flag is unnecessary and can cause logs of multiple training runs to overwrite each other.
os.environ.pop('NEMO_EXPM_VERSION', None)
exp_config = exp_manager.ExpManagerConfig(
exp_dir=f'experiments/',
name=f"Transducer-Model",
checkpoint_callback_params=exp_manager.CallbackParams(
monitor="val_wer",
mode="min",
always_save_nemo=True,
save_best_model=True,
),
)
exp_config = OmegaConf.structured(exp_config)
logdir = exp_manager.exp_manager(trainer, exp_config)
# Train the model
trainer.fit(pretrained)
```
The same code works on a CPU , but fails on A100 GPU
nemo-toolkit 1.10.0
torch 1.9.0+cu111
torch-stft 0.1.4
torchaudio 0.9.0
pytorch-lightning 1.7.2
Linux cloud-amd64 #1 SMP Debian 4.19.249-2 (2022-06-30) x86_64 GNU/Linux
A100 GPU on GCP gace this dtype error , but worked okay on CPU
| {
"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/4812/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/4812/timeline | null | completed | false |
https://api.github.com/repos/NVIDIA/NeMo/issues/4811 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/4811/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/4811/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/4811/events | https://github.com/NVIDIA/NeMo/pull/4811 | 1,351,329,108 | PR_kwDOC_bI7s490Yv2 | 4,811 | Fix MixerTTS data loading index error | {
"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-08-25T19:00:06 | 2023-02-22T18:48:38 | 2022-08-26T18:45:31 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/4811",
"html_url": "https://github.com/NVIDIA/NeMo/pull/4811",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/4811.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/4811.patch",
"merged_at": "2022-08-26T18:45:31"
} | Signed-off-by: Jocelyn Huang <[email protected]>
# What does this PR do ?
Fixes indexing error in MixerTTS-X data loading introduced by adding items to the TTS datasets
**Collection**: TTS
# Changelog
- Changed indexing from 13 to 15 due to two additional items `voiced_mask` and `p_voiced`
**PR Type**:
- [ ] New Feature
- [x] Bugfix
- [ ] Documentation | {
"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/4811/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/4811/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/4810 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/4810/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/4810/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/4810/events | https://github.com/NVIDIA/NeMo/pull/4810 | 1,351,270,256 | PR_kwDOC_bI7s490L5d | 4,810 | s2s dialog generation custom data processor | {
"login": "ameyasm1154",
"id": 34514696,
"node_id": "MDQ6VXNlcjM0NTE0Njk2",
"avatar_url": "https://avatars.githubusercontent.com/u/34514696?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ameyasm1154",
"html_url": "https://github.com/ameyasm1154",
"followers_url": "https://api.github.com/users/ameyasm1154/followers",
"following_url": "https://api.github.com/users/ameyasm1154/following{/other_user}",
"gists_url": "https://api.github.com/users/ameyasm1154/gists{/gist_id}",
"starred_url": "https://api.github.com/users/ameyasm1154/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ameyasm1154/subscriptions",
"organizations_url": "https://api.github.com/users/ameyasm1154/orgs",
"repos_url": "https://api.github.com/users/ameyasm1154/repos",
"events_url": "https://api.github.com/users/ameyasm1154/events{/privacy}",
"received_events_url": "https://api.github.com/users/ameyasm1154/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"id": 4585431311,
"node_id": "LA_kwDOC_bI7s8AAAABEVAhDw",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/stale",
"name": "stale",
"color": "ededed",
"default": false,
"description": null
}
] | closed | false | null | [] | null | null | 2022-08-25T18:09:48 | 2023-03-22T21:21:16 | 2023-03-18T01:56:23 | CONTRIBUTOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/4810",
"html_url": "https://github.com/NVIDIA/NeMo/pull/4810",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/4810.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/4810.patch",
"merged_at": null
} | # What does this PR do ?
Added data processor to support custom data for DialogueS2SGenerationModel.
**Collection**: [nlp]
# Changelog
- Added a data processor for a custom dataset for the DialogueS2SGenerationModel.
# 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**:
- [x] New Feature
- [ ] Bugfix
- [ ] Documentation
If you haven't finished some of the above items you can still open "Draft" PR.
## Who can review?
Anyone in the community is free to review the PR once the checks have passed.
[Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md) contains specific people who can review PRs to various areas.
# Additional Information
* Related to # (issue)
| {
"login": "github-actions[bot]",
"id": 41898282,
"node_id": "MDM6Qm90NDE4OTgyODI=",
"avatar_url": "https://avatars.githubusercontent.com/in/15368?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/github-actions%5Bbot%5D",
"html_url": "https://github.com/apps/github-actions",
"followers_url": "https://api.github.com/users/github-actions%5Bbot%5D/followers",
"following_url": "https://api.github.com/users/github-actions%5Bbot%5D/following{/other_user}",
"gists_url": "https://api.github.com/users/github-actions%5Bbot%5D/gists{/gist_id}",
"starred_url": "https://api.github.com/users/github-actions%5Bbot%5D/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/github-actions%5Bbot%5D/subscriptions",
"organizations_url": "https://api.github.com/users/github-actions%5Bbot%5D/orgs",
"repos_url": "https://api.github.com/users/github-actions%5Bbot%5D/repos",
"events_url": "https://api.github.com/users/github-actions%5Bbot%5D/events{/privacy}",
"received_events_url": "https://api.github.com/users/github-actions%5Bbot%5D/received_events",
"type": "Bot",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/4810/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/4810/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/4809 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/4809/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/4809/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/4809/events | https://github.com/NVIDIA/NeMo/issues/4809 | 1,350,972,338 | I_kwDOC_bI7s5QhjOy | 4,809 | What data was used to train the German Conformer Transducer? | {
"login": "carlosfranzreb",
"id": 30505353,
"node_id": "MDQ6VXNlcjMwNTA1MzUz",
"avatar_url": "https://avatars.githubusercontent.com/u/30505353?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/carlosfranzreb",
"html_url": "https://github.com/carlosfranzreb",
"followers_url": "https://api.github.com/users/carlosfranzreb/followers",
"following_url": "https://api.github.com/users/carlosfranzreb/following{/other_user}",
"gists_url": "https://api.github.com/users/carlosfranzreb/gists{/gist_id}",
"starred_url": "https://api.github.com/users/carlosfranzreb/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/carlosfranzreb/subscriptions",
"organizations_url": "https://api.github.com/users/carlosfranzreb/orgs",
"repos_url": "https://api.github.com/users/carlosfranzreb/repos",
"events_url": "https://api.github.com/users/carlosfranzreb/events{/privacy}",
"received_events_url": "https://api.github.com/users/carlosfranzreb/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | null | 2022-08-25T14:14:59 | 2022-08-26T19:48:23 | 2022-08-26T17:06:44 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | Hello,
in the [model's page](https://catalog.ngc.nvidia.com/orgs/nvidia/teams/nemo/models/stt_de_conformer_transducer_large), it is said that the model was trained on:
- 567 hours of MCV7
- 1524 hours of MLS
- 214 hours of VoxPopuli
I am wondering how the subsets for each dataset were chosen, especially for MCV, where there is accented data. Unfortunately, I could not find the details of this dataset online. Could you please clarify how the subsets were chosen?
Kind regards,
Carlos | {
"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/4809/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/4809/timeline | null | completed | false |
https://api.github.com/repos/NVIDIA/NeMo/issues/4808 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/4808/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/4808/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/4808/events | https://github.com/NVIDIA/NeMo/issues/4808 | 1,350,814,655 | I_kwDOC_bI7s5Qg8u_ | 4,808 | PyTorch KeyError for batch index with multiple validation sets | {
"login": "Numeri",
"id": 6404504,
"node_id": "MDQ6VXNlcjY0MDQ1MDQ=",
"avatar_url": "https://avatars.githubusercontent.com/u/6404504?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Numeri",
"html_url": "https://github.com/Numeri",
"followers_url": "https://api.github.com/users/Numeri/followers",
"following_url": "https://api.github.com/users/Numeri/following{/other_user}",
"gists_url": "https://api.github.com/users/Numeri/gists{/gist_id}",
"starred_url": "https://api.github.com/users/Numeri/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Numeri/subscriptions",
"organizations_url": "https://api.github.com/users/Numeri/orgs",
"repos_url": "https://api.github.com/users/Numeri/repos",
"events_url": "https://api.github.com/users/Numeri/events{/privacy}",
"received_events_url": "https://api.github.com/users/Numeri/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": "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
} | [
{
"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-08-25T12:23:41 | 2022-10-20T11:28:29 | 2022-10-20T11:28:29 | CONTRIBUTOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | **Describe the bug**
Trying to train a transformer model for machine translation, following the examples in the docs. After many attempts, I managed to get it to start training, but during the first validation step, it successfully processes the first validation dataset, but throws a `KeyError` exception for the second dataset (no matter which dataset comes second):
```
Error executing job with overrides: []
Traceback (most recent call last):
File "/home/user/exp/nemo/ende/enc_dec_nmt.py", line 144, in main
raise err
File "/home/user/exp/nemo/ende/enc_dec_nmt.py", line 136, in main
trainer.fit(mt_model)
File "/home/user/miniconda3/envs/nemo/lib/python3.9/site-packages/pytorch_lightning/trainer/trainer.py", line 696, in fit
self._call_and_handle_interrupt(
File "/home/user/miniconda3/envs/nemo/lib/python3.9/site-packages/pytorch_lightning/trainer/trainer.py", line 650, in _call_and_handle_interrupt
return trainer_fn(*args, **kwargs)
File "/home/user/miniconda3/envs/nemo/lib/python3.9/site-packages/pytorch_lightning/trainer/trainer.py", line 737, in _fit_impl
results = self._run(model, ckpt_path=self.ckpt_path)
File "/home/user/miniconda3/envs/nemo/lib/python3.9/site-packages/pytorch_lightning/trainer/trainer.py", line 1168, in _run
results = self._run_stage()
File "/home/user/miniconda3/envs/nemo/lib/python3.9/site-packages/pytorch_lightning/trainer/trainer.py", line 1254, in _run_stage
return self._run_train()
File "/home/user/miniconda3/envs/nemo/lib/python3.9/site-packages/pytorch_lightning/trainer/trainer.py", line 1285, in _run_train
self.fit_loop.run()
File "/home/user/miniconda3/envs/nemo/lib/python3.9/site-packages/pytorch_lightning/loops/loop.py", line 200, in run
self.advance(*args, **kwargs)
File "/home/user/miniconda3/envs/nemo/lib/python3.9/site-packages/pytorch_lightning/loops/fit_loop.py", line 270, in advance
self._outputs = self.epoch_loop.run(self._data_fetcher)
File "/home/user/miniconda3/envs/nemo/lib/python3.9/site-packages/pytorch_lightning/loops/loop.py", line 201, in run
self.on_advance_end()
File "/home/user/miniconda3/envs/nemo/lib/python3.9/site-packages/pytorch_lightning/loops/epoch/training_epoch_loop.py", line 241, in on_advance_end
self._run_validation()
File "/home/user/miniconda3/envs/nemo/lib/python3.9/site-packages/pytorch_lightning/loops/epoch/training_epoch_loop.py", line 299, in _run_validation
self.val_loop.run()
File "/home/user/miniconda3/envs/nemo/lib/python3.9/site-packages/pytorch_lightning/loops/loop.py", line 200, in run
self.advance(*args, **kwargs)
File "/home/user/miniconda3/envs/nemo/lib/python3.9/site-packages/pytorch_lightning/loops/dataloader/evaluation_loop.py", line 155, in advance
dl_outputs = self.epoch_loop.run(self._data_fetcher, dl_max_batches, kwargs)
File "/home/user/miniconda3/envs/nemo/lib/python3.9/site-packages/pytorch_lightning/loops/loop.py", line 200, in run
self.advance(*args, **kwargs)
File "/home/user/miniconda3/envs/nemo/lib/python3.9/site-packages/pytorch_lightning/loops/epoch/evaluation_epoch_loop.py", line 127, in advance
batch = next(data_fetcher)
File "/home/user/miniconda3/envs/nemo/lib/python3.9/site-packages/pytorch_lightning/utilities/fetching.py", line 185, in __next__
return self.fetching_function()
File "/home/user/miniconda3/envs/nemo/lib/python3.9/site-packages/pytorch_lightning/utilities/fetching.py", line 264, in fetching_function
self._fetch_next_batch(self.dataloader_iter)
File "/home/user/miniconda3/envs/nemo/lib/python3.9/site-packages/pytorch_lightning/utilities/fetching.py", line 278, in _fetch_next_batch
batch = next(iterator)
File "/home/user/miniconda3/envs/nemo/lib/python3.9/site-packages/torch/utils/data/dataloader.py", line 681, in __next__
data = self._next_data()
File "/home/user/miniconda3/envs/nemo/lib/python3.9/site-packages/torch/utils/data/dataloader.py", line 1376, in _next_data
return self._process_data(data)
File "/home/user/miniconda3/envs/nemo/lib/python3.9/site-packages/torch/utils/data/dataloader.py", line 1402, in _process_data
data.reraise()
File "/home/user/miniconda3/envs/nemo/lib/python3.9/site-packages/torch/_utils.py", line 461, in reraise
raise exception
KeyError: Caught KeyError in DataLoader worker process 13.
Original Traceback (most recent call last):
File "/home/user/miniconda3/envs/nemo/lib/python3.9/site-packages/torch/utils/data/_utils/worker.py", line 302, in _worker_loop
data = fetcher.fetch(index)
File "/home/user/miniconda3/envs/nemo/lib/python3.9/site-packages/torch/utils/data/_utils/fetch.py", line 49, in fetch
data = [self.dataset[idx] for idx in possibly_batched_index]
File "/home/user/miniconda3/envs/nemo/lib/python3.9/site-packages/torch/utils/data/_utils/fetch.py", line 49, in <listcomp>
data = [self.dataset[idx] for idx in possibly_batched_index]
File "/home/user/miniconda3/envs/nemo/lib/python3.9/site-packages/nemo/collections/nlp/data/machine_translation/machine_translation_dataset.py", line 140,
in __getitem__
src_ids = self.batches[idx]["src"]
KeyError: 118
```
This seems to happen when I specify multiple validation datasets as a list. When specifying only one, training doesn't crash (or at least hasn't yet!). All train/validation/test files are in plain format (i.e. raw text).
**Steps/Code to reproduce bug**
This is my full YAML config.
```
name: nemo_ende_6x6_0.1_2k
do_training: true # set to false if only preprocessing data
do_testing: true # set to true to run evaluation on test data after training
model:
beam_size: 1
len_pen: 0.6
multilingual: false
max_generation_delta: -1
label_smoothing: 0.1
shared_tokenizer: true # train tokenizer model across src and tgt train data
preproc_out_dir: data_output # path to store data preprocessing outputs
src_language: 'en'
tgt_language: 'de'
shared_embeddings: false
train_ds:
src_file_name: data/train/train_5m.en
tgt_file_name: data/train/train_5m.de
use_tarred_dataset: true # if true tar_file_name and meta_file_name will be used (or created automatically)
# config for preprocessing training data and creating a tarred datset automatically
tar_file_prefix: train_5m # prefix for tar file names
tar_files: null # if data has already been preprocessed (rest of config ignored)
metadata_file: data_output/metadata.tokens.2000.json # metadata for tarred dataset
lines_per_dataset_fragment: 1000000 # Number of lines to consider for bucketing and padding
num_batches_per_tarfile: 100 # Number of batches (pickle files) within each tarfile
tar_shuffle_n: 100 # How many samples to look ahead and load to be shuffled
shard_strategy: scatter # tarred dataset shard distribution strategy
n_preproc_jobs: -2 # number of processes to use for data preprocessing (-2 means all but 2)
tokens_in_batch: 2000
clean: true
max_seq_length: 512
shuffle: true
num_samples: -1
drop_last: false
pin_memory: false
num_workers: 16
concat_sampling_technique: temperature # only used with ConcatTranslationDataset
concat_sampling_temperature: 5 # only used with ConcatTranslationDataset
concat_sampling_probabilities: null # only used with ConcatTranslationDataset
validation_ds:
src_file_name: [data/dev/dev.ac_dev.en, data/dev/newstest2012.en, data/dev/newstest2016.en, data/dev/test.IWSLT2017.en, data/dev/dev.opus-100-v1.en, data/dev/newstest2014.en, data/dev/test.IWSLT2016.en]
tgt_file_name: [data/dev/dev.ac_dev.de, data/dev/newstest2012.de, data/dev/newstest2016.de, data/dev/test.IWSLT2017.de, data/dev/dev.opus-100-v1.de, data/dev/newstest2014.de, data/dev/test.IWSLT2016.de]
tokens_in_batch: 2000
clean: false
max_seq_length: 512
shuffle: false
num_samples: -1
drop_last: false
pin_memory: false
num_workers: 16
test_ds:
src_file_name: [data/test/iwslt.tst2013.en-de.en, data/test/iwslt.tst2014.en-de.en, data/test/newstest2013.en, data/test/newstest2015.en, data/test/test.ac_test.en, data/test/test.opus-100-v1.en]
tgt_file_name: [data/test/iwslt.tst2013.en-de.de, data/test/iwslt.tst2014.en-de.de, data/test/newstest2013.de, data/test/newstest2015.de, data/test/test.ac_test.de, data/test/test.opus-100-v1.de]
tokens_in_batch: 2000
clean: false
max_seq_length: 512
shuffle: false
num_samples: -1
drop_last: false
pin_memory: false
num_workers: 16
optim:
name: adam
lr: 0.001
betas:
- 0.9
- 0.98
weight_decay: 0.0
sched:
name: InverseSquareRootAnnealing
min_lr: 0.0
last_epoch: -1
warmup_ratio: 0.1
encoder_tokenizer:
library: yttm
tokenizer_model: data/train/bpe.32k.model
vocab_size: 32000 # vocab size for training bpe
bpe_dropout: 0.0
vocab_file: null
special_tokens: null
training_sample_size: null # valid for sentencepiece tokenizer
r2l: false
decoder_tokenizer:
library: yttm
tokenizer_model: data/train/bpe.32k.model
vocab_size: 32000 # vocab size for training bpe
bpe_dropout: 0.0
vocab_file: null
special_tokens: null
training_sample_size: null # valid for sentencepiece tokenizer
r2l: false
encoder:
library: nemo
model_name: null
pretrained: false
max_sequence_length: 512
num_token_types: 0
embedding_dropout: 0.1
learn_positional_encodings: false
hidden_size: 1024
num_layers: 6
inner_size: 4096
num_attention_heads: 16
ffn_dropout: 0.1
attn_score_dropout: 0.1
attn_layer_dropout: 0.1
hidden_act: relu
mask_future: false
pre_ln: false
pre_ln_final_layer_norm: true
decoder:
library: nemo
model_name: null
pretrained: false
max_sequence_length: 512
num_token_types: 0
embedding_dropout: 0.1
learn_positional_encodings: false
hidden_size: 1024
inner_size: 4096
num_layers: 6
num_attention_heads: 16
ffn_dropout: 0.1
attn_score_dropout: 0.1
attn_layer_dropout: 0.1
hidden_act: relu
pre_ln: false
pre_ln_final_layer_norm: true
head:
num_layers: 1
activation: relu
log_softmax: true
dropout: 0.0
use_transformer_init: true
trainer:
devices: 4
num_nodes: 1
max_epochs: 200
precision: 32 # Should be set to 16 for O1 and O2, default is 16 as PT ignores it when am_level is O0
accelerator: gpu
enable_checkpointing: False
logger: false
log_every_n_steps: 50 # Interval of logging.
val_check_interval: 1000
benchmark: false
num_sanity_val_steps: 0
exp_manager:
name: nemo_ende_6x6_0.1_2k
files_to_copy: []
exp_dir: exp
create_wandb_logger: True
wandb_logger_kwargs:
project: nemo
name: ende-6x6-0.1-2k
create_checkpoint_callback: True
checkpoint_callback_params:
monitor: val_sacreBLEU
mode: max
save_top_k: 5
```
**Environment details**
- OS version: CentOS
- PyTorch version: 1.12.1
- Python version: 3.9.0
- NeMo version: Installed with pip from source using `main` branch very recently, not sure of the exact commit. Installed following the instructions in the GitHub Readme.
**Additional context**
Training on 4 NVIDIA T4 GPUs. | {
"login": "Numeri",
"id": 6404504,
"node_id": "MDQ6VXNlcjY0MDQ1MDQ=",
"avatar_url": "https://avatars.githubusercontent.com/u/6404504?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Numeri",
"html_url": "https://github.com/Numeri",
"followers_url": "https://api.github.com/users/Numeri/followers",
"following_url": "https://api.github.com/users/Numeri/following{/other_user}",
"gists_url": "https://api.github.com/users/Numeri/gists{/gist_id}",
"starred_url": "https://api.github.com/users/Numeri/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Numeri/subscriptions",
"organizations_url": "https://api.github.com/users/Numeri/orgs",
"repos_url": "https://api.github.com/users/Numeri/repos",
"events_url": "https://api.github.com/users/Numeri/events{/privacy}",
"received_events_url": "https://api.github.com/users/Numeri/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/4808/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/4808/timeline | null | completed | false |
https://api.github.com/repos/NVIDIA/NeMo/issues/4807 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/4807/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/4807/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/4807/events | https://github.com/NVIDIA/NeMo/pull/4807 | 1,350,325,096 | PR_kwDOC_bI7s49w_X9 | 4,807 | Fix initializing weights from ptl ckpt with exclude | {
"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-08-25T05:00:41 | 2022-08-25T05:58:43 | 2022-08-25T05:58:43 | CONTRIBUTOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/4807",
"html_url": "https://github.com/NVIDIA/NeMo/pull/4807",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/4807.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/4807.patch",
"merged_at": "2022-08-25T05:58:43"
} | Signed-off-by: sam1373 <[email protected]>
# What does this PR do ?
# Changelog
- fix typo "model_path" to "ckpt_path"
- also makes the "load_from_string" parameter optional
**PR Type**:
- [ ] New Feature
- [X] Bugfix
- [ ] Documentation
# Additional Information
* Related to [#4805](https://github.com/NVIDIA/NeMo/issues/4805)
| {
"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/4807/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/4807/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/4806 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/4806/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/4806/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/4806/events | https://github.com/NVIDIA/NeMo/pull/4806 | 1,350,261,087 | PR_kwDOC_bI7s49wx17 | 4,806 | avoid data clipping after convolution with rir samples | {
"login": "nithinraok",
"id": 19668129,
"node_id": "MDQ6VXNlcjE5NjY4MTI5",
"avatar_url": "https://avatars.githubusercontent.com/u/19668129?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/nithinraok",
"html_url": "https://github.com/nithinraok",
"followers_url": "https://api.github.com/users/nithinraok/followers",
"following_url": "https://api.github.com/users/nithinraok/following{/other_user}",
"gists_url": "https://api.github.com/users/nithinraok/gists{/gist_id}",
"starred_url": "https://api.github.com/users/nithinraok/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/nithinraok/subscriptions",
"organizations_url": "https://api.github.com/users/nithinraok/orgs",
"repos_url": "https://api.github.com/users/nithinraok/repos",
"events_url": "https://api.github.com/users/nithinraok/events{/privacy}",
"received_events_url": "https://api.github.com/users/nithinraok/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | null | 2022-08-25T03:18:01 | 2022-08-25T18:51:51 | 2022-08-25T18:51:47 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/4806",
"html_url": "https://github.com/NVIDIA/NeMo/pull/4806",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/4806.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/4806.patch",
"merged_at": "2022-08-25T18:51:47"
} | Signed-off-by: nithinraok <[email protected]>
# What does this PR do ?
Fix nan issue with precision=16
**Collection**: ASR
# Changelog
- Clip max value of data samples after convolution with rir impulses to 1
# 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
| {
"login": "nithinraok",
"id": 19668129,
"node_id": "MDQ6VXNlcjE5NjY4MTI5",
"avatar_url": "https://avatars.githubusercontent.com/u/19668129?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/nithinraok",
"html_url": "https://github.com/nithinraok",
"followers_url": "https://api.github.com/users/nithinraok/followers",
"following_url": "https://api.github.com/users/nithinraok/following{/other_user}",
"gists_url": "https://api.github.com/users/nithinraok/gists{/gist_id}",
"starred_url": "https://api.github.com/users/nithinraok/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/nithinraok/subscriptions",
"organizations_url": "https://api.github.com/users/nithinraok/orgs",
"repos_url": "https://api.github.com/users/nithinraok/repos",
"events_url": "https://api.github.com/users/nithinraok/events{/privacy}",
"received_events_url": "https://api.github.com/users/nithinraok/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/4806/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/4806/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/4805 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/4805/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/4805/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/4805/events | https://github.com/NVIDIA/NeMo/issues/4805 | 1,350,259,033 | I_kwDOC_bI7s5Qe1FZ | 4,805 | Initializing weights from checkpoint with configs - init_from_ptl_ckpt | {
"login": "stalevna",
"id": 53433879,
"node_id": "MDQ6VXNlcjUzNDMzODc5",
"avatar_url": "https://avatars.githubusercontent.com/u/53433879?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stalevna",
"html_url": "https://github.com/stalevna",
"followers_url": "https://api.github.com/users/stalevna/followers",
"following_url": "https://api.github.com/users/stalevna/following{/other_user}",
"gists_url": "https://api.github.com/users/stalevna/gists{/gist_id}",
"starred_url": "https://api.github.com/users/stalevna/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/stalevna/subscriptions",
"organizations_url": "https://api.github.com/users/stalevna/orgs",
"repos_url": "https://api.github.com/users/stalevna/repos",
"events_url": "https://api.github.com/users/stalevna/events{/privacy}",
"received_events_url": "https://api.github.com/users/stalevna/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-08-25T03:14:32 | 2022-09-05T09:06:44 | 2022-09-05T09:06:44 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | **Describe the bug**
Hi! When I tried to initialize weights of the model from checkpoint using configs and excluding some parts of it I get an error that model_path is not defined
I looked a the code at https://github.com/NVIDIA/NeMo/blob/main/nemo/core/classes/modelPT.py and indeed there is an initialized variable ckpt_path, but model_path is initialized for init_from_nemo_model

Could you check if it was just accidental copy-paste and there should be ckpt_path instead of model_path
self.load_part_of_state_dict(
ckpt['state_dict'], include, exclude, f'nemo file with path `**{model_path**}`'
)
in this snippet of the code
if 'init_from_ptl_ckpt' in cfg and cfg.init_from_ptl_ckpt is not None:
with open_dict(cfg):
if isinstance(cfg.init_from_ptl_ckpt, str):
# Restore checkpoint
ckpt_path = cfg.pop('init_from_ptl_ckpt')
ckpt = torch.load(ckpt_path, map_location=map_location)
# Restore checkpoint into current model
self.load_state_dict(ckpt['state_dict'], strict=False)
logging.info(
f'Model checkpoint restored from pytorch lightning chackpoint with path : `{ckpt_path}`'
)
del ckpt
elif isinstance(cfg.init_from_ptl_ckpt, (DictConfig, dict)):
model_load_dict = cfg.init_from_ptl_ckpt
for model_load_cfg in model_load_dict.values():
ckpt_path = model_load_cfg.path
# Restore model
ckpt = torch.load(ckpt_path, map_location=map_location)
include = model_load_cfg.pop('include', [""])
exclude = model_load_cfg.pop('exclude', [])
self.load_part_of_state_dict(
ckpt['state_dict'], include, exclude, f'nemo file with path `{model_path}`'
)
| {
"login": "stalevna",
"id": 53433879,
"node_id": "MDQ6VXNlcjUzNDMzODc5",
"avatar_url": "https://avatars.githubusercontent.com/u/53433879?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stalevna",
"html_url": "https://github.com/stalevna",
"followers_url": "https://api.github.com/users/stalevna/followers",
"following_url": "https://api.github.com/users/stalevna/following{/other_user}",
"gists_url": "https://api.github.com/users/stalevna/gists{/gist_id}",
"starred_url": "https://api.github.com/users/stalevna/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/stalevna/subscriptions",
"organizations_url": "https://api.github.com/users/stalevna/orgs",
"repos_url": "https://api.github.com/users/stalevna/repos",
"events_url": "https://api.github.com/users/stalevna/events{/privacy}",
"received_events_url": "https://api.github.com/users/stalevna/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/4805/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/4805/timeline | null | completed | false |
https://api.github.com/repos/NVIDIA/NeMo/issues/4804 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/4804/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/4804/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/4804/events | https://github.com/NVIDIA/NeMo/pull/4804 | 1,350,179,473 | PR_kwDOC_bI7s49wg3y | 4,804 | [Tutorials] Fix matplotlib version and directory name in Multispeaker_Simulator | {
"login": "anteju",
"id": 108555623,
"node_id": "U_kgDOBnhtZw",
"avatar_url": "https://avatars.githubusercontent.com/u/108555623?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/anteju",
"html_url": "https://github.com/anteju",
"followers_url": "https://api.github.com/users/anteju/followers",
"following_url": "https://api.github.com/users/anteju/following{/other_user}",
"gists_url": "https://api.github.com/users/anteju/gists{/gist_id}",
"starred_url": "https://api.github.com/users/anteju/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/anteju/subscriptions",
"organizations_url": "https://api.github.com/users/anteju/orgs",
"repos_url": "https://api.github.com/users/anteju/repos",
"events_url": "https://api.github.com/users/anteju/events{/privacy}",
"received_events_url": "https://api.github.com/users/anteju/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | null | 2022-08-25T01:00:16 | 2022-08-30T19:11:47 | 2022-08-30T19:11:47 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/4804",
"html_url": "https://github.com/NVIDIA/NeMo/pull/4804",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/4804.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/4804.patch",
"merged_at": "2022-08-30T19:11:47"
} | Signed-off-by: Ante Jukić <[email protected]>
# What does this PR do ?
Fix a couple minor issues in `Multispeaker_Simulator` notebook
**Collection**: Tutorials
# Changelog
- added double quotes around the version specification to make sure the expected `matplotlib` is installed
- `ls` the correct directory with created files
# 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
* n/a
| {
"login": "anteju",
"id": 108555623,
"node_id": "U_kgDOBnhtZw",
"avatar_url": "https://avatars.githubusercontent.com/u/108555623?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/anteju",
"html_url": "https://github.com/anteju",
"followers_url": "https://api.github.com/users/anteju/followers",
"following_url": "https://api.github.com/users/anteju/following{/other_user}",
"gists_url": "https://api.github.com/users/anteju/gists{/gist_id}",
"starred_url": "https://api.github.com/users/anteju/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/anteju/subscriptions",
"organizations_url": "https://api.github.com/users/anteju/orgs",
"repos_url": "https://api.github.com/users/anteju/repos",
"events_url": "https://api.github.com/users/anteju/events{/privacy}",
"received_events_url": "https://api.github.com/users/anteju/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/4804/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/4804/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/4803 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/4803/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/4803/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/4803/events | https://github.com/NVIDIA/NeMo/issues/4803 | 1,350,081,420 | I_kwDOC_bI7s5QeJuM | 4,803 | Cannot run Mixer TTS colab with Mixer-TTS-X model | {
"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": 1485815557,
"node_id": "MDU6TGFiZWwxNDg1ODE1NTU3",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": "Something isn't working"
},
{
"id": 4418253970,
"node_id": "LA_kwDOC_bI7s8AAAABB1k0kg",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/TTS",
"name": "TTS",
"color": "49AF28",
"default": false,
"description": ""
}
] | closed | false | {
"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-08-24T22:18:48 | 2022-09-09T01:39:14 | 2022-08-25T18:52:43 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | Hi all. I'm struggling to run a training using Mixer-TTS-X model. I'm using the tutorial for training both Fastpitch and MixerTTS.
Modifications I've done:
```pretrained_model = "tts_en_lj_mixerttsx"```
Adding 'raw_texts' argument when generating a spectrogram:
```spectrogram = spec_gen.generate_spectrogram(tokens=tokens, raw_texts=["Hey, this produces speech!"])```
Correcting this:
```from nemo.collections.tts.torch.data import MixerTTSXDataset```
Just in case:
```
from nemo.collections.tts.torch.tts_data_types import LMTokens
from transformers.models.albert.tokenization_albert import AlbertTokenizer
```
add lm_tokenizer parameter here:
```
def pre_calculate_supplementary_data(sup_data_path, sup_data_types, text_tokenizer, text_normalizer, lm_tokenizer, text_normalizer_call_kwargs)
```
Getting the right config file:
```&& wget https://raw.githubusercontent.com/NVIDIA/NeMo/$BRANCH/examples/tts/conf/mixer-tts-x.yaml```
Creating the lm_tokenizer object:
```lm_tokenizer = LMTokens()```
And after running the command:
```
mixer_tts_sup_data_path = "mixer_tts_x_sup_data_folder"
sup_data_types = ["align_prior_matrix", "pitch", "lm_tokens"]
pitch_mean, pitch_std, pitch_min, pitch_max = pre_calculate_supplementary_data(
mixer_tts_sup_data_path, sup_data_types, text_tokenizer, text_normalizer, lm_tokenizer, text_normalizer_call_kwargs
)
```
I get the following error:
```
[NeMo I 2022-08-24 22:00:27 data:216] Loading dataset from tests/data/asr/an4_train.json.
30it [00:00, 712.41it/s][NeMo I 2022-08-24 22:00:27 data:253] Loaded dataset with 30 files.
[NeMo I 2022-08-24 22:00:27 data:255] Dataset contains 0.02 hours.
[NeMo I 2022-08-24 22:00:27 data:357] Pruned 0 files. Final dataset contains 30 files
[NeMo I 2022-08-24 22:00:27 data:360] Pruned 0.00 hours. Final dataset contains 0.02 hours.
---------------------------------------------------------------------------
KeyError Traceback (most recent call last)
[<ipython-input-21-b87416bfd412>](https://localhost:8080/#) in <module>
3
4 pitch_mean, pitch_std, pitch_min, pitch_max = pre_calculate_supplementary_data(
----> 5 mixer_tts_sup_data_path, sup_data_types, text_tokenizer, text_normalizer, lm_tokenizer, text_normalizer_call_kwargs
6 )
3 frames
[<ipython-input-20-7893d3034131>](https://localhost:8080/#) in pre_calculate_supplementary_data(sup_data_path, sup_data_types, text_tokenizer, text_normalizer, lm_tokenizer, text_normalizer_call_kwargs)
22 text_normalizer=text_normalizer,
23 lm_tokenizer=lm_tokenizer,
---> 24 text_normalizer_call_kwargs=text_normalizer_call_kwargs
25 )
26 stage2dl[stage] = torch.utils.data.DataLoader(ds, batch_size=1, collate_fn=ds._collate_fn, num_workers=1)
[/usr/local/lib/python3.7/dist-packages/nemo/collections/tts/torch/data.py](https://localhost:8080/#) in __init__(self, **kwargs)
759 class MixerTTSXDataset(TTSDataset):
760 def __init__(self, **kwargs):
--> 761 super().__init__(**kwargs)
762
763 def _albert(self):
[/usr/local/lib/python3.7/dist-packages/nemo/collections/tts/torch/data.py](https://localhost:8080/#) in __init__(self, manifest_filepath, sample_rate, text_tokenizer, tokens, text_normalizer, text_normalizer_call_kwargs, text_tokenizer_pad_id, sup_data_types, sup_data_path, max_duration, min_duration, ignore_file, trim, trim_ref, trim_top_db, trim_frame_length, trim_hop_length, n_fft, win_length, hop_length, window, n_mels, lowfreq, highfreq, **kwargs)
323
324 for data_type in self.sup_data_types:
--> 325 getattr(self, f"add_{data_type.name}")(**kwargs)
326
327 @staticmethod
[/usr/local/lib/python3.7/dist-packages/nemo/collections/tts/torch/data.py](https://localhost:8080/#) in add_lm_tokens(self, **kwargs)
785
786 def add_lm_tokens(self, **kwargs):
--> 787 lm_model = "kwargs.pop('lm_model')"
788
789 if lm_model == "albert":
KeyError: 'lm_model'
```
Any ideas are welcome.
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/4803/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/4803/timeline | null | completed | false |
https://api.github.com/repos/NVIDIA/NeMo/issues/4802 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/4802/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/4802/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/4802/events | https://github.com/NVIDIA/NeMo/pull/4802 | 1,349,632,498 | PR_kwDOC_bI7s49urpv | 4,802 | Added P&C lexical audio model | {
"login": "jubick1337",
"id": 16004982,
"node_id": "MDQ6VXNlcjE2MDA0OTgy",
"avatar_url": "https://avatars.githubusercontent.com/u/16004982?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jubick1337",
"html_url": "https://github.com/jubick1337",
"followers_url": "https://api.github.com/users/jubick1337/followers",
"following_url": "https://api.github.com/users/jubick1337/following{/other_user}",
"gists_url": "https://api.github.com/users/jubick1337/gists{/gist_id}",
"starred_url": "https://api.github.com/users/jubick1337/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jubick1337/subscriptions",
"organizations_url": "https://api.github.com/users/jubick1337/orgs",
"repos_url": "https://api.github.com/users/jubick1337/repos",
"events_url": "https://api.github.com/users/jubick1337/events{/privacy}",
"received_events_url": "https://api.github.com/users/jubick1337/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | null | 2022-08-24T15:30:02 | 2022-08-31T15:13:44 | 2022-08-31T15:13:44 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/4802",
"html_url": "https://github.com/NVIDIA/NeMo/pull/4802",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/4802.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/4802.patch",
"merged_at": "2022-08-31T15:13:44"
} | # What does this PR do ?
Add audio and lexical model to NeMo and necessary support.
**Collection**: nlp
# Changelog
- Added `PunctuationCapitalizationLexicalAudioModel` which is inherited from `PunctuationCapitalizationModel`.
- Extended `BertPunctuationCapitalizationDataset` and `BertPunctuationCapitalizationTarredDataset` to support audio as well.
- Added default configs stored in `examples/nlp/token_classification/conf/punctuation_capitalization_lexical_audio_config.yaml`.
- Added script to run train and evaluate at `examples/nlp/token_classification/punctuation_capitalization_lexical_audio_train_evaluate.py`.
# Usage
```
python punctuation_capitalization_lexical_audio_train_evaluate.py \
model.train_ds.ds_item=<PATH/TO/TRAIN/DATA> \
model.train_ds.text_file=<NAME_OF_TRAIN_INPUT_TEXT_FILE> \
model.train_ds.labels_file=<NAME_OF_TRAIN_LABELS_FILE> \
model.validation_ds.ds_item=<PATH/TO/DEV/DATA> \
model.validation_ds.text_file=<NAME_OF_DEV_INPUT_TEXT_FILE> \
model.validation_ds.labels_file=<NAME_OF_DEV_LABELS_FILE
```
# 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.
## 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/4802/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/4802/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/4801 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/4801/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/4801/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/4801/events | https://github.com/NVIDIA/NeMo/pull/4801 | 1,349,490,142 | PR_kwDOC_bI7s49uM8w | 4,801 | Audio and lexical P&C model | {
"login": "jubick1337",
"id": 16004982,
"node_id": "MDQ6VXNlcjE2MDA0OTgy",
"avatar_url": "https://avatars.githubusercontent.com/u/16004982?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jubick1337",
"html_url": "https://github.com/jubick1337",
"followers_url": "https://api.github.com/users/jubick1337/followers",
"following_url": "https://api.github.com/users/jubick1337/following{/other_user}",
"gists_url": "https://api.github.com/users/jubick1337/gists{/gist_id}",
"starred_url": "https://api.github.com/users/jubick1337/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jubick1337/subscriptions",
"organizations_url": "https://api.github.com/users/jubick1337/orgs",
"repos_url": "https://api.github.com/users/jubick1337/repos",
"events_url": "https://api.github.com/users/jubick1337/events{/privacy}",
"received_events_url": "https://api.github.com/users/jubick1337/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | null | 2022-08-24T13:55:02 | 2022-08-24T15:17:31 | 2022-08-24T15:17:31 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/4801",
"html_url": "https://github.com/NVIDIA/NeMo/pull/4801",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/4801.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/4801.patch",
"merged_at": null
} | # What does this PR do ?
Add audio and lexical model to NeMo and necessary support.
**Collection**: nlp
# Changelog
- Added `PunctuationCapitalizationLexicalAudioModel` which is inherited from `PunctuationCapitalizationModel`.
- Extended `BertPunctuationCapitalizationDataset` and `BertPunctuationCapitalizationTarredDataset` to support audio as well.
- Added default configs stored in `examples/nlp/token_classification/conf/punctuation_capitalization_lexical_audio_config.yaml`.
- Added script to run train and evaluate at `examples/nlp/token_classification/punctuation_capitalization_lexical_audio_train_evaluate.py`.
# Usage
```
python punctuation_capitalization_lexical_audio_train_evaluate.py \
model.train_ds.ds_item=<PATH/TO/TRAIN/DATA> \
model.train_ds.text_file=<NAME_OF_TRAIN_INPUT_TEXT_FILE> \
model.train_ds.labels_file=<NAME_OF_TRAIN_LABELS_FILE> \
model.validation_ds.ds_item=<PATH/TO/DEV/DATA> \
model.validation_ds.text_file=<NAME_OF_DEV_INPUT_TEXT_FILE> \
model.validation_ds.labels_file=<NAME_OF_DEV_LABELS_FILE
```
# 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.
## 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": "jubick1337",
"id": 16004982,
"node_id": "MDQ6VXNlcjE2MDA0OTgy",
"avatar_url": "https://avatars.githubusercontent.com/u/16004982?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jubick1337",
"html_url": "https://github.com/jubick1337",
"followers_url": "https://api.github.com/users/jubick1337/followers",
"following_url": "https://api.github.com/users/jubick1337/following{/other_user}",
"gists_url": "https://api.github.com/users/jubick1337/gists{/gist_id}",
"starred_url": "https://api.github.com/users/jubick1337/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jubick1337/subscriptions",
"organizations_url": "https://api.github.com/users/jubick1337/orgs",
"repos_url": "https://api.github.com/users/jubick1337/repos",
"events_url": "https://api.github.com/users/jubick1337/events{/privacy}",
"received_events_url": "https://api.github.com/users/jubick1337/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/4801/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/4801/timeline | null | null | true |
Subsets and Splits
No saved queries yet
Save your SQL queries to embed, download, and access them later. Queries will appear here once saved.