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/8596 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/8596/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/8596/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/8596/events | https://github.com/NVIDIA/NeMo/pull/8596 | 2,170,538,694 | PR_kwDOC_bI7s5oybbi | 8,596 | Update docs for NeMo Framework | {
"login": "titu1994",
"id": 3048602,
"node_id": "MDQ6VXNlcjMwNDg2MDI=",
"avatar_url": "https://avatars.githubusercontent.com/u/3048602?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/titu1994",
"html_url": "https://github.com/titu1994",
"followers_url": "https://api.github.com/users/titu1994/followers",
"following_url": "https://api.github.com/users/titu1994/following{/other_user}",
"gists_url": "https://api.github.com/users/titu1994/gists{/gist_id}",
"starred_url": "https://api.github.com/users/titu1994/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/titu1994/subscriptions",
"organizations_url": "https://api.github.com/users/titu1994/orgs",
"repos_url": "https://api.github.com/users/titu1994/repos",
"events_url": "https://api.github.com/users/titu1994/events{/privacy}",
"received_events_url": "https://api.github.com/users/titu1994/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | [
"FYI @titu1994 : regarding \r\n\r\n> Moved the links to the very bottom (cannot hide them, its used as the ordering of the items on the left).\r\n\r\nYou can hide the links while preserving their ordering for the sidebar by including the `:hidden:` option like this:\r\n\r\n```rst\r\n.. toctree::\r\n :hidden:\r\n```\r\n\r\nSee [sphinx docs](https://www.sphinx-doc.org/en/master/usage/restructuredtext/directives.html#:~:text=You%20can%20also%20give%20a%20%E2%80%9Chidden%E2%80%9D%20option%20to%20the%20directive%2C%20like%20this%3A)."
] | 2024-03-06T03:13:02 | 2024-03-08T19:42:08 | 2024-03-08T19:30:23 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/8596",
"html_url": "https://github.com/NVIDIA/NeMo/pull/8596",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/8596.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/8596.patch",
"merged_at": "2024-03-08T19:30:23"
} | # What does this PR do ?
Updates docs for NeMo framework
**Collection**: [All]
# Changelog
- Move LLM to top, ASR next, Multimodal 3rd
- Move introduction to index.rst Som Note: Injected entire intro.rst into index.rst for now - it looks cleaner and if user explicitly visits the intro page they get same content as just visiting the index site. Moved the links to the very bottom (cannot hide them, its used as the ordering of the items on the left).
- Speech Processing to Speech AI - try not to break links
- Move migration guide to bottom of list called Upgrade guide
- Rename “Foundation Vision Models in NeMo” -> Vision Models
- Move NeMo Core to the top
- Move Text processing to inside of NeMo Core -- Som Note: I didn’t merge into nemo core, instead I renamed the collection to “Common collection” - that way it remains at the bottom (low visibility is good for common collection) and doesn’t break links.
- Make all links - black with blue hyperblink
# Jenkins CI
To run Jenkins, a NeMo User with write access must comment `jenkins` on the PR.
# Before your PR is "Ready for review"
**Pre checks**:
- [x] Make sure you read and followed [Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md)
- [ ] Did you write any new necessary tests?
- [ ] Did you add or update any necessary documentation?
- [ ] Does the PR affect components that are optional to install? (Ex: Numba, Pynini, Apex etc)
- [ ] Reviewer: Does the PR have correct import guards for all optional libraries?
**PR Type**:
- [x] New Feature
- [ ] Bugfix
- [ ] Documentation
| {
"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/8596/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/8596/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/8595 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/8595/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/8595/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/8595/events | https://github.com/NVIDIA/NeMo/pull/8595 | 2,170,512,961 | PR_kwDOC_bI7s5oyV-3 | 8,595 | Update text for new version | {
"login": "titu1994",
"id": 3048602,
"node_id": "MDQ6VXNlcjMwNDg2MDI=",
"avatar_url": "https://avatars.githubusercontent.com/u/3048602?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/titu1994",
"html_url": "https://github.com/titu1994",
"followers_url": "https://api.github.com/users/titu1994/followers",
"following_url": "https://api.github.com/users/titu1994/following{/other_user}",
"gists_url": "https://api.github.com/users/titu1994/gists{/gist_id}",
"starred_url": "https://api.github.com/users/titu1994/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/titu1994/subscriptions",
"organizations_url": "https://api.github.com/users/titu1994/orgs",
"repos_url": "https://api.github.com/users/titu1994/repos",
"events_url": "https://api.github.com/users/titu1994/events{/privacy}",
"received_events_url": "https://api.github.com/users/titu1994/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | [] | 2024-03-06T02:41:31 | 2024-03-14T00:15:45 | 2024-03-14T00:15:44 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/8595",
"html_url": "https://github.com/NVIDIA/NeMo/pull/8595",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/8595.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/8595.patch",
"merged_at": "2024-03-14T00:15:44"
} | # What does this PR do ?
Updates text for domains on website
**Collection**: [Website]
# Changelog
- Add specific line by line info of high level changes in this PR.
# Jenkins CI
To run Jenkins, a NeMo User with write access must comment `jenkins` on the PR.
# Before your PR is "Ready for review"
**Pre checks**:
- [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.
| {
"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/8595/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/8595/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/8594 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/8594/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/8594/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/8594/events | https://github.com/NVIDIA/NeMo/pull/8594 | 2,170,327,812 | PR_kwDOC_bI7s5oxtwt | 8,594 | Change rope fusion default | {
"login": "cuichenx",
"id": 43478052,
"node_id": "MDQ6VXNlcjQzNDc4MDUy",
"avatar_url": "https://avatars.githubusercontent.com/u/43478052?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/cuichenx",
"html_url": "https://github.com/cuichenx",
"followers_url": "https://api.github.com/users/cuichenx/followers",
"following_url": "https://api.github.com/users/cuichenx/following{/other_user}",
"gists_url": "https://api.github.com/users/cuichenx/gists{/gist_id}",
"starred_url": "https://api.github.com/users/cuichenx/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cuichenx/subscriptions",
"organizations_url": "https://api.github.com/users/cuichenx/orgs",
"repos_url": "https://api.github.com/users/cuichenx/repos",
"events_url": "https://api.github.com/users/cuichenx/events{/privacy}",
"received_events_url": "https://api.github.com/users/cuichenx/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"id": 4811886210,
"node_id": "LA_kwDOC_bI7s8AAAABHs-Ogg",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/NLP",
"name": "NLP",
"color": "CBF09A",
"default": false,
"description": ""
}
] | closed | false | null | [] | null | [
"jenkins"
] | 2024-03-05T23:28:54 | 2024-03-06T03:06:34 | 2024-03-06T03:06:33 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/8594",
"html_url": "https://github.com/NVIDIA/NeMo/pull/8594",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/8594.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/8594.patch",
"merged_at": "2024-03-06T03:06:33"
} | # What does this PR do ?
Change rope fusion default as a workaround for #8590
| {
"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/8594/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/8594/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/8593 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/8593/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/8593/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/8593/events | https://github.com/NVIDIA/NeMo/pull/8593 | 2,170,290,772 | PR_kwDOC_bI7s5oxlQ_ | 8,593 | fix: start_time type of int instead of float | {
"login": "Stephane-Lpt",
"id": 66870443,
"node_id": "MDQ6VXNlcjY2ODcwNDQz",
"avatar_url": "https://avatars.githubusercontent.com/u/66870443?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Stephane-Lpt",
"html_url": "https://github.com/Stephane-Lpt",
"followers_url": "https://api.github.com/users/Stephane-Lpt/followers",
"following_url": "https://api.github.com/users/Stephane-Lpt/following{/other_user}",
"gists_url": "https://api.github.com/users/Stephane-Lpt/gists{/gist_id}",
"starred_url": "https://api.github.com/users/Stephane-Lpt/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Stephane-Lpt/subscriptions",
"organizations_url": "https://api.github.com/users/Stephane-Lpt/orgs",
"repos_url": "https://api.github.com/users/Stephane-Lpt/repos",
"events_url": "https://api.github.com/users/Stephane-Lpt/events{/privacy}",
"received_events_url": "https://api.github.com/users/Stephane-Lpt/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | [] | 2024-03-05T23:05:20 | 2024-03-22T19:10:34 | 2024-03-22T19:10:33 | CONTRIBUTOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/8593",
"html_url": "https://github.com/NVIDIA/NeMo/pull/8593",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/8593.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/8593.patch",
"merged_at": "2024-03-22T19:10:33"
} | # What does this PR do ?
Fix : You can now completely use the `minimum_timestamp_duration` option, which bugged if the value was too large.
**Collection**: ASR
# Changelog
As we could see in the traceback, the problem appeared during the use of the `get_ctm_line` function because `start_time` was a type of **int** at [this line](https://github.com/NVIDIA/NeMo/blob/main/tools/nemo_forced_aligner/utils/make_ctm_files.py#L98) :
At the beginning, `boundary_info_.t_start` is definitely a **float** with the value 0.0 and `start_time` is also a float after [copying](https://github.com/NVIDIA/NeMo/blob/main/tools/nemo_forced_aligner/utils/make_ctm_files.py#L88). Everything is fine for now.
The source of the problem is at [this line](https://github.com/NVIDIA/NeMo/blob/main/tools/nemo_forced_aligner/utils/make_ctm_files.py#L98) : When using the `max` function, if we have set a `minimum_timestamp_duration` value that is too high. `start_time` will become 0 BUT type of **int** and **no more** type of **float**.
So when we get to the use of the `get_ctm_line` function, this one checks the type of `start_time` and since it's not the right type, it raises a type exception [here](https://github.com/NVIDIA/NeMo/blob/935b9c78f4e75e873f8511121bd846e7dabca4f3/nemo/collections/asr/parts/utils/manifest_utils.py#L97).
Consequently, the **max function argument** should be changed to **0.0** to be always a type of **float**.
# Usage
- You can now really use the option **ctm_file_config.minimum_timestamp_duration=0.5** to change the value of `minimum_timestamp_duration` no matter how long the tokens/words/segments of your transcription is.
Example :
```
python <path to NeMo>/tools/nemo_forced_aligner/align.py pretrained_name="stt_en_fastconformer_hybrid_large_pc" manifest_filepath=nemo/manifest.json output_dir=nemo/output ctm_file_config.minimum_timestamp_duration=0.5
```
# Jenkins CI
To run Jenkins, a NeMo User with write access must comment `jenkins` on the PR.
# Before your PR is "Ready for review"
**Pre checks**:
- [x] Make sure you read and followed [Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md)
- [ ] Did you write any new necessary tests?
- [ ] Did you add or update any necessary documentation?
- [ ] Does the PR affect components that are optional to install? (Ex: Numba, Pynini, Apex etc)
- [ ] Reviewer: Does the PR have correct import guards for all optional libraries?
**PR Type**:
- [ ] New Feature
- [x] Bugfix
- [ ] Documentation
## 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 #8592
| {
"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/8593/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/8593/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/8592 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/8592/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/8592/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/8592/events | https://github.com/NVIDIA/NeMo/issues/8592 | 2,170,241,465 | I_kwDOC_bI7s6BW0G5 | 8,592 | ValueError when higher minimum_timestamp_duration given : "start_time must be a float or str containing float, but got int" | {
"login": "Stephane-Lpt",
"id": 66870443,
"node_id": "MDQ6VXNlcjY2ODcwNDQz",
"avatar_url": "https://avatars.githubusercontent.com/u/66870443?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Stephane-Lpt",
"html_url": "https://github.com/Stephane-Lpt",
"followers_url": "https://api.github.com/users/Stephane-Lpt/followers",
"following_url": "https://api.github.com/users/Stephane-Lpt/following{/other_user}",
"gists_url": "https://api.github.com/users/Stephane-Lpt/gists{/gist_id}",
"starred_url": "https://api.github.com/users/Stephane-Lpt/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Stephane-Lpt/subscriptions",
"organizations_url": "https://api.github.com/users/Stephane-Lpt/orgs",
"repos_url": "https://api.github.com/users/Stephane-Lpt/repos",
"events_url": "https://api.github.com/users/Stephane-Lpt/events{/privacy}",
"received_events_url": "https://api.github.com/users/Stephane-Lpt/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 | [
"PR with fix has been merged, so closing this. Thank you for the fix."
] | 2024-03-05T22:23:12 | 2024-03-22T19:53:04 | 2024-03-22T19:53:04 | CONTRIBUTOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | **Describe the bug**
I wanted to put a `minimum_timestamp_duration` to visualize the result given by nemo forced aligner with [Gecko](https://github.com/gong-io/gecko) as the documentation recommends.
When I change the value of `minimum_timestamp_duration` to 0.4, it's all good.
If I try to change the `minimum_timestamp_duration` for a higher value like 0.5, I get a `ValueError` :

**Steps/Code to reproduce bug**
- Notice the option **ctm_file_config.minimum_timestamp_duration=0.5** to change the value of `minimum_timestamp_duration`. To be sure to have the error, you can put an extremely high value like 50.
```
python <path to NeMo>/tools/nemo_forced_aligner/align.py pretrained_name="stt_en_fastconformer_hybrid_large_pc" manifest_filepath=nemo/manifest.json output_dir=nemo/output ctm_file_config.minimum_timestamp_duration=0.5
```
The value that is too high and causes the error **depends on** the **respective duration of your tokens/words/segments** that are calculated in this [loop](https://github.com/NVIDIA/NeMo/blob/1882d0d0025832a530063e5b699347253b2ab768/tools/nemo_forced_ligner/utils/make_ctm_files.py#L83). The loop iterates over **each token/word/segment** of the transcription and finally produces the `ctm` file).
**Expected behavior**
- No error should be raised.
**Environment overview**
- Method of NeMo install: source
**Additional context**
**_This is a minor error that I've already fixed locally, so I'll make a pull request in a few minutes_**
| {
"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
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/8592/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/8592/timeline | null | completed | false |
https://api.github.com/repos/NVIDIA/NeMo/issues/8591 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/8591/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/8591/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/8591/events | https://github.com/NVIDIA/NeMo/pull/8591 | 2,170,205,879 | PR_kwDOC_bI7s5oxSrT | 8,591 | Change rope fusion default | {
"login": "cuichenx",
"id": 43478052,
"node_id": "MDQ6VXNlcjQzNDc4MDUy",
"avatar_url": "https://avatars.githubusercontent.com/u/43478052?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/cuichenx",
"html_url": "https://github.com/cuichenx",
"followers_url": "https://api.github.com/users/cuichenx/followers",
"following_url": "https://api.github.com/users/cuichenx/following{/other_user}",
"gists_url": "https://api.github.com/users/cuichenx/gists{/gist_id}",
"starred_url": "https://api.github.com/users/cuichenx/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cuichenx/subscriptions",
"organizations_url": "https://api.github.com/users/cuichenx/orgs",
"repos_url": "https://api.github.com/users/cuichenx/repos",
"events_url": "https://api.github.com/users/cuichenx/events{/privacy}",
"received_events_url": "https://api.github.com/users/cuichenx/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"id": 4811886210,
"node_id": "LA_kwDOC_bI7s8AAAABHs-Ogg",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/NLP",
"name": "NLP",
"color": "CBF09A",
"default": false,
"description": ""
}
] | closed | false | null | [] | null | [
"jenkins",
"Just noticed the base branch needs to be changed to `main`",
"opened #8594 instead",
"closed in favor of #8594 "
] | 2024-03-05T21:53:27 | 2024-03-05T23:32:19 | 2024-03-05T23:29:07 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/8591",
"html_url": "https://github.com/NVIDIA/NeMo/pull/8591",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/8591.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/8591.patch",
"merged_at": null
} | # What does this PR do ?
Change rope fusion default as a workaround for #8590
| {
"login": "cuichenx",
"id": 43478052,
"node_id": "MDQ6VXNlcjQzNDc4MDUy",
"avatar_url": "https://avatars.githubusercontent.com/u/43478052?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/cuichenx",
"html_url": "https://github.com/cuichenx",
"followers_url": "https://api.github.com/users/cuichenx/followers",
"following_url": "https://api.github.com/users/cuichenx/following{/other_user}",
"gists_url": "https://api.github.com/users/cuichenx/gists{/gist_id}",
"starred_url": "https://api.github.com/users/cuichenx/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cuichenx/subscriptions",
"organizations_url": "https://api.github.com/users/cuichenx/orgs",
"repos_url": "https://api.github.com/users/cuichenx/repos",
"events_url": "https://api.github.com/users/cuichenx/events{/privacy}",
"received_events_url": "https://api.github.com/users/cuichenx/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/8591/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/8591/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/8590 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/8590/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/8590/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/8590/events | https://github.com/NVIDIA/NeMo/issues/8590 | 2,170,183,871 | I_kwDOC_bI7s6BWmC_ | 8,590 | qkv format error in GPT Eval when bs=1 and using fused rope kernel | {
"login": "cuichenx",
"id": 43478052,
"node_id": "MDQ6VXNlcjQzNDc4MDUy",
"avatar_url": "https://avatars.githubusercontent.com/u/43478052?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/cuichenx",
"html_url": "https://github.com/cuichenx",
"followers_url": "https://api.github.com/users/cuichenx/followers",
"following_url": "https://api.github.com/users/cuichenx/following{/other_user}",
"gists_url": "https://api.github.com/users/cuichenx/gists{/gist_id}",
"starred_url": "https://api.github.com/users/cuichenx/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cuichenx/subscriptions",
"organizations_url": "https://api.github.com/users/cuichenx/orgs",
"repos_url": "https://api.github.com/users/cuichenx/repos",
"events_url": "https://api.github.com/users/cuichenx/events{/privacy}",
"received_events_url": "https://api.github.com/users/cuichenx/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"id": 1485815557,
"node_id": "MDU6TGFiZWwxNDg1ODE1NTU3",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": "Something isn't working"
},
{
"id": 4585431311,
"node_id": "LA_kwDOC_bI7s8AAAABEVAhDw",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/stale",
"name": "stale",
"color": "ededed",
"default": false,
"description": null
}
] | closed | false | null | [] | null | [
"This issue is stale because it has been open for 30 days with no activity. Remove stale label or comment or this will be closed in 7 days.",
"fixed in nemo 24.03 release / megatron core 0.6.0 release"
] | 2024-03-05T21:36:02 | 2024-04-05T13:52:59 | 2024-04-05T13:52:58 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | **Describe the bug**
Opening a github issue for public tracking purposes. (internal #4489257)
megatron_gpt_eval.py throws the following error:
```
...
core_attn_out = super().forward(
File "/usr/local/lib/python3.10/dist-packages/transformer_engine/pytorch/attention.py", line 2099, in forward
qkv_layout, query_layer, key_layer, value_layer = _get_qkv_layout(
File "/usr/local/lib/python3.10/dist-packages/transformer_engine/pytorch/attention.py", line 1209, in _get_qkv_layout
raise Exception("The provided qkv memory layout is not supported!")
Exception: The provided qkv memory layout is not supported!
This only happens when all of the following are true:
```
micro batch size = 1 (mbs = 2 works)
apply_rope_fusion = True
rope fusion is available (i.e. container has latest Apex)
running an inference workload – megatron_gpt_eval.py, or megatron_gpt_generate.py, or validation loop during training. (training with mbs = 1 and mbs = 2 both work)
**Steps/Code to reproduce bug**
run inference with any gpt-style model (e.g. llama2)
```
torchrun --nproc_per_node=1 /opt/NeMo/examples/nlp/language_modeling/megatron_gpt_eval.py \
gpt_model_file=<path to model> \
inference.greedy=True \
inference.add_BOS=True \
trainer.devices=1 \
trainer.num_nodes=1 \
tensor_model_parallel_size=1 \
pipeline_model_parallel_size=1 \
prompts=["deep learning is"]
```
**Environment overview (please complete the following information)**
nvcr.io/nvidia/nemo:24.01.framework
| {
"login": "cuichenx",
"id": 43478052,
"node_id": "MDQ6VXNlcjQzNDc4MDUy",
"avatar_url": "https://avatars.githubusercontent.com/u/43478052?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/cuichenx",
"html_url": "https://github.com/cuichenx",
"followers_url": "https://api.github.com/users/cuichenx/followers",
"following_url": "https://api.github.com/users/cuichenx/following{/other_user}",
"gists_url": "https://api.github.com/users/cuichenx/gists{/gist_id}",
"starred_url": "https://api.github.com/users/cuichenx/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cuichenx/subscriptions",
"organizations_url": "https://api.github.com/users/cuichenx/orgs",
"repos_url": "https://api.github.com/users/cuichenx/repos",
"events_url": "https://api.github.com/users/cuichenx/events{/privacy}",
"received_events_url": "https://api.github.com/users/cuichenx/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/8590/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/8590/timeline | null | completed | false |
https://api.github.com/repos/NVIDIA/NeMo/issues/8589 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/8589/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/8589/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/8589/events | https://github.com/NVIDIA/NeMo/pull/8589 | 2,169,950,960 | PR_kwDOC_bI7s5owa6X | 8,589 | fix to RNNT bug | {
"login": "tbartley94",
"id": 90423858,
"node_id": "MDQ6VXNlcjkwNDIzODU4",
"avatar_url": "https://avatars.githubusercontent.com/u/90423858?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tbartley94",
"html_url": "https://github.com/tbartley94",
"followers_url": "https://api.github.com/users/tbartley94/followers",
"following_url": "https://api.github.com/users/tbartley94/following{/other_user}",
"gists_url": "https://api.github.com/users/tbartley94/gists{/gist_id}",
"starred_url": "https://api.github.com/users/tbartley94/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/tbartley94/subscriptions",
"organizations_url": "https://api.github.com/users/tbartley94/orgs",
"repos_url": "https://api.github.com/users/tbartley94/repos",
"events_url": "https://api.github.com/users/tbartley94/events{/privacy}",
"received_events_url": "https://api.github.com/users/tbartley94/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"id": 4811884691,
"node_id": "LA_kwDOC_bI7s8AAAABHs-Ikw",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/ASR",
"name": "ASR",
"color": "F3B33E",
"default": false,
"description": ""
}
] | closed | false | null | [] | null | [] | 2024-03-05T18:58:04 | 2024-03-05T20:16:17 | 2024-03-05T20:16:17 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/8589",
"html_url": "https://github.com/NVIDIA/NeMo/pull/8589",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/8589.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/8589.patch",
"merged_at": null
} | # What does this PR do ?
Safer fix for https://github.com/NVIDIA/NeMo/pull/8587#event-12018166291
Metrics should accumulate between calls. This little fix allows that function for `WER`.
**Collection**: [ASR]
# Changelog
- Added accumulation to wer metrics
# Jenkins CI
To run Jenkins, a NeMo User with write access must comment `jenkins` on the PR.
# Before your PR is "Ready for review"
**Pre checks**:
- [Y] Make sure you read and followed [Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md)
- [N] Did you write any new necessary tests?
- [N] Did you add or update any necessary documentation?
- [N] Does the PR affect components that are optional to install? (Ex: Numba, Pynini, Apex etc)
- [ ] Reviewer: Does the PR have correct import guards for all optional libraries?
**PR Type**:
- [Y] New Feature
- [Y] 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": "tbartley94",
"id": 90423858,
"node_id": "MDQ6VXNlcjkwNDIzODU4",
"avatar_url": "https://avatars.githubusercontent.com/u/90423858?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tbartley94",
"html_url": "https://github.com/tbartley94",
"followers_url": "https://api.github.com/users/tbartley94/followers",
"following_url": "https://api.github.com/users/tbartley94/following{/other_user}",
"gists_url": "https://api.github.com/users/tbartley94/gists{/gist_id}",
"starred_url": "https://api.github.com/users/tbartley94/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/tbartley94/subscriptions",
"organizations_url": "https://api.github.com/users/tbartley94/orgs",
"repos_url": "https://api.github.com/users/tbartley94/repos",
"events_url": "https://api.github.com/users/tbartley94/events{/privacy}",
"received_events_url": "https://api.github.com/users/tbartley94/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/8589/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/8589/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/8587 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/8587/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/8587/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/8587/events | https://github.com/NVIDIA/NeMo/pull/8587 | 2,169,828,243 | PR_kwDOC_bI7s5ov_r6 | 8,587 | Fix bug in RNNT Joint WER calculation for fused batch | {
"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
} | [
{
"id": 4811884691,
"node_id": "LA_kwDOC_bI7s8AAAABHs-Ikw",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/ASR",
"name": "ASR",
"color": "F3B33E",
"default": false,
"description": ""
}
] | closed | false | null | [] | null | [
"jenkins"
] | 2024-03-05T17:56:49 | 2024-03-05T18:35:18 | 2024-03-05T18:35:18 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/8587",
"html_url": "https://github.com/NVIDIA/NeMo/pull/8587",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/8587.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/8587.patch",
"merged_at": "2024-03-05T18:35:18"
} | # What does this PR do ?
Fix metric calculation in the case fused batch size > 1 during training / validation calculation.
Previously, the RNNT metric was stateful while the CTC one was not ([r1.22.0](https://github.com/NVIDIA/NeMo/blob/r1.22.0/nemo/collections/asr/metrics/rnnt_wer_bpe.py#L419-L420), [r1.23.0](https://github.com/NVIDIA/NeMo/blob/r1.23.0/nemo/collections/asr/metrics/wer.py#L333))
Therefore this calculation in the RNNT joint for fused operation worked properly. However with the unification of metrics in r1.23.0, a bug was introduced where only the last sub-batch of metrics calculates the scores and does not accumulate.
**Collection**: [ASR]
# Changelog
- Preserve the list of metric outputs from each sub-batch
- take average of batch wer, compute running sum of numerator and denominator
# 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": "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/8587/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/8587/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/8586 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/8586/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/8586/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/8586/events | https://github.com/NVIDIA/NeMo/issues/8586 | 2,169,695,679 | I_kwDOC_bI7s6BUu2_ | 8,586 | validation consumed samples is always set to 0 in megatron gpt pretraining | {
"login": "anmolgupt",
"id": 14880251,
"node_id": "MDQ6VXNlcjE0ODgwMjUx",
"avatar_url": "https://avatars.githubusercontent.com/u/14880251?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/anmolgupt",
"html_url": "https://github.com/anmolgupt",
"followers_url": "https://api.github.com/users/anmolgupt/followers",
"following_url": "https://api.github.com/users/anmolgupt/following{/other_user}",
"gists_url": "https://api.github.com/users/anmolgupt/gists{/gist_id}",
"starred_url": "https://api.github.com/users/anmolgupt/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/anmolgupt/subscriptions",
"organizations_url": "https://api.github.com/users/anmolgupt/orgs",
"repos_url": "https://api.github.com/users/anmolgupt/repos",
"events_url": "https://api.github.com/users/anmolgupt/events{/privacy}",
"received_events_url": "https://api.github.com/users/anmolgupt/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 | [
"+@athitten",
"This issue is stale because it has been open for 30 days with no activity. Remove stale label or comment or this will be closed in 7 days.",
"This issue was closed because it has been inactive for 7 days since being marked as stale."
] | 2024-03-05T16:46:59 | 2024-04-13T01:39:10 | 2024-04-13T01:39:10 | CONTRIBUTOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | **Describe the bug**
validation consumed samples is always set to 0 in megatron gpt pretraining ([link](https://github.com/NVIDIA/NeMo/blob/a06835f50dd18a67f5b4fedfb56985f9b3573985/nemo/collections/nlp/models/language_modeling/megatron_gpt_model.py#L1342)). On resuming training from a checkpoint, consumed samples for validation dataset should be set from the checkpoint instead of getting initialized to 0.
**Steps/Code to reproduce bug**
Please list *minimal* steps or code snippet for us to be able to reproduce the bug.
A helpful guide on on how to craft a minimal bug report http://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports.
**Expected behavior**
A clear and concise description of what you expected to happen.
**Environment overview (please complete the following information)**
- Environment location: [Bare-metal, Docker, Cloud(specify cloud provider - AWS, Azure, GCP, Collab)]
- Method of NeMo install: [pip install or from source]. Please specify exact commands you used to install.
- If method of install is [Docker], provide `docker pull` & `docker run` commands used
**Environment details**
If NVIDIA docker image is used you don't need to specify these.
Otherwise, please provide:
- OS version
- PyTorch version
- Python version
**Additional context**
Add any other context about the problem here.
Example: GPU model
| {
"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/8586/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/8586/timeline | null | not_planned | false |
https://api.github.com/repos/NVIDIA/NeMo/issues/8585 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/8585/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/8585/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/8585/events | https://github.com/NVIDIA/NeMo/issues/8585 | 2,169,656,532 | I_kwDOC_bI7s6BUlTU | 8,585 | WER.update doesn't work | {
"login": "yuntang",
"id": 11411997,
"node_id": "MDQ6VXNlcjExNDExOTk3",
"avatar_url": "https://avatars.githubusercontent.com/u/11411997?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yuntang",
"html_url": "https://github.com/yuntang",
"followers_url": "https://api.github.com/users/yuntang/followers",
"following_url": "https://api.github.com/users/yuntang/following{/other_user}",
"gists_url": "https://api.github.com/users/yuntang/gists{/gist_id}",
"starred_url": "https://api.github.com/users/yuntang/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/yuntang/subscriptions",
"organizations_url": "https://api.github.com/users/yuntang/orgs",
"repos_url": "https://api.github.com/users/yuntang/repos",
"events_url": "https://api.github.com/users/yuntang/events{/privacy}",
"received_events_url": "https://api.github.com/users/yuntang/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 | [
"Thank you very much for raising this! We have fixed it in this PR - https://github.com/NVIDIA/NeMo/pull/8587 \r\nIt occurred due to a large refactor and unification of metrics in ASR to make it simpler to extend in the long run. \r\n\r\nThe patch will be there in the next NeMo release, and we have added a release note in the 1.23 release page https://github.com/NVIDIA/NeMo/releases/tag/v1.23.0 so that users are aware and can utilize correct metrics during evaluation by using the speech to text eval script (or disabling fused batch explicitly)",
"Fixed via #8587 "
] | 2024-03-05T16:28:14 | 2024-03-14T08:02:35 | 2024-03-14T08:02:35 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | **Describe the bug**
As shown in
(https://github.com/NVIDIA/NeMo/blob/main/nemo/collections/asr/metrics/wer.py#L349-L350), the new scores and words will be assigned to the object and the pervious scores and words are dropped.
1) we might rename this function to WER.set
or
2) we might update the code as
> self.scores += torch.tensor(scores, device=self.scores.device, dtype=self.scores.dtype)
> self.words += torch.tensor(words, device=self.words.device, dtype=self.words.dtype)
The current code could lead to WER report inconsistent during training and inference if we use fuse_loss_wer in the Transducer model training, i.e., [model.joint.fuse_loss_wer=True and model.joint. fused_batch_size > 1](https://github.com/NVIDIA/NeMo/blob/main/examples/asr/conf/conformer/conformer_transducer_bpe.yaml#L194). In this setting, only the last sub-mini-batch WER is accumulated during validation stage.
| {
"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/8585/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/8585/timeline | null | completed | false |
https://api.github.com/repos/NVIDIA/NeMo/issues/8584 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/8584/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/8584/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/8584/events | https://github.com/NVIDIA/NeMo/pull/8584 | 2,169,169,499 | PR_kwDOC_bI7s5otuey | 8,584 | Add Semi Sorted Batching. | {
"login": "fedorovgv",
"id": 50668534,
"node_id": "MDQ6VXNlcjUwNjY4NTM0",
"avatar_url": "https://avatars.githubusercontent.com/u/50668534?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/fedorovgv",
"html_url": "https://github.com/fedorovgv",
"followers_url": "https://api.github.com/users/fedorovgv/followers",
"following_url": "https://api.github.com/users/fedorovgv/following{/other_user}",
"gists_url": "https://api.github.com/users/fedorovgv/gists{/gist_id}",
"starred_url": "https://api.github.com/users/fedorovgv/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/fedorovgv/subscriptions",
"organizations_url": "https://api.github.com/users/fedorovgv/orgs",
"repos_url": "https://api.github.com/users/fedorovgv/repos",
"events_url": "https://api.github.com/users/fedorovgv/events{/privacy}",
"received_events_url": "https://api.github.com/users/fedorovgv/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"id": 1923495043,
"node_id": "MDU6TGFiZWwxOTIzNDk1MDQz",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/core",
"name": "core",
"color": "f25e3a",
"default": false,
"description": "Changes to NeMo Core"
},
{
"id": 4585431311,
"node_id": "LA_kwDOC_bI7s8AAAABEVAhDw",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/stale",
"name": "stale",
"color": "ededed",
"default": false,
"description": null
},
{
"id": 4811884691,
"node_id": "LA_kwDOC_bI7s8AAAABHs-Ikw",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/ASR",
"name": "ASR",
"color": "F3B33E",
"default": false,
"description": ""
}
] | closed | false | null | [] | null | [
"This PR is stale because it has been open for 14 days with no activity. Remove stale label or comment or update or this will be closed in 7 days.",
"This PR was closed because it has been inactive for 7 days since being marked as stale.",
"@nithinraok Hi, can you please approve new PR and re-open it.",
"@fedorovgv thanks, is this a new PR? Did you close earlier one? ",
"this is new one with the same code. yes, i did because of the problems with commits signs.",
"@nithinraok Hi! All minor comments have been corrected. Could you view it please?",
"@nithinraok Sorry for the ping, but how long does Jenkins take? is it finite?)",
"jenkins",
"I have initiated the jenkins run, it should be done in couple of hrs",
"@nithinraok so, can we merge it? or do I need to update the branch before your merge? ",
"> @nithinraok so, can we merge it? or do I need to update the branch before your merge? \n\nThanks a lot for your contribution!",
"> > @nithinraok so, can we merge it? or do I need to update the branch before your merge?\r\n> \r\n> Thanks a lot for your contribution!\r\n\r\nThanks a lot for great framework!"
] | 2024-03-05T12:56:11 | 2024-04-11T14:28:48 | 2024-04-11T14:10:47 | CONTRIBUTOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/8584",
"html_url": "https://github.com/NVIDIA/NeMo/pull/8584",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/8584.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/8584.patch",
"merged_at": "2024-04-11T14:10:47"
} | # What does this PR do ?
**Helps to speed up ASR models training without quality degradation.**
The experiments below showed a **19-12% training speed up with the same quality** for the some models.
**Collection**: ASR, core
# Changelog
- `nemo/collections/asr/parts/utils/asr_batching.py`
Add a semi sorted batch sampler and its preparation function to a new file (in the future it might be some other samplers or new techniques like dynamic batching in the file).
- `nemo/collections/asr/models/ctc_models.py`
`nemo/collections/asr/models/ctc_bpe_models.py`
`nemo/collections/asr/models/rnnt_models.py`
`nemo/collections/asr/models/rnnt_bpe_models.py`
`nemo/collections/asr/models/hybrid_rnnt_ctc_bpe_models.py`
Add changes to the data loader preparation function in the models class.
- `nemo/core/optim/lr_scheduler.py`
Add changes to the scheduler preparation function because the batch sampler is passed to the dataloader as a sampler and we need to parse the batch size from it.
- `nemo/collections/asr/data/audio_to_text.py`
Add a change to the `__getitem__` dataset method, as the batch sampler becomes an iterator and returns a list of indices instead of a single index.
# Usage
The sampler is currently added to the CTC, Transducer and Hybrid models.
**Need just to add one line to the config.**
```bash
++config.model.train_ds.use_semi_sorted_batching=true
```
and two line if we want to specify randomization factor (see more in additional information).
```bash
++config.model.train_ds.randomization_factor=0.1
```
Paper default value for randomization_factor is `0.2`.
# 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
If you haven't finished some of the above items you can still open "Draft" PR.
## Who can review?
@nithinraok
# Additional Information
* Semi Sorted Batching, was proposed in "Speed up training with variable length inputs by efficient batching strategies.", Zhenhao Ge et al. (2021). ([link](https://www.isca-speech.org/archive/pdfs/interspeech_2021/ge21_interspeech.pdf) to the paper)
* **Idea**: Get the duration of the samples, add pseudo noise to them and sort them. Sample the batches from the sorted list. This way we avoid strict sorting and retain some level of randomness with a significant reduction in padding in batches.
* Experiment for Conformer char CTC:
* train script: `examples/asr/asr_ctc/speech_to_text_ctc.py`
* train config: `asr/examples/asr/conf/conformer/conformer_ctc_char.yaml`
* train data: libri-speech `train-clean-100` `train-clean-360`
* test sata: libri-speech `test-clean`
* overrided parameters:
* `model.validation_ds.batch_size=32`
* `trainer.devices=2`
* `trainer.max_epochs=50`
* `trainer.accumulate_grad_batches=10`
* `trainer.gradient_clip_val=1.0 `
* `++model.train_ds.use_semi_sorted_batching=true` (only experiment with ssb)
* `++model.train_ds.randomization_factor=0.1` (only experiment with ssb)
* devices: Nvidia Tesla V100 x2
* tensorboard logs:
* time
<img src="https://github.com/fedorovgv/buf/blob/main/char_ctc_time.png?raw=true" alt="alt text" width="400" height="200">
* wer
<img src="https://github.com/fedorovgv/buf/blob/main/char_ctc_wer.png?raw=true" alt="alt text" width="400" height="200">
* average, time per epoch / total time / final wer metric
* `ssb`: **22 min 28 sec** / **18 hours 44 min 14 sec** / 9,371 wer
* `without ssb`: 27 min 44 sec / 23 hours 7 min 31 sec / **9,08** wer
**Model training speed up by 18,9% with 3% loss of quality.**
---
- Experiment for Conformer BPE CTC:
* train script: `examples/asr/asr_ctc/speech_to_text_ctc_bpe.py`
* train config: `asr/examples/asr/conf/conformer/conformer_ctc_bpe.yaml`
* train data: libri-speech `train-clean-100` `train-clean-360`
* test sata: libri-speech `test-clean`
* size of bpe vocabulary `512`
* overrided parameters:
* `model.validation_ds.batch_size=32`
* `trainer.devices=2`
* `trainer.max_epochs=50`
* `trainer.accumulate_grad_batches=10`
* `trainer.gradient_clip_val=1.0 `
* `++model.train_ds.use_semi_sorted_batching=true` (only experiment with ssb)
* `++model.train_ds.randomization_factor=0.1` (only experiment with ssb)
* devices: Nvidia Tesla V100 x2
* tensorboard logs:
* time
<img src="https://github.com/fedorovgv/buf/blob/main/bpe_ctc_time.png?raw=true" alt="alt text" width="400" height="200">
* wer
<img src="https://github.com/fedorovgv/buf/blob/main/bpe_ctc_wer.png?raw=true" alt="alt text" width="400" height="200">
* average, time per epoch / total time / final wer metric
* `ssb`: **50 min 1 sec** / **1 day 17 hours 42 min 52 sec** / **6,417** wer
* `without ssb`: 1 hour 1 min 0 sec / 2 day 2 hours 46 min 59 sec / 6,682 wer
**Model training speed up by 17,8% with improved quality.**
---
- Experiment for Conformer Char RNNT:
* train script: `examples/asr/asr_transducer/speech_to_text_rnnt.py`
* train config: `examples/asr/conf/conformer/conformer_transducer_char.yaml`
* train data: libri-speech `train-clean-100` `train-clean-360`
* test sata: libri-speech `test-clean`
* overrided parameters:
* `model.validation_ds.batch_size=32`
* `trainer.devices=2`
* `trainer.max_epochs=50`
* `trainer.accumulate_grad_batches=10`
* `trainer.gradient_clip_val=1.0 `
* `++model.train_ds.use_semi_sorted_batching=true` (only experiment with ssb)
* `++model.train_ds.randomization_factor=0.1` (only experiment with ssb)
* devices: Nvidia Tesla V100 x2
* tensorboard logs:
* time
<img src="https://github.com/fedorovgv/buf/blob/main/char_rnnt_rime.png?raw=true" alt="alt text" width="400" height="200">
* wer
<img src="https://github.com/fedorovgv/buf/blob/main/char_rnnt_wer.png?raw=true" alt="alt text" width="400" height="200">
* average, time per epoch / total time / final wer metric
* `ssb`: **48 min 54 sec** / **1 day 16 hours 45 min 33 sec** / 4,913 wer
* `without ssb`: 56 min 0 sec / 1 day 22 hours 10 min 40 sec / **4,766** wer
**Model training speed up by 13,9% with 3% loss of quality.**
---
- Experiment for Conformer BPE RNNT:
* train script: `examples/asr/asr_transducer/speech_to_text_rnnt_bpe.py`
* train config: `examples/asr/conf/conformer/conformer_transducer_bpe.yaml`
* train data: libri-speech `train-clean-100` `train-clean-360`
* test sata: libri-speech `test-clean`
* overrided parameters:
* `model.validation_ds.batch_size=32`
* `trainer.devices=2`
* `trainer.max_epochs=50`
* `trainer.accumulate_grad_batches=10`
* `trainer.gradient_clip_val=1.0 `
* `++model.train_ds.use_semi_sorted_batching=true` (only experiment with ssb)
* `++model.train_ds.randomization_factor=0.1` (only experiment with ssb)
* devices: Nvidia Tesla V100 x2
* tensorboard logs:
* time
<img src="https://github.com/fedorovgv/buf/blob/main/bpe_rnnt_time.png?raw=true" alt="alt text" width="400" height="200">
* wer
<img src="https://github.com/fedorovgv/buf/blob/main/bpe_rnnt_wer.png?raw=true" alt="alt text" width="400" height="200">
* average, time per epoch / total time / final wer metric
* `ssb`: **42 min 3 sec** / **1 day 11 hours 2 min 30 sec** / **4,894** wer
* `without ssb`: 47 min 52 sec / 1 day 15 hours 53 min 44 sec / 4,991 wer
**Model training speed up by 12,1% with 2% improved of quality.**
---
Picture for docs is available via this link : https://github.com/NVIDIA/NeMo/releases/download/v1.22.0/ssb.png
Closed PR : https://github.com/NVIDIA/NeMo/pull/7307 | {
"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/8584/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/8584/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/8583 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/8583/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/8583/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/8583/events | https://github.com/NVIDIA/NeMo/pull/8583 | 2,168,759,101 | PR_kwDOC_bI7s5osT5r | 8,583 | Add config key for dropout position in LoRA adapter | {
"login": "michal2409",
"id": 14821051,
"node_id": "MDQ6VXNlcjE0ODIxMDUx",
"avatar_url": "https://avatars.githubusercontent.com/u/14821051?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/michal2409",
"html_url": "https://github.com/michal2409",
"followers_url": "https://api.github.com/users/michal2409/followers",
"following_url": "https://api.github.com/users/michal2409/following{/other_user}",
"gists_url": "https://api.github.com/users/michal2409/gists{/gist_id}",
"starred_url": "https://api.github.com/users/michal2409/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/michal2409/subscriptions",
"organizations_url": "https://api.github.com/users/michal2409/orgs",
"repos_url": "https://api.github.com/users/michal2409/repos",
"events_url": "https://api.github.com/users/michal2409/events{/privacy}",
"received_events_url": "https://api.github.com/users/michal2409/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"id": 4811886210,
"node_id": "LA_kwDOC_bI7s8AAAABHs-Ogg",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/NLP",
"name": "NLP",
"color": "CBF09A",
"default": false,
"description": ""
}
] | closed | false | null | [] | null | [
"jenkins",
"jenkins",
"jenkins",
"jenkins",
"jenkins"
] | 2024-03-05T09:48:33 | 2024-03-06T13:25:15 | 2024-03-06T13:25:14 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/8583",
"html_url": "https://github.com/NVIDIA/NeMo/pull/8583",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/8583.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/8583.patch",
"merged_at": "2024-03-06T13:25:14"
} | # What does this PR do?
Added dropout_position key in the Lora config to decide the dropout position in Lora adapter. Both [official](https://github.com/microsoft/LoRA/blob/main/loralib/layers.py#L149) Lora implementation and [PEFT](https://github.com/huggingface/peft/blob/9119b780ebac7859db5753ebad50d94ba803c99c/src/peft/tuners/lora/layer.py#L437) one are using dropout as a first operation while Nemo allows it only as a last operation. The dropout_position key allows to set position to pre to use it in the same way as the official implementation or post to leave it as it is right now.
**Collection**: nlp
# Changelog
- Add specific line by line info of high level changes in this PR.
# Usage
* You can potentially add a usage example below
```python
# Add a code snippet demonstrating how to use this
```
# Jenkins CI
To run Jenkins, a NeMo User with write access must comment `jenkins` on the PR.
# Before your PR is "Ready for review"
**Pre checks**:
- [ ] Make sure you read and followed [Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md)
- [ ] Did you write any new necessary tests?
- [ ] Did you add or update any necessary documentation?
- [ ] Does the PR affect components that are optional to install? (Ex: Numba, Pynini, Apex etc)
- [ ] Reviewer: Does the PR have correct import guards for all optional libraries?
**PR Type**:
- [ ] New Feature
- [ ] Bugfix
- [ ] Documentation
If you haven't finished some of the above items you can still open "Draft" PR.
## Who can review?
Anyone in the community is free to review the PR once the checks have passed.
[Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md) contains specific people who can review PRs to various areas.
# Additional Information
* Related to # (issue)
| {
"login": "michal2409",
"id": 14821051,
"node_id": "MDQ6VXNlcjE0ODIxMDUx",
"avatar_url": "https://avatars.githubusercontent.com/u/14821051?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/michal2409",
"html_url": "https://github.com/michal2409",
"followers_url": "https://api.github.com/users/michal2409/followers",
"following_url": "https://api.github.com/users/michal2409/following{/other_user}",
"gists_url": "https://api.github.com/users/michal2409/gists{/gist_id}",
"starred_url": "https://api.github.com/users/michal2409/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/michal2409/subscriptions",
"organizations_url": "https://api.github.com/users/michal2409/orgs",
"repos_url": "https://api.github.com/users/michal2409/repos",
"events_url": "https://api.github.com/users/michal2409/events{/privacy}",
"received_events_url": "https://api.github.com/users/michal2409/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/8583/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/8583/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/8582 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/8582/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/8582/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/8582/events | https://github.com/NVIDIA/NeMo/issues/8582 | 2,168,169,552 | I_kwDOC_bI7s6BO6RQ | 8,582 | Multiprocessing fork, spawn issue when attempting to run Nemo ASR on a Sanic server | {
"login": "csetanmayjain",
"id": 37631570,
"node_id": "MDQ6VXNlcjM3NjMxNTcw",
"avatar_url": "https://avatars.githubusercontent.com/u/37631570?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/csetanmayjain",
"html_url": "https://github.com/csetanmayjain",
"followers_url": "https://api.github.com/users/csetanmayjain/followers",
"following_url": "https://api.github.com/users/csetanmayjain/following{/other_user}",
"gists_url": "https://api.github.com/users/csetanmayjain/gists{/gist_id}",
"starred_url": "https://api.github.com/users/csetanmayjain/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/csetanmayjain/subscriptions",
"organizations_url": "https://api.github.com/users/csetanmayjain/orgs",
"repos_url": "https://api.github.com/users/csetanmayjain/repos",
"events_url": "https://api.github.com/users/csetanmayjain/events{/privacy}",
"received_events_url": "https://api.github.com/users/csetanmayjain/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"id": 1485815557,
"node_id": "MDU6TGFiZWwxNDg1ODE1NTU3",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": "Something isn't working"
},
{
"id": 4585431311,
"node_id": "LA_kwDOC_bI7s8AAAABEVAhDw",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/stale",
"name": "stale",
"color": "ededed",
"default": false,
"description": null
}
] | closed | false | null | [] | null | [
"This issue is stale because it has been open for 30 days with no activity. Remove stale label or comment or this will be closed in 7 days.",
"This issue was closed because it has been inactive for 7 days since being marked as stale."
] | 2024-03-05T02:52:07 | 2024-04-13T01:39:12 | 2024-04-13T01:39:12 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | I'm trying to create a Sanic server for Nemo ASR. It seems Nemo uses some fork method, while Sanic requires spawn.
**Code:**
```
import nemo.collections.asr as nemo_asr
from sanic import Sanic
app = Sanic(__name__)
if __name__ == '__main__':
app.run(debug=True)
```
**Error Message:**
`RuntimeError: Start method 'spawn' was requested, but 'fork' was already set.`
**Things I already tried, but nothing works:**
```
import multiprocessing as mp
mp.set_start_method('spawn', force=True)
```
```
torch.multiprocessing.set_start_method('spawn', force=True)
```
```
try:
mp.set_start_method('spawn', force=True)
print("spawned")
except RuntimeError:
pass
```
I request experts to help me or share some code snippets if they are publicly available.
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/8582/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/8582/timeline | null | not_planned | false |
https://api.github.com/repos/NVIDIA/NeMo/issues/8581 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/8581/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/8581/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/8581/events | https://github.com/NVIDIA/NeMo/pull/8581 | 2,168,028,841 | PR_kwDOC_bI7s5op2ek | 8,581 | Extended input configuration + Lhotse multimodal (mixed audio and text-only) dataloading | {
"login": "pzelasko",
"id": 15930688,
"node_id": "MDQ6VXNlcjE1OTMwNjg4",
"avatar_url": "https://avatars.githubusercontent.com/u/15930688?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/pzelasko",
"html_url": "https://github.com/pzelasko",
"followers_url": "https://api.github.com/users/pzelasko/followers",
"following_url": "https://api.github.com/users/pzelasko/following{/other_user}",
"gists_url": "https://api.github.com/users/pzelasko/gists{/gist_id}",
"starred_url": "https://api.github.com/users/pzelasko/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/pzelasko/subscriptions",
"organizations_url": "https://api.github.com/users/pzelasko/orgs",
"repos_url": "https://api.github.com/users/pzelasko/repos",
"events_url": "https://api.github.com/users/pzelasko/events{/privacy}",
"received_events_url": "https://api.github.com/users/pzelasko/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"id": 4811884691,
"node_id": "LA_kwDOC_bI7s8AAAABHs-Ikw",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/ASR",
"name": "ASR",
"color": "F3B33E",
"default": false,
"description": ""
},
{
"id": 4847373924,
"node_id": "LA_kwDOC_bI7s8AAAABIO0OZA",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/common",
"name": "common",
"color": "c5def5",
"default": false,
"description": ""
}
] | closed | false | null | [] | null | [
"jenkins",
"I'm not convinced that users will be able to jump to this config as easily as Piotr believes, but I won't block it since it's optional and doesn't hurt to have as an option ",
"> I'm not convinced that users will be able to jump to this config as easily as Piotr believes, but I won't block it since it's optional and doesn't hurt to have as an option\r\n\r\nIt's definitely an advanced-level user feature for those who need a fine-grained control in complex multidataset/multimodal setups. Hopefully with time we'll be able to release more models and materials demonstrating the usage.",
"jenkins",
"jenkins",
"jenkins"
] | 2024-03-05T00:13:30 | 2024-04-16T13:18:50 | 2024-04-16T13:18:49 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/8581",
"html_url": "https://github.com/NVIDIA/NeMo/pull/8581",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/8581.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/8581.patch",
"merged_at": "2024-04-16T13:18:49"
} | # What does this PR do ?
We add a new (optional) way to specify training data for NeMo speech collections. This is intended for experiments which combine potentially many datasets. The configs below are intended as a key under `model.train_ds` in training script configs. We also support providing a path to YAML file with the same contents.
In addition, we extend Lhotse dataloading support to text-only data (e.g. language modeling or machine translation). For now we assume simple text files, and additional parsers can be easily added in the future. This uses Lhotse version 1.22.0 which introduced support for customizing the samplers to other data than audio. In these cases, we measure the "example length" using the number of tokens for text and define a "token_equivalent_duration" for converting audio duration to a number of "tokens". This enables sampling both modalities together, with dynamic mixing, weighting, dynamic bucketing support, tarred audio, and everything else lhotse provides.
These changes are fully backward compatible (i.e., the new format is optional).
A few examples below:
Example 1. Combine two datasets with equal weights and attach custom metadata in ``tags`` to each cut:
```yaml
input_cfg:
- type: nemo_tarred
manifest_filepath: /path/to/manifest__OP_0..512_CL_.json
tarred_audio_filepath: /path/to/tarred_audio/audio__OP_0..512_CL_.tar
weight: 0.5
tags:
lang: en
some_metadata: some_value
- type: nemo_tarred
manifest_filepath: /path/to/manifest__OP_0..512_CL_.json
tarred_audio_filepath: /path/to/tarred_audio/audio__OP_0..512_CL_.tar
weight: 0.5
tags:
lang: pl
some_metadata: some_value
```
(The rest of the config goes in as usual as keys next to `input_cfg`, e.g. `batch_size`, `shuffle`, etc.)
Example 2. Combine multiple (4) datasets, with 2 corresponding to different tasks (ASR, AST). There are two levels of weights: per task (outer) and per dataset (inner). The final weight is the product of outer and inner weight. The groups could be nested further as needed.
```yaml
input_cfg:
- type: group
weight: 0.7
tags:
task: asr
input_cfg:
- type: nemo_tarred
manifest_filepath: /path/to/asr1/manifest__OP_0..512_CL_.json
tarred_audio_filepath: /path/to/tarred_audio/asr1/audio__OP_0..512_CL_.tar
weight: 0.6
tags:
lang: en
some_metadata: some_value
- type: nemo_tarred
manifest_filepath: /path/to/asr2/manifest__OP_0..512_CL_.json
tarred_audio_filepath: /path/to/asr2/tarred_audio/audio__OP_0..512_CL_.tar
weight: 0.4
tags:
lang: pl
some_metadata: some_value
- type: group
weight: 0.3
tags:
task: ast
input_cfg:
- type: nemo_tarred
manifest_filepath: /path/to/ast1/manifest__OP_0..512_CL_.json
tarred_audio_filepath: /path/to/ast1/tarred_audio/audio__OP_0..512_CL_.tar
weight: 0.2
tags:
src_lang: en
tgt_lang: pl
- type: nemo_tarred
manifest_filepath: /path/to/ast2/manifest__OP_0..512_CL_.json
tarred_audio_filepath: /path/to/ast2/tarred_audio/audio__OP_0..512_CL_.tar
weight: 0.8
tags:
src_lang: pl
tgt_lang: en
```
Example 3. Combine an ASR (audio-text) dataset with an MT (text-only) dataset so that mini-batches have some examples from both datasets. Provide a custom prompt field for both datasets (to be leveraged by a relevant dataset class):
```yaml
use_multimodal_sampling: true
batch_tokens: 1024
token_equivalent_duration: 0.08 # 0.01 frame shift * 8 subsampling factor
quadratic_factor: 50
num_buckets: 30
use_bucketing: true
input_cfg:
- type: nemo_tarred
manifest_filepath: /path/to/manifest__OP_0..512_CL_.json
tarred_audio_filepath: /path/to/tarred_audio/audio__OP_0..512_CL_.tar
weight: 0.5
tags:
lang: en
prompt: "Given the following recording, transcribe what the person is saying:"
- type: txt_pair
source_path: /path/to/en.txt
target_path: /path/to/pl.txt
source_language: en
target_language: pl
weight: 0.5
tags:
prompt: "Translate the following text to Polish:"
some_metadata: some_value
```
**Collection**: All speech collections
# Changelog
- Add specific line by line info of high level changes in this PR.
# Usage
* You can potentially add a usage example below
```python
# Add a code snippet demonstrating how to use this
```
# Jenkins CI
To run Jenkins, a NeMo User with write access must comment `jenkins` on the PR.
# Before your PR is "Ready for review"
**Pre checks**:
- [ ] Make sure you read and followed [Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md)
- [ ] Did you write any new necessary tests?
- [ ] Did you add or update any necessary documentation?
- [ ] Does the PR affect components that are optional to install? (Ex: Numba, Pynini, Apex etc)
- [ ] Reviewer: Does the PR have correct import guards for all optional libraries?
**PR Type**:
- [x] New Feature
- [ ] Bugfix
- [ ] Documentation
If you haven't finished some of the above items you can still open "Draft" PR.
## Who can review?
Anyone in the community is free to review the PR once the checks have passed.
[Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md) contains specific people who can review PRs to various areas.
# Additional Information
* Related to # (issue)
| {
"login": "pzelasko",
"id": 15930688,
"node_id": "MDQ6VXNlcjE1OTMwNjg4",
"avatar_url": "https://avatars.githubusercontent.com/u/15930688?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/pzelasko",
"html_url": "https://github.com/pzelasko",
"followers_url": "https://api.github.com/users/pzelasko/followers",
"following_url": "https://api.github.com/users/pzelasko/following{/other_user}",
"gists_url": "https://api.github.com/users/pzelasko/gists{/gist_id}",
"starred_url": "https://api.github.com/users/pzelasko/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/pzelasko/subscriptions",
"organizations_url": "https://api.github.com/users/pzelasko/orgs",
"repos_url": "https://api.github.com/users/pzelasko/repos",
"events_url": "https://api.github.com/users/pzelasko/events{/privacy}",
"received_events_url": "https://api.github.com/users/pzelasko/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/8581/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/8581/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/8580 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/8580/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/8580/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/8580/events | https://github.com/NVIDIA/NeMo/pull/8580 | 2,168,010,736 | PR_kwDOC_bI7s5opyk6 | 8,580 | Fixed missing copy import in rnnt_decoder.py | {
"login": "isaac-mcfadyen",
"id": 6243993,
"node_id": "MDQ6VXNlcjYyNDM5OTM=",
"avatar_url": "https://avatars.githubusercontent.com/u/6243993?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/isaac-mcfadyen",
"html_url": "https://github.com/isaac-mcfadyen",
"followers_url": "https://api.github.com/users/isaac-mcfadyen/followers",
"following_url": "https://api.github.com/users/isaac-mcfadyen/following{/other_user}",
"gists_url": "https://api.github.com/users/isaac-mcfadyen/gists{/gist_id}",
"starred_url": "https://api.github.com/users/isaac-mcfadyen/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/isaac-mcfadyen/subscriptions",
"organizations_url": "https://api.github.com/users/isaac-mcfadyen/orgs",
"repos_url": "https://api.github.com/users/isaac-mcfadyen/repos",
"events_url": "https://api.github.com/users/isaac-mcfadyen/events{/privacy}",
"received_events_url": "https://api.github.com/users/isaac-mcfadyen/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"id": 4811884691,
"node_id": "LA_kwDOC_bI7s8AAAABHs-Ikw",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/ASR",
"name": "ASR",
"color": "F3B33E",
"default": false,
"description": ""
}
] | closed | false | null | [] | null | [] | 2024-03-04T23:55:18 | 2024-03-05T17:48:30 | 2024-03-05T17:48:29 | CONTRIBUTOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/8580",
"html_url": "https://github.com/NVIDIA/NeMo/pull/8580",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/8580.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/8580.patch",
"merged_at": "2024-03-05T17:48:29"
} | # What does this PR do ?
When using compute_timestamps with RNNT models, an error is encountered because of a missing `copy` import (where `copy` is Python's built-in [copy](https://docs.python.org/3/library/copy.html) module).
**Collection**: ASR
# Changelog
- One-line change: `import copy` at top of [rnnt_decoding.py](https://github.com/NVIDIA/NeMo/blob/main/nemo/collections/asr/parts/submodules/rnnt_decoding.py) file.
# Jenkins CI
To run Jenkins, a NeMo User with write access must comment `jenkins` on the PR.
# Before your PR is "Ready for review"
**Pre checks**:
- [X] Make sure you read and followed [Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md)
- [ ] Did you write any new necessary tests?
- Not applicable, tiny bugfix.
- [ ] 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.
| {
"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/8580/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/8580/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/8579 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/8579/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/8579/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/8579/events | https://github.com/NVIDIA/NeMo/issues/8579 | 2,167,976,015 | I_kwDOC_bI7s6BOLBP | 8,579 | Speech Synthesizer cannot produce more than 11 seconds of audio. | {
"login": "PhilipAmadasun",
"id": 55031054,
"node_id": "MDQ6VXNlcjU1MDMxMDU0",
"avatar_url": "https://avatars.githubusercontent.com/u/55031054?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/PhilipAmadasun",
"html_url": "https://github.com/PhilipAmadasun",
"followers_url": "https://api.github.com/users/PhilipAmadasun/followers",
"following_url": "https://api.github.com/users/PhilipAmadasun/following{/other_user}",
"gists_url": "https://api.github.com/users/PhilipAmadasun/gists{/gist_id}",
"starred_url": "https://api.github.com/users/PhilipAmadasun/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/PhilipAmadasun/subscriptions",
"organizations_url": "https://api.github.com/users/PhilipAmadasun/orgs",
"repos_url": "https://api.github.com/users/PhilipAmadasun/repos",
"events_url": "https://api.github.com/users/PhilipAmadasun/events{/privacy}",
"received_events_url": "https://api.github.com/users/PhilipAmadasun/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"id": 4585431311,
"node_id": "LA_kwDOC_bI7s8AAAABEVAhDw",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/stale",
"name": "stale",
"color": "ededed",
"default": false,
"description": null
}
] | closed | false | null | [] | null | [
"This issue is stale because it has been open for 30 days with no activity. Remove stale label or comment or this will be closed in 7 days.",
"This issue was closed because it has been inactive for 7 days since being marked as stale."
] | 2024-03-04T23:24:32 | 2024-04-11T01:44:38 | 2024-04-11T01:44:38 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | Is there some parameter needed to increase the length of audio that the speech synthesizers supported by NeMo can produce?
This code here does not produce audio that covers the Text I provide in the code below, I only get 11 seconds of Audio. Also what is the maximum length of audio that can be produced at a time?
```
import torch
import IPython.display as ipd
from matplotlib.pyplot import imshow
from matplotlib import pyplot as plt
from nemo.collections.tts.models.base import SpectrogramGenerator, Vocoder
import soundfile as sf
import sys
# List pretrained models available in NeMo
print("Spectrogram Models")
print(SpectrogramGenerator.list_available_models())
print()
print("Vocoders")
print(Vocoder.list_available_models())
if torch.cuda.is_available():
device = "cuda"
else:
device = "cpu"
# Load our spectrogram and vocoder models onto our CPU
spectrogram_model = SpectrogramGenerator.from_pretrained("tts_en_tacotron2").eval().to(device)
vocoder = Vocoder.from_pretrained("tts_en_hifigan").eval().to(device)
text = "Within the chasmic depths of my mind, vague shapes, sounds and visions fight to be witnessed. A scattering of incoherent memories..... gateways to the blessed palace...... Darkness......Phase equations made flesh.....Darkness.....Waking dreams of a passionless mortal life long though buried....Darkness....Archs of impossible colors claw desperately across the back of my electronic eyes, my machine souls last attempt to ignite conciousness....Darkness....Light, waking neurons fired into life like a birthing galaxy aroused by the sound of plaintiff cries, not human or A.I, not daemon, distant. Ethereal to my spirit."
# Normalize the text and convert it into individual phonemes/tokens.
tokens = spectrogram_model.parse(text, normalize=True)
# Generate spectrogram from text
spectrogram = spectrogram_model.generate_spectrogram(tokens=tokens)
# Invert the spectrogram into audio samples
audio = vocoder.convert_spectrogram_to_audio(spec=spectrogram)
# Convert output from pytorch tensor to numpy array
spectrogram = spectrogram.cpu().detach().numpy()[0]
audio = audio.cpu().detach().numpy()[0]
audio_file = "output_audio.wav"
sf.write(audio_file, audio, samplerate=22050)
print(f"Audio saved to {audio_file}")
print(f'"{text}"\n')
ipd.Audio(audio, rate=22050)
``` | {
"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/8579/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/8579/timeline | null | not_planned | false |
https://api.github.com/repos/NVIDIA/NeMo/issues/8578 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/8578/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/8578/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/8578/events | https://github.com/NVIDIA/NeMo/pull/8578 | 2,167,951,445 | PR_kwDOC_bI7s5oplae | 8,578 | Fixing data types for cached states | {
"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
} | [
{
"id": 4585431311,
"node_id": "LA_kwDOC_bI7s8AAAABEVAhDw",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/stale",
"name": "stale",
"color": "ededed",
"default": false,
"description": null
},
{
"id": 4811884691,
"node_id": "LA_kwDOC_bI7s8AAAABHs-Ikw",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/ASR",
"name": "ASR",
"color": "F3B33E",
"default": false,
"description": ""
}
] | closed | false | null | [] | null | [
"This PR is stale because it has been open for 14 days with no activity. Remove stale label or comment or update or this will be closed in 7 days.",
"This PR was closed because it has been inactive for 7 days since being marked as stale."
] | 2024-03-04T23:09:18 | 2024-03-26T01:43:57 | 2024-03-26T01:43:57 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/8578",
"html_url": "https://github.com/NVIDIA/NeMo/pull/8578",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/8578.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/8578.patch",
"merged_at": null
} | # What does this PR do ?
Some dimensions of the cached states should be exported as static, not dynamic.
**Collection**: [Note which collection this PR will affect]
# Changelog
- Add specific line by line info of high level changes in this PR.
# Usage
* You can potentially add a usage example below
```python
# Add a code snippet demonstrating how to use this
```
# Jenkins CI
To run Jenkins, a NeMo User with write access must comment `jenkins` on the PR.
# Before your PR is "Ready for review"
**Pre checks**:
- [ ] Make sure you read and followed [Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md)
- [ ] Did you write any new necessary tests?
- [ ] Did you add or update any necessary documentation?
- [ ] Does the PR affect components that are optional to install? (Ex: Numba, Pynini, Apex etc)
- [ ] Reviewer: Does the PR have correct import guards for all optional libraries?
**PR Type**:
- [ ] New Feature
- [ ] Bugfix
- [ ] Documentation
If you haven't finished some of the above items you can still open "Draft" PR.
## Who can review?
Anyone in the community is free to review the PR once the checks have passed.
[Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md) contains specific people who can review PRs to various areas.
# Additional Information
* Related to # (issue)
| {
"login": "github-actions[bot]",
"id": 41898282,
"node_id": "MDM6Qm90NDE4OTgyODI=",
"avatar_url": "https://avatars.githubusercontent.com/in/15368?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/github-actions%5Bbot%5D",
"html_url": "https://github.com/apps/github-actions",
"followers_url": "https://api.github.com/users/github-actions%5Bbot%5D/followers",
"following_url": "https://api.github.com/users/github-actions%5Bbot%5D/following{/other_user}",
"gists_url": "https://api.github.com/users/github-actions%5Bbot%5D/gists{/gist_id}",
"starred_url": "https://api.github.com/users/github-actions%5Bbot%5D/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/github-actions%5Bbot%5D/subscriptions",
"organizations_url": "https://api.github.com/users/github-actions%5Bbot%5D/orgs",
"repos_url": "https://api.github.com/users/github-actions%5Bbot%5D/repos",
"events_url": "https://api.github.com/users/github-actions%5Bbot%5D/events{/privacy}",
"received_events_url": "https://api.github.com/users/github-actions%5Bbot%5D/received_events",
"type": "Bot",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/8578/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/8578/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/8577 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/8577/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/8577/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/8577/events | https://github.com/NVIDIA/NeMo/issues/8577 | 2,167,669,524 | I_kwDOC_bI7s6BNAMU | 8,577 | Cannot disable progress bar | {
"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
} | [
{
"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": "athitten",
"id": 47577437,
"node_id": "MDQ6VXNlcjQ3NTc3NDM3",
"avatar_url": "https://avatars.githubusercontent.com/u/47577437?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/athitten",
"html_url": "https://github.com/athitten",
"followers_url": "https://api.github.com/users/athitten/followers",
"following_url": "https://api.github.com/users/athitten/following{/other_user}",
"gists_url": "https://api.github.com/users/athitten/gists{/gist_id}",
"starred_url": "https://api.github.com/users/athitten/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/athitten/subscriptions",
"organizations_url": "https://api.github.com/users/athitten/orgs",
"repos_url": "https://api.github.com/users/athitten/repos",
"events_url": "https://api.github.com/users/athitten/events{/privacy}",
"received_events_url": "https://api.github.com/users/athitten/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"login": "athitten",
"id": 47577437,
"node_id": "MDQ6VXNlcjQ3NTc3NDM3",
"avatar_url": "https://avatars.githubusercontent.com/u/47577437?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/athitten",
"html_url": "https://github.com/athitten",
"followers_url": "https://api.github.com/users/athitten/followers",
"following_url": "https://api.github.com/users/athitten/following{/other_user}",
"gists_url": "https://api.github.com/users/athitten/gists{/gist_id}",
"starred_url": "https://api.github.com/users/athitten/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/athitten/subscriptions",
"organizations_url": "https://api.github.com/users/athitten/orgs",
"repos_url": "https://api.github.com/users/athitten/repos",
"events_url": "https://api.github.com/users/athitten/events{/privacy}",
"received_events_url": "https://api.github.com/users/athitten/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
}
] | null | [
"@athitten, can you take a look at this when you have time?",
"@ksivaman this issue should be fixed in this PR: [PR 8663](https://github.com/NVIDIA/NeMo/pull/8663). Can you please help review it ? Thank you."
] | 2024-03-04T20:17:40 | 2024-03-20T00:03:55 | 2024-03-20T00:03:55 | MEMBER | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | When setting `+trainer.enable_progress_bar=False` in the config, the application crashes since `CustomProgressBar` is always passed as callback to PyTorch lightning trainer.
```
raise MisconfigurationException(
lightning_fabric.utilities.exceptions.MisconfigurationException: Trainer was configured with `enable_progress_bar=False` but found `CustomProgressBar` in callbacks list.
``` | {
"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/8577/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/8577/timeline | null | completed | false |
https://api.github.com/repos/NVIDIA/NeMo/issues/8576 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/8576/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/8576/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/8576/events | https://github.com/NVIDIA/NeMo/pull/8576 | 2,167,646,053 | PR_kwDOC_bI7s5oohhk | 8,576 | Make sampler length independent from consumed samples. | {
"login": "jstjohn",
"id": 459014,
"node_id": "MDQ6VXNlcjQ1OTAxNA==",
"avatar_url": "https://avatars.githubusercontent.com/u/459014?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jstjohn",
"html_url": "https://github.com/jstjohn",
"followers_url": "https://api.github.com/users/jstjohn/followers",
"following_url": "https://api.github.com/users/jstjohn/following{/other_user}",
"gists_url": "https://api.github.com/users/jstjohn/gists{/gist_id}",
"starred_url": "https://api.github.com/users/jstjohn/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jstjohn/subscriptions",
"organizations_url": "https://api.github.com/users/jstjohn/orgs",
"repos_url": "https://api.github.com/users/jstjohn/repos",
"events_url": "https://api.github.com/users/jstjohn/events{/privacy}",
"received_events_url": "https://api.github.com/users/jstjohn/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"id": 4585431311,
"node_id": "LA_kwDOC_bI7s8AAAABEVAhDw",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/stale",
"name": "stale",
"color": "ededed",
"default": false,
"description": null
},
{
"id": 4811886210,
"node_id": "LA_kwDOC_bI7s8AAAABHs-Ogg",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/NLP",
"name": "NLP",
"color": "CBF09A",
"default": false,
"description": ""
}
] | closed | false | null | [] | null | [
"This PR is stale because it has been open for 14 days with no activity. Remove stale label or comment or update or this will be closed in 7 days.",
"This PR was closed because it has been inactive for 7 days since being marked as stale."
] | 2024-03-04T20:03:22 | 2024-03-26T01:44:00 | 2024-03-26T01:43:59 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | true | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/8576",
"html_url": "https://github.com/NVIDIA/NeMo/pull/8576",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/8576.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/8576.patch",
"merged_at": null
} | When resuming a training job, the pytorch lightning trainer seems to use the data loader to determine the number of total steps left in the epoch. When you kill/resume a training job partway through, the data sampler length will be reduced by `consumed_samples` in the current implementation, while the current step of the trainer will be restored. This results in a double impact to the number of remaining samples, and we can get into a situation where the trainer crashes out when the current_step is greater than the length of the dataloader. Leaving the length unchanged seems to fix this issue, and since it is an iterator, the stop_iteration (based on consumed_samples) does what it is supposed to do.
# What does this PR do ?
Leave len(sampler) as is, not making it a function of consumed_samples. Default behavior of pytorch lightning trainer resumption seems to behave better with this configuration.
**Collection**: all
# Changelog
- Add specific line by line info of high level changes in this PR.
# Usage
* You can potentially add a usage example below
```python
# Add a code snippet demonstrating how to use this
```
# Jenkins CI
To run Jenkins, a NeMo User with write access must comment `jenkins` on the PR.
# Before your PR is "Ready for review"
**Pre checks**:
- [ ] Make sure you read and followed [Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md)
- [ ] Did you write any new necessary tests?
- [ ] Did you add or update any necessary documentation?
- [ ] Does the PR affect components that are optional to install? (Ex: Numba, Pynini, Apex etc)
- [ ] Reviewer: Does the PR have correct import guards for all optional libraries?
**PR Type**:
- [ ] New Feature
- [x] Bugfix
- [ ] Documentation
If you haven't finished some of the above items you can still open "Draft" PR.
## Who can review?
Anyone in the community is free to review the PR once the checks have passed.
[Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md) contains specific people who can review PRs to various areas.
# Additional Information
* Related to # (issue)
| {
"login": "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/8576/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/8576/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/8575 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/8575/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/8575/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/8575/events | https://github.com/NVIDIA/NeMo/pull/8575 | 2,167,627,986 | PR_kwDOC_bI7s5oodin | 8,575 | Draft: Reduce optimizer cpu memory usage when dist checkpoint load/save | {
"login": "JimmyZhang12",
"id": 67203904,
"node_id": "MDQ6VXNlcjY3MjAzOTA0",
"avatar_url": "https://avatars.githubusercontent.com/u/67203904?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/JimmyZhang12",
"html_url": "https://github.com/JimmyZhang12",
"followers_url": "https://api.github.com/users/JimmyZhang12/followers",
"following_url": "https://api.github.com/users/JimmyZhang12/following{/other_user}",
"gists_url": "https://api.github.com/users/JimmyZhang12/gists{/gist_id}",
"starred_url": "https://api.github.com/users/JimmyZhang12/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/JimmyZhang12/subscriptions",
"organizations_url": "https://api.github.com/users/JimmyZhang12/orgs",
"repos_url": "https://api.github.com/users/JimmyZhang12/repos",
"events_url": "https://api.github.com/users/JimmyZhang12/events{/privacy}",
"received_events_url": "https://api.github.com/users/JimmyZhang12/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"id": 1923495043,
"node_id": "MDU6TGFiZWwxOTIzNDk1MDQz",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/core",
"name": "core",
"color": "f25e3a",
"default": false,
"description": "Changes to NeMo Core"
},
{
"id": 4585431311,
"node_id": "LA_kwDOC_bI7s8AAAABEVAhDw",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/stale",
"name": "stale",
"color": "ededed",
"default": false,
"description": null
},
{
"id": 4811886210,
"node_id": "LA_kwDOC_bI7s8AAAABHs-Ogg",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/NLP",
"name": "NLP",
"color": "CBF09A",
"default": false,
"description": ""
}
] | closed | false | null | [] | null | [
"This PR is stale because it has been open for 14 days with no activity. Remove stale label or comment or update or this will be closed in 7 days.",
"This PR was closed because it has been inactive for 7 days since being marked as stale."
] | 2024-03-04T19:52:20 | 2024-03-26T01:44:02 | 2024-03-26T01:44:01 | CONTRIBUTOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/8575",
"html_url": "https://github.com/NVIDIA/NeMo/pull/8575",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/8575.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/8575.patch",
"merged_at": null
} | # What does this PR do ?
Add a one line overview of what this PR aims to accomplish.
**Collection**: [Note which collection this PR will affect]
# Changelog
- Add specific line by line info of high level changes in this PR.
# Usage
* You can potentially add a usage example below
```python
# Add a code snippet demonstrating how to use this
```
# Jenkins CI
To run Jenkins, a NeMo User with write access must comment `jenkins` on the PR.
# Before your PR is "Ready for review"
**Pre checks**:
- [ ] Make sure you read and followed [Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md)
- [ ] Did you write any new necessary tests?
- [ ] Did you add or update any necessary documentation?
- [ ] Does the PR affect components that are optional to install? (Ex: Numba, Pynini, Apex etc)
- [ ] Reviewer: Does the PR have correct import guards for all optional libraries?
**PR Type**:
- [ ] New Feature
- [ ] Bugfix
- [ ] Documentation
If you haven't finished some of the above items you can still open "Draft" PR.
## Who can review?
Anyone in the community is free to review the PR once the checks have passed.
[Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md) contains specific people who can review PRs to various areas.
# Additional Information
* Related to # (issue)
| {
"login": "github-actions[bot]",
"id": 41898282,
"node_id": "MDM6Qm90NDE4OTgyODI=",
"avatar_url": "https://avatars.githubusercontent.com/in/15368?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/github-actions%5Bbot%5D",
"html_url": "https://github.com/apps/github-actions",
"followers_url": "https://api.github.com/users/github-actions%5Bbot%5D/followers",
"following_url": "https://api.github.com/users/github-actions%5Bbot%5D/following{/other_user}",
"gists_url": "https://api.github.com/users/github-actions%5Bbot%5D/gists{/gist_id}",
"starred_url": "https://api.github.com/users/github-actions%5Bbot%5D/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/github-actions%5Bbot%5D/subscriptions",
"organizations_url": "https://api.github.com/users/github-actions%5Bbot%5D/orgs",
"repos_url": "https://api.github.com/users/github-actions%5Bbot%5D/repos",
"events_url": "https://api.github.com/users/github-actions%5Bbot%5D/events{/privacy}",
"received_events_url": "https://api.github.com/users/github-actions%5Bbot%5D/received_events",
"type": "Bot",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/8575/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/8575/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/8574 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/8574/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/8574/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/8574/events | https://github.com/NVIDIA/NeMo/pull/8574 | 2,167,578,326 | PR_kwDOC_bI7s5ooSgg | 8,574 | Remove irrelevant multimodal models in docs | {
"login": "yaoyu-33",
"id": 54727607,
"node_id": "MDQ6VXNlcjU0NzI3NjA3",
"avatar_url": "https://avatars.githubusercontent.com/u/54727607?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yaoyu-33",
"html_url": "https://github.com/yaoyu-33",
"followers_url": "https://api.github.com/users/yaoyu-33/followers",
"following_url": "https://api.github.com/users/yaoyu-33/following{/other_user}",
"gists_url": "https://api.github.com/users/yaoyu-33/gists{/gist_id}",
"starred_url": "https://api.github.com/users/yaoyu-33/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/yaoyu-33/subscriptions",
"organizations_url": "https://api.github.com/users/yaoyu-33/orgs",
"repos_url": "https://api.github.com/users/yaoyu-33/repos",
"events_url": "https://api.github.com/users/yaoyu-33/events{/privacy}",
"received_events_url": "https://api.github.com/users/yaoyu-33/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"id": 6627254865,
"node_id": "LA_kwDOC_bI7s8AAAABiwPiUQ",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/Multi%20Modal",
"name": "Multi Modal",
"color": "ededed",
"default": false,
"description": null
}
] | closed | false | null | [] | null | [] | 2024-03-04T19:23:47 | 2024-03-08T00:34:43 | 2024-03-08T00:34:42 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/8574",
"html_url": "https://github.com/NVIDIA/NeMo/pull/8574",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/8574.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/8574.patch",
"merged_at": "2024-03-08T00:34:42"
} | # What does this PR do ?
Add a one line overview of what this PR aims to accomplish.
**Collection**: [Note which collection this PR will affect]
# Changelog
- Add specific line by line info of high level changes in this PR.
# Usage
* You can potentially add a usage example below
```python
# Add a code snippet demonstrating how to use this
```
# Jenkins CI
To run Jenkins, a NeMo User with write access must comment `jenkins` on the PR.
# Before your PR is "Ready for review"
**Pre checks**:
- [ ] Make sure you read and followed [Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md)
- [ ] Did you write any new necessary tests?
- [ ] Did you add or update any necessary documentation?
- [ ] Does the PR affect components that are optional to install? (Ex: Numba, Pynini, Apex etc)
- [ ] Reviewer: Does the PR have correct import guards for all optional libraries?
**PR Type**:
- [ ] New Feature
- [ ] Bugfix
- [ ] Documentation
If you haven't finished some of the above items you can still open "Draft" PR.
## Who can review?
Anyone in the community is free to review the PR once the checks have passed.
[Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md) contains specific people who can review PRs to various areas.
# Additional Information
* Related to # (issue)
| {
"login": "ericharper",
"id": 11999610,
"node_id": "MDQ6VXNlcjExOTk5NjEw",
"avatar_url": "https://avatars.githubusercontent.com/u/11999610?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ericharper",
"html_url": "https://github.com/ericharper",
"followers_url": "https://api.github.com/users/ericharper/followers",
"following_url": "https://api.github.com/users/ericharper/following{/other_user}",
"gists_url": "https://api.github.com/users/ericharper/gists{/gist_id}",
"starred_url": "https://api.github.com/users/ericharper/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ericharper/subscriptions",
"organizations_url": "https://api.github.com/users/ericharper/orgs",
"repos_url": "https://api.github.com/users/ericharper/repos",
"events_url": "https://api.github.com/users/ericharper/events{/privacy}",
"received_events_url": "https://api.github.com/users/ericharper/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/8574/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/8574/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/8573 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/8573/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/8573/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/8573/events | https://github.com/NVIDIA/NeMo/issues/8573 | 2,166,963,851 | I_kwDOC_bI7s6BKT6L | 8,573 | Learning Schedule for Fast Conformer | {
"login": "qhoangdl",
"id": 35248046,
"node_id": "MDQ6VXNlcjM1MjQ4MDQ2",
"avatar_url": "https://avatars.githubusercontent.com/u/35248046?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/qhoangdl",
"html_url": "https://github.com/qhoangdl",
"followers_url": "https://api.github.com/users/qhoangdl/followers",
"following_url": "https://api.github.com/users/qhoangdl/following{/other_user}",
"gists_url": "https://api.github.com/users/qhoangdl/gists{/gist_id}",
"starred_url": "https://api.github.com/users/qhoangdl/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/qhoangdl/subscriptions",
"organizations_url": "https://api.github.com/users/qhoangdl/orgs",
"repos_url": "https://api.github.com/users/qhoangdl/repos",
"events_url": "https://api.github.com/users/qhoangdl/events{/privacy}",
"received_events_url": "https://api.github.com/users/qhoangdl/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | [
"Yes, only one cycle. It is preferred to use max steps since it makes it easier to configure the scheduler but you can provide other args and it will work fine ",
"Thank you for the clarification!\r\n\r\nRegarding model averaging, the paper mentions taking average of the last 5 checkpoint. In your implementation, do you take average of the last 5 checkpoints or simply take average of the 5 best checkpoints?",
"Last 5 checkpoints is more stable and gets adequate improvements. Best 5 can be unstable based on how \"stale\" the checkpoints are - potentially an epoch 50 xheckpoint can somehow be merged with epoch 500 and that usually causes degradation in performance ",
"I see. And the val_check_interval is 1.0 so the last 5 checkpoints are the model at the end of the last 5 epochs, right?",
"Usually, but not always. It's usually within the bracket of last 5-15 Epochs ",
"I see. Thank you very much!"
] | 2024-03-04T14:19:12 | 2024-03-05T06:19:43 | 2024-03-05T06:19:42 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | Hi,
I don't see the max_steps specified in this [config](https://github.com/NVIDIA/NeMo/blob/main/examples/asr/conf/fastconformer/fast-conformer_ctc_bpe.yaml#L184) for Fast-Conformer CTC BPE. Does that mean there's only one cycle in the whole training process because the max_steps param will be the total training steps - warmup_steps?
Do I need to specify the max_steps to something like the total number of iteration per epoch?
Thanks! | {
"login": "qhoangdl",
"id": 35248046,
"node_id": "MDQ6VXNlcjM1MjQ4MDQ2",
"avatar_url": "https://avatars.githubusercontent.com/u/35248046?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/qhoangdl",
"html_url": "https://github.com/qhoangdl",
"followers_url": "https://api.github.com/users/qhoangdl/followers",
"following_url": "https://api.github.com/users/qhoangdl/following{/other_user}",
"gists_url": "https://api.github.com/users/qhoangdl/gists{/gist_id}",
"starred_url": "https://api.github.com/users/qhoangdl/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/qhoangdl/subscriptions",
"organizations_url": "https://api.github.com/users/qhoangdl/orgs",
"repos_url": "https://api.github.com/users/qhoangdl/repos",
"events_url": "https://api.github.com/users/qhoangdl/events{/privacy}",
"received_events_url": "https://api.github.com/users/qhoangdl/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/8573/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/8573/timeline | null | completed | false |
https://api.github.com/repos/NVIDIA/NeMo/issues/8572 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/8572/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/8572/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/8572/events | https://github.com/NVIDIA/NeMo/issues/8572 | 2,166,420,471 | I_kwDOC_bI7s6BIPP3 | 8,572 | No module named 'nemo.collections.multimodal.models' | {
"login": "ranga-godhandaraman",
"id": 111883012,
"node_id": "U_kgDOBqszBA",
"avatar_url": "https://avatars.githubusercontent.com/u/111883012?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ranga-godhandaraman",
"html_url": "https://github.com/ranga-godhandaraman",
"followers_url": "https://api.github.com/users/ranga-godhandaraman/followers",
"following_url": "https://api.github.com/users/ranga-godhandaraman/following{/other_user}",
"gists_url": "https://api.github.com/users/ranga-godhandaraman/gists{/gist_id}",
"starred_url": "https://api.github.com/users/ranga-godhandaraman/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ranga-godhandaraman/subscriptions",
"organizations_url": "https://api.github.com/users/ranga-godhandaraman/orgs",
"repos_url": "https://api.github.com/users/ranga-godhandaraman/repos",
"events_url": "https://api.github.com/users/ranga-godhandaraman/events{/privacy}",
"received_events_url": "https://api.github.com/users/ranga-godhandaraman/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 | [
"These collections are under active development, we hope to stabilize them soon ",
"This issue is stale because it has been open for 30 days with no activity. Remove stale label or comment or this will be closed in 7 days.",
"This issue was closed because it has been inactive for 7 days since being marked as stale."
] | 2024-03-04T09:51:16 | 2024-04-11T01:44:39 | 2024-04-11T01:44:39 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | **Problem statement**
~ I'm working on the "Stable-Diffusion" model.
~ while converting to ".nemo" I'm facing some issues in the code from file "convert_external_clip_to_nemo.py" on line 41

~ This is the import line:

~ Even though those Classes are defined, they don't get imported.

~please provide a solution | {
"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/8572/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/8572/timeline | null | not_planned | false |
https://api.github.com/repos/NVIDIA/NeMo/issues/8571 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/8571/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/8571/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/8571/events | https://github.com/NVIDIA/NeMo/pull/8571 | 2,166,316,880 | PR_kwDOC_bI7s5oj8uS | 8,571 | Fix an import in export_utils.py | {
"login": "w4-jinhyeonkim",
"id": 131935801,
"node_id": "U_kgDOB90uOQ",
"avatar_url": "https://avatars.githubusercontent.com/u/131935801?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/w4-jinhyeonkim",
"html_url": "https://github.com/w4-jinhyeonkim",
"followers_url": "https://api.github.com/users/w4-jinhyeonkim/followers",
"following_url": "https://api.github.com/users/w4-jinhyeonkim/following{/other_user}",
"gists_url": "https://api.github.com/users/w4-jinhyeonkim/gists{/gist_id}",
"starred_url": "https://api.github.com/users/w4-jinhyeonkim/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/w4-jinhyeonkim/subscriptions",
"organizations_url": "https://api.github.com/users/w4-jinhyeonkim/orgs",
"repos_url": "https://api.github.com/users/w4-jinhyeonkim/repos",
"events_url": "https://api.github.com/users/w4-jinhyeonkim/events{/privacy}",
"received_events_url": "https://api.github.com/users/w4-jinhyeonkim/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | [
"Jenkins"
] | 2024-03-04T09:03:03 | 2024-03-04T18:29:21 | 2024-03-04T18:29:21 | CONTRIBUTOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/8571",
"html_url": "https://github.com/NVIDIA/NeMo/pull/8571",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/8571.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/8571.patch",
"merged_at": "2024-03-04T18:29:21"
} | # What does this PR do ?
Fix missing import introduced at [nemo/utils/export_utils.py#450@e6ee3312](https://github.com/NVIDIA/NeMo/commit/e6ee3312fb3f35b9d95b54b64c2abed4574708b9)
**Collection**: [Note which collection this PR will affect]
# Changelog
- Add specific line by line info of high level changes in this PR.
# Jenkins CI
To run Jenkins, a NeMo User with write access must comment `jenkins` on the PR.
# Before your PR is "Ready for review"
**Pre checks**:
- [ ] 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/8571/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/8571/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/8570 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/8570/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/8570/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/8570/events | https://github.com/NVIDIA/NeMo/pull/8570 | 2,165,914,307 | PR_kwDOC_bI7s5oikFz | 8,570 | Draft: Jiemingz/optimizer mem fix | {
"login": "JimmyZhang12",
"id": 67203904,
"node_id": "MDQ6VXNlcjY3MjAzOTA0",
"avatar_url": "https://avatars.githubusercontent.com/u/67203904?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/JimmyZhang12",
"html_url": "https://github.com/JimmyZhang12",
"followers_url": "https://api.github.com/users/JimmyZhang12/followers",
"following_url": "https://api.github.com/users/JimmyZhang12/following{/other_user}",
"gists_url": "https://api.github.com/users/JimmyZhang12/gists{/gist_id}",
"starred_url": "https://api.github.com/users/JimmyZhang12/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/JimmyZhang12/subscriptions",
"organizations_url": "https://api.github.com/users/JimmyZhang12/orgs",
"repos_url": "https://api.github.com/users/JimmyZhang12/repos",
"events_url": "https://api.github.com/users/JimmyZhang12/events{/privacy}",
"received_events_url": "https://api.github.com/users/JimmyZhang12/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"id": 1923495043,
"node_id": "MDU6TGFiZWwxOTIzNDk1MDQz",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/core",
"name": "core",
"color": "f25e3a",
"default": false,
"description": "Changes to NeMo Core"
},
{
"id": 4811886210,
"node_id": "LA_kwDOC_bI7s8AAAABHs-Ogg",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/NLP",
"name": "NLP",
"color": "CBF09A",
"default": false,
"description": ""
}
] | closed | false | null | [] | null | [] | 2024-03-04T04:45:30 | 2024-03-04T19:50:11 | 2024-03-04T19:50:11 | CONTRIBUTOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/8570",
"html_url": "https://github.com/NVIDIA/NeMo/pull/8570",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/8570.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/8570.patch",
"merged_at": null
} | # What does this PR do ?
Add a one line overview of what this PR aims to accomplish.
**Collection**: [Note which collection this PR will affect]
# Changelog
- Add specific line by line info of high level changes in this PR.
# Usage
* You can potentially add a usage example below
```python
# Add a code snippet demonstrating how to use this
```
# Jenkins CI
To run Jenkins, a NeMo User with write access must comment `jenkins` on the PR.
# Before your PR is "Ready for review"
**Pre checks**:
- [ ] Make sure you read and followed [Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md)
- [ ] Did you write any new necessary tests?
- [ ] Did you add or update any necessary documentation?
- [ ] Does the PR affect components that are optional to install? (Ex: Numba, Pynini, Apex etc)
- [ ] Reviewer: Does the PR have correct import guards for all optional libraries?
**PR Type**:
- [ ] New Feature
- [ ] Bugfix
- [ ] Documentation
If you haven't finished some of the above items you can still open "Draft" PR.
## Who can review?
Anyone in the community is free to review the PR once the checks have passed.
[Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md) contains specific people who can review PRs to various areas.
# Additional Information
* Related to # (issue)
| {
"login": "JimmyZhang12",
"id": 67203904,
"node_id": "MDQ6VXNlcjY3MjAzOTA0",
"avatar_url": "https://avatars.githubusercontent.com/u/67203904?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/JimmyZhang12",
"html_url": "https://github.com/JimmyZhang12",
"followers_url": "https://api.github.com/users/JimmyZhang12/followers",
"following_url": "https://api.github.com/users/JimmyZhang12/following{/other_user}",
"gists_url": "https://api.github.com/users/JimmyZhang12/gists{/gist_id}",
"starred_url": "https://api.github.com/users/JimmyZhang12/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/JimmyZhang12/subscriptions",
"organizations_url": "https://api.github.com/users/JimmyZhang12/orgs",
"repos_url": "https://api.github.com/users/JimmyZhang12/repos",
"events_url": "https://api.github.com/users/JimmyZhang12/events{/privacy}",
"received_events_url": "https://api.github.com/users/JimmyZhang12/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/8570/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/8570/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/8569 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/8569/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/8569/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/8569/events | https://github.com/NVIDIA/NeMo/issues/8569 | 2,165,791,665 | I_kwDOC_bI7s6BF1ux | 8,569 | Unable to convert any nemo file using nemo2riva | {
"login": "LL-AI-dev",
"id": 137733574,
"node_id": "U_kgDOCDWlxg",
"avatar_url": "https://avatars.githubusercontent.com/u/137733574?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/LL-AI-dev",
"html_url": "https://github.com/LL-AI-dev",
"followers_url": "https://api.github.com/users/LL-AI-dev/followers",
"following_url": "https://api.github.com/users/LL-AI-dev/following{/other_user}",
"gists_url": "https://api.github.com/users/LL-AI-dev/gists{/gist_id}",
"starred_url": "https://api.github.com/users/LL-AI-dev/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/LL-AI-dev/subscriptions",
"organizations_url": "https://api.github.com/users/LL-AI-dev/orgs",
"repos_url": "https://api.github.com/users/LL-AI-dev/repos",
"events_url": "https://api.github.com/users/LL-AI-dev/events{/privacy}",
"received_events_url": "https://api.github.com/users/LL-AI-dev/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 | [
"After some fiddling, I was able to get the nemo2riva part of the deployment working using a riva docker image. It can create an environment that allows the conversion of .nemo to .riva files for both pretrained and finetuned (regular and adapter variants) of FastPitch and HifiGan.\r\n\r\nThe step to create a .rmir file is also *successful* in that the riva-build command completes without error. **However when this model is being deployed by bash riva_start.sh, we get the new error:** \r\n`failed to load 'riva-onnx-fastpitch_encoder-Jaz_v1' version 1: Internal: onnx runtime error 1: Load model from /data/models/riva-onnx-fastpitch_encoder-Jaz_v1/1/model.onnx failed:/workspace/onnxruntime/onnxruntime/core/graph/model.cc:146 onnxruntime::Model::Model(onnx::ModelProto&&, const PathString&, const IOnnxRuntimeOpSchemaRegistryList*, const onnxruntime::logging::Logger&, const onnxruntime::ModelOptions&) Unsupported model IR version: 9, max supported IR version: 8`\r\n(The full docker log is listed at the bottom)\r\n\r\n\r\nDOCKERFILE\r\n```\r\nFROM nvcr.io/nvidia/riva/riva-speech:2.14.0-servicemaker\r\n\r\n#make sure pip ist installed\r\nRUN apt update && apt install python3-pip -y\r\n\r\n#get a simple fastpitch model to convert\r\nRUN wget --content-disposition \\\r\n'https://api.ngc.nvidia.com/v2/models/org/nvidia/team/nemo/tts_en_fastpitch/IPA_1.13.0/files?redirect=true&path=tts_en_fastpitch_align_ipa.nemo' \\\r\n-O tts_en_fastpitch_align_ipa.nemo\r\n\r\n#install NeMo dependencies\r\nRUN apt-get update && apt-get install -y libsndfile1 ffmpeg\r\nRUN pip install Cython\r\n\r\n#install nemo2riva dependencies\r\nRUN pip install nvidia-pyindex\r\n\r\n#install NeMo\r\nRUN git clone https://github.com/NVIDIA/NeMo\r\nWORKDIR NeMo\r\nRUN git switch 'r1.23.0'\r\nRUN pip install -e .\r\nWORKDIR ..\r\n\r\n#install some other required packages\r\nRUN pip install matplotlib\r\nRUN pip install einops\r\nRUN pip install transformers\r\nRUN pip install pandas\r\nRUN pip install inflect\r\nRUN pip install typing_extensions==4.7.1\r\nRUN pip install wandb\r\nRUN pip install youtokentome\r\nRUN pip install editdistance\r\nRUN pip install nemo_text_processing\r\nRUN pip install lhotse\r\nRUN pip install pyannote.audio\r\nRUN pip install webdataset\r\nRUN pip install datasets\r\nRUN pip install jiwer\r\n\r\n#install nemo2riva\r\nRUN pip install nemo2riva==2.14.0\r\n\r\n#fix the errors arising due to nemo requiring python 3.10\r\nRUN sed -i '1i from __future__ import annotations' /usr/local/lib/python3.8/dist-packages/nemo/collections/common/tokenizers/canary_tokenizer.py\r\nRUN sed -i '1i from __future__ import annotations' /usr/local/lib/python3.8/dist-packages/nemo/collections/asr/data/audio_to_text_lhotse.py\r\nRUN sed -i '1i from __future__ import annotations' /usr/local/lib/python3.8/dist-packages/nemo/collections/asr/data/audio_to_text_lhotse_prompted.py\r\nRUN sed -i '1i from __future__ import annotations' /usr/local/lib/python3.8/dist-packages/nemo/collections/common/data/lhotse/nemo_adapters.py\r\nRUN sed -i '1i from __future__ import annotations' /usr/local/lib/python3.8/dist-packages/nemo/collections/common/data/lhotse/dataloader.py\r\nRUN sed -i '1i from __future__ import annotations' /usr/local/lib/python3.8/dist-packages/hydra/_internal/utils.py\r\nRUN sed -i '1i from __future__ import annotations' /usr/local/lib/python3.8/dist-packages/nemo/collections/asr/models/aed_multitask_models.py\r\nRUN sed -i '1i from __future__ import annotations' /usr/local/lib/python3.8/dist-packages/hydra/_internal/utils.py\r\nRUN sed -i '1i from __future__ import annotations' /usr/local/lib/python3.8/dist-packages/nemo/collections/asr/data/huggingface/hf_audio_to_text.py\r\nRUN sed -i '1i from __future__ import annotations' /usr/local/lib/python3.8/dist-packages/nemo/collections/asr/parts/submodules/rnnt_greedy_decoding.py\r\n```\r\n\r\n\r\n<details>\r\n <summary>\r\n below is the full docker log. click to expand:\r\n </summary>\r\n ```\r\n==========================\r\n=== Riva Speech Skills ===\r\n==========================\r\n\r\nNVIDIA Release 23.12 (build 77214108)\r\n\r\nCopyright (c) 2018-2023, NVIDIA CORPORATION & AFFILIATES. All rights reserved.\r\n\r\nVarious files include modifications (c) NVIDIA CORPORATION & AFFILIATES. All rights reserved.\r\n\r\nThis container image and its contents are governed by the NVIDIA Deep Learning Container License.\r\nBy pulling and using the container, you accept the terms and conditions of this license:\r\nhttps://developer.nvidia.com/ngc/nvidia-deep-learning-container-license\r\n\r\n > Riva waiting for Triton server to load all models...retrying in 1 second\r\nI0304 06:27:43.963750 102 pinned_memory_manager.cc:240] Pinned memory pool is created at '0x7f0fc4000000' with size 268435456\r\nI0304 06:27:43.966148 102 cuda_memory_manager.cc:105] CUDA memory pool is created on device 0 with size 1000000000\r\nI0304 06:27:43.971749 102 model_lifecycle.cc:459] loading: riva-onnx-fastpitch_encoder-Jaz_v1:1\r\nI0304 06:27:43.971796 102 model_lifecycle.cc:459] loading: riva-trt-hifigan-Jaz_v1:1\r\nI0304 06:27:43.971839 102 model_lifecycle.cc:459] loading: spectrogram_chunker-Jaz_v1:1\r\nI0304 06:27:43.971880 102 model_lifecycle.cc:459] loading: tts_postprocessor-Jaz_v1:1\r\nI0304 06:27:43.971934 102 model_lifecycle.cc:459] loading: tts_preprocessor-Jaz_v1:1\r\nI0304 06:27:43.973206 102 onnxruntime.cc:2459] TRITONBACKEND_Initialize: onnxruntime\r\nI0304 06:27:43.973231 102 onnxruntime.cc:2469] Triton TRITONBACKEND API version: 1.10\r\nI0304 06:27:43.973236 102 onnxruntime.cc:2475] 'onnxruntime' TRITONBACKEND API version: 1.10\r\nI0304 06:27:43.973241 102 onnxruntime.cc:2505] backend configuration:\r\n{\"cmdline\":{\"auto-complete-config\":\"false\",\"min-compute-capability\":\"6.000000\",\"backend-directory\":\"/opt/tritonserver/backends\",\"default-max-batch-size\":\"4\"}}\r\nI0304 06:27:44.037319 102 tensorrt.cc:5444] TRITONBACKEND_Initialize: tensorrt\r\nI0304 06:27:44.037343 102 tensorrt.cc:5454] Triton TRITONBACKEND API version: 1.10\r\nI0304 06:27:44.037351 102 tensorrt.cc:5460] 'tensorrt' TRITONBACKEND API version: 1.10\r\nI0304 06:27:44.037356 102 tensorrt.cc:5488] backend configuration:\r\n{\"cmdline\":{\"auto-complete-config\":\"false\",\"min-compute-capability\":\"6.000000\",\"backend-directory\":\"/opt/tritonserver/backends\",\"default-max-batch-size\":\"4\"}}\r\nI0304 06:27:44.037540 102 onnxruntime.cc:2563] TRITONBACKEND_ModelInitialize: riva-onnx-fastpitch_encoder-Jaz_v1 (version 1)\r\nI0304 06:27:44.466490 102 onnxruntime.cc:2606] TRITONBACKEND_ModelInstanceInitialize: riva-onnx-fastpitch_encoder-Jaz_v1_0 (GPU device 0)\r\nI0304 06:27:44.583420 102 onnxruntime.cc:2640] TRITONBACKEND_ModelInstanceFinalize: delete instance state\r\nI0304 06:27:44.583435 102 tensorrt.cc:5578] TRITONBACKEND_ModelInitialize: riva-trt-hifigan-Jaz_v1 (version 1)\r\nI0304 06:27:44.583459 102 onnxruntime.cc:2586] TRITONBACKEND_ModelFinalize: delete model state\r\nE0304 06:27:44.583484 102 model_lifecycle.cc:596] failed to load 'riva-onnx-fastpitch_encoder-Jaz_v1' version 1: Internal: onnx runtime error 1: Load model from /data/models/riva-onnx-fastpitch_encoder-Jaz_v1/1/model.onnx failed:/workspace/onnxruntime/onnxruntime/core/graph/model.cc:146 onnxruntime::Model::Model(onnx::ModelProto&&, const PathString&, const IOnnxRuntimeOpSchemaRegistryList*, const onnxruntime::logging::Logger&, const onnxruntime::ModelOptions&) Unsupported model IR version: 9, max supported IR version: 8\r\n\r\nI0304 06:27:44.583984 102 backend_model.cc:188] Overriding execution policy to \"TRITONBACKEND_EXECUTION_BLOCKING\" for sequence model \"riva-trt-hifigan-Jaz_v1\"\r\nI0304 06:27:44.584806 102 spectrogram-chunker.cc:270] TRITONBACKEND_ModelInitialize: spectrogram_chunker-Jaz_v1 (version 1)\r\nI0304 06:27:44.585550 102 backend_model.cc:303] model configuration:\r\n{\r\n \"name\": \"spectrogram_chunker-Jaz_v1\",\r\n \"platform\": \"\",\r\n \"backend\": \"riva_tts_chunker\",\r\n \"version_policy\": {\r\n \"latest\": {\r\n \"num_versions\": 1\r\n }\r\n },\r\n \"max_batch_size\": 8,\r\n \"input\": [\r\n {\r\n \"name\": \"SPECTROGRAM\",\r\n \"data_type\": \"TYPE_FP32\",\r\n \"format\": \"FORMAT_NONE\",\r\n \"dims\": [\r\n 80,\r\n -1\r\n ],\r\n \"is_shape_tensor\": false,\r\n \"allow_ragged_batch\": false,\r\n \"optional\": false\r\n },\r\n {\r\n \"name\": \"IS_LAST_SENTENCE\",\r\n \"data_type\": \"TYPE_INT32\",\r\n \"format\": \"FORMAT_NONE\",\r\n \"dims\": [\r\n 1\r\n ],\r\n \"is_shape_tensor\": false,\r\n \"allow_ragged_batch\": false,\r\n \"optional\": false\r\n },\r\n {\r\n \"name\": \"NUM_VALID_FRAMES_IN\",\r\n \"data_type\": \"TYPE_INT64\",\r\n \"format\": \"FORMAT_NONE\",\r\n \"dims\": [\r\n 1\r\n ],\r\n \"is_shape_tensor\": false,\r\n \"allow_ragged_batch\": false,\r\n \"optional\": false\r\n },\r\n {\r\n \"name\": \"SENTENCE_NUM\",\r\n \"data_type\": \"TYPE_INT32\",\r\n \"format\": \"FORMAT_NONE\",\r\n \"dims\": [\r\n 1\r\n ],\r\n \"is_shape_tensor\": false,\r\n \"allow_ragged_batch\": false,\r\n \"optional\": false\r\n },\r\n {\r\n \"name\": \"DURATIONS\",\r\n \"data_type\": \"TYPE_FP32\",\r\n \"format\": \"FORMAT_NONE\",\r\n \"dims\": [\r\n -1\r\n ],\r\n \"is_shape_tensor\": false,\r\n \"allow_ragged_batch\": false,\r\n \"optional\": false\r\n },\r\n {\r\n \"name\": \"PROCESSED_TEXT\",\r\n \"data_type\": \"TYPE_STRING\",\r\n \"format\": \"FORMAT_NONE\",\r\n \"dims\": [\r\n 1\r\n ],\r\n \"is_shape_tensor\": false,\r\n \"allow_ragged_batch\": false,\r\n \"optional\": false\r\n },\r\n {\r\n \"name\": \"VOLUME\",\r\n \"data_type\": \"TYPE_FP32\",\r\n \"format\": \"FORMAT_NONE\",\r\n \"dims\": [\r\n -1\r\n ],\r\n \"is_shape_tensor\": false,\r\n \"allow_ragged_batch\": false,\r\n \"optional\": false\r\n }\r\n ],\r\n \"output\": [\r\n {\r\n \"name\": \"SPECTROGRAM_CHUNK\",\r\n \"data_type\": \"TYPE_FP32\",\r\n \"dims\": [\r\n 80,\r\n -1\r\n ],\r\n \"label_filename\": \"\",\r\n \"is_shape_tensor\": false\r\n },\r\n {\r\n \"name\": \"END_FLAG\",\r\n \"data_type\": \"TYPE_INT32\",\r\n \"dims\": [\r\n 1\r\n ],\r\n \"label_filename\": \"\",\r\n \"is_shape_tensor\": false\r\n },\r\n {\r\n \"name\": \"NUM_VALID_SAMPLES_OUT\",\r\n \"data_type\": \"TYPE_INT32\",\r\n \"dims\": [\r\n 1\r\n ],\r\n \"label_filename\": \"\",\r\n \"is_shape_tensor\": false\r\n },\r\n {\r\n \"name\": \"SENTENCE_NUM\",\r\n \"data_type\": \"TYPE_INT32\",\r\n \"dims\": [\r\n 1\r\n ],\r\n \"label_filename\": \"\",\r\n \"is_shape_tensor\": false\r\n },\r\n {\r\n \"name\": \"DURATIONS\",\r\n \"data_type\": \"TYPE_FP32\",\r\n \"dims\": [\r\n -1\r\n ],\r\n \"label_filename\": \"\",\r\n \"is_shape_tensor\": false\r\n },\r\n {\r\n \"name\": \"PROCESSED_TEXT\",\r\n \"data_type\": \"TYPE_STRING\",\r\n \"dims\": [\r\n 1\r\n ],\r\n \"label_filename\": \"\",\r\n \"is_shape_tensor\": false\r\n },\r\n {\r\n \"name\": \"VOLUME\",\r\n \"data_type\": \"TYPE_FP32\",\r\n \"dims\": [\r\n -1\r\n ],\r\n \"label_filename\": \"\",\r\n \"is_shape_tensor\": false\r\n }\r\n ],\r\n \"batch_input\": [],\r\n \"batch_output\": [],\r\n \"optimization\": {\r\n \"priority\": \"PRIORITY_DEFAULT\",\r\n \"input_pinned_memory\": {\r\n \"enable\": true\r\n },\r\n \"output_pinned_memory\": {\r\n \"enable\": true\r\n },\r\n \"gather_kernel_buffer_threshold\": 0,\r\n \"eager_batching\": false\r\n },\r\n \"sequence_batching\": {\r\n \"oldest\": {\r\n \"max_candidate_sequences\": 8,\r\n \"preferred_batch_size\": [\r\n 8\r\n ],\r\n \"max_queue_delay_microseconds\": 1000\r\n },\r\n \"max_sequence_idle_microseconds\": 60000000,\r\n \"control_input\": [\r\n {\r\n \"name\": \"START\",\r\n \"control\": [\r\n {\r\n \"kind\": \"CONTROL_SEQUENCE_START\",\r\n \"int32_false_true\": [\r\n 0,\r\n 1\r\n ],\r\n \"fp32_false_true\": [],\r\n \"bool_false_true\": [],\r\n \"data_type\": \"TYPE_INVALID\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"READY\",\r\n \"control\": [\r\n {\r\n \"kind\": \"CONTROL_SEQUENCE_READY\",\r\n \"int32_false_true\": [\r\n 0,\r\n 1\r\n ],\r\n \"fp32_false_true\": [],\r\n \"bool_false_true\": [],\r\n \"data_type\": \"TYPE_INVALID\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"END\",\r\n \"control\": [\r\n {\r\n \"kind\": \"CONTROL_SEQUENCE_END\",\r\n \"int32_false_true\": [\r\n 0,\r\n 1\r\n ],\r\n \"fp32_false_true\": [],\r\n \"bool_false_true\": [],\r\n \"data_type\": \"TYPE_INVALID\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"CORRID\",\r\n \"control\": [\r\n {\r\n \"kind\": \"CONTROL_SEQUENCE_CORRID\",\r\n \"int32_false_true\": [],\r\n \"fp32_false_true\": [],\r\n \"bool_false_true\": [],\r\n \"data_type\": \"TYPE_UINT64\"\r\n }\r\n ]\r\n }\r\n ],\r\n \"state\": []\r\n },\r\n \"instance_group\": [\r\n {\r\n \"name\": \"spectrogram_chunker-Jaz_v1_0\",\r\n \"kind\": \"KIND_GPU\",\r\n \"count\": 1,\r\n \"gpus\": [\r\n 0\r\n ],\r\n \"secondary_devices\": [],\r\n \"profile\": [],\r\n \"passive\": false,\r\n \"host_policy\": \"\"\r\n }\r\n ],\r\n \"default_model_filename\": \"\",\r\n \"cc_model_filenames\": {},\r\n \"metric_tags\": {},\r\n \"parameters\": {\r\n \"num_mels\": {\r\n \"string_value\": \"80\"\r\n },\r\n \"num_samples_per_frame\": {\r\n \"string_value\": \"512\"\r\n },\r\n \"supports_volume\": {\r\n \"string_value\": \"True\"\r\n },\r\n \"chunk_length\": {\r\n \"string_value\": \"80\"\r\n },\r\n \"max_execution_batch_size\": {\r\n \"string_value\": \"8\"\r\n }\r\n },\r\n \"model_warmup\": [],\r\n \"model_transaction_policy\": {\r\n \"decoupled\": true\r\n }\r\n}\r\nI0304 06:27:44.585599 102 tensorrt.cc:5627] TRITONBACKEND_ModelInstanceInitialize: riva-trt-hifigan-Jaz_v1_0 (GPU device 0)\r\nI0304 06:27:44.640208 102 logging.cc:49] Loaded engine size: 28 MiB\r\n > Riva waiting for Triton server to load all models...retrying in 1 second\r\nI0304 06:27:44.787852 102 logging.cc:49] [MemUsageChange] TensorRT-managed allocation in engine deserialization: CPU +0, GPU +31, now: CPU 0, GPU 31 (MiB)\r\nI0304 06:27:44.796150 102 logging.cc:49] [MemUsageChange] TensorRT-managed allocation in IExecutionContext creation: CPU +0, GPU +186, now: CPU 0, GPU 217 (MiB)\r\nI0304 06:27:44.796536 102 tensorrt.cc:1547] Created instance riva-trt-hifigan-Jaz_v1_0 on GPU 0 with stream priority 0 and optimization profile default[0];\r\nI0304 06:27:44.796915 102 model_lifecycle.cc:693] successfully loaded 'riva-trt-hifigan-Jaz_v1' version 1\r\nI0304 06:27:44.802776 102 spectrogram-chunker.cc:272] TRITONBACKEND_ModelInstanceInitialize: spectrogram_chunker-Jaz_v1_0 (device 0)\r\nI0304 06:27:44.802834 102 tts-postprocessor.cc:305] TRITONBACKEND_ModelInitialize: tts_postprocessor-Jaz_v1 (version 1)\r\nI0304 06:27:44.803194 102 model_lifecycle.cc:693] successfully loaded 'spectrogram_chunker-Jaz_v1' version 1\r\nI0304 06:27:44.803487 102 backend_model.cc:303] model configuration:\r\n{\r\n \"name\": \"tts_postprocessor-Jaz_v1\",\r\n \"platform\": \"\",\r\n \"backend\": \"riva_tts_postprocessor\",\r\n \"version_policy\": {\r\n \"latest\": {\r\n \"num_versions\": 1\r\n }\r\n },\r\n \"max_batch_size\": 8,\r\n \"input\": [\r\n {\r\n \"name\": \"INPUT\",\r\n \"data_type\": \"TYPE_FP32\",\r\n \"format\": \"FORMAT_NONE\",\r\n \"dims\": [\r\n 1,\r\n -1\r\n ],\r\n \"is_shape_tensor\": false,\r\n \"allow_ragged_batch\": false,\r\n \"optional\": false\r\n },\r\n {\r\n \"name\": \"NUM_VALID_SAMPLES\",\r\n \"data_type\": \"TYPE_INT32\",\r\n \"format\": \"FORMAT_NONE\",\r\n \"dims\": [\r\n 1\r\n ],\r\n \"is_shape_tensor\": false,\r\n \"allow_ragged_batch\": false,\r\n \"optional\": false\r\n },\r\n {\r\n \"name\": \"Prosody_volume\",\r\n \"data_type\": \"TYPE_FP32\",\r\n \"format\": \"FORMAT_NONE\",\r\n \"dims\": [\r\n -1\r\n ],\r\n \"is_shape_tensor\": false,\r\n \"allow_ragged_batch\": false,\r\n \"optional\": false\r\n }\r\n ],\r\n \"output\": [\r\n {\r\n \"name\": \"OUTPUT\",\r\n \"data_type\": \"TYPE_FP32\",\r\n \"dims\": [\r\n -1\r\n ],\r\n \"label_filename\": \"\",\r\n \"is_shape_tensor\": false\r\n }\r\n ],\r\n \"batch_input\": [],\r\n \"batch_output\": [],\r\n \"optimization\": {\r\n \"priority\": \"PRIORITY_DEFAULT\",\r\n \"input_pinned_memory\": {\r\n \"enable\": true\r\n },\r\n \"output_pinned_memory\": {\r\n \"enable\": true\r\n },\r\n \"gather_kernel_buffer_threshold\": 0,\r\n \"eager_batching\": false\r\n },\r\n \"sequence_batching\": {\r\n \"oldest\": {\r\n \"max_candidate_sequences\": 8,\r\n \"preferred_batch_size\": [\r\n 8\r\n ],\r\n \"max_queue_delay_microseconds\": 100\r\n },\r\n \"max_sequence_idle_microseconds\": 60000000,\r\n \"control_input\": [\r\n {\r\n \"name\": \"START\",\r\n \"control\": [\r\n {\r\n \"kind\": \"CONTROL_SEQUENCE_START\",\r\n \"int32_false_true\": [\r\n 0,\r\n 1\r\n ],\r\n \"fp32_false_true\": [],\r\n \"bool_false_true\": [],\r\n \"data_type\": \"TYPE_INVALID\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"READY\",\r\n \"control\": [\r\n {\r\n \"kind\": \"CONTROL_SEQUENCE_READY\",\r\n \"int32_false_true\": [\r\n 0,\r\n 1\r\n ],\r\n \"fp32_false_true\": [],\r\n \"bool_false_true\": [],\r\n \"data_type\": \"TYPE_INVALID\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"END\",\r\n \"control\": [\r\n {\r\n \"kind\": \"CONTROL_SEQUENCE_END\",\r\n \"int32_false_true\": [\r\n 0,\r\n 1\r\n ],\r\n \"fp32_false_true\": [],\r\n \"bool_false_true\": [],\r\n \"data_type\": \"TYPE_INVALID\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"CORRID\",\r\n \"control\": [\r\n {\r\n \"kind\": \"CONTROL_SEQUENCE_CORRID\",\r\n \"int32_false_true\": [],\r\n \"fp32_false_true\": [],\r\n \"bool_false_true\": [],\r\n \"data_type\": \"TYPE_UINT64\"\r\n }\r\n ]\r\n }\r\n ],\r\n \"state\": []\r\n },\r\n \"instance_group\": [\r\n {\r\n \"name\": \"tts_postprocessor-Jaz_v1_0\",\r\n \"kind\": \"KIND_GPU\",\r\n \"count\": 1,\r\n \"gpus\": [\r\n 0\r\n ],\r\n \"secondary_devices\": [],\r\n \"profile\": [],\r\n \"passive\": false,\r\n \"host_policy\": \"\"\r\n }\r\n ],\r\n \"default_model_filename\": \"\",\r\n \"cc_model_filenames\": {},\r\n \"metric_tags\": {},\r\n \"parameters\": {\r\n \"use_denoiser\": {\r\n \"string_value\": \"False\"\r\n },\r\n \"supports_volume\": {\r\n \"string_value\": \"True\"\r\n },\r\n \"filter_length\": {\r\n \"string_value\": \"1024\"\r\n },\r\n \"fade_length\": {\r\n \"string_value\": \"256\"\r\n },\r\n \"num_samples_per_frame\": {\r\n \"string_value\": \"512\"\r\n },\r\n \"chunk_num_samples\": {\r\n \"string_value\": \"40960\"\r\n },\r\n \"max_execution_batch_size\": {\r\n \"string_value\": \"8\"\r\n },\r\n \"max_chunk_size\": {\r\n \"string_value\": \"131072\"\r\n },\r\n \"hop_length\": {\r\n \"string_value\": \"256\"\r\n }\r\n },\r\n \"model_warmup\": [],\r\n \"model_transaction_policy\": {\r\n \"decoupled\": false\r\n }\r\n}\r\nI0304 06:27:44.803568 102 tts-postprocessor.cc:307] TRITONBACKEND_ModelInstanceInitialize: tts_postprocessor-Jaz_v1_0 (device 0)\r\nI0304 06:27:44.824235 102 tts-preprocessor.cc:337] TRITONBACKEND_ModelInitialize: tts_preprocessor-Jaz_v1 (version 1)\r\nI0304 06:27:44.824489 102 model_lifecycle.cc:693] successfully loaded 'tts_postprocessor-Jaz_v1' version 1\r\nW0304 06:27:44.824928 102 tts-preprocessor.cc:284] Parameter abbreviation_path is deprecated\r\nWARNING: Logging before InitGoogleLogging() is written to STDERR\r\nI0304 06:27:44.824993 112 preprocessor.cc:231] TTS character mapping loaded from /data/models/tts_preprocessor-Jaz_v1/1/mapping.txt\r\nI0304 06:27:44.921231 112 preprocessor.cc:269] TTS phonetic mapping loaded from /data/models/tts_preprocessor-Jaz_v1/1/ipa_cmudict-0.7b_nv22.08.txt\r\nI0304 06:27:44.921326 112 preprocessor.cc:282] Abbreviation mapping loaded from /data/models/tts_preprocessor-Jaz_v1/1/abbr.txt\r\nI0304 06:27:44.921344 112 normalize.cc:52] Speech Class far file missing:/data/models/tts_preprocessor-Jaz_v1/1/speech_class.far\r\nI0304 06:27:45.010165 112 preprocessor.cc:292] TTS normalizer loaded from /data/models/tts_preprocessor-Jaz_v1/1/\r\nI0304 06:27:45.010266 102 backend_model.cc:303] model configuration:\r\n{\r\n \"name\": \"tts_preprocessor-Jaz_v1\",\r\n \"platform\": \"\",\r\n \"backend\": \"riva_tts_preprocessor\",\r\n \"version_policy\": {\r\n \"latest\": {\r\n \"num_versions\": 1\r\n }\r\n },\r\n \"max_batch_size\": 8,\r\n \"input\": [\r\n {\r\n \"name\": \"input_string\",\r\n \"data_type\": \"TYPE_STRING\",\r\n \"format\": \"FORMAT_NONE\",\r\n \"dims\": [\r\n 1\r\n ],\r\n \"is_shape_tensor\": false,\r\n \"allow_ragged_batch\": false,\r\n \"optional\": false\r\n }\r\n ],\r\n \"output\": [\r\n {\r\n \"name\": \"output\",\r\n \"data_type\": \"TYPE_INT64\",\r\n \"dims\": [\r\n -1\r\n ],\r\n \"label_filename\": \"\",\r\n \"is_shape_tensor\": false\r\n },\r\n {\r\n \"name\": \"output_mask\",\r\n \"data_type\": \"TYPE_FP32\",\r\n \"dims\": [\r\n 1,\r\n 400,\r\n 1\r\n ],\r\n \"label_filename\": \"\",\r\n \"is_shape_tensor\": false\r\n },\r\n {\r\n \"name\": \"output_length\",\r\n \"data_type\": \"TYPE_INT32\",\r\n \"dims\": [\r\n 1\r\n ],\r\n \"label_filename\": \"\",\r\n \"is_shape_tensor\": false\r\n },\r\n {\r\n \"name\": \"is_last_sentence\",\r\n \"data_type\": \"TYPE_INT32\",\r\n \"dims\": [\r\n 1\r\n ],\r\n \"label_filename\": \"\",\r\n \"is_shape_tensor\": false\r\n },\r\n {\r\n \"name\": \"output_string\",\r\n \"data_type\": \"TYPE_STRING\",\r\n \"dims\": [\r\n 1\r\n ],\r\n \"label_filename\": \"\",\r\n \"is_shape_tensor\": false\r\n },\r\n {\r\n \"name\": \"sentence_num\",\r\n \"data_type\": \"TYPE_INT32\",\r\n \"dims\": [\r\n 1\r\n ],\r\n \"label_filename\": \"\",\r\n \"is_shape_tensor\": false\r\n },\r\n {\r\n \"name\": \"pitch\",\r\n \"data_type\": \"TYPE_FP32\",\r\n \"dims\": [\r\n -1\r\n ],\r\n \"label_filename\": \"\",\r\n \"is_shape_tensor\": false\r\n },\r\n {\r\n \"name\": \"duration\",\r\n \"data_type\": \"TYPE_FP32\",\r\n \"dims\": [\r\n -1\r\n ],\r\n \"label_filename\": \"\",\r\n \"is_shape_tensor\": false\r\n },\r\n {\r\n \"name\": \"volume\",\r\n \"data_type\": \"TYPE_FP32\",\r\n \"dims\": [\r\n -1\r\n ],\r\n \"label_filename\": \"\",\r\n \"is_shape_tensor\": false\r\n }\r\n ],\r\n \"batch_input\": [],\r\n \"batch_output\": [],\r\n \"optimization\": {\r\n \"graph\": {\r\n \"level\": 0\r\n },\r\n \"priority\": \"PRIORITY_DEFAULT\",\r\n \"cuda\": {\r\n \"graphs\": false,\r\n \"busy_wait_events\": false,\r\n \"graph_spec\": [],\r\n \"output_copy_stream\": true\r\n },\r\n \"input_pinned_memory\": {\r\n \"enable\": true\r\n },\r\n \"output_pinned_memory\": {\r\n \"enable\": true\r\n },\r\n \"gather_kernel_buffer_threshold\": 0,\r\n \"eager_batching\": false\r\n },\r\n \"sequence_batching\": {\r\n \"oldest\": {\r\n \"max_candidate_sequences\": 8,\r\n \"preferred_batch_size\": [\r\n 8\r\n ],\r\n \"max_queue_delay_microseconds\": 100\r\n },\r\n \"max_sequence_idle_microseconds\": 60000000,\r\n \"control_input\": [\r\n {\r\n \"name\": \"START\",\r\n \"control\": [\r\n {\r\n \"kind\": \"CONTROL_SEQUENCE_START\",\r\n \"int32_false_true\": [\r\n 0,\r\n 1\r\n ],\r\n \"fp32_false_true\": [],\r\n \"bool_false_true\": [],\r\n \"data_type\": \"TYPE_INVALID\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"READY\",\r\n \"control\": [\r\n {\r\n \"kind\": \"CONTROL_SEQUENCE_READY\",\r\n \"int32_false_true\": [\r\n 0,\r\n 1\r\n ],\r\n \"fp32_false_true\": [],\r\n \"bool_false_true\": [],\r\n \"data_type\": \"TYPE_INVALID\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"END\",\r\n \"control\": [\r\n {\r\n \"kind\": \"CONTROL_SEQUENCE_END\",\r\n \"int32_false_true\": [\r\n 0,\r\n 1\r\n ],\r\n \"fp32_false_true\": [],\r\n \"bool_false_true\": [],\r\n \"data_type\": \"TYPE_INVALID\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"CORRID\",\r\n \"control\": [\r\n {\r\n \"kind\": \"CONTROL_SEQUENCE_CORRID\",\r\n \"int32_false_true\": [],\r\n \"fp32_false_true\": [],\r\n \"bool_false_true\": [],\r\n \"data_type\": \"TYPE_UINT64\"\r\n }\r\n ]\r\n }\r\n ],\r\n \"state\": []\r\n },\r\n \"instance_group\": [\r\n {\r\n \"name\": \"tts_preprocessor-Jaz_v1_0\",\r\n \"kind\": \"KIND_GPU\",\r\n \"count\": 1,\r\n \"gpus\": [\r\n 0\r\n ],\r\n \"secondary_devices\": [],\r\n \"profile\": [],\r\n \"passive\": false,\r\n \"host_policy\": \"\"\r\n }\r\n ],\r\n \"default_model_filename\": \"\",\r\n \"cc_model_filenames\": {},\r\n \"metric_tags\": {},\r\n \"parameters\": {\r\n \"max_sequence_length\": {\r\n \"string_value\": \"400\"\r\n },\r\n \"supports_speaker_mixing\": {\r\n \"string_value\": \"False\"\r\n },\r\n \"upper_case_chars\": {\r\n \"string_value\": \"True\"\r\n },\r\n \"g2p_ignore_ambiguous\": {\r\n \"string_value\": \"False\"\r\n },\r\n \"phone_set\": {\r\n \"string_value\": \"ipa\"\r\n },\r\n \"dictionary_path\": {\r\n \"string_value\": \"/data/models/tts_preprocessor-Jaz_v1/1/ipa_cmudict-0.7b_nv22.08.txt\"\r\n },\r\n \"abbreviations_path\": {\r\n \"string_value\": \"/data/models/tts_preprocessor-Jaz_v1/1/abbr.txt\"\r\n },\r\n \"supports_ragged_batches\": {\r\n \"string_value\": \"True\"\r\n },\r\n \"norm_proto_path\": {\r\n \"string_value\": \"/data/models/tts_preprocessor-Jaz_v1/1/\"\r\n },\r\n \"mapping_path\": {\r\n \"string_value\": \"/data/models/tts_preprocessor-Jaz_v1/1/mapping.txt\"\r\n },\r\n \"normalize_pitch\": {\r\n \"string_value\": \"True\"\r\n },\r\n \"upper_case_g2p\": {\r\n \"string_value\": \"True\"\r\n },\r\n \"pitch_std\": {\r\n \"string_value\": \"50.46181106567383\"\r\n },\r\n \"max_input_length\": {\r\n \"string_value\": \"2000\"\r\n },\r\n \"language\": {\r\n \"string_value\": \"en-US\"\r\n },\r\n \"pad_with_space\": {\r\n \"string_value\": \"True\"\r\n },\r\n \"subvoices\": {\r\n \"string_value\": \"0:0\"\r\n }\r\n },\r\n \"model_warmup\": [],\r\n \"model_transaction_policy\": {\r\n \"decoupled\": true\r\n }\r\n}\r\nI0304 06:27:45.010360 102 tts-preprocessor.cc:339] TRITONBACKEND_ModelInstanceInitialize: tts_preprocessor-Jaz_v1_0 (device 0)\r\nI0304 06:27:45.010680 102 model_lifecycle.cc:693] successfully loaded 'tts_preprocessor-Jaz_v1' version 1\r\nE0304 06:27:45.010726 102 model_repository_manager.cc:481] Invalid argument: ensemble 'fastpitch_hifigan_ensemble-Jaz_v1' depends on 'riva-onnx-fastpitch_encoder-Jaz_v1' which has no loaded version\r\nI0304 06:27:45.010785 102 server.cc:563] \r\n+------------------+------+\r\n| Repository Agent | Path |\r\n+------------------+------+\r\n+------------------+------+\r\n\r\nI0304 06:27:45.010857 102 server.cc:590] \r\n+------------------------+---------------------------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+\r\n| Backend | Path | Config |\r\n+------------------------+---------------------------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+\r\n| onnxruntime | /opt/tritonserver/backends/onnxruntime/libtriton_onnxruntime.so | {\"cmdline\":{\"auto-complete-config\":\"false\",\"min-compute-capability\":\"6.000000\",\"backend-directory\":\"/opt/tritonserver/backends\",\"default-max-batch-size\":\"4\"}} |\r\n| riva_tts_preprocessor | /opt/tritonserver/backends/riva_tts_preprocessor/libtriton_riva_tts_preprocessor.so | {\"cmdline\":{\"auto-complete-config\":\"false\",\"min-compute-capability\":\"6.000000\",\"backend-directory\":\"/opt/tritonserver/backends\",\"default-max-batch-size\":\"4\"}} |\r\n| tensorrt | /opt/tritonserver/backends/tensorrt/libtriton_tensorrt.so | {\"cmdline\":{\"auto-complete-config\":\"false\",\"min-compute-capability\":\"6.000000\",\"backend-directory\":\"/opt/tritonserver/backends\",\"default-max-batch-size\":\"4\"}} |\r\n| riva_tts_chunker | /opt/tritonserver/backends/riva_tts_chunker/libtriton_riva_tts_chunker.so | {\"cmdline\":{\"auto-complete-config\":\"false\",\"min-compute-capability\":\"6.000000\",\"backend-directory\":\"/opt/tritonserver/backends\",\"default-max-batch-size\":\"4\"}} |\r\n| riva_tts_postprocessor | /opt/tritonserver/backends/riva_tts_postprocessor/libtriton_riva_tts_postprocessor.so | {\"cmdline\":{\"auto-complete-config\":\"false\",\"min-compute-capability\":\"6.000000\",\"backend-directory\":\"/opt/tritonserver/backends\",\"default-max-batch-size\":\"4\"}} |\r\n+------------------------+---------------------------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------+\r\n\r\nI0304 06:27:45.010956 102 server.cc:633] \r\n+------------------------------------+---------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+\r\n| Model | Version | Status |\r\n+------------------------------------+---------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+\r\n| riva-onnx-fastpitch_encoder-Jaz_v1 | 1 | UNAVAILABLE: Internal: onnx runtime error 1: Load model from /data/models/riva-onnx-fastpitch_encoder-Jaz_v1/1/model.onnx failed:/workspace/onnxruntime/onnxruntime/core/graph/model.cc:146 onnxruntime::Model::Model(onnx::ModelProto&&, const PathString&, const IOnnxRuntimeOpSchemaRegistryList*, const onnxruntime::logging::Logger&, const onnxruntime::ModelOptions&) Unsupported model IR version: 9, max supported IR version: 8 |\r\n| riva-trt-hifigan-Jaz_v1 | 1 | READY |\r\n| spectrogram_chunker-Jaz_v1 | 1 | READY |\r\n| tts_postprocessor-Jaz_v1 | 1 | READY |\r\n| tts_preprocessor-Jaz_v1 | 1 | READY |\r\n+------------------------------------+---------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+\r\n\r\nI0304 06:27:45.084929 102 metrics.cc:864] Collecting metrics for GPU 0: Tesla T4\r\nI0304 06:27:45.085172 102 metrics.cc:757] Collecting CPU metrics\r\nI0304 06:27:45.085354 102 tritonserver.cc:2264] \r\n+----------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+\r\n| Option | Value |\r\n+----------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+\r\n| server_id | triton |\r\n| server_version | 2.27.0 |\r\n| server_extensions | classification sequence model_repository model_repository(unload_dependents) schedule_policy model_configuration system_shared_memory cuda_shared_memory binary_tensor_data statistics trace logging |\r\n| model_repository_path[0] | /data/models |\r\n| model_control_mode | MODE_NONE |\r\n| strict_model_config | 1 |\r\n| rate_limit | OFF |\r\n| pinned_memory_pool_byte_size | 268435456 |\r\n| cuda_memory_pool_byte_size{0} | 1000000000 |\r\n| response_cache_byte_size | 0 |\r\n| min_supported_compute_capability | 6.0 |\r\n| strict_readiness | 1 |\r\n| exit_timeout | 30 |\r\n+----------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+\r\n\r\nI0304 06:27:45.085368 102 server.cc:264] Waiting for in-flight requests to complete.\r\nI0304 06:27:45.085383 102 server.cc:280] Timeout 30: Found 0 model versions that have in-flight inferences\r\nI0304 06:27:45.085634 102 server.cc:295] All models are stopped, unloading models\r\nI0304 06:27:45.085638 102 tts-postprocessor.cc:310] TRITONBACKEND_ModelInstanceFinalize: delete instance state\r\nI0304 06:27:45.085652 102 server.cc:302] Timeout 30: Found 4 live models and 0 in-flight non-inference requests\r\nI0304 06:27:45.085697 102 tensorrt.cc:5665] TRITONBACKEND_ModelInstanceFinalize: delete instance state\r\nI0304 06:27:45.085746 102 spectrogram-chunker.cc:275] TRITONBACKEND_ModelInstanceFinalize: delete instance state\r\nI0304 06:27:45.085788 102 tts-preprocessor.cc:342] TRITONBACKEND_ModelInstanceFinalize: delete instance state\r\nI0304 06:27:45.085799 102 spectrogram-chunker.cc:271] TRITONBACKEND_ModelFinalize: delete model state\r\nI0304 06:27:45.085826 102 tts-preprocessor.cc:338] TRITONBACKEND_ModelFinalize: delete model state\r\nI0304 06:27:45.085946 102 model_lifecycle.cc:578] successfully unloaded 'spectrogram_chunker-Jaz_v1' version 1\r\nI0304 06:27:45.092669 102 tts-postprocessor.cc:306] TRITONBACKEND_ModelFinalize: delete model state\r\nI0304 06:27:45.092836 102 model_lifecycle.cc:578] successfully unloaded 'tts_postprocessor-Jaz_v1' version 1\r\nI0304 06:27:45.102135 102 tensorrt.cc:5604] TRITONBACKEND_ModelFinalize: delete model state\r\nI0304 06:27:45.102301 102 model_lifecycle.cc:578] successfully unloaded 'riva-trt-hifigan-Jaz_v1' version 1\r\nI0304 06:27:45.106678 102 model_lifecycle.cc:578] successfully unloaded 'tts_preprocessor-Jaz_v1' version 1\r\n > Riva waiting for Triton server to load all models...retrying in 1 second\r\nI0304 06:27:46.085741 102 server.cc:302] Timeout 29: Found 0 live models and 0 in-flight non-inference requests\r\nerror: creating server: Internal - failed to load all models\r\n > Riva waiting for Triton server to load all models...retrying in 1 second\r\n > Riva waiting for Triton server to load all models...retrying in 1 second\r\n > Triton server died before reaching ready state. Terminating Riva startup.\r\nCheck Triton logs with: docker logs \r\n```\r\n</details>\r\n\r\n",
"@LL-AI-dev the failure on deploy is very similar to what I saw deploying ASR models. It turned out to be caused by a discrepancy in the version of onnx that NeMo uses and the one that is used by Riva/Triton (older); see this issue https://github.com/nvidia-riva/nemo2riva/issues/36. For ASR the workaround was to either downgrade the onnx library in NeMo or avoid using the onnx runtime in Riva.",
"@itzsimpl this is my script for testing different versions of onnx. before the script is run, i do a simple pip install onnx==1.13.0 as you mentioned in [https://github.com/nvidia-riva/nemo2riva/issues/36] but this has seemingly not solved the issue. I also tried with different versions of onnxruntime to no effect.\r\n\r\n```\r\nimport nemo\r\nfrom nemo.collections.tts.models import FastPitchModel, HifiGanModel\r\nimport onnx\r\n\r\nnemo_ver = nemo.__version__\r\nonnx_ver = onnx.__version__\r\nprint(\"onnxruntime: \",onnx_ver)\r\nprint(\"nemo: \",nemo_ver)\r\n\r\nfp_model_name = f\"FastPitch_nemo{nemo_ver}_onnx{onnx_ver}\"\r\nhg_model_name = f\"HifiGan_nemo{nemo_ver}_onnx{onnx_ver}\"\r\n\r\nmodel = FastPitchModel.from_pretrained(model_name=\"tts_en_fastpitch_ipa\")\r\nmodel.save_to(f'/models/{fp_model_name}.nemo')\r\n\r\nmodel = HifiGanModel.from_pretrained(model_name=\"tts_en_hifigan\")\r\nmodel.save_to(f'/models/{hg_model_name}.nemo')\r\n\r\nprint(\"models saved\")\r\nimport os\r\n\r\nos.system(f\"nemo2riva --out /models/riva/{fp_model_name}.riva --key tlt_encode /models/{fp_model_name}.nemo\")\r\nos.system(f\"nemo2riva --out /models/riva/{hg_model_name}.riva --key tlt_encode /models/{hg_model_name}.nemo\")\r\n\r\ncmd = f\"\"\"\r\nriva-build speech_synthesis --force \\\r\n/models/rmir/tts_pipeline_model__nemo{nemo_ver}_onnx{onnx_ver}.rmir:tlt_encode \\\r\n/models/riva/{fp_model_name}.riva:tlt_encode \\\r\n/models/riva/{hg_model_name}.riva:tlt_encode \\\r\n--language_code=en-US \\\r\n--num_speakers=1 \\\r\n--voice_name test_{onnx_ver} \\\r\n--sample_rate 22050 \\\r\n--abbreviations_file=/riva_aux/abbr.txt \\\r\n--wfst_tokenizer_model=/riva_tn/tokenize_and_classify.far \\\r\n--wfst_verbalizer_model=/riva_tn/verbalize.far \\\r\n--phone_set=ipa \\\r\n--phone_dictionary_file=/riva_aux/ipa_cmudict-0.7b_nv22.08.txt \\\r\n--upper_case_chars=True\r\n\"\"\"\r\nos.system(cmd)\r\n```\r\n\r\nMy next thought is to test using trt_32 or torchscript via the args in the riva-build command for the encoder (as thats where the error seems to be) or for both enc and dec if needed. [https://docs.nvidia.com/deeplearning/riva/user-guide/docs/tts/tts-custom.html#riva-build-optional-parameters]",
"using the flag \"use_trt_fp32\" during riva-build results in a model that when deployed gets the same error as before about the IR version. \r\n`UNAVAILABLE: Internal: onnx runtime error 1: Load model from /data/models/riva-onnx-fastpitch_encoder-Jaz_v1/1/model.onnx failed:/workspace/onnxruntime/onnxruntime/core/graph/model.cc:146 onnxruntime::Model::Model(onnx::ModelProto&&, const PathString&, const IOnnxRuntimeOpSchemaRegistryList*, const onnxruntime::logging::Logger&, const onnxruntime::ModelOptions&) Unsupported model IR version: 9, max supported IR version: 8`\r\n\r\nWhen using the flag \"use_torchscript\" there is an issue during riva_init.sh due to a missing file. This is not resolved by using `--FORMAT TS` during the nemo2riva call. infact, setting the format to TS results in the main folder in the output location being empty.\r\n\r\nDespite the lack of success before I will go back to trying a combination of downgraded onnx and onnxruntime libraries. As I do not seem to be able to avoid the use of onnx as @itzsimpl suggested.\r\n",
"all with nemo 1.23.0.\r\nversions of onnx/onnx runtime were set using pip install X commands in the docker file, before the script above is run to download models & save them (I believe saving them in this way is enough to update the model IR version used by onnxruntime. between onnx 1.13.0 and 1.14.0, and onnxruntime 1.16.3, 1.15.1, 1.14.0, 1.13.1 I was not able to find a combination that would allow the creation of a .rmir file that could be successfully deployed.\r\n\r\nTomorrow I will try the following approaches to resolve this:\r\n- [ ] use riva 2.13.1 as the base image. riva 2.14 has a known issue with the pytorch version in nemo:23.08 which is 2.1.0a0+29c30b1. Although the torch version in my environment (2.2.1+cu121) is more up-to-date than the one known not to work. reinstalling torch may help\r\n- [ ] try different onnx_opset settings with varying versions of onnxruntime as mention in https://github.com/nvidia-riva/nemo2riva/issues/36 and https://github.com/NVIDIA/NeMo/discussions/7278\r\n\r\n<details>\r\n <summary>\r\n Click this if you want to see the script I was using (still the same as the one 2 posts up)\r\n </summary>\r\n `import nemo\r\nfrom nemo.collections.tts.models import FastPitchModel, HifiGanModel\r\nimport onnx\r\nimport onnxruntime\r\nimport os\r\n\r\n#remove old runs\r\nos.system(\"rm -rf /models/models/*\")\r\nos.system(\"rm -rf /models/riva/*\")\r\nos.system(\"rm -rf /models/rmir/*\")\r\n\r\n#getting current versions\r\nnemo_ver = nemo.__version__\r\nonnx_ver = onnx.__version__\r\nonnx_rt_ver = onnxruntime.__version__\r\nprint(\"onnx: \",onnx_ver)\r\nprint(\"onnxruntime: \",onnx_rt_ver)\r\nprint(\"nemo: \",nemo_ver)\r\n\r\nfp_model_name = f\"FastPitch_nemo{nemo_ver}_onnx{onnx_ver}_onnxrt{onnx_rt_ver}\"\r\nhg_model_name = f\"HifiGan_nemo{nemo_ver}_onnx{onnx_ver}_onnxrt{onnx_rt_ver}\"\r\n\r\nmodel = FastPitchModel.from_pretrained(model_name=\"tts_en_fastpitch_ipa\")\r\nmodel.save_to(f'/models/{fp_model_name}.nemo')\r\n\r\nmodel = HifiGanModel.from_pretrained(model_name=\"tts_en_hifigan\")\r\nmodel.save_to(f'/models/{hg_model_name}.nemo')\r\n\r\nprint(\"models saved\")\r\n\r\nos.system(f\"nemo2riva --out /models/riva/{fp_model_name}.riva --key tlt_encode /models/{fp_model_name}.nemo\")\r\nos.system(f\"nemo2riva --out /models/riva/{hg_model_name}.riva --key tlt_encode /models/{hg_model_name}.nemo\")\r\n\r\ncmd = f\"\"\"\r\nriva-build speech_synthesis --force \\\r\n/models/rmir/tts_pipeline_model_nemo{nemo_ver}_onnx{onnx_ver}_onnxrt{onnx_rt_ver}.rmir:tlt_encode \\\r\n/models/riva/{fp_model_name}.riva:tlt_encode \\\r\n/models/riva/{hg_model_name}.riva:tlt_encode \\\r\n--language_code=en-US \\\r\n--num_speakers=1 \\\r\n--voice_name test__onnx{onnx_ver}_onnxrt{onnx_rt_ver} \\\r\n--sample_rate 22050 \\\r\n--abbreviations_file=/riva_aux/abbr.txt \\\r\n--wfst_tokenizer_model=/riva_tn/tokenize_and_classify.far \\\r\n--wfst_verbalizer_model=/riva_tn/verbalize.far \\\r\n--phone_set=ipa \\\r\n--phone_dictionary_file=/riva_aux/ipa_cmudict-0.7b_nv22.08.txt \\\r\n--upper_case_chars=True\r\n\"\"\"\r\nos.system(cmd)`\r\n</details>\r\n\r\n**onnx 1.14.0, onnxruntime 1.16.3 (defaults from dockerfile)**\r\n- Unsupported model IR version: 9, max supported IR version: 8\r\n\r\n**onnx 1.13.0, onnxruntime 1.16.3**\r\n- UNAVAILABLE: Internal: onnx runtime error 1: Load model from /data/models/riva-onnx-fastpitch_encoder-test__onnx1.13.0_onnxrt1.16.3/1/model.onnx failed:Invalid tensor data type 0.\r\n\r\n**onnx 1.13.0, onnxruntime 1.15.1**\r\n-UNAVAILABLE: Internal: onnx runtime error 1: Load model from /data/models/riva-onnx-fastpitch_encoder-test__onnx1.13.0_onnxrt1.15.1/1/model.onnx failed:Invalid tensor data type 0.\r\n(accidentally ran twice, same result)\r\n\r\n**onnx 1.14.0, onnxruntime 1.15.1**\r\n-UNAVAILABLE: Internal: onnx runtime error 1: Load model from /data/models/riva-onnx-fastpitch_encoder-test__onnx1.14.0_onnxrt1.15.1/1/model.onnx failed:/workspace/onnxruntime/onnxruntime/core/graph/model.cc:146 onnxruntime::Model::Model(onnx::ModelProto&&, const PathString&, const IOnnxRuntimeOpSchemaRegistryList*, const onnxruntime::logging::Logger&, const onnxruntime::ModelOptions&) Unsupported model IR version: 9, max supported IR version: 8\r\n\r\n**onnx 1.14.0, onnxruntime 1.14.0**\r\n-UNAVAILABLE: Internal: onnx runtime error 1: Load model from /data/models/riva-onnx-fastpitch_encoder-test__onnx1.14.0_onnxrt1.14.0/1/model.onnx failed:/workspace/onnxruntime/onnxruntime/core/graph/model.cc:146 onnxruntime::Model::Model(onnx::ModelProto&&, const PathString&, const IOnnxRuntimeOpSchemaRegistryList*, const onnxruntime::logging::Logger&, const onnxruntime::ModelOptions&) Unsupported model IR version: 9, max supported IR version: 8\r\n\r\n**onnx 1.14.0, onnxruntime 1.13.1**\r\n-UNAVAILABLE: Internal: onnx runtime error 1: Load model from /data/models/riva-onnx-fastpitch_encoder-test__onnx1.14.0_onnxrt1.13.1/1/model.onnx failed:/workspace/onnxruntime/onnxruntime/core/graph/model.cc:146 onnxruntime::Model::Model(onnx::ModelProto&&, const PathString&, const IOnnxRuntimeOpSchemaRegistryList*, const onnxruntime::logging::Logger&, const onnxruntime::ModelOptions&) Unsupported model IR version: 9, max supported IR version: 8 \r\n",
"Using pre-trained models DIRECTLY from ngc is ok:\r\nonnx 1.13.0\r\nonnxruntime 1.15.1\r\nnemo_toolkit 1.20.0 (pip install nemo_toolkit[all]==1.20.0)\r\n```\r\nwget --content-disposition 'https://api.ngc.nvidia.com/v2/models/org/nvidia/team/nemo/tts_hifigan/1.0.0rc1/files?redirect=true&path=tts_hifigan.nemo' -O tts_hifigan.nemo\r\nwget --content-disposition 'https://api.ngc.nvidia.com/v2/models/org/nvidia/team/nemo/tts_en_fastpitch/IPA_1.13.0/files?redirect=true&path=tts_en_fastpitch_align_ipa.nemo' -O tts_en_fastpitch_align_ipa.nemo\r\n\r\nnemo2riva --out ../nemo_models/riva/tts_en_fastpitch_align_ipa.riva --key tlt_encode tts_en_fastpitch_align_ipa.nemo\r\nnemo2riva --out ../nemo_models/riva/tts_hifigan.riva --key tlt_encode tts_hifigan.nemo\r\n\r\n#below is run within the docker container after it is launched\r\nriva-build speech_synthesis --force \\\r\n/models/rmir/tts_pipeline_simple.rmir:tlt_encode \\\r\n/models/riva/tts_en_fastpitch_align_ipa.riva:tlt_encode \\\r\n/models/riva/tts_hifigan.riva:tlt_encode \\\r\n--language_code=en-US \\\r\n--num_speakers=1 \\\r\n--voice_name simple \\\r\n--sample_rate 22050 \\\r\n--abbreviations_file=/riva_aux/abbr.txt \\\r\n--wfst_tokenizer_model=/riva_tn/tokenize_and_classify.far \\\r\n--wfst_verbalizer_model=/riva_tn/verbalize.far \\\r\n--phone_set=ipa \\\r\n--phone_dictionary_file=/riva_aux/ipa_cmudict-0.7b_nv22.08.txt \\\r\n--upper_case_chars=True\r\n```\r\nWhen I ran this combo previously with a higher nemo version, 1.23 (installed via git clone + pip install -e) and saved the models through nemo before doing the conversion, I was getting some error related to the tensor data type. This implies the data type error is resulting from the interaction with nemo.\r\n\r\nRerunning the above code:\r\n\r\n- updrade onnx to 1.15\r\n - script failed\r\n- downgrade onnx to 1.13 \r\n - successful deploy\r\n- running similar script, but save the models through nemo instead of wget\r\n - WORKS\r\n\r\nWill be doing some testing but it seems that a working combination to deploy nemo models requires:\r\n- python 3.8\r\n- nemo_toolkit 1.20.0\r\n- nemo2riva 2.11.0\r\n- onnx 1.13.0\r\n- onnxruntime 1.15.0\r\n\r\nwhen i have narrowed down the specific requirements I will post a dockerfile that can be used for training and converting. \r\n\r\nOverall, it would be great if the nemo, nemo2riva, and riva packages can be made more compatible\r\n",
"After testing many combinations of packages, I have discovered the current compatibility for training and converting .nemo files is limited to:\r\n \r\n**Training Environment:**\r\n- Simplest solution is to use a Nemo image.\r\n- Doesn't matter what Nemo, ONNX, or ONNXRuntime version is installed while saving the model to a `.nemo` file.\r\n\r\n**Converting Environment:**\r\n- Use a Riva-service maker image to simplify things & because Python 3.8 is the max version we can use anyway.\r\n- Package version for ONNX: 1.13.0 is required\r\n - Any higher and the deployment fails with the “Unsupported model IR version: 9, max supported IR version: 8” error.\r\n - Lower versions also seem to cause issues but this has not been thoroughly investigated.\r\n- Package version for nemo2riva: 2.13.0 is required. \r\n - Any higher fails with the error related to “Invalid tensor data type 0”. Even 2.13.1 fails. \r\n - 2.11.0 or 2.12.0 work if required.\r\n- Package version for Nemo: 1.20.0 is required. \r\n - Later versions cannot be used due to various package incompatibilities with Python 3.8. \r\n - Nvidia-eff, a critical nemo2riva dependency, requires Python 3.8, meaning that currently, no converter environment can use a Python version greater than 3.8, which negates the use of Nemo versions later than 1.20. \r\n - Earlier versions of Nemo most likely work, but no investigation has been done.\r\n\r\n-----------------------------\r\nUntil the conflicts are resolved, it will not possible for models or functions introduced in nemo after version 1.20 to be converted to a .riva file",
"@LL-AI-dev could you please try \"pip install nvidia-eff>=0.6.4 nvidia-eff-tao-encryption>=0.1.8\" in your python3.10 environment and see whether that helps with this error? Thanks.",
"@rmittal-github thanks for the suggestion. that does allow the nemo2riva (version 2.14) conversion to run, but when deploying the downstream .rmir file, it gets the error:\r\n`UNAVAILABLE: Internal: onnx runtime error 1: Load model from /data/models/riva-onnx-fastpitch_encoder-test_py310_onnx13/1/model.onnx failed:Invalid tensor data type 0. `\r\n\r\nI suspect this might be related to a torch version issue (from riva release logs, 2.14 known issues)\r\n\r\n>When generating .riva models from .nemo using nemo2riva, the nemo:23.08 image is not compatible with Riva due to updated torch version. To avoid any Riva deployment issues, the recommendation is to continue using the last working nemo image\r\n\r\nthese are the pytorch versions in question:\r\n - environment I used to convert the files, torch version 2.2.0a0+81ea7a4\r\n - nemo:23.08 image, torch version 2.1.0a0+29c30b1\r\n \r\nDo you have any suggestions to resolve this?",
"I tried downgrading nemo2riva to version 2.13 as that had resolved the data type error previously\r\n> - Package version for nemo2riva: 2.13.0 is required.\r\n - Any higher fails with the error related to “Invalid tensor data type 0”. Even 2.13.1 fails.\r\n\r\ndowngrading results in the error:\r\n\r\n\r\n```\r\nTraceback (most recent call last):\r\n File \"/usr/local/bin/nemo2riva\", line 8, in <module>\r\n sys.exit(nemo2riva())\r\n File \"/usr/local/lib/python3.10/dist-packages/nemo2riva/cli/nemo2riva.py\", line 49, in nemo2riva\r\n Nemo2Riva(args)\r\n File \"/usr/local/lib/python3.10/dist-packages/nemo2riva/convert.py\", line 42, in Nemo2Riva\r\n trainer = Trainer(cfg_trainer)\r\n File \"/usr/local/lib/python3.10/dist-packages/pytorch_lightning/utilities/argparse.py\", line 70, in insert_env_defaults\r\n return fn(self, **kwargs)\r\n File \"/usr/local/lib/python3.10/dist-packages/pytorch_lightning/trainer/trainer.py\", line 399, in __init__\r\n self._accelerator_connector = _AcceleratorConnector(\r\n File \"/usr/local/lib/python3.10/dist-packages/pytorch_lightning/trainer/connectors/accelerator_connector.py\", line 140, in __init__\r\n self._check_config_and_set_final_flags(\r\n File \"/usr/local/lib/python3.10/dist-packages/pytorch_lightning/trainer/connectors/accelerator_connector.py\", line 222, in _check_config_and_set_final_flags\r\n raise ValueError(\r\nValueError: You selected an invalid accelerator name: `accelerator=TrainerConfig(logger=False, callbacks=None, default_root_dir=None, gradient_clip_val=0, num_nodes=1, enable_progress_bar=True, overfit_batches=0.0, check_val_every_n_epoch=1, fast_dev_run=False, accumulate_grad_batches=1, max_epochs=1000, min_epochs=1, max_steps=-1, min_steps=None, limit_train_batches=1.0, limit_val_batches=1.0, limit_test_batches=1.0, val_check_interval=1.0, log_every_n_steps=50, accelerator='cpu', sync_batchnorm=False, precision=32, num_sanity_val_steps=2, profiler=None, benchmark=False, deterministic=False, use_distributed_sampler=True, detect_anomaly=False, plugins=None, limit_predict_batches=1.0, gradient_clip_algorithm='norm', max_time=None, reload_dataloaders_every_n_epochs=0, devices='auto', strategy='auto', enable_checkpointing=False, enable_model_summary=True, inference_mode=True, barebones=False)`. Available names are: auto, cpu, cuda, hpu, ipu, mps, tpu.\r\n```\r\ni attempt to change the line where the accelerator is set in `/usr/local/lib/python3.10/dist-packages/nemo2riva/convert.py` but regardless of which value I tried, the conversion failed\r\n",
"@LL-AI-dev I think downgrading to 2.13 is not required. Could you please try with nemo:23.06 image and 2.14.0, along with the pip install packages I mentioned in my last comment, and see if that resolves the issue?\r\n\r\nAs per the 2.14.0 release notes known issues, nemo:23.08 is not compatible and need to try previous nemo image (23.06)",
"This issue is stale because it has been open for 30 days with no activity. Remove stale label or comment or this will be closed in 7 days.",
"This issue was closed because it has been inactive for 7 days since being marked as stale."
] | 2024-03-04T02:41:11 | 2024-04-25T01:45:34 | 2024-04-25T01:45:33 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | Hardware - GPU (T4)
Hardware - CPU
Operating System - ubuntu 20.04 running on AWS EC2 g4dn.2xlarge instance
I am currently trying to convert a model (several of different types but for now not even a FastPitch model is working)
In the past i had deployed several nemo pipelines to riva but that developing environment was lost during some updates and I have not been able to convert and deploy any nemo models since. I believe this lost environment was using nemo 1.20.0 and riva & nemo2riva version 2.13.1, however using those versions does not seem to work for me anymore.
Recently I have been testing several versions of nemo, nemo2riva and riva using the dockerfile below in order to deploy models. (will update with testing data as I continue to try and retry combinations)
```
FROM nvcr.io/nvidia/nemo:24.01.framework
#get a simple fastpitch model to convert
RUN wget --content-disposition \
'https://api.ngc.nvidia.com/v2/models/org/nvidia/team/nemo/tts_en_fastpitch/IPA_1.13.0/files?redirect=true&path=tts_en_fastpitch_align_ipa.nemo' \
-O tts_en_fastpitch_align_ipa.nemo
#without nemo_text_processing it errors with "TypeError: Can't instantiate abstract class ModelPT with abstract methods list_available_models, setup_training_data, setup_validation_data"
#without lhotse it also gets the same TypeError
RUN pip install nemo_text_processing
RUN pip install lhotse
#install nemo2riva
RUN pip install nvidia-pyindex
RUN pip install nemo2riva==2.14.0
#run the test
CMD nemo2riva --out FP_ipa.riva --key tlt_encode tts_en_fastpitch_align_ipa.nemo
```
As you can see in the dockerfile, it is using a pretrained model from ngc, however I get the same error even on a .nemo model that was trained using the latest nemo version
The error relates to nvidia-eff and being unable to encrypt the model. This error is consistent regardless of the nemo image used. I have also tried using a pytorch base image but this results in the same errors. I tried using a riva-servicemaker image too but that had an issue arising because the image uses python 3.8 but nemo has required 3.10 for a long time.
I really need some help resolving this as development is being delayed as I cannot update any ASR, NLP, or TTS models currently. How can I resolve this?
```
INFO: generated new fontManager
INFO: NumExpr defaulting to 8 threads.
[NeMo I 2024-03-04 01:59:20 nemo2riva:38] Logging level set to 20
[NeMo I 2024-03-04 01:59:20 convert:36] Restoring NeMo model from 'tts_en_fastpitch_align_ipa.nemo'
GPU available: True (cuda), used: True
TPU available: False, using: 0 TPU cores
IPU available: False, using: 0 IPUs
HPU available: False, using: 0 HPUs
`Trainer(limit_train_batches=1.0)` was configured so 100% of the batches per epoch will be used..
`Trainer(limit_val_batches=1.0)` was configured so 100% of the batches will be used..
`Trainer(limit_test_batches=1.0)` was configured so 100% of the batches will be used..
`Trainer(limit_predict_batches=1.0)` was configured so 100% of the batches will be used..
`Trainer(val_check_interval=1.0)` was configured so validation will run at the end of the training epoch..
NeMo-text-processing :: INFO :: Creating ClassifyFst grammars.
WARNING: Logging before flag parsing goes to stderr.
I0304 01:59:23.133829 139807560075072 tokenize_and_classify.py:86] Creating ClassifyFst grammars.
[NeMo W 2024-03-04 01:59:51 deprecated:65] Function ``g2p_backward_compatible_support`` is deprecated. But it will not be removed until a further notice. G2P object root directory `nemo_text_processing.g2p` has been replaced with `nemo.collections.tts.g2p`. Please use the latter instead as of NeMo 1.18.0.
[NeMo W 2024-03-04 01:59:52 experimental:26] `<class 'nemo.collections.tts.g2p.models.i18n_ipa.IpaG2p'>` is experimental and not ready for production yet. Use at your own risk.
[NeMo W 2024-03-04 01:59:53 i18n_ipa:124] apply_to_oov_word=None, This means that some of words will remain unchanged if they are not handled by any of the rules in self.parse_one_word(). This may be intended if phonemes and chars are both valid inputs, otherwise, you may see unexpected deletions in your input.
[NeMo W 2024-03-04 01:59:53 experimental:26] `<class 'nemo.collections.common.tokenizers.text_to_speech.tts_tokenizers.IPATokenizer'>` is experimental and not ready for production yet. Use at your own risk.
[NeMo W 2024-03-04 01:59:53 modelPT:165] 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 :
dataset:
_target_: nemo.collections.tts.torch.data.TTSDataset
manifest_filepath: /data3/LJSpeech/nvidia_ljspeech_train.json
sample_rate: 22050
sup_data_path: /data3/LJSpeech/tmp_ignoreamb/
sup_data_types:
- align_prior_matrix
- pitch
n_fft: 1024
win_length: 1024
hop_length: 256
window: hann
n_mels: 80
lowfreq: 0
highfreq: 8000
max_duration: null
min_duration: 0.1
ignore_file: null
trim: false
pitch_fmin: 65.40639132514966
pitch_fmax: 2093.004522404789
pitch_norm: true
pitch_mean: 212.35873413085938
pitch_std: 68.52806091308594
use_beta_binomial_interpolator: true
dataloader_params:
drop_last: false
shuffle: true
batch_size: 32
num_workers: 12
[NeMo W 2024-03-04 01:59:53 modelPT:172] 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 :
dataset:
_target_: nemo.collections.tts.torch.data.TTSDataset
manifest_filepath: /data3/LJSpeech/nvidia_ljspeech_val.json
sample_rate: 22050
sup_data_path: /data3/LJSpeech/tmp_ignoreamb/
sup_data_types:
- align_prior_matrix
- pitch
n_fft: 1024
win_length: 1024
hop_length: 256
window: hann
n_mels: 80
lowfreq: 0
highfreq: 8000
max_duration: null
min_duration: null
ignore_file: null
trim: false
pitch_fmin: 65.40639132514966
pitch_fmax: 2093.004522404789
pitch_norm: true
pitch_mean: 212.35873413085938
pitch_std: 68.52806091308594
use_beta_binomial_interpolator: true
dataloader_params:
drop_last: false
shuffle: false
batch_size: 32
num_workers: 8
[NeMo I 2024-03-04 01:59:53 features:289] PADDING: 1
[NeMo I 2024-03-04 01:59:54 save_restore_connector:249] Model FastPitchModel was successfully restored from /workspace/tts_en_fastpitch_align_ipa.nemo.
[NeMo I 2024-03-04 01:59:54 schema:161] Loaded schema file /usr/local/lib/python3.10/dist-packages/nemo2riva/validation_schemas/nlp-isc-exported-bert.yaml for nemo.collections.nlp.models.IntentSlotClassificationModel
[NeMo I 2024-03-04 01:59:54 schema:161] Loaded schema file /usr/local/lib/python3.10/dist-packages/nemo2riva/validation_schemas/tts-exported-fastpitchmodel.yaml for nemo.collections.tts.models.FastPitchModel
[NeMo I 2024-03-04 01:59:54 schema:161] Loaded schema file /usr/local/lib/python3.10/dist-packages/nemo2riva/validation_schemas/tts-exported-hifiganmodel.yaml for nemo.collections.tts.models.HifiGanModel
[NeMo I 2024-03-04 01:59:54 schema:161] Loaded schema file /usr/local/lib/python3.10/dist-packages/nemo2riva/validation_schemas/tts-exported-radttsmodel.yaml for nemo.collections.tts.models.RadTTSModel
[NeMo I 2024-03-04 01:59:54 schema:161] Loaded schema file /usr/local/lib/python3.10/dist-packages/nemo2riva/validation_schemas/asr-stt-exported-encdecctcmodel.yaml for nemo.collections.asr.models.EncDecCTCModel
[NeMo I 2024-03-04 01:59:54 schema:161] Loaded schema file /usr/local/lib/python3.10/dist-packages/nemo2riva/validation_schemas/nlp-tc-exported-bert.yaml for nemo.collections.nlp.models.TextClassificationModel
[NeMo I 2024-03-04 01:59:54 schema:161] Loaded schema file /usr/local/lib/python3.10/dist-packages/nemo2riva/validation_schemas/nlp-mt-exported-encdecmtmodel.yaml for nemo.collections.nlp.models.MTEncDecModel
[NeMo I 2024-03-04 01:59:54 schema:161] Loaded schema file /usr/local/lib/python3.10/dist-packages/nemo2riva/validation_schemas/nlp-tkc-exported-bert.yaml for nemo.collections.nlp.models.TokenClassificationModel
[NeMo I 2024-03-04 01:59:54 schema:161] Loaded schema file /usr/local/lib/python3.10/dist-packages/nemo2riva/validation_schemas/asr-stt-exported-encdectcmodelbpe.yaml for nemo.collections.asr.models.EncDecCTCModelBPE
[NeMo I 2024-03-04 01:59:54 schema:161] Loaded schema file /usr/local/lib/python3.10/dist-packages/nemo2riva/validation_schemas/asr-scr-exported-encdecclsmodel.yaml for nemo.collections.asr.models.classification_models.EncDecClassificationModel
[NeMo I 2024-03-04 01:59:54 schema:161] Loaded schema file /usr/local/lib/python3.10/dist-packages/nemo2riva/validation_schemas/nlp-qa-exported-bert.yaml for nemo.collections.nlp.models.QAModel
[NeMo I 2024-03-04 01:59:54 schema:161] Loaded schema file /usr/local/lib/python3.10/dist-packages/nemo2riva/validation_schemas/nlp-mt-exported-megatronnmtmodel.yaml for nemo.collections.nlp.models.MegatronNMTModel
[NeMo I 2024-03-04 01:59:54 schema:161] Loaded schema file /usr/local/lib/python3.10/dist-packages/nemo2riva/validation_schemas/nlp-pc-exported-bert.yaml for nemo.collections.nlp.models.PunctuationCapitalizationModel
[NeMo I 2024-03-04 01:59:54 schema:200] Found validation schema for nemo.collections.tts.models.FastPitchModel at /usr/local/lib/python3.10/dist-packages/nemo2riva/validation_schemas/tts-exported-fastpitchmodel.yaml
[NeMo I 2024-03-04 01:59:54 schema:229] Checking installed NeMo version ... 1.23.0 OK (>=1.1)
[NeMo I 2024-03-04 01:59:54 artifacts:59] Found model at ./model_weights.ckpt
[NeMo I 2024-03-04 01:59:54 artifacts:136] Retrieved artifacts: dict_keys(['36d6b09d4dbc45dcb02222e1931e4c7c_lj_speech.tsv', '446fe5373191447190c14cdb8e967e58_ipa_cmudict-0.7b_nv22.08.txt', 'e2327d2f57dd41b88601774804001221_heteronyms-052722', 'model_config.yaml', 'mapping.txt'])
[NeMo I 2024-03-04 01:59:54 cookbook:78] Exporting model FastPitchModel with config=ExportConfig(export_subnet=None, export_format='ONNX', export_file='model_graph.onnx', encryption=True, autocast=True, max_dim=None, export_args={})
[NeMo I 2024-03-04 02:00:01 exportable:131] Successfully exported FastPitchModel to /tmp/tmp7gtd0omy/model_graph.onnx
[W] colored module is not installed, will not use colors when logging. To enable colors, please install the colored module: python3 -m pip install colored
[W] Attribute of type TYPE_PROTO is currently unsupported. Skipping attribute.
[W] colored module is not installed, will not use colors when logging. To enable colors, please install the colored module: python3 -m pip install colored
[W] Could not convert: UNDEFINED to a corresponding NumPy type. The original ONNX type will be preserved.
[W] colored module is not installed, will not use colors when logging. To enable colors, please install the colored module: python3 -m pip install colored
[W] Attribute of type TYPE_PROTO is currently unsupported. Skipping attribute.
2024-03-04 02:00:01.862915635 [W:onnxruntime:, unsqueeze_elimination.cc:20 Apply] UnsqueezeElimination cannot remove node Unsqueeze_980
2024-03-04 02:00:01.862971956 [W:onnxruntime:, unsqueeze_elimination.cc:20 Apply] UnsqueezeElimination cannot remove node Unsqueeze_975
2024-03-04 02:00:01.862988821 [W:onnxruntime:, unsqueeze_elimination.cc:20 Apply] UnsqueezeElimination cannot remove node Unsqueeze_960
2024-03-04 02:00:01.863000639 [W:onnxruntime:, unsqueeze_elimination.cc:20 Apply] UnsqueezeElimination cannot remove node Unsqueeze_955
2024-03-04 02:00:01.863011349 [W:onnxruntime:, unsqueeze_elimination.cc:20 Apply] UnsqueezeElimination cannot remove node Unsqueeze_951
2024-03-04 02:00:01.863026569 [W:onnxruntime:, unsqueeze_elimination.cc:20 Apply] UnsqueezeElimination cannot remove node Unsqueeze_945
2024-03-04 02:00:01.863059506 [W:onnxruntime:, unsqueeze_elimination.cc:20 Apply] UnsqueezeElimination cannot remove node Unsqueeze_911
2024-03-04 02:00:01.863083302 [W:onnxruntime:, unsqueeze_elimination.cc:20 Apply] UnsqueezeElimination cannot remove node Unsqueeze_906
2024-03-04 02:00:01.863103596 [W:onnxruntime:, unsqueeze_elimination.cc:20 Apply] UnsqueezeElimination cannot remove node Unsqueeze_891
2024-03-04 02:00:01.863122579 [W:onnxruntime:, unsqueeze_elimination.cc:20 Apply] UnsqueezeElimination cannot remove node Unsqueeze_886
2024-03-04 02:00:01.863142365 [W:onnxruntime:, unsqueeze_elimination.cc:20 Apply] UnsqueezeElimination cannot remove node Unsqueeze_882
2024-03-04 02:00:01.863161463 [W:onnxruntime:, unsqueeze_elimination.cc:20 Apply] UnsqueezeElimination cannot remove node Unsqueeze_876
2024-03-04 02:00:01.863180990 [W:onnxruntime:, unsqueeze_elimination.cc:20 Apply] UnsqueezeElimination cannot remove node Unsqueeze_842
2024-03-04 02:00:01.863202010 [W:onnxruntime:, unsqueeze_elimination.cc:20 Apply] UnsqueezeElimination cannot remove node Unsqueeze_837
2024-03-04 02:00:01.863224208 [W:onnxruntime:, unsqueeze_elimination.cc:20 Apply] UnsqueezeElimination cannot remove node Unsqueeze_822
2024-03-04 02:00:01.863235010 [W:onnxruntime:, unsqueeze_elimination.cc:20 Apply] UnsqueezeElimination cannot remove node Unsqueeze_817
2024-03-04 02:00:01.863244066 [W:onnxruntime:, unsqueeze_elimination.cc:20 Apply] UnsqueezeElimination cannot remove node Unsqueeze_813
2024-03-04 02:00:01.863256423 [W:onnxruntime:, unsqueeze_elimination.cc:20 Apply] UnsqueezeElimination cannot remove node Unsqueeze_807
2024-03-04 02:00:01.877913305 [W:onnxruntime:, unsqueeze_elimination.cc:20 Apply] UnsqueezeElimination cannot remove node Unsqueeze_1055
2024-03-04 02:00:01.877951197 [W:onnxruntime:, unsqueeze_elimination.cc:20 Apply] UnsqueezeElimination cannot remove node Unsqueeze_1050
2024-03-04 02:00:01.877967245 [W:onnxruntime:, unsqueeze_elimination.cc:20 Apply] UnsqueezeElimination cannot remove node Unsqueeze_1035
2024-03-04 02:00:01.877974987 [W:onnxruntime:, unsqueeze_elimination.cc:20 Apply] UnsqueezeElimination cannot remove node Unsqueeze_1030
2024-03-04 02:00:01.877984501 [W:onnxruntime:, unsqueeze_elimination.cc:20 Apply] UnsqueezeElimination cannot remove node Unsqueeze_1026
2024-03-04 02:00:01.877994518 [W:onnxruntime:, unsqueeze_elimination.cc:20 Apply] UnsqueezeElimination cannot remove node Unsqueeze_1020
Traceback (most recent call last):
File "/usr/local/bin/nemo2riva", line 8, in <module>
sys.exit(nemo2riva())
File "/usr/local/lib/python3.10/dist-packages/nemo2riva/cli/nemo2riva.py", line 49, in nemo2riva
Nemo2Riva(args)
File "/usr/local/lib/python3.10/dist-packages/nemo2riva/convert.py", line 87, in Nemo2Riva
export_model(
File "/usr/local/lib/python3.10/dist-packages/nemo2riva/cookbook.py", line 141, in export_model
create_artifact(
File "/usr/local/lib/python3.10/dist-packages/nemo2riva/artifacts.py", line 92, in create_artifact
af.encrypt()
File "<frozen eff.core.file>", line 128, in encrypt
PermissionError: Cannot encrypt the artifact without encryption
``` | {
"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/8569/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/8569/timeline | null | not_planned | false |
https://api.github.com/repos/NVIDIA/NeMo/issues/8568 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/8568/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/8568/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/8568/events | https://github.com/NVIDIA/NeMo/issues/8568 | 2,165,467,043 | I_kwDOC_bI7s6BEmej | 8,568 | `audio_to_text` doesn't support duplicate files with different offsets | {
"login": "tbartley94",
"id": 90423858,
"node_id": "MDQ6VXNlcjkwNDIzODU4",
"avatar_url": "https://avatars.githubusercontent.com/u/90423858?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tbartley94",
"html_url": "https://github.com/tbartley94",
"followers_url": "https://api.github.com/users/tbartley94/followers",
"following_url": "https://api.github.com/users/tbartley94/following{/other_user}",
"gists_url": "https://api.github.com/users/tbartley94/gists{/gist_id}",
"starred_url": "https://api.github.com/users/tbartley94/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/tbartley94/subscriptions",
"organizations_url": "https://api.github.com/users/tbartley94/orgs",
"repos_url": "https://api.github.com/users/tbartley94/repos",
"events_url": "https://api.github.com/users/tbartley94/events{/privacy}",
"received_events_url": "https://api.github.com/users/tbartley94/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"id": 1485815557,
"node_id": "MDU6TGFiZWwxNDg1ODE1NTU3",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": "Something isn't working"
},
{
"id": 4585431311,
"node_id": "LA_kwDOC_bI7s8AAAABEVAhDw",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/stale",
"name": "stale",
"color": "ededed",
"default": false,
"description": null
}
] | closed | false | null | [] | null | [
"This issue is stale because it has been open for 30 days with no activity. Remove stale label or comment or this will be closed in 7 days.",
"This issue was closed because it has been inactive for 7 days since being marked as stale.",
"Hi, I'm facing the same problem in NeMo 2.0. It took me a long time to see that the '-sub1', 'sub2'.... don't work. This kind a huge issue since with audio lasting up to 1 hour, you don't want to divide them into every segment you have.",
"I believe you'll be able to avoid these issues by switching to lhotse dataloaders. For ASR recipes, just add `train_ds.use_lhotse: True`.",
"> I believe you'll be able to avoid these issues by switching to lhotse dataloaders. For ASR recipes, just add `train_ds.use_lhotse: True`.\n\nHi, thanks for the tip but when I try to use lhotse dataloaders I have the following error:\n\n```\n[NeMo I 2024-11-27 10:24:19 nemo_logging:381] Creating a Lhotse DynamicCutSampler (bucketing is disabled, (max_batch_duration=None max_batch_size=1)\nError executing job with overrides: []\nTraceback (most recent call last):\n File \"NeMo/nemo/collections/asr/models/ctc_models.py\", line 385, in setup_training_data\n * ceil((len(self._train_dl.dataset) / self.world_size) / train_data_config['batch_size'])\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\nTypeError: object of type 'IterableDatasetWrapper' has no len()\n```\n\nI have switched to using sharded manifests as it seems to be required for that type of dataloader. I don't know if this is normal and I need to change something else? but what?\n\nI have the following config for my train_ds:\n```\ntrain_ds:\n manifest_filepath:\n - - bucket11/sharded_manifests/manifest__OP_0..23_CL_.json\n - - bucket12/sharded_manifests/manifest__OP_0..23_CL_.json\n tarred_audio_filepaths:\n - - bucket11/audio__OP_0..23_CL_.tar\n - - bucket12/audio__OP_0..23_CL_.tar\n sample_rate: ${model.sample_rate}\n batch_size: 1 # must be 1 if using bucketing_batch_size\n shuffle: true\n num_workers: 8\n use_lhotse: true\n pin_memory: true\n max_duration: 30.1\n min_duration: 0.1\n shuffle_n: 2048\n # tarred datasets\n is_tarred: true\n bucketing_strategy: \"synced_randomized\" # \"fixed_order\" \"synced_randomized\" \"fully_randomized\"\n bucketing_weights: [1, 1]\n bucketing_batch_size: 8\n shard_strategy: scatter\n```\n@pzelasko "
] | 2024-03-03T17:43:09 | 2024-11-29T09:10:08 | 2024-04-10T01:44:38 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | When building tarred datasets with `convert_to_tarred_dataset` the script treats duplicate files with concatenating `-sub` to the file name. This allows the manifest to track number of samples while avoiding too many duplicate files in the tar balls. For `audio_to_label` data, this `-sub` is picked up by the class and used to duplicate audio streams.
For `audio_to_text` data, there is not support for this concatenation, the `_loop_offset` method still assumes unique files. As such, anytime you use multiple offsets from the same audio file, the dataloader conflicts with the audio stream, causing hanging.
**Steps/Code to reproduce bug**
- Build a manifest file with multiple offsets from same file
- Run convert_to_tarred
- Run training over tarred script
- Watch run hang
**Expected behavior**
- The `audio_to_text` data file should duplicate audio streams for each instance of `-sub` in the manifest. This can be done by simply duplicating the text in `audio_to_label`
**Environment overview (please complete the following information)**
- Environment location: [Docker container on cs-oci run]
- Method of NeMo install: source from main
| {
"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/8568/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/8568/timeline | null | not_planned | false |
https://api.github.com/repos/NVIDIA/NeMo/issues/8567 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/8567/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/8567/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/8567/events | https://github.com/NVIDIA/NeMo/pull/8567 | 2,164,483,005 | PR_kwDOC_bI7s5od8DL | 8,567 | Score-based generative enhancement model | {
"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
} | [
{
"id": 4811884691,
"node_id": "LA_kwDOC_bI7s8AAAABHs-Ikw",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/ASR",
"name": "ASR",
"color": "F3B33E",
"default": false,
"description": ""
},
{
"id": 6876332615,
"node_id": "LA_kwDOC_bI7s8AAAABmdyCRw",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/Run%20CICD",
"name": "Run CICD",
"color": "fef2c0",
"default": false,
"description": ""
}
] | closed | false | null | [] | null | [
"jenkins",
"jenkins",
"jenkins",
"jenkins",
"jenkins",
"jenkins",
"This PR is stale because it has been open for 14 days with no activity. Remove stale label or comment or update or this will be closed in 7 days.",
"jenkins",
"jenkins",
"jenkins",
"jenkins",
"jenkins",
"jenkins"
] | 2024-03-02T01:44:07 | 2024-05-01T19:59:24 | 2024-05-01T19:59:24 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/8567",
"html_url": "https://github.com/NVIDIA/NeMo/pull/8567",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/8567.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/8567.patch",
"merged_at": "2024-05-01T19:59:24"
} | # What does this PR do ?
This PR adds score-based diffusion enhancement model.
**Collection**: ASR
# Changelog
- Added `PredictiveAudioToAudioModel` class and an example config
- Added `ScoreBasedGenerativeAudioToAudioModel` and an example config
- Added power and scale to `AudioToSpectrogram` and `SpectrogramToAudio`
- Added diffusion-related blocks (SDEs, samplers, backbone)
# 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": "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/8567/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/8567/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/8566 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/8566/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/8566/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/8566/events | https://github.com/NVIDIA/NeMo/issues/8566 | 2,164,481,903 | I_kwDOC_bI7s6BA19v | 8,566 | Cannot install version 1.23.0 because of missing megatron-core version | {
"login": "tshastry",
"id": 10361271,
"node_id": "MDQ6VXNlcjEwMzYxMjcx",
"avatar_url": "https://avatars.githubusercontent.com/u/10361271?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tshastry",
"html_url": "https://github.com/tshastry",
"followers_url": "https://api.github.com/users/tshastry/followers",
"following_url": "https://api.github.com/users/tshastry/following{/other_user}",
"gists_url": "https://api.github.com/users/tshastry/gists{/gist_id}",
"starred_url": "https://api.github.com/users/tshastry/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/tshastry/subscriptions",
"organizations_url": "https://api.github.com/users/tshastry/orgs",
"repos_url": "https://api.github.com/users/tshastry/repos",
"events_url": "https://api.github.com/users/tshastry/events{/privacy}",
"received_events_url": "https://api.github.com/users/tshastry/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"id": 1485815557,
"node_id": "MDU6TGFiZWwxNDg1ODE1NTU3",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": "Something isn't working"
},
{
"id": 4585431311,
"node_id": "LA_kwDOC_bI7s8AAAABEVAhDw",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/stale",
"name": "stale",
"color": "ededed",
"default": false,
"description": null
}
] | closed | false | null | [] | null | [
"the latest megatron version for python 3.8 is 0.4.0. you will need to upgrage to python 3.10 for any nemo version after 1.20.0 (from memory, that is when the megatron version requirement was upgraded from 0.4.0 which is still python 3.8 compatible)\r\n\r\nI believe megatron core is just used for NLP so if you install all the extras but that you might be able to stick to python 3.8",
"3.10 python is a requirement for both NeMo ASR and NLP as of 1.23. Python 3.8 will be EOL this year, so it would be good to update to a newer version",
"This issue is stale because it has been open for 30 days with no activity. Remove stale label or comment or this will be closed in 7 days.",
"This issue was closed because it has been inactive for 7 days since being marked as stale."
] | 2024-03-02T01:42:20 | 2024-04-19T01:44:44 | 2024-04-19T01:44:43 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | **Describe the bug**
When trying to install nemo version 1.23.0 via poetry, I get this error:
```
#21 257.6 RuntimeError
#21 257.6
#21 257.6 Unable to find installation candidates for megatron-core (0.5.0)
#21 257.6
#21 257.6 at /usr/local/lib/python3.8/dist-packages/poetry/installation/chooser.py:76 in choose_for
#21 257.7 72│
#21 257.7 73│ links.append(link)
#21 257.7 74│
#21 257.7 75│ if not links:
#21 257.7 → 76│ raise RuntimeError(f"Unable to find installation candidates for {package}")
#21 257.7 77│
#21 257.7 78│ # Get the best link
#21 257.7 79│ chosen = max(links, key=lambda link: self._sort_key(package, link))
#21 257.7 80│
```
**Steps/Code to reproduce bug**
poetry install nemo with this configuration:
```
nemo-toolkit = { extras = [
"asr",
"nlp",
"core",
"text_processing",
"tts",
], version="1.23.0"}
```
**Expected behavior**
Install succeeds
**Environment overview (please complete the following information)**
- Environment location: Local environment Ubuntu 18.04.3 LTS
- Method of NeMo install: poetry install
**Environment details**
Ubuntu 18.04.3 LTS
Poetry version 1.4.2
Cuda 11.6
**Additional context**
| {
"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/8566/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/8566/timeline | null | not_planned | false |
https://api.github.com/repos/NVIDIA/NeMo/issues/8565 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/8565/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/8565/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/8565/events | https://github.com/NVIDIA/NeMo/pull/8565 | 2,164,209,510 | PR_kwDOC_bI7s5oc-40 | 8,565 | Reconfigure val batches post dataset build | {
"login": "athitten",
"id": 47577437,
"node_id": "MDQ6VXNlcjQ3NTc3NDM3",
"avatar_url": "https://avatars.githubusercontent.com/u/47577437?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/athitten",
"html_url": "https://github.com/athitten",
"followers_url": "https://api.github.com/users/athitten/followers",
"following_url": "https://api.github.com/users/athitten/following{/other_user}",
"gists_url": "https://api.github.com/users/athitten/gists{/gist_id}",
"starred_url": "https://api.github.com/users/athitten/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/athitten/subscriptions",
"organizations_url": "https://api.github.com/users/athitten/orgs",
"repos_url": "https://api.github.com/users/athitten/repos",
"events_url": "https://api.github.com/users/athitten/events{/privacy}",
"received_events_url": "https://api.github.com/users/athitten/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"id": 4585431311,
"node_id": "LA_kwDOC_bI7s8AAAABEVAhDw",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/stale",
"name": "stale",
"color": "ededed",
"default": false,
"description": null
},
{
"id": 4811886210,
"node_id": "LA_kwDOC_bI7s8AAAABHs-Ogg",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/NLP",
"name": "NLP",
"color": "CBF09A",
"default": false,
"description": ""
}
] | closed | false | null | [] | null | [
"Not to be merged to main since the fix is already there.",
"This PR is stale because it has been open for 14 days with no activity. Remove stale label or comment or update or this will be closed in 7 days.",
"This PR was closed because it has been inactive for 7 days since being marked as stale."
] | 2024-03-01T21:29:24 | 2024-03-24T01:45:18 | 2024-03-24T01:45:18 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/8565",
"html_url": "https://github.com/NVIDIA/NeMo/pull/8565",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/8565.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/8565.patch",
"merged_at": null
} | # What does this PR do ?
Add a one line overview of what this PR aims to accomplish.
**Collection**: [Note which collection this PR will affect]
# Changelog
- Add specific line by line info of high level changes in this PR.
# Usage
* You can potentially add a usage example below
```python
# Add a code snippet demonstrating how to use this
```
# Jenkins CI
To run Jenkins, a NeMo User with write access must comment `jenkins` on the PR.
# Before your PR is "Ready for review"
**Pre checks**:
- [ ] Make sure you read and followed [Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md)
- [ ] Did you write any new necessary tests?
- [ ] Did you add or update any necessary documentation?
- [ ] Does the PR affect components that are optional to install? (Ex: Numba, Pynini, Apex etc)
- [ ] Reviewer: Does the PR have correct import guards for all optional libraries?
**PR Type**:
- [ ] New Feature
- [ ] Bugfix
- [ ] Documentation
If you haven't finished some of the above items you can still open "Draft" PR.
## Who can review?
Anyone in the community is free to review the PR once the checks have passed.
[Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md) contains specific people who can review PRs to various areas.
# Additional Information
* Related to # (issue)
| {
"login": "github-actions[bot]",
"id": 41898282,
"node_id": "MDM6Qm90NDE4OTgyODI=",
"avatar_url": "https://avatars.githubusercontent.com/in/15368?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/github-actions%5Bbot%5D",
"html_url": "https://github.com/apps/github-actions",
"followers_url": "https://api.github.com/users/github-actions%5Bbot%5D/followers",
"following_url": "https://api.github.com/users/github-actions%5Bbot%5D/following{/other_user}",
"gists_url": "https://api.github.com/users/github-actions%5Bbot%5D/gists{/gist_id}",
"starred_url": "https://api.github.com/users/github-actions%5Bbot%5D/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/github-actions%5Bbot%5D/subscriptions",
"organizations_url": "https://api.github.com/users/github-actions%5Bbot%5D/orgs",
"repos_url": "https://api.github.com/users/github-actions%5Bbot%5D/repos",
"events_url": "https://api.github.com/users/github-actions%5Bbot%5D/events{/privacy}",
"received_events_url": "https://api.github.com/users/github-actions%5Bbot%5D/received_events",
"type": "Bot",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/8565/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/8565/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/8564 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/8564/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/8564/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/8564/events | https://github.com/NVIDIA/NeMo/pull/8564 | 2,164,092,534 | PR_kwDOC_bI7s5oclKT | 8,564 | Accelerate `transcribe_speech.py` for short-form data: pre-sorting support | {
"login": "pzelasko",
"id": 15930688,
"node_id": "MDQ6VXNlcjE1OTMwNjg4",
"avatar_url": "https://avatars.githubusercontent.com/u/15930688?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/pzelasko",
"html_url": "https://github.com/pzelasko",
"followers_url": "https://api.github.com/users/pzelasko/followers",
"following_url": "https://api.github.com/users/pzelasko/following{/other_user}",
"gists_url": "https://api.github.com/users/pzelasko/gists{/gist_id}",
"starred_url": "https://api.github.com/users/pzelasko/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/pzelasko/subscriptions",
"organizations_url": "https://api.github.com/users/pzelasko/orgs",
"repos_url": "https://api.github.com/users/pzelasko/repos",
"events_url": "https://api.github.com/users/pzelasko/events{/privacy}",
"received_events_url": "https://api.github.com/users/pzelasko/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"id": 4811884691,
"node_id": "LA_kwDOC_bI7s8AAAABHs-Ikw",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/ASR",
"name": "ASR",
"color": "F3B33E",
"default": false,
"description": ""
}
] | closed | false | null | [] | null | [
"jenkins",
"jenkins",
"jenkins",
"jenkins",
"jenkins",
"jenkins",
"jenkins"
] | 2024-03-01T20:06:36 | 2024-03-12T19:06:56 | 2024-03-07T01:17:12 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/8564",
"html_url": "https://github.com/NVIDIA/NeMo/pull/8564",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/8564.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/8564.patch",
"merged_at": "2024-03-07T01:17:12"
} | # What does this PR do ?
Adds manifest pre-sorting option (new default) ~and options to enable and control dynamic bucketing for inference~.
Depending on data distribution, pre-sorting can significantly increase inference speed (we observed as much as 2.5x throughput). ~Bucketing is approximate so expect smaller gains (we observed 1.7-2x increase in throughput depending on the model and decoding algorithm selection).~
EDIT: I removed bucketing support after realizing it'd require another refactoring of transcribe internals to be able to restore the original order.
Also fixes a bug in processing manifests for multi task AED models (we can now override text/lang fields from transcribe_speech CLI)
**Collection**: ASR
# Changelog
- Accelerate `transcribe_speech.py` for short-form data: pre-sorting support
# Usage
* You can potentially add a usage example below
```python
# Add a code snippet demonstrating how to use this
```
# Jenkins CI
To run Jenkins, a NeMo User with write access must comment `jenkins` on the PR.
# Before your PR is "Ready for review"
**Pre checks**:
- [ ] Make sure you read and followed [Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md)
- [ ] Did you write any new necessary tests?
- [ ] Did you add or update any necessary documentation?
- [ ] Does the PR affect components that are optional to install? (Ex: Numba, Pynini, Apex etc)
- [ ] Reviewer: Does the PR have correct import guards for all optional libraries?
**PR Type**:
- [x] New Feature
- [ ] Bugfix
- [ ] Documentation
If you haven't finished some of the above items you can still open "Draft" PR.
## Who can review?
Anyone in the community is free to review the PR once the checks have passed.
[Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md) contains specific people who can review PRs to various areas.
# Additional Information
* Related to # (issue)
| {
"login": "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/8564/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/8564/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/8562 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/8562/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/8562/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/8562/events | https://github.com/NVIDIA/NeMo/pull/8562 | 2,163,678,594 | PR_kwDOC_bI7s5obJn7 | 8,562 | Update results.rst for Canary Inference | {
"login": "stevehuang52",
"id": 105218074,
"node_id": "U_kgDOBkWAGg",
"avatar_url": "https://avatars.githubusercontent.com/u/105218074?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stevehuang52",
"html_url": "https://github.com/stevehuang52",
"followers_url": "https://api.github.com/users/stevehuang52/followers",
"following_url": "https://api.github.com/users/stevehuang52/following{/other_user}",
"gists_url": "https://api.github.com/users/stevehuang52/gists{/gist_id}",
"starred_url": "https://api.github.com/users/stevehuang52/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/stevehuang52/subscriptions",
"organizations_url": "https://api.github.com/users/stevehuang52/orgs",
"repos_url": "https://api.github.com/users/stevehuang52/repos",
"events_url": "https://api.github.com/users/stevehuang52/events{/privacy}",
"received_events_url": "https://api.github.com/users/stevehuang52/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"id": 4811884691,
"node_id": "LA_kwDOC_bI7s8AAAABHs-Ikw",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/ASR",
"name": "ASR",
"color": "F3B33E",
"default": false,
"description": ""
}
] | closed | false | null | [] | null | [
"Let me know if you want to fast merge after additional approvals ",
"jenkins",
"@titu1994 could you please fast merge this? ",
"jenkins",
"jenkins",
"Docs changes does not need CI to pass, I can merge it if it's ready ",
"Merged "
] | 2024-03-01T15:49:41 | 2024-03-08T20:28:56 | 2024-03-08T20:28:50 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/8562",
"html_url": "https://github.com/NVIDIA/NeMo/pull/8562",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/8562.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/8562.patch",
"merged_at": "2024-03-08T20:28:50"
} | # What does this PR do ?
Update results.rst for Canary Inference, please feel free to modify
| {
"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/8562/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/8562/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/8561 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/8561/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/8561/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/8561/events | https://github.com/NVIDIA/NeMo/issues/8561 | 2,163,008,499 | I_kwDOC_bI7s6A7OPz | 8,561 | MSDD Bad performances in long form and clustering. | {
"login": "SagyHarpazGong",
"id": 99274232,
"node_id": "U_kgDOBerN-A",
"avatar_url": "https://avatars.githubusercontent.com/u/99274232?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/SagyHarpazGong",
"html_url": "https://github.com/SagyHarpazGong",
"followers_url": "https://api.github.com/users/SagyHarpazGong/followers",
"following_url": "https://api.github.com/users/SagyHarpazGong/following{/other_user}",
"gists_url": "https://api.github.com/users/SagyHarpazGong/gists{/gist_id}",
"starred_url": "https://api.github.com/users/SagyHarpazGong/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/SagyHarpazGong/subscriptions",
"organizations_url": "https://api.github.com/users/SagyHarpazGong/orgs",
"repos_url": "https://api.github.com/users/SagyHarpazGong/repos",
"events_url": "https://api.github.com/users/SagyHarpazGong/events{/privacy}",
"received_events_url": "https://api.github.com/users/SagyHarpazGong/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"id": 1485815557,
"node_id": "MDU6TGFiZWwxNDg1ODE1NTU3",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": "Something isn't working"
},
{
"id": 4585431311,
"node_id": "LA_kwDOC_bI7s8AAAABEVAhDw",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/stale",
"name": "stale",
"color": "ededed",
"default": false,
"description": null
}
] | closed | false | null | [] | null | [
"This issue is stale because it has been open for 30 days with no activity. Remove stale label or comment or this will be closed in 7 days.",
"This issue was closed because it has been inactive for 7 days since being marked as stale."
] | 2024-03-01T09:44:08 | 2024-04-09T01:44:21 | 2024-04-09T01:44:20 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | When I use MSDD with long form mode the performances are bad espicially if the audio contains many speakers (more than 5).
My question is:
Is it possible to split the audio into short audio files and create manifest file for those audio files and run the MSDD on them and summarize the clusters in order to improve the estimation of number of speakers?
My problem is that some of the speakers have low speech ratio but it is very important to catch them.
So my idea is split the audio into short audios in order to increase the relative speech ratio and help to the clustering process to catch them but as far as I understand if I'll provide manifest file that contains multiple audio files the MSDD will process each audio independently and individually.
Am I right?
Any idea how can I achieve better results?
Note that I cannot provide audio example due to privacy prorection.
Please advise | {
"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/8561/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/8561/timeline | null | not_planned | false |
https://api.github.com/repos/NVIDIA/NeMo/issues/8560 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/8560/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/8560/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/8560/events | https://github.com/NVIDIA/NeMo/pull/8560 | 2,162,573,222 | PR_kwDOC_bI7s5oXViD | 8,560 | Update webdataset | {
"login": "nithinraok",
"id": 19668129,
"node_id": "MDQ6VXNlcjE5NjY4MTI5",
"avatar_url": "https://avatars.githubusercontent.com/u/19668129?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/nithinraok",
"html_url": "https://github.com/nithinraok",
"followers_url": "https://api.github.com/users/nithinraok/followers",
"following_url": "https://api.github.com/users/nithinraok/following{/other_user}",
"gists_url": "https://api.github.com/users/nithinraok/gists{/gist_id}",
"starred_url": "https://api.github.com/users/nithinraok/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/nithinraok/subscriptions",
"organizations_url": "https://api.github.com/users/nithinraok/orgs",
"repos_url": "https://api.github.com/users/nithinraok/repos",
"events_url": "https://api.github.com/users/nithinraok/events{/privacy}",
"received_events_url": "https://api.github.com/users/nithinraok/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"id": 4418253970,
"node_id": "LA_kwDOC_bI7s8AAAABB1k0kg",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/TTS",
"name": "TTS",
"color": "49AF28",
"default": false,
"description": ""
},
{
"id": 4811884691,
"node_id": "LA_kwDOC_bI7s8AAAABHs-Ikw",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/ASR",
"name": "ASR",
"color": "F3B33E",
"default": false,
"description": ""
},
{
"id": 4811886210,
"node_id": "LA_kwDOC_bI7s8AAAABHs-Ogg",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/NLP",
"name": "NLP",
"color": "CBF09A",
"default": false,
"description": ""
},
{
"id": 4840216855,
"node_id": "LA_kwDOC_bI7s8AAAABIH_ZFw",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/CI",
"name": "CI",
"color": "1D76DB",
"default": false,
"description": ""
},
{
"id": 6627254865,
"node_id": "LA_kwDOC_bI7s8AAAABiwPiUQ",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/Multi%20Modal",
"name": "Multi Modal",
"color": "ededed",
"default": false,
"description": null
}
] | closed | false | null | [] | null | [
"jenkins",
"jenkins",
"jenkins",
"jenkins",
"jenkins",
"jenkins",
"jenkins",
"jenkins",
"jenkins",
"jenkins",
"jenkins",
"jenkins",
"jenkins",
"jenkins"
] | 2024-03-01T04:18:55 | 2024-03-27T01:46:31 | 2024-03-27T01:46:30 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/8560",
"html_url": "https://github.com/NVIDIA/NeMo/pull/8560",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/8560.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/8560.patch",
"merged_at": "2024-03-27T01:46:30"
} | # What does this PR do ?
* Update version to 0.2.86
* Pipe functionality removed and has been replaced with DataPipeline.
~~Add global_seed functionality to exp_manager for reproducibility.~~ <- will move to a separate PR
**Collection**: ASR, TTS, NLP
# Jenkins CI
To run Jenkins, a NeMo User with write access must comment `jenkins` on the PR.
# Before your PR is "Ready for review"
**Pre checks**:
- [ ] Make sure you read and followed [Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md)
- [ ] Did you write any new necessary tests?
- [ ] Did you add or update any necessary documentation?
- [ ] Does the PR affect components that are optional to install? (Ex: Numba, Pynini, Apex etc)
- [ ] Reviewer: Does the PR have correct import guards for all optional libraries?
**PR Type**:
- [x] New Feature
- [ ] Bugfix
- [ ] Documentation
| {
"login": "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/8560/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/8560/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/8559 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/8559/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/8559/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/8559/events | https://github.com/NVIDIA/NeMo/pull/8559 | 2,162,556,109 | PR_kwDOC_bI7s5oXR1s | 8,559 | support megatron_amp_O2 for peft tuning | {
"login": "Agoniii",
"id": 18502794,
"node_id": "MDQ6VXNlcjE4NTAyNzk0",
"avatar_url": "https://avatars.githubusercontent.com/u/18502794?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Agoniii",
"html_url": "https://github.com/Agoniii",
"followers_url": "https://api.github.com/users/Agoniii/followers",
"following_url": "https://api.github.com/users/Agoniii/following{/other_user}",
"gists_url": "https://api.github.com/users/Agoniii/gists{/gist_id}",
"starred_url": "https://api.github.com/users/Agoniii/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Agoniii/subscriptions",
"organizations_url": "https://api.github.com/users/Agoniii/orgs",
"repos_url": "https://api.github.com/users/Agoniii/repos",
"events_url": "https://api.github.com/users/Agoniii/events{/privacy}",
"received_events_url": "https://api.github.com/users/Agoniii/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"id": 4585431311,
"node_id": "LA_kwDOC_bI7s8AAAABEVAhDw",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/stale",
"name": "stale",
"color": "ededed",
"default": false,
"description": null
},
{
"id": 4811886210,
"node_id": "LA_kwDOC_bI7s8AAAABHs-Ogg",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/NLP",
"name": "NLP",
"color": "CBF09A",
"default": false,
"description": ""
}
] | closed | false | null | [] | null | [
"This PR is stale because it has been open for 14 days with no activity. Remove stale label or comment or update or this will be closed in 7 days.",
"This PR was closed because it has been inactive for 7 days since being marked as stale."
] | 2024-03-01T03:59:30 | 2024-03-24T01:45:20 | 2024-03-24T01:45:20 | CONTRIBUTOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/8559",
"html_url": "https://github.com/NVIDIA/NeMo/pull/8559",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/8559.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/8559.patch",
"merged_at": null
} | # What does this PR do ?
support megatron_amp_O2 for peft tuning
# Jenkins CI
To run Jenkins, a NeMo User with write access must comment `jenkins` on the PR.
# Before your PR is "Ready for review"
**Pre checks**:
- [ ] Make sure you read and followed [Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md)
- [ ] Did you write any new necessary tests?
- [ ] Did you add or update any necessary documentation?
- [ ] Does the PR affect components that are optional to install? (Ex: Numba, Pynini, Apex etc)
- [ ] Reviewer: Does the PR have correct import guards for all optional libraries?
**PR Type**:
- [ ] New Feature
- [x] Bugfix
- [ ] Documentation
If you haven't finished some of the above items you can still open "Draft" PR.
## Who can review?
Anyone in the community is free to review the PR once the checks have passed.
[Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md) contains specific people who can review PRs to various areas.
# Additional Information
* Related to # (issue)
| {
"login": "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/8559/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/8559/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/8558 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/8558/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/8558/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/8558/events | https://github.com/NVIDIA/NeMo/pull/8558 | 2,162,537,181 | PR_kwDOC_bI7s5oXNrk | 8,558 | Fix mcore adapter typo | {
"login": "cuichenx",
"id": 43478052,
"node_id": "MDQ6VXNlcjQzNDc4MDUy",
"avatar_url": "https://avatars.githubusercontent.com/u/43478052?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/cuichenx",
"html_url": "https://github.com/cuichenx",
"followers_url": "https://api.github.com/users/cuichenx/followers",
"following_url": "https://api.github.com/users/cuichenx/following{/other_user}",
"gists_url": "https://api.github.com/users/cuichenx/gists{/gist_id}",
"starred_url": "https://api.github.com/users/cuichenx/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cuichenx/subscriptions",
"organizations_url": "https://api.github.com/users/cuichenx/orgs",
"repos_url": "https://api.github.com/users/cuichenx/repos",
"events_url": "https://api.github.com/users/cuichenx/events{/privacy}",
"received_events_url": "https://api.github.com/users/cuichenx/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"id": 4811886210,
"node_id": "LA_kwDOC_bI7s8AAAABHs-Ogg",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/NLP",
"name": "NLP",
"color": "CBF09A",
"default": false,
"description": ""
}
] | closed | false | null | [] | null | [
"jenkins"
] | 2024-03-01T03:36:30 | 2024-03-01T23:27:54 | 2024-03-01T23:27:53 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/8558",
"html_url": "https://github.com/NVIDIA/NeMo/pull/8558",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/8558.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/8558.patch",
"merged_at": "2024-03-01T23:27:53"
} | # What does this PR do ?
simply fix a code-breaking typo
**Collection**: NLP
# Changelog
- Add specific line by line info of high level changes in this PR.
# Usage
* You can potentially add a usage example below
```python
# Add a code snippet demonstrating how to use this
```
# Jenkins CI
To run Jenkins, a NeMo User with write access must comment `jenkins` on the PR.
# Before your PR is "Ready for review"
**Pre checks**:
- [ ] Make sure you read and followed [Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md)
- [ ] Did you write any new necessary tests?
- [ ] Did you add or update any necessary documentation?
- [ ] Does the PR affect components that are optional to install? (Ex: Numba, Pynini, Apex etc)
- [ ] Reviewer: Does the PR have correct import guards for all optional libraries?
**PR Type**:
- [ ] New Feature
- [x] Bugfix
- [ ] Documentation
If you haven't finished some of the above items you can still open "Draft" PR.
## Who can review?
Anyone in the community is free to review the PR once the checks have passed.
[Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md) contains specific people who can review PRs to various areas.
# Additional Information
* Related to # (issue)
| {
"login": "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
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/8558/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/8558/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/8557 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/8557/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/8557/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/8557/events | https://github.com/NVIDIA/NeMo/pull/8557 | 2,162,404,035 | PR_kwDOC_bI7s5oWwmN | 8,557 | Fixed Context Parallel HtoD sync | {
"login": "sanandaraj5597",
"id": 55270934,
"node_id": "MDQ6VXNlcjU1MjcwOTM0",
"avatar_url": "https://avatars.githubusercontent.com/u/55270934?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sanandaraj5597",
"html_url": "https://github.com/sanandaraj5597",
"followers_url": "https://api.github.com/users/sanandaraj5597/followers",
"following_url": "https://api.github.com/users/sanandaraj5597/following{/other_user}",
"gists_url": "https://api.github.com/users/sanandaraj5597/gists{/gist_id}",
"starred_url": "https://api.github.com/users/sanandaraj5597/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/sanandaraj5597/subscriptions",
"organizations_url": "https://api.github.com/users/sanandaraj5597/orgs",
"repos_url": "https://api.github.com/users/sanandaraj5597/repos",
"events_url": "https://api.github.com/users/sanandaraj5597/events{/privacy}",
"received_events_url": "https://api.github.com/users/sanandaraj5597/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"id": 4811886210,
"node_id": "LA_kwDOC_bI7s8AAAABHs-Ogg",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/NLP",
"name": "NLP",
"color": "CBF09A",
"default": false,
"description": ""
}
] | closed | false | null | [] | null | [
"LGTM. Thanks.",
"jenkins",
"jenkins"
] | 2024-03-01T01:43:52 | 2024-03-06T00:31:36 | 2024-03-06T00:31:35 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/8557",
"html_url": "https://github.com/NVIDIA/NeMo/pull/8557",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/8557.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/8557.patch",
"merged_at": "2024-03-06T00:31:35"
} | # What does this PR do ?
Few tensor creations caused HtoD pageable sync. Fixed that issue. | {
"login": "sanandaraj5597",
"id": 55270934,
"node_id": "MDQ6VXNlcjU1MjcwOTM0",
"avatar_url": "https://avatars.githubusercontent.com/u/55270934?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sanandaraj5597",
"html_url": "https://github.com/sanandaraj5597",
"followers_url": "https://api.github.com/users/sanandaraj5597/followers",
"following_url": "https://api.github.com/users/sanandaraj5597/following{/other_user}",
"gists_url": "https://api.github.com/users/sanandaraj5597/gists{/gist_id}",
"starred_url": "https://api.github.com/users/sanandaraj5597/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/sanandaraj5597/subscriptions",
"organizations_url": "https://api.github.com/users/sanandaraj5597/orgs",
"repos_url": "https://api.github.com/users/sanandaraj5597/repos",
"events_url": "https://api.github.com/users/sanandaraj5597/events{/privacy}",
"received_events_url": "https://api.github.com/users/sanandaraj5597/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/8557/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/8557/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/8556 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/8556/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/8556/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/8556/events | https://github.com/NVIDIA/NeMo/pull/8556 | 2,162,242,170 | PR_kwDOC_bI7s5oWNrb | 8,556 | Cherry pick the notebook fixes from 1.23.0 to main | {
"login": "Victor49152",
"id": 111467530,
"node_id": "U_kgDOBqTcCg",
"avatar_url": "https://avatars.githubusercontent.com/u/111467530?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Victor49152",
"html_url": "https://github.com/Victor49152",
"followers_url": "https://api.github.com/users/Victor49152/followers",
"following_url": "https://api.github.com/users/Victor49152/following{/other_user}",
"gists_url": "https://api.github.com/users/Victor49152/gists{/gist_id}",
"starred_url": "https://api.github.com/users/Victor49152/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Victor49152/subscriptions",
"organizations_url": "https://api.github.com/users/Victor49152/orgs",
"repos_url": "https://api.github.com/users/Victor49152/repos",
"events_url": "https://api.github.com/users/Victor49152/events{/privacy}",
"received_events_url": "https://api.github.com/users/Victor49152/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"id": 4585431311,
"node_id": "LA_kwDOC_bI7s8AAAABEVAhDw",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/stale",
"name": "stale",
"color": "ededed",
"default": false,
"description": null
},
{
"id": 6627254865,
"node_id": "LA_kwDOC_bI7s8AAAABiwPiUQ",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/Multi%20Modal",
"name": "Multi Modal",
"color": "ededed",
"default": false,
"description": null
}
] | closed | false | null | [] | null | [
"jenkins",
"This PR is stale because it has been open for 14 days with no activity. Remove stale label or comment or update or this will be closed in 7 days.",
"This PR was closed because it has been inactive for 7 days since being marked as stale."
] | 2024-02-29T23:02:30 | 2024-04-03T00:03:17 | 2024-04-03T00:03:17 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/8556",
"html_url": "https://github.com/NVIDIA/NeMo/pull/8556",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/8556.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/8556.patch",
"merged_at": "2024-04-03T00:03:16"
} | # What does this PR do ?
Add a one line overview of what this PR aims to accomplish.
**Collection**: [Note which collection this PR will affect]
# Changelog
- Add specific line by line info of high level changes in this PR.
# Usage
* You can potentially add a usage example below
```python
# Add a code snippet demonstrating how to use this
```
# Jenkins CI
To run Jenkins, a NeMo User with write access must comment `jenkins` on the PR.
# Before your PR is "Ready for review"
**Pre checks**:
- [ ] Make sure you read and followed [Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md)
- [ ] Did you write any new necessary tests?
- [ ] Did you add or update any necessary documentation?
- [ ] Does the PR affect components that are optional to install? (Ex: Numba, Pynini, Apex etc)
- [ ] Reviewer: Does the PR have correct import guards for all optional libraries?
**PR Type**:
- [ ] New Feature
- [x] Bugfix
- [ ] Documentation
If you haven't finished some of the above items you can still open "Draft" PR.
## Who can review?
Anyone in the community is free to review the PR once the checks have passed.
[Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md) contains specific people who can review PRs to various areas.
# Additional Information
* Related to # (issue)
| {
"login": "ericharper",
"id": 11999610,
"node_id": "MDQ6VXNlcjExOTk5NjEw",
"avatar_url": "https://avatars.githubusercontent.com/u/11999610?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ericharper",
"html_url": "https://github.com/ericharper",
"followers_url": "https://api.github.com/users/ericharper/followers",
"following_url": "https://api.github.com/users/ericharper/following{/other_user}",
"gists_url": "https://api.github.com/users/ericharper/gists{/gist_id}",
"starred_url": "https://api.github.com/users/ericharper/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ericharper/subscriptions",
"organizations_url": "https://api.github.com/users/ericharper/orgs",
"repos_url": "https://api.github.com/users/ericharper/repos",
"events_url": "https://api.github.com/users/ericharper/events{/privacy}",
"received_events_url": "https://api.github.com/users/ericharper/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/8556/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/8556/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/8555 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/8555/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/8555/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/8555/events | https://github.com/NVIDIA/NeMo/pull/8555 | 2,161,855,982 | PR_kwDOC_bI7s5oU4tp | 8,555 | save extra state dict for fp8 and support for lora fp8 weights for kqv adapter | {
"login": "anmolgupt",
"id": 14880251,
"node_id": "MDQ6VXNlcjE0ODgwMjUx",
"avatar_url": "https://avatars.githubusercontent.com/u/14880251?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/anmolgupt",
"html_url": "https://github.com/anmolgupt",
"followers_url": "https://api.github.com/users/anmolgupt/followers",
"following_url": "https://api.github.com/users/anmolgupt/following{/other_user}",
"gists_url": "https://api.github.com/users/anmolgupt/gists{/gist_id}",
"starred_url": "https://api.github.com/users/anmolgupt/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/anmolgupt/subscriptions",
"organizations_url": "https://api.github.com/users/anmolgupt/orgs",
"repos_url": "https://api.github.com/users/anmolgupt/repos",
"events_url": "https://api.github.com/users/anmolgupt/events{/privacy}",
"received_events_url": "https://api.github.com/users/anmolgupt/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"id": 4585431311,
"node_id": "LA_kwDOC_bI7s8AAAABEVAhDw",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/stale",
"name": "stale",
"color": "ededed",
"default": false,
"description": null
},
{
"id": 4811886210,
"node_id": "LA_kwDOC_bI7s8AAAABHs-Ogg",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/NLP",
"name": "NLP",
"color": "CBF09A",
"default": false,
"description": ""
}
] | closed | false | null | [] | null | [
"@cuichenx for review",
"This PR is stale because it has been open for 14 days with no activity. Remove stale label or comment or update or this will be closed in 7 days.",
"This PR was closed because it has been inactive for 7 days since being marked as stale."
] | 2024-02-29T18:28:30 | 2024-03-27T01:44:05 | 2024-03-27T01:44:05 | CONTRIBUTOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | true | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/8555",
"html_url": "https://github.com/NVIDIA/NeMo/pull/8555",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/8555.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/8555.patch",
"merged_at": null
} | …v adapter
# What does this PR do ?
Add a one line overview of what this PR aims to accomplish.
**Collection**: [Note which collection this PR will affect]
# Changelog
- Add specific line by line info of high level changes in this PR.
# Usage
* You can potentially add a usage example below
```python
# Add a code snippet demonstrating how to use this
```
# Jenkins CI
To run Jenkins, a NeMo User with write access must comment `jenkins` on the PR.
# Before your PR is "Ready for review"
**Pre checks**:
- [ ] Make sure you read and followed [Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md)
- [ ] Did you write any new necessary tests?
- [ ] Did you add or update any necessary documentation?
- [ ] Does the PR affect components that are optional to install? (Ex: Numba, Pynini, Apex etc)
- [ ] Reviewer: Does the PR have correct import guards for all optional libraries?
**PR Type**:
- [ ] New Feature
- [ ] Bugfix
- [ ] Documentation
If you haven't finished some of the above items you can still open "Draft" PR.
## Who can review?
Anyone in the community is free to review the PR once the checks have passed.
[Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md) contains specific people who can review PRs to various areas.
# Additional Information
* Related to # (issue)
| {
"login": "github-actions[bot]",
"id": 41898282,
"node_id": "MDM6Qm90NDE4OTgyODI=",
"avatar_url": "https://avatars.githubusercontent.com/in/15368?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/github-actions%5Bbot%5D",
"html_url": "https://github.com/apps/github-actions",
"followers_url": "https://api.github.com/users/github-actions%5Bbot%5D/followers",
"following_url": "https://api.github.com/users/github-actions%5Bbot%5D/following{/other_user}",
"gists_url": "https://api.github.com/users/github-actions%5Bbot%5D/gists{/gist_id}",
"starred_url": "https://api.github.com/users/github-actions%5Bbot%5D/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/github-actions%5Bbot%5D/subscriptions",
"organizations_url": "https://api.github.com/users/github-actions%5Bbot%5D/orgs",
"repos_url": "https://api.github.com/users/github-actions%5Bbot%5D/repos",
"events_url": "https://api.github.com/users/github-actions%5Bbot%5D/events{/privacy}",
"received_events_url": "https://api.github.com/users/github-actions%5Bbot%5D/received_events",
"type": "Bot",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/8555/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/8555/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/8554 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/8554/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/8554/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/8554/events | https://github.com/NVIDIA/NeMo/pull/8554 | 2,161,822,259 | PR_kwDOC_bI7s5oUxax | 8,554 | Doc String fix for documentation update | {
"login": "thomasdhc",
"id": 9426164,
"node_id": "MDQ6VXNlcjk0MjYxNjQ=",
"avatar_url": "https://avatars.githubusercontent.com/u/9426164?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/thomasdhc",
"html_url": "https://github.com/thomasdhc",
"followers_url": "https://api.github.com/users/thomasdhc/followers",
"following_url": "https://api.github.com/users/thomasdhc/following{/other_user}",
"gists_url": "https://api.github.com/users/thomasdhc/gists{/gist_id}",
"starred_url": "https://api.github.com/users/thomasdhc/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/thomasdhc/subscriptions",
"organizations_url": "https://api.github.com/users/thomasdhc/orgs",
"repos_url": "https://api.github.com/users/thomasdhc/repos",
"events_url": "https://api.github.com/users/thomasdhc/events{/privacy}",
"received_events_url": "https://api.github.com/users/thomasdhc/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"id": 1923495043,
"node_id": "MDU6TGFiZWwxOTIzNDk1MDQz",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/core",
"name": "core",
"color": "f25e3a",
"default": false,
"description": "Changes to NeMo Core"
},
{
"id": 4811884691,
"node_id": "LA_kwDOC_bI7s8AAAABHs-Ikw",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/ASR",
"name": "ASR",
"color": "F3B33E",
"default": false,
"description": ""
},
{
"id": 4811886210,
"node_id": "LA_kwDOC_bI7s8AAAABHs-Ogg",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/NLP",
"name": "NLP",
"color": "CBF09A",
"default": false,
"description": ""
},
{
"id": 4847373924,
"node_id": "LA_kwDOC_bI7s8AAAABIO0OZA",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/common",
"name": "common",
"color": "c5def5",
"default": false,
"description": ""
}
] | closed | false | null | [] | null | [
"@ericharper ",
"@aschilling-nv All the doc strings errors with this PR should be resolved"
] | 2024-02-29T18:06:06 | 2024-03-01T17:13:09 | 2024-03-01T17:13:09 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/8554",
"html_url": "https://github.com/NVIDIA/NeMo/pull/8554",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/8554.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/8554.patch",
"merged_at": "2024-03-01T17:13:09"
} | # What does this PR do ?
Resolve documentation build errors in doc strings
Example formatting issues: https://docs.nvidia.com/deeplearning/nemo/user-guide/docs/en/stable/asr/api.html#nemo-asr-collection-api
Check specific classes and methods for formatting error that currently exists.
**Collection**: ASR, common, core, NLP
# Changelog
- Update doc strings
# Usage
* You can potentially add a usage example below
```python
# Add a code snippet demonstrating how to use this
```
# Jenkins CI
To run Jenkins, a NeMo User with write access must comment `jenkins` on the PR.
# Before your PR is "Ready for review"
**Pre checks**:
- [ ] Make sure you read and followed [Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md)
- [ ] Did you write any new necessary tests?
- [ ] Did you add or update any necessary documentation?
- [ ] Does the PR affect components that are optional to install? (Ex: Numba, Pynini, Apex etc)
- [ ] Reviewer: Does the PR have correct import guards for all optional libraries?
**PR Type**:
- [ ] New Feature
- [ ] Bugfix
- [ ] Documentation
If you haven't finished some of the above items you can still open "Draft" PR.
## Who can review?
Anyone in the community is free to review the PR once the checks have passed.
[Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md) contains specific people who can review PRs to various areas.
# Additional Information
* Related to # (issue)
| {
"login": "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/8554/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/8554/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/8553 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/8553/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/8553/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/8553/events | https://github.com/NVIDIA/NeMo/issues/8553 | 2,161,778,265 | I_kwDOC_bI7s6A2h5Z | 8,553 | When I set PP_size > 1 I get DP errpr for llama2 7b PEFT experiment using P-tuning | {
"login": "premmotgi",
"id": 55761557,
"node_id": "MDQ6VXNlcjU1NzYxNTU3",
"avatar_url": "https://avatars.githubusercontent.com/u/55761557?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/premmotgi",
"html_url": "https://github.com/premmotgi",
"followers_url": "https://api.github.com/users/premmotgi/followers",
"following_url": "https://api.github.com/users/premmotgi/following{/other_user}",
"gists_url": "https://api.github.com/users/premmotgi/gists{/gist_id}",
"starred_url": "https://api.github.com/users/premmotgi/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/premmotgi/subscriptions",
"organizations_url": "https://api.github.com/users/premmotgi/orgs",
"repos_url": "https://api.github.com/users/premmotgi/repos",
"events_url": "https://api.github.com/users/premmotgi/events{/privacy}",
"received_events_url": "https://api.github.com/users/premmotgi/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"id": 1485815557,
"node_id": "MDU6TGFiZWwxNDg1ODE1NTU3",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": "Something isn't working"
},
{
"id": 4585431311,
"node_id": "LA_kwDOC_bI7s8AAAABEVAhDw",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/stale",
"name": "stale",
"color": "ededed",
"default": false,
"description": null
}
] | closed | false | null | [] | null | [
"This issue is stale because it has been open for 30 days with no activity. Remove stale label or comment or this will be closed in 7 days.",
"This issue was closed because it has been inactive for 7 days since being marked as stale."
] | 2024-02-29T17:38:50 | 2024-04-07T01:45:27 | 2024-04-07T01:45:26 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | **Describe the bug**
I have ran experiments for Multinode model customization (PEFT) using Nemo Framework training container. I tried both LoRa and Ptuning techniques, from which we are able to run LoRa successfully with various combination of TP and PP values. Although, with Ptuning as we increase PP more than 1, experiments fails with DDP error. Table below depicts what we tried in lab:
Error observed: RuntimeError: DistributedDataParallel is not needed when a module doesn't have any parameter that requires a gradient.
Environment: 4 x Nodes (4 L40s each node)
Model: llama2-7b
training container version: 23.11
Table of experiments:
LORA TP PP Result
LORA 2 1 Success
LORA 4 1 Success
LORA 1 4 Success
LORA 4 4 Success
Ptuning 4 1 Success
Ptuning 1 2 Failed
Ptuning 1 4 Failed
Ptuning 2 2 Failed
Ptuning 2 4 Failed
Ptuning 4 2 Failed
Ptuning 4 4 Failed
Do you have any thoughts or suggestions on why p-tuning fails when PP size is higher than 1?
**Expected behavior**
Customization job should proceed with requested configuration.
**Environment overview (please complete the following information)**
- Environment location: Slurm batch using srun <pyxis>
- Method of NeMo install: Container from NGC
**Environment details**
Environment: 4 x Nodes (4 L40s each node)
| {
"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/8553/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/8553/timeline | null | not_planned | false |
https://api.github.com/repos/NVIDIA/NeMo/issues/8552 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/8552/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/8552/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/8552/events | https://github.com/NVIDIA/NeMo/pull/8552 | 2,161,348,789 | PR_kwDOC_bI7s5oTJf2 | 8,552 | Fix triton import guards | {
"login": "michal2409",
"id": 14821051,
"node_id": "MDQ6VXNlcjE0ODIxMDUx",
"avatar_url": "https://avatars.githubusercontent.com/u/14821051?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/michal2409",
"html_url": "https://github.com/michal2409",
"followers_url": "https://api.github.com/users/michal2409/followers",
"following_url": "https://api.github.com/users/michal2409/following{/other_user}",
"gists_url": "https://api.github.com/users/michal2409/gists{/gist_id}",
"starred_url": "https://api.github.com/users/michal2409/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/michal2409/subscriptions",
"organizations_url": "https://api.github.com/users/michal2409/orgs",
"repos_url": "https://api.github.com/users/michal2409/repos",
"events_url": "https://api.github.com/users/michal2409/events{/privacy}",
"received_events_url": "https://api.github.com/users/michal2409/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"id": 4811886210,
"node_id": "LA_kwDOC_bI7s8AAAABHs-Ogg",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/NLP",
"name": "NLP",
"color": "CBF09A",
"default": false,
"description": ""
}
] | closed | false | null | [] | null | [
"jenkins",
"jenkins",
"@michal2409 as far as I know we install `triton` in [here](https://github.com/NVIDIA/NeMo/blob/main/requirements/requirements.txt#L13) instead of `pytorch-triton`. Looks like you install `pytorch-triton` in your container? ",
"> @michal2409 as far as I know we install `triton` in [here](https://github.com/NVIDIA/NeMo/blob/main/requirements/requirements.txt#L13) instead of `pytorch-triton`. Looks like you install `pytorch-triton` in your container?\r\n\r\nYou're right. I checked the DLFW containers and they do have `pytorch-triton` and it's different from `triton` that gets installed by NeMo. We'll revert this change.\r\n\r\nThe other outstanding issue is - what is the expected behavior if `triton` is not installed? Right now it raises an error that is not being handled, but I would imagine that we should catch it and set `flash_attn_func_triton = None` and continue the execution. Is that expectation correct?",
"If triton is not installed, we'll get a `ModuleNotFoundError` when we try to do `from flash_attn.flash_attn_triton import flash_attn_func as flash_attn_func_triton` in [here](https://github.com/Dao-AILab/flash-attention/blob/main/flash_attn/flash_attn_triton.py#L45). Then, we'll have `flash_attn_func_triton = None`",
"I don't think this is true. I'm getting:\r\n```\r\n>>> a= pkg_resources.get_distribution(\"triton\")\r\nTraceback (most recent call last):\r\n File \"<stdin>\", line 1, in <module>\r\n File \"/usr/local/lib/python3.10/dist-packages/pkg_resources/__init__.py\", line 528, in get_distribution\r\n dist = get_provider(dist)\r\n File \"/usr/local/lib/python3.10/dist-packages/pkg_resources/__init__.py\", line 400, in get_provider\r\n return working_set.find(moduleOrReq) or require(str(moduleOrReq))[0]\r\n File \"/usr/local/lib/python3.10/dist-packages/pkg_resources/__init__.py\", line 968, in require\r\n needed = self.resolve(parse_requirements(requirements))\r\n File \"/usr/local/lib/python3.10/dist-packages/pkg_resources/__init__.py\", line 829, in resolve\r\n dist = self._resolve_dist(\r\n File \"/usr/local/lib/python3.10/dist-packages/pkg_resources/__init__.py\", line 870, in _resolve_dist\r\n raise DistributionNotFound(req, requirers)\r\npkg_resources.DistributionNotFound: The 'triton' distribution was not found and is required by the application\r\n```\r\n\r\nwhich is not being handled. Could you please double check @hsiehjackson ? Maybe I'm doing something wrong\r\n\r\nEDIT:\r\nEssentially what we need is to swap L76 from:\r\n`except (ImportError, ModuleNotFoundError, AssertionError):`\r\nto\r\n`except (ImportError, ModuleNotFoundError, AssertionError, pkg_resources.DistributionNotFound):`\r\n(the second line that is changed in this PR)",
"When my container install `pytorch-triton` instead of `triton`, I'll get the following error. How do you pass `from flash_attn.flash_attn_triton import flash_attn_func as flash_attn_func_triton` when you just install `pytorch-triton`?\r\n```\r\nTraceback (most recent call last):\r\n File \"<stdin>\", line 1, in <module>\r\n File \"/usr/local/lib/python3.10/dist-packages/flash_attn/flash_attn_triton.py\", line 45, in <module>\r\n import triton\r\n File \"/usr/local/lib/python3.10/dist-packages/triton/__init__.py\", line 1, in <module>\r\n raise RuntimeError(\"Should never be installed\")\r\nRuntimeError: Should never be installed\r\n```",
"I don't know, it works for me. But sure, if you need `triton` instead of `pytorch-triton` then we'll revert the change, no problem - this is actually not a blocker for us. The blocker is that you are not handling the `pkg_resources.DistributionNotFound` exception and my code crashes. Can we handle that exception as well?",
"Sure! @michal2409 Can you help me revert the first line `assert pkg_resources.get_distribution(\"pytorch-triton\").version == '2.0.0.dev20221202'`? I think we only need the second line as @mmarcinkiewicz suggested.",
"@hsiehjackson done",
"jenkins",
"jenkins",
"jenkins",
"jenkins",
"jenkins"
] | 2024-02-29T14:05:19 | 2024-03-06T11:03:58 | 2024-03-06T11:03:57 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/8552",
"html_url": "https://github.com/NVIDIA/NeMo/pull/8552",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/8552.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/8552.patch",
"merged_at": "2024-03-06T11:03:57"
} | # What does this PR do ?
As far as pkg_resources is concerned, there's no such thing as triton. Instead, it recognizes pytorch-triton. Here's the fix. Also, if the pytorch-triton lib is missing, it raises pkg_resources.DistributionNotFound which currently is not being handled properly.
**Collection**: nlp
# Changelog
- Add specific line by line info of high level changes in this PR.
# Usage
* You can potentially add a usage example below
```python
# Add a code snippet demonstrating how to use this
```
# Jenkins CI
To run Jenkins, a NeMo User with write access must comment `jenkins` on the PR.
# Before your PR is "Ready for review"
**Pre checks**:
- [ ] Make sure you read and followed [Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md)
- [ ] Did you write any new necessary tests?
- [ ] Did you add or update any necessary documentation?
- [ ] Does the PR affect components that are optional to install? (Ex: Numba, Pynini, Apex etc)
- [ ] Reviewer: Does the PR have correct import guards for all optional libraries?
**PR Type**:
- [ ] New Feature
- [ ] Bugfix
- [ ] Documentation
If you haven't finished some of the above items you can still open "Draft" PR.
## Who can review?
Anyone in the community is free to review the PR once the checks have passed.
[Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md) contains specific people who can review PRs to various areas.
# Additional Information
* Related to # (issue)
| {
"login": "michal2409",
"id": 14821051,
"node_id": "MDQ6VXNlcjE0ODIxMDUx",
"avatar_url": "https://avatars.githubusercontent.com/u/14821051?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/michal2409",
"html_url": "https://github.com/michal2409",
"followers_url": "https://api.github.com/users/michal2409/followers",
"following_url": "https://api.github.com/users/michal2409/following{/other_user}",
"gists_url": "https://api.github.com/users/michal2409/gists{/gist_id}",
"starred_url": "https://api.github.com/users/michal2409/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/michal2409/subscriptions",
"organizations_url": "https://api.github.com/users/michal2409/orgs",
"repos_url": "https://api.github.com/users/michal2409/repos",
"events_url": "https://api.github.com/users/michal2409/events{/privacy}",
"received_events_url": "https://api.github.com/users/michal2409/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/8552/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/8552/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/8551 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/8551/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/8551/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/8551/events | https://github.com/NVIDIA/NeMo/pull/8551 | 2,160,679,802 | PR_kwDOC_bI7s5oQ1ud | 8,551 | remove the logging of val loss at test time | {
"login": "HuiyingLi",
"id": 1331543,
"node_id": "MDQ6VXNlcjEzMzE1NDM=",
"avatar_url": "https://avatars.githubusercontent.com/u/1331543?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/HuiyingLi",
"html_url": "https://github.com/HuiyingLi",
"followers_url": "https://api.github.com/users/HuiyingLi/followers",
"following_url": "https://api.github.com/users/HuiyingLi/following{/other_user}",
"gists_url": "https://api.github.com/users/HuiyingLi/gists{/gist_id}",
"starred_url": "https://api.github.com/users/HuiyingLi/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/HuiyingLi/subscriptions",
"organizations_url": "https://api.github.com/users/HuiyingLi/orgs",
"repos_url": "https://api.github.com/users/HuiyingLi/repos",
"events_url": "https://api.github.com/users/HuiyingLi/events{/privacy}",
"received_events_url": "https://api.github.com/users/HuiyingLi/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"id": 4811886210,
"node_id": "LA_kwDOC_bI7s8AAAABHs-Ogg",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/NLP",
"name": "NLP",
"color": "CBF09A",
"default": false,
"description": ""
}
] | closed | false | null | [] | null | [
"jenkins",
"jenkins"
] | 2024-02-29T08:21:24 | 2024-03-01T21:18:56 | 2024-03-01T21:18:55 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/8551",
"html_url": "https://github.com/NVIDIA/NeMo/pull/8551",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/8551.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/8551.patch",
"merged_at": "2024-03-01T21:18:55"
} | # What does this PR do ?
Currently at test time, the test loss is logged as val_loss.
Remove the val_loss log and per data iterator test loss at test time, so the final eval report looks cleaner and less confusing.
<img width="466" alt="image" src="https://github.com/NVIDIA/NeMo/assets/1331543/5b247bd6-c189-467f-abad-d5062182cdd8">
Add a one line overview of what this PR aims to accomplish.
**Collection**: [Note which collection this PR will affect]
# Changelog
- Add specific line by line info of high level changes in this PR.
# Usage
* You can potentially add a usage example below
```python
# Add a code snippet demonstrating how to use this
```
# Jenkins CI
To run Jenkins, a NeMo User with write access must comment `jenkins` on the PR.
# Before your PR is "Ready for review"
**Pre checks**:
- [ ] Make sure you read and followed [Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md)
- [ ] Did you write any new necessary tests?
- [ ] Did you add or update any necessary documentation?
- [ ] Does the PR affect components that are optional to install? (Ex: Numba, Pynini, Apex etc)
- [ ] Reviewer: Does the PR have correct import guards for all optional libraries?
**PR Type**:
- [ ] New Feature
- [ ] Bugfix
- [ ] Documentation
If you haven't finished some of the above items you can still open "Draft" PR.
## Who can review?
Anyone in the community is free to review the PR once the checks have passed.
[Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md) contains specific people who can review PRs to various areas.
# Additional Information
* Related to # (issue)
| {
"login": "cuichenx",
"id": 43478052,
"node_id": "MDQ6VXNlcjQzNDc4MDUy",
"avatar_url": "https://avatars.githubusercontent.com/u/43478052?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/cuichenx",
"html_url": "https://github.com/cuichenx",
"followers_url": "https://api.github.com/users/cuichenx/followers",
"following_url": "https://api.github.com/users/cuichenx/following{/other_user}",
"gists_url": "https://api.github.com/users/cuichenx/gists{/gist_id}",
"starred_url": "https://api.github.com/users/cuichenx/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cuichenx/subscriptions",
"organizations_url": "https://api.github.com/users/cuichenx/orgs",
"repos_url": "https://api.github.com/users/cuichenx/repos",
"events_url": "https://api.github.com/users/cuichenx/events{/privacy}",
"received_events_url": "https://api.github.com/users/cuichenx/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/8551/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/8551/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/8550 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/8550/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/8550/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/8550/events | https://github.com/NVIDIA/NeMo/issues/8550 | 2,160,526,408 | I_kwDOC_bI7s6AxwRI | 8,550 | Can't start to finetune and can't pull nvcr.io/nvidia/nemo:24.01 or nvcr.io/ea-bignlp/ga-participants/nemofw-training:24.01 | {
"login": "cyc00518",
"id": 96753147,
"node_id": "U_kgDOBcRV-w",
"avatar_url": "https://avatars.githubusercontent.com/u/96753147?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/cyc00518",
"html_url": "https://github.com/cyc00518",
"followers_url": "https://api.github.com/users/cyc00518/followers",
"following_url": "https://api.github.com/users/cyc00518/following{/other_user}",
"gists_url": "https://api.github.com/users/cyc00518/gists{/gist_id}",
"starred_url": "https://api.github.com/users/cyc00518/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cyc00518/subscriptions",
"organizations_url": "https://api.github.com/users/cyc00518/orgs",
"repos_url": "https://api.github.com/users/cyc00518/repos",
"events_url": "https://api.github.com/users/cyc00518/events{/privacy}",
"received_events_url": "https://api.github.com/users/cyc00518/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": "akoumpa",
"id": 153118171,
"node_id": "U_kgDOCSBl2w",
"avatar_url": "https://avatars.githubusercontent.com/u/153118171?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/akoumpa",
"html_url": "https://github.com/akoumpa",
"followers_url": "https://api.github.com/users/akoumpa/followers",
"following_url": "https://api.github.com/users/akoumpa/following{/other_user}",
"gists_url": "https://api.github.com/users/akoumpa/gists{/gist_id}",
"starred_url": "https://api.github.com/users/akoumpa/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/akoumpa/subscriptions",
"organizations_url": "https://api.github.com/users/akoumpa/orgs",
"repos_url": "https://api.github.com/users/akoumpa/repos",
"events_url": "https://api.github.com/users/akoumpa/events{/privacy}",
"received_events_url": "https://api.github.com/users/akoumpa/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"login": "akoumpa",
"id": 153118171,
"node_id": "U_kgDOCSBl2w",
"avatar_url": "https://avatars.githubusercontent.com/u/153118171?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/akoumpa",
"html_url": "https://github.com/akoumpa",
"followers_url": "https://api.github.com/users/akoumpa/followers",
"following_url": "https://api.github.com/users/akoumpa/following{/other_user}",
"gists_url": "https://api.github.com/users/akoumpa/gists{/gist_id}",
"starred_url": "https://api.github.com/users/akoumpa/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/akoumpa/subscriptions",
"organizations_url": "https://api.github.com/users/akoumpa/orgs",
"repos_url": "https://api.github.com/users/akoumpa/repos",
"events_url": "https://api.github.com/users/akoumpa/events{/privacy}",
"received_events_url": "https://api.github.com/users/akoumpa/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
}
] | null | [
"I also meet the problem can't pull nvcr.io/ea-bignlp/ga-participants/nemofw-training too.",
"@thangdt277 Can you start to train with other images?\r\n",
"This issue is stale because it has been open for 30 days with no activity. Remove stale label or comment or this will be closed in 7 days."
] | 2024-02-29T06:46:54 | 2024-04-11T14:51:36 | 2024-04-11T14:51:36 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | **Describe the bug**
Follow [NeMo Framework PEFT with Mistral-7B](https://docs.nvidia.com/nemo-framework/user-guide/latest/playbooks/mistralpeft.html)
First error , I can't pull image although I logged in nvcr.io successfully:
```
12345i@ai_pc:~/NEMO_TRAIN$ docker login nvcr.io
Authenticating with existing credentials...
WARNING! Your password will be stored unencrypted in /ldap/home/12345/.docker/config.json.
Configure a credential helper to remove this warning. See
https://docs.docker.com/engine/reference/commandline/login/#credentials-store
Login Succeeded
```
```
12345@ai_pc:~/NEMO_TRAIN$docker pull nvcr.io/ea-bignlp/ga-participants/nemofw-training:24.01
Error response from daemon: pull access denied for nvcr.io/ea-bignlp/ga-participants/nemofw-training, repository does not exist or may require 'docker login': denied: requested access to the resource is denied
```
So I change docker image to `nvcr.io/nvidia/nemo:23.10` which is mentioned in [README](https://github.com/NVIDIA/NeMo#)
When I start to [Step 2: Run PEFT training](https://docs.nvidia.com/nemo-framework/user-guide/latest/playbooks/mistralpeft.html#step-2-run-peft-training)
Here is the error :
```
Traceback (most recent call last):
File "/usr/src/app/./NeMo-main/examples/nlp/language_modeling/tuning/megatron_gpt_peft_tuning.py", line 59, in <module>
@deprecated(
TypeError: deprecated() got an unexpected keyword argument 'wait_seconds'
```
So I commented out lines below in `megatron_gpt_peft_tuning.py`:
```
# @deprecated(
# wait_seconds=20,
# explanation=f"\n{banner}\nmegatron_gpt_peft_tuning.py is renamed to megatron_gpt_finetuning.py with the "
# f"same functionality. \nPlease switch to the new name.\n{banner}\n",
)
```
Then it starts to work , Here is process:
```
appuser@ai_pc:/usr/src/app$ python3 ./NeMo-main/examples/nlp/language_modeling/tuning/megatron_gpt_peft_tuning.py trainer.devices=1 trainer.num_nodes=1 trainer.precision=bf16 trainer.val_check_interval=20 trainer.max_steps=50 model.megatron_amp_O2=False ++model.mcore_gpt=True model.tensor_model_parallel_size=1 model.pipeline_model_parallel_size=1 model.micro_batch_size=1 model.global_batch_size=8 model.restore_from_path=${MODEL} model.data.train_ds.num_workers=0 model.data.validation_ds.num_workers=1 model.data.train_ds.file_names=${TRAIN_DS} model.data.train_ds.concat_sampling_probabilities=[1.0]
model.data.validation_ds.file_names=${VALID_DS} model.peft.peft_scheme=${SCHEME} exp_manager.checkpoint_callback_params.mode=min
[NeMo W 2024-02-29 13:43:09 nemo_logging:349] /usr/local/lib/python3.10/dist-packages/hydra/_internal/hydra.py:119: UserWarning: Future Hydra versions will no longer change working directory at job runtime by default.
See https://hydra.cc/docs/1.2/upgrades/1.1_to_1.2/changes_to_job_working_dir/ for more information.
ret = run_job(
[NeMo I 2024-02-29 13:43:09 megatron_gpt_peft_tuning:66]
************** Experiment configuration ***********
[NeMo I 2024-02-29 13:43:09 megatron_gpt_peft_tuning:67]
name: megatron_gpt_peft_${model.peft.peft_scheme}_tuning
trainer:
devices: 1
accelerator: gpu
num_nodes: 1
precision: bf16
logger: false
enable_checkpointing: false
use_distributed_sampler: false
max_epochs: 9999
max_steps: 50
log_every_n_steps: 10
val_check_interval: 20
gradient_clip_val: 1.0
exp_manager:
explicit_log_dir: null
exp_dir: null
name: ${name}
create_wandb_logger: false
wandb_logger_kwargs:
project: null
name: null
resume_if_exists: true
resume_ignore_no_checkpoint: true
create_checkpoint_callback: true
checkpoint_callback_params:
monitor: validation_${model.data.validation_ds.metric.name}
save_top_k: 1
mode: min
save_nemo_on_train_end: true
filename: ${name}--{${exp_manager.checkpoint_callback_params.monitor}:.3f}-{step}-{consumed_samples}
model_parallel_size: ${model.tensor_model_parallel_size}
always_save_nemo: false
save_best_model: true
create_early_stopping_callback: true
early_stopping_callback_params:
monitor: val_loss
mode: min
min_delta: 0.001
patience: 10
verbose: true
strict: false
model:
seed: 1234
tensor_model_parallel_size: 1
pipeline_model_parallel_size: 1
global_batch_size: 8
micro_batch_size: 1
restore_from_path: ./model/mistral.nemo
resume_from_checkpoint: null
save_nemo_on_validation_end: false
sync_batch_comm: false
megatron_amp_O2: false
sequence_parallel: false
activations_checkpoint_granularity: null
activations_checkpoint_method: null
activations_checkpoint_num_layers: null
activations_checkpoint_layers_per_pipeline: null
answer_only_loss: true
gradient_as_bucket_view: false
hidden_dropout: 0.0
attention_dropout: 0.0
ffn_dropout: 0.0
peft:
peft_scheme: lora
restore_from_path: null
adapter_tuning:
type: parallel_adapter
adapter_dim: 32
adapter_dropout: 0.0
norm_position: pre
column_init_method: xavier
row_init_method: zero
norm_type: mixedfusedlayernorm
layer_selection: null
weight_tying: false
position_embedding_strategy: null
lora_tuning:
target_modules:
- attention_qkv
adapter_dim: 32
alpha: ${model.peft.lora_tuning.adapter_dim}
adapter_dropout: 0.0
column_init_method: xavier
row_init_method: zero
layer_selection: null
weight_tying: false
position_embedding_strategy: null
p_tuning:
virtual_tokens: 10
bottleneck_dim: 1024
embedding_dim: 1024
init_std: 0.023
ia3_tuning:
layer_selection: null
selective_tuning:
tunable_base_param_names:
- self_attention
- word_embeddings
data:
train_ds:
file_names:
- ./pubmedqa/pubmedqa_train.jsonl
global_batch_size: ${model.global_batch_size}
micro_batch_size: ${model.micro_batch_size}
shuffle: true
num_workers: 0
memmap_workers: 2
pin_memory: true
max_seq_length: 2048
min_seq_length: 1
drop_last: true
concat_sampling_probabilities:
- 1.0
label_key: output
add_eos: true
add_sep: false
add_bos: false
truncation_field: input
index_mapping_dir: null
prompt_template: '{input} {output}'
truncation_method: right
validation_ds:
file_names:
- ./pubmedqa/pubmedqa_val.jsonl
names: null
global_batch_size: ${model.global_batch_size}
micro_batch_size: ${model.micro_batch_size}
shuffle: false
num_workers: 1
memmap_workers: ${model.data.train_ds.memmap_workers}
pin_memory: true
max_seq_length: 2048
min_seq_length: 1
drop_last: false
label_key: ${model.data.train_ds.label_key}
add_eos: ${model.data.train_ds.add_eos}
add_sep: ${model.data.train_ds.add_sep}
add_bos: ${model.data.train_ds.add_bos}
write_predictions_to_file: false
output_file_path_prefix: null
truncation_field: ${model.data.train_ds.truncation_field}
index_mapping_dir: null
prompt_template: ${model.data.train_ds.prompt_template}
tokens_to_generate: 32
truncation_method: right
metric:
name: loss
average: null
num_classes: null
test_ds:
file_names:
- ./pubmedqa/pubmedqa_test.jsonl
names:
- pubmedqa
global_batch_size: ${model.global_batch_size}
micro_batch_size: ${model.micro_batch_size}
shuffle: false
num_workers: 0
memmap_workers: ${model.data.train_ds.memmap_workers}
pin_memory: true
max_seq_length: 2048
min_seq_length: 1
drop_last: false
label_key: ${model.data.train_ds.label_key}
add_eos: ${model.data.train_ds.add_eos}
add_sep: ${model.data.train_ds.add_sep}
add_bos: ${model.data.train_ds.add_bos}
write_predictions_to_file: false
output_file_path_prefix: null
truncation_field: ${model.data.train_ds.truncation_field}
index_mapping_dir: null
prompt_template: ${model.data.train_ds.prompt_template}
tokens_to_generate: 32
truncation_method: right
metric:
name: loss
average: null
num_classes: null
optim:
name: fused_adam
lr: 0.0001
weight_decay: 0.01
betas:
- 0.9
- 0.98
sched:
name: CosineAnnealing
warmup_steps: 50
min_lr: 0.0
constant_steps: 0
monitor: val_loss
reduce_on_plateau: false
mcore_gpt: true
[NeMo W 2024-02-29 13:43:09 nemo_logging:349] /usr/local/lib/python3.10/dist-packages/lightning_fabric/connector.py:554: UserWarning: bf16 is supported for historical reasons but its usage is discouraged. Please set your precision to bf16-mixed instead!
rank_zero_warn(
GPU available: True (cuda), used: True
TPU available: False, using: 0 TPU cores
IPU available: False, using: 0 IPUs
HPU available: False, using: 0 HPUs
[NeMo W 2024-02-29 13:43:09 exp_manager:754] No version folders would be created under the log folder as 'resume_if_exists' is enabled.
[NeMo W 2024-02-29 13:43:09 exp_manager:611] There were no checkpoints found in checkpoint_dir or no checkpoint folder at checkpoint_dir :/usr/src/app/nemo_experiments/megatron_gpt_peft_lora_tuning/checkpoints. Training from scratch.
[NeMo I 2024-02-29 13:43:09 exp_manager:394] Experiments will be logged at /usr/src/app/nemo_experiments/megatron_gpt_peft_lora_tuning
[NeMo I 2024-02-29 13:43:09 exp_manager:835] TensorboardLogger has been set up
[NeMo W 2024-02-29 13:43:09 exp_manager:931] The checkpoint callback was told to monitor a validation value and trainer's max_steps was set to 50. Please ensure that max_steps will run for at least 1 epochs to ensure that checkpointing will not error out.
[NeMo W 2024-02-29 13:43:32 megatron_base_model:821] The model: MegatronGPTSFTModel() does not have field.name: context_parallel_size in its cfg. Add this key to cfg or config_mapping to make to make it configurable.
[NeMo W 2024-02-29 13:43:32 megatron_base_model:821] The model: MegatronGPTSFTModel() does not have field.name: expert_model_parallel_size in its cfg. Add this key to cfg or config_mapping to make to make it configurable.
[NeMo W 2024-02-29 13:43:32 megatron_base_model:821] The model: MegatronGPTSFTModel() does not have field.name: tp_comm_overlap in its cfg. Add this key to cfg or config_mapping to make to make it configurable.
[NeMo W 2024-02-29 13:43:32 megatron_base_model:821] The model: MegatronGPTSFTModel() does not have field.name: tp_comm_split_ag in its cfg. Add this key to cfg or config_mapping to make to make it configurable.
[NeMo W 2024-02-29 13:43:32 megatron_base_model:821] The model: MegatronGPTSFTModel() does not have field.name: tp_comm_split_rs in its cfg. Add this key to cfg or config_mapping to make to make it configurable.
[NeMo W 2024-02-29 13:43:32 megatron_base_model:821] The model: MegatronGPTSFTModel() does not have field.name: tp_comm_bulk_wgrad in its cfg. Add this key to cfg or config_mapping to make to make it configurable.
[NeMo W 2024-02-29 13:43:32 megatron_base_model:821] The model: MegatronGPTSFTModel() does not have field.name: tp_comm_bulk_dgrad in its cfg. Add this key to cfg or config_mapping to make to make it configurable.
[NeMo W 2024-02-29 13:43:32 megatron_base_model:821] The model: MegatronGPTSFTModel() does not have field.name: finalize_model_grads_func in its cfg. Add this key to cfg or config_mapping to make to make it configurable.
[NeMo W 2024-02-29 13:43:32 megatron_base_model:821] The model: MegatronGPTSFTModel() does not have field.name: pipeline_model_parallel_split_rank in its cfg. Add this key to cfg or config_mapping to make to make it configurable.
[NeMo W 2024-02-29 13:43:32 megatron_base_model:821] The model: MegatronGPTSFTModel() does not have field.name: barrier_with_L1_time in its cfg. Add this key to cfg or config_mapping to make to make it configurable.
[NeMo I 2024-02-29 13:43:32 megatron_init:234] Rank 0 has data parallel group: [0]
[NeMo I 2024-02-29 13:43:32 megatron_init:237] All data parallel group ranks: [[0]]
[NeMo I 2024-02-29 13:43:32 megatron_init:238] Ranks 0 has data parallel rank: 0
[NeMo I 2024-02-29 13:43:32 megatron_init:246] Rank 0 has model parallel group: [0]
[NeMo I 2024-02-29 13:43:32 megatron_init:247] All model parallel group ranks: [[0]]
[NeMo I 2024-02-29 13:43:32 megatron_init:257] Rank 0 has tensor model parallel group: [0]
[NeMo I 2024-02-29 13:43:32 megatron_init:261] All tensor model parallel group ranks: [[0]]
[NeMo I 2024-02-29 13:43:32 megatron_init:262] Rank 0 has tensor model parallel rank: 0
[NeMo I 2024-02-29 13:43:32 megatron_init:276] Rank 0 has pipeline model parallel group: [0]
[NeMo I 2024-02-29 13:43:32 megatron_init:288] Rank 0 has embedding group: [0]
[NeMo I 2024-02-29 13:43:32 megatron_init:294] All pipeline model parallel group ranks: [[0]]
[NeMo I 2024-02-29 13:43:32 megatron_init:295] Rank 0 has pipeline model parallel rank 0
[NeMo I 2024-02-29 13:43:32 megatron_init:296] All embedding group ranks: [[0]]
[NeMo I 2024-02-29 13:43:32 megatron_init:297] Rank 0 has embedding rank: 0
24-02-29 13:43:32 - PID:2242 - rank:(0, 0, 0, 0) - microbatches.py:39 - INFO - setting number of micro-batches to constant 8
[NeMo W 2024-02-29 13:43:32 megatron_base_model:821] The model: MegatronGPTSFTModel() does not have field.name: context_parallel_size in its cfg. Add this key to cfg or config_mapping to make to make it configurable.
[NeMo W 2024-02-29 13:43:32 megatron_base_model:821] The model: MegatronGPTSFTModel() does not have field.name: expert_model_parallel_size in its cfg. Add this key to cfg or config_mapping to make to make it configurable.
[NeMo W 2024-02-29 13:43:32 megatron_base_model:821] The model: MegatronGPTSFTModel() does not have field.name: tp_comm_overlap in its cfg. Add this key to cfg or config_mapping to make to make it configurable.
[NeMo W 2024-02-29 13:43:32 megatron_base_model:821] The model: MegatronGPTSFTModel() does not have field.name: tp_comm_split_ag in its cfg. Add this key to cfg or config_mapping to make to make it configurable.
[NeMo W 2024-02-29 13:43:32 megatron_base_model:821] The model: MegatronGPTSFTModel() does not have field.name: tp_comm_split_rs in its cfg. Add this key to cfg or config_mapping to make to make it configurable.
[NeMo W 2024-02-29 13:43:32 megatron_base_model:821] The model: MegatronGPTSFTModel() does not have field.name: tp_comm_bulk_wgrad in its cfg. Add this key to cfg or config_mapping to make to make it configurable.
[NeMo W 2024-02-29 13:43:32 megatron_base_model:821] The model: MegatronGPTSFTModel() does not have field.name: tp_comm_bulk_dgrad in its cfg. Add this key to cfg or config_mapping to make to make it configurable.
[NeMo W 2024-02-29 13:43:32 megatron_base_model:821] The model: MegatronGPTSFTModel() does not have field.name: finalize_model_grads_func in its cfg. Add this key to cfg or config_mapping to make to make it configurable.
[NeMo W 2024-02-29 13:43:32 megatron_base_model:821] The model: MegatronGPTSFTModel() does not have field.name: pipeline_model_parallel_split_rank in its cfg. Add this key to cfg or config_mapping to make to make it configurable.
[NeMo W 2024-02-29 13:43:32 megatron_base_model:821] The model: MegatronGPTSFTModel() does not have field.name: barrier_with_L1_time in its cfg. Add this key to cfg or config_mapping to make to make it configurable.
[NeMo I 2024-02-29 13:43:32 tokenizer_utils:191] Getting SentencePiece with model: /tmp/tmpdiuso3r4/49ec005ed7e34fdab15e18659ba3b65a_tokenizer.model
[NeMo I 2024-02-29 13:43:32 megatron_base_model:315] Padded vocab_size: 32000, original vocab_size: 32000, dummy tokens: 0.
[NeMo W 2024-02-29 13:43:32 megatron_base_model:821] The model: MegatronGPTSFTModel() does not have field.name: context_parallel_size in its cfg. Add this key to cfg or config_mapping to make to make it configurable.
[NeMo W 2024-02-29 13:43:32 megatron_base_model:821] The model: MegatronGPTSFTModel() does not have field.name: expert_model_parallel_size in its cfg. Add this key to cfg or config_mapping to make to make it configurable.
[NeMo W 2024-02-29 13:43:32 megatron_base_model:821] The model: MegatronGPTSFTModel() does not have field.name: tp_comm_overlap in its cfg. Add this key to cfg or config_mapping to make to make it configurable.
[NeMo W 2024-02-29 13:43:32 megatron_base_model:821] The model: MegatronGPTSFTModel() does not have field.name: tp_comm_split_ag in its cfg. Add this key to cfg or config_mapping to make to make it configurable.
[NeMo W 2024-02-29 13:43:32 megatron_base_model:821] The model: MegatronGPTSFTModel() does not have field.name: tp_comm_split_rs in its cfg. Add this key to cfg or config_mapping to make to make it configurable.
[NeMo W 2024-02-29 13:43:32 megatron_base_model:821] The model: MegatronGPTSFTModel() does not have field.name: tp_comm_bulk_wgrad in its cfg. Add this key to cfg or config_mapping to make to make it configurable.
[NeMo W 2024-02-29 13:43:32 megatron_base_model:821] The model: MegatronGPTSFTModel() does not have field.name: tp_comm_bulk_dgrad in its cfg. Add this key to cfg or config_mapping to make to make it configurable.
[NeMo W 2024-02-29 13:43:32 megatron_base_model:821] The model: MegatronGPTSFTModel() does not have field.name: finalize_model_grads_func in its cfg. Add this key to cfg or config_mapping to make to make it configurable.
[NeMo W 2024-02-29 13:43:32 megatron_base_model:821] The model: MegatronGPTSFTModel() does not have field.name: pipeline_model_parallel_split_rank in its cfg. Add this key to cfg or config_mapping to make to make it configurable.
[NeMo W 2024-02-29 13:43:32 megatron_base_model:821] The model: MegatronGPTSFTModel() does not have field.name: barrier_with_L1_time in its cfg. Add this key to cfg or config_mapping to make to make it configurable.
[NeMo W 2024-02-29 13:43:32 megatron_gpt_model:1554] apply_query_key_layer_scaling is only enabled when using FP16, setting it to False and setting NVTE_APPLY_QK_LAYER_SCALING=0
[NeMo W 2024-02-29 13:43:32 megatron_gpt_model:1619] The model: MegatronGPTSFTModel() does not have field.name: num_moe_experts in its cfg. Add this key to cfg or config_mapping to make to make it configurable.
[NeMo W 2024-02-29 13:43:32 megatron_gpt_model:1619] The model: MegatronGPTSFTModel() does not have field.name: fp8_wgrad in its cfg. Add this key to cfg or config_mapping to make to make it configurable.
[NeMo W 2024-02-29 13:43:32 megatron_gpt_model:1619] The model: MegatronGPTSFTModel() does not have field.name: clone_scatter_output_in_embedding in its cfg. Add this key to cfg or config_mapping to make to make it configurable.
Initializing distributed: GLOBAL_RANK: 0, MEMBER: 1/1
----------------------------------------------------------------------------------------------------
distributed_backend=nccl
All distributed processes registered. Starting with 1 processes
----------------------------------------------------------------------------------------------------
Loading distributed checkpoint with TensorStoreLoadShardedStrategy
[NeMo I 2024-02-29 13:44:52 nlp_overrides:752] Model MegatronGPTSFTModel was successfully restored from /usr/src/app/model/mistral.nemo.
[NeMo I 2024-02-29 13:44:52 megatron_gpt_peft_tuning:82] Adding adapter weights to the model for PEFT
[NeMo I 2024-02-29 13:44:52 nlp_adapter_mixins:182] Before adding PEFT params:
| Name | Type | Params
-----------------------------------
0 | model | GPTModel | 7.2 B
-----------------------------------
0 Trainable params
7.2 B Non-trainable params
7.2 B Total params
28,966.928Total estimated model params size (MB)
[NeMo I 2024-02-29 13:44:55 nlp_adapter_mixins:195] After adding PEFT params:
| Name | Type | Params
-----------------------------------
0 | model | GPTModel | 7.3 B
-----------------------------------
10.5 M Trainable params
7.2 B Non-trainable params
7.3 B Total params
29,008.871Total estimated model params size (MB)
[NeMo W 2024-02-29 13:44:55 nemo_logging:349] /usr/local/lib/python3.10/dist-packages/pytorch_lightning/trainer/configuration_validator.py:153: UserWarning: The `batch_idx` argument in `MegatronGPTSFTModel.on_train_batch_start` hook may not match with the actual batch index when using a `dataloader_iter` argument in your `training_step`.
rank_zero_warn(
[NeMo W 2024-02-29 13:44:55 nemo_logging:349] /usr/local/lib/python3.10/dist-packages/pytorch_lightning/trainer/configuration_validator.py:153: UserWarning: The `batch_idx` argument in `MegatronGPTSFTModel.on_train_batch_end` hook may not match with the actual batch index when using a `dataloader_iter` argument in your `training_step`.
rank_zero_warn(
[NeMo I 2024-02-29 13:44:55 megatron_gpt_sft_model:752] Building GPT SFT validation datasets.
[NeMo I 2024-02-29 13:44:55 text_memmap_dataset:116] Building data files
[NeMo I 2024-02-29 13:44:55 text_memmap_dataset:525] Processing 1 data files using 2 workers
[NeMo I 2024-02-29 13:44:55 text_memmap_dataset:535] Time building 0 / 1 mem-mapped files: 0:00:00.098850
[NeMo I 2024-02-29 13:44:55 text_memmap_dataset:525] Processing 1 data files using 2 workers
[NeMo I 2024-02-29 13:44:55 text_memmap_dataset:535] Time building 0 / 1 mem-mapped files: 0:00:00.053183
[NeMo I 2024-02-29 13:44:55 text_memmap_dataset:158] Loading data files
[NeMo I 2024-02-29 13:44:55 text_memmap_dataset:249] Loading ./pubmedqa/pubmedqa_val.jsonl
[NeMo I 2024-02-29 13:44:55 text_memmap_dataset:161] Time loading 1 mem-mapped files: 0:00:00.000691
[NeMo I 2024-02-29 13:44:55 text_memmap_dataset:165] Computing global indices
[NeMo I 2024-02-29 13:44:55 megatron_gpt_sft_model:755] Length of val dataset: 50
[NeMo I 2024-02-29 13:44:55 megatron_gpt_sft_model:759] Building GPT SFT test datasets.
[NeMo I 2024-02-29 13:44:55 text_memmap_dataset:116] Building data files
[NeMo I 2024-02-29 13:44:55 text_memmap_dataset:525] Processing 1 data files using 2 workers
[NeMo I 2024-02-29 13:44:56 text_memmap_dataset:535] Time building 0 / 1 mem-mapped files: 0:00:00.047882
[NeMo I 2024-02-29 13:44:56 text_memmap_dataset:525] Processing 1 data files using 2 workers
[NeMo I 2024-02-29 13:44:56 text_memmap_dataset:535] Time building 0 / 1 mem-mapped files: 0:00:00.047631
[NeMo I 2024-02-29 13:44:56 text_memmap_dataset:158] Loading data files
[NeMo I 2024-02-29 13:44:56 text_memmap_dataset:249] Loading ./pubmedqa/pubmedqa_test.jsonl
[NeMo I 2024-02-29 13:44:56 text_memmap_dataset:161] Time loading 1 mem-mapped files: 0:00:00.000603
[NeMo I 2024-02-29 13:44:56 text_memmap_dataset:165] Computing global indices
[NeMo I 2024-02-29 13:44:56 megatron_gpt_sft_model:762] Length of test dataset: 500
[NeMo I 2024-02-29 13:44:56 megatron_gpt_sft_model:766] Building GPT SFT traing datasets.
[NeMo I 2024-02-29 13:44:56 text_memmap_dataset:116] Building data files
[NeMo I 2024-02-29 13:44:56 text_memmap_dataset:525] Processing 1 data files using 2 workers
[NeMo I 2024-02-29 13:44:56 text_memmap_dataset:535] Time building 0 / 1 mem-mapped files: 0:00:00.050147
[NeMo I 2024-02-29 13:44:56 text_memmap_dataset:525] Processing 1 data files using 2 workers
[NeMo I 2024-02-29 13:44:56 text_memmap_dataset:535] Time building 0 / 1 mem-mapped files: 0:00:00.049478
[NeMo I 2024-02-29 13:44:56 text_memmap_dataset:158] Loading data files
[NeMo I 2024-02-29 13:44:56 text_memmap_dataset:249] Loading ./pubmedqa/pubmedqa_train.jsonl
[NeMo I 2024-02-29 13:44:56 text_memmap_dataset:161] Time loading 1 mem-mapped files: 0:00:00.000572
[NeMo I 2024-02-29 13:44:56 text_memmap_dataset:165] Computing global indices
[NeMo W 2024-02-29 13:44:56 nemo_logging:349] /usr/local/lib/python3.10/dist-packages/nemo/collections/nlp/data/language_modeling/megatron/dataset_utils.py:1332: UserWarning: The torch.cuda.*DtypeTensor constructors are no longer recommended. It's best to use methods such as torch.tensor(data, dtype=*, device='cuda') to create tensors. (Triggered internally at /opt/pytorch/pytorch/torch/csrc/tensor/python_tensor.cpp:83.)
counts = torch.cuda.LongTensor([1])
[NeMo I 2024-02-29 13:44:57 dataset_utils:1341] > loading indexed mapping from ./pubmedqa/pubmedqa_train.jsonl_pubmedqa_train.jsonl_indexmap_402mns_2046msl_0.00ssp_1234s.npy
[NeMo I 2024-02-29 13:44:57 dataset_utils:1344] loaded indexed file in 0.000 seconds
[NeMo I 2024-02-29 13:44:57 dataset_utils:1345] total number of samples: 450
make: Entering directory '/usr/local/lib/python3.10/dist-packages/nemo/collections/nlp/data/language_modeling/megatron'
make: Nothing to be done for 'default'.
make: Leaving directory '/usr/local/lib/python3.10/dist-packages/nemo/collections/nlp/data/language_modeling/megatron'
> building indices for blendable datasets ...
> sample ratios:
dataset 0, input: 1, achieved: 1
[NeMo I 2024-02-29 13:44:57 blendable_dataset:67] > elapsed time for building blendable dataset indices: 0.03 (sec)
[NeMo I 2024-02-29 13:44:57 megatron_gpt_sft_model:768] Length of train dataset: 402
[NeMo I 2024-02-29 13:44:57 megatron_gpt_sft_model:773] Building dataloader with consumed samples: 0
[NeMo I 2024-02-29 13:44:57 megatron_gpt_sft_model:773] Building dataloader with consumed samples: 0
[NeMo I 2024-02-29 13:44:57 megatron_gpt_sft_model:773] Building dataloader with consumed samples: 0
LOCAL_RANK: 0 - CUDA_VISIBLE_DEVICES: [0]
[NeMo I 2024-02-29 13:44:57 nlp_overrides:150] Configuring DDP for model parallelism.
[NeMo I 2024-02-29 13:44:57 adapter_mixins:435] Unfrozen adapter : lora_kqv_adapter
[NeMo I 2024-02-29 13:44:57 adapter_mixins:435] Unfrozen adapter : lora_kqv_adapter
[NeMo I 2024-02-29 13:44:57 adapter_mixins:435] Unfrozen adapter : lora_kqv_adapter
[NeMo I 2024-02-29 13:44:57 adapter_mixins:435] Unfrozen adapter : lora_kqv_adapter
[NeMo I 2024-02-29 13:44:57 adapter_mixins:435] Unfrozen adapter : lora_kqv_adapter
[NeMo I 2024-02-29 13:44:57 adapter_mixins:435] Unfrozen adapter : lora_kqv_adapter
[NeMo I 2024-02-29 13:44:57 adapter_mixins:435] Unfrozen adapter : lora_kqv_adapter
[NeMo I 2024-02-29 13:44:57 adapter_mixins:435] Unfrozen adapter : lora_kqv_adapter
[NeMo I 2024-02-29 13:44:57 adapter_mixins:435] Unfrozen adapter : lora_kqv_adapter
[NeMo I 2024-02-29 13:44:57 adapter_mixins:435] Unfrozen adapter : lora_kqv_adapter
[NeMo I 2024-02-29 13:44:57 adapter_mixins:435] Unfrozen adapter : lora_kqv_adapter
[NeMo I 2024-02-29 13:44:57 adapter_mixins:435] Unfrozen adapter : lora_kqv_adapter
[NeMo I 2024-02-29 13:44:57 adapter_mixins:435] Unfrozen adapter : lora_kqv_adapter
[NeMo I 2024-02-29 13:44:57 adapter_mixins:435] Unfrozen adapter : lora_kqv_adapter
[NeMo I 2024-02-29 13:44:57 adapter_mixins:435] Unfrozen adapter : lora_kqv_adapter
[NeMo I 2024-02-29 13:44:57 adapter_mixins:435] Unfrozen adapter : lora_kqv_adapter
[NeMo I 2024-02-29 13:44:57 adapter_mixins:435] Unfrozen adapter : lora_kqv_adapter
[NeMo I 2024-02-29 13:44:57 adapter_mixins:435] Unfrozen adapter : lora_kqv_adapter
[NeMo I 2024-02-29 13:44:57 adapter_mixins:435] Unfrozen adapter : lora_kqv_adapter
[NeMo I 2024-02-29 13:44:57 adapter_mixins:435] Unfrozen adapter : lora_kqv_adapter
[NeMo I 2024-02-29 13:44:57 adapter_mixins:435] Unfrozen adapter : lora_kqv_adapter
[NeMo I 2024-02-29 13:44:57 adapter_mixins:435] Unfrozen adapter : lora_kqv_adapter
[NeMo I 2024-02-29 13:44:57 adapter_mixins:435] Unfrozen adapter : lora_kqv_adapter
[NeMo I 2024-02-29 13:44:57 adapter_mixins:435] Unfrozen adapter : lora_kqv_adapter
[NeMo I 2024-02-29 13:44:57 adapter_mixins:435] Unfrozen adapter : lora_kqv_adapter
[NeMo I 2024-02-29 13:44:57 adapter_mixins:435] Unfrozen adapter : lora_kqv_adapter
[NeMo I 2024-02-29 13:44:57 adapter_mixins:435] Unfrozen adapter : lora_kqv_adapter
[NeMo I 2024-02-29 13:44:57 adapter_mixins:435] Unfrozen adapter : lora_kqv_adapter
[NeMo I 2024-02-29 13:44:57 adapter_mixins:435] Unfrozen adapter : lora_kqv_adapter
[NeMo I 2024-02-29 13:44:57 adapter_mixins:435] Unfrozen adapter : lora_kqv_adapter
[NeMo I 2024-02-29 13:44:57 adapter_mixins:435] Unfrozen adapter : lora_kqv_adapter
[NeMo I 2024-02-29 13:44:57 adapter_mixins:435] Unfrozen adapter : lora_kqv_adapter
[NeMo I 2024-02-29 13:44:57 nlp_adapter_mixins:245] Optimizer groups set:
| Name | Type | Params
-----------------------------------
0 | model | GPTModel | 7.3 B
-----------------------------------
10.5 M Trainable params
7.2 B Non-trainable params
7.3 B Total params
29,008.871Total estimated model params size (MB)
[NeMo I 2024-02-29 13:44:57 modelPT:728] Optimizer config = FusedAdam (
Parameter Group 0
betas: [0.9, 0.98]
bias_correction: True
eps: 1e-08
lr: 0.0001
weight_decay: 0.01
)
[NeMo I 2024-02-29 13:44:57 lr_scheduler:910] Scheduler "<nemo.core.optim.lr_scheduler.CosineAnnealing object at 0x7ff9feffc070>"
will be used during training (effective maximum steps = 50) -
Parameters :
(warmup_steps: 50
min_lr: 0.0
constant_steps: 0
max_steps: 50
)
| Name | Type | Params
-----------------------------------
0 | model | GPTModel | 7.3 B
-----------------------------------
10.5 M Trainable params
7.2 B Non-trainable params
7.3 B Total params
29,008.871Total estimated model params size (MB)
```
But there is another error:
```
Sanity Checking: 0it [00:00, ?it/s][NeMo W 2024-02-29 13:45:11 nemo_logging:349] /usr/local/lib/python3.10/dist-packages/pytorch_lightning/trainer/connectors/data_connector.py:438: PossibleUserWarning: The dataloader, val_dataloader, does not have many workers which may be a bottleneck. Consider increasing the value of the `num_workers` argument` (try 224 which is the number of cpus on this machine) in the `DataLoader` init to improve performance.
rank_zero_warn(
[NeMo W 2024-02-29 13:45:11 nemo_logging:349] /usr/local/lib/python3.10/dist-packages/pytorch_lightning/loops/utilities.py:148: UserWarning: Found `dataloader_iter` argument in the `validation_step`. Note that the support for this signature is experimental and the behavior is subject to change.
rank_zero_warn(
[NeMo W 2024-02-29 13:45:25 nemo_logging:349] /usr/local/lib/python3.10/dist-packages/apex/transformer/pipeline_parallel/utils.py:81: UserWarning: This function is only for unittest
warnings.warn("This function is only for unittest")
Sanity Checking DataLoader 0: 0%| | 0/2 [00:00<?, ?it/s]Error executing job with overrides: ['trainer.devices=1', 'trainer.num_nodes=1', 'trainer.precision=bf16', 'trainer.val_check_interval=20', 'trainer.max_steps=50', 'model.megatron_amp_O2=False', '++model.mcore_gpt=True', 'model.tensor_model_parallel_size=1', 'model.pipeline_model_parallel_size=1', 'model.micro_batch_size=1', 'model.global_batch_size=8', 'model.restore_from_path=./model/mistral.nemo', 'model.data.train_ds.num_workers=0', 'model.data.validation_ds.num_workers=1', 'model.data.train_ds.file_names=[./pubmedqa/pubmedqa_train.jsonl]', 'model.data.train_ds.concat_sampling_probabilities=[1.0]', 'model.data.validation_ds.file_names=[./pubmedqa/pubmedqa_val.jsonl]', 'model.peft.peft_scheme=lora', 'exp_manager.checkpoint_callback_params.mode=min']
Traceback (most recent call last):
File "/usr/src/app/./NeMo-main/examples/nlp/language_modeling/tuning/megatron_gpt_peft_tuning.py", line 87, in main
trainer.fit(model)
File "/usr/local/lib/python3.10/dist-packages/pytorch_lightning/trainer/trainer.py", line 532, in fit
call._call_and_handle_interrupt(
File "/usr/local/lib/python3.10/dist-packages/pytorch_lightning/trainer/call.py", line 42, in _call_and_handle_interrupt
return trainer.strategy.launcher.launch(trainer_fn, *args, trainer=trainer, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/pytorch_lightning/strategies/launchers/subprocess_script.py", line 93, in launch
return function(*args, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/pytorch_lightning/trainer/trainer.py", line 571, in _fit_impl
self._run(model, ckpt_path=ckpt_path)
File "/usr/local/lib/python3.10/dist-packages/pytorch_lightning/trainer/trainer.py", line 980, in _run
results = self._run_stage()
File "/usr/local/lib/python3.10/dist-packages/pytorch_lightning/trainer/trainer.py", line 1021, in _run_stage
self._run_sanity_check()
File "/usr/local/lib/python3.10/dist-packages/pytorch_lightning/trainer/trainer.py", line 1050, in _run_sanity_check
val_loop.run()
File "/usr/local/lib/python3.10/dist-packages/pytorch_lightning/loops/utilities.py", line 181, in _decorator
return loop_run(self, *args, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/pytorch_lightning/loops/evaluation_loop.py", line 115, in run
self._evaluation_step(batch, batch_idx, dataloader_idx)
File "/usr/local/lib/python3.10/dist-packages/pytorch_lightning/loops/evaluation_loop.py", line 376, in _evaluation_step
output = call._call_strategy_hook(trainer, hook_name, *step_kwargs.values())
File "/usr/local/lib/python3.10/dist-packages/pytorch_lightning/trainer/call.py", line 293, in _call_strategy_hook
output = fn(*args, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/pytorch_lightning/strategies/ddp.py", line 338, in validation_step
return self.model(*args, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1518, in _wrapped_call_impl
return self._call_impl(*args, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1527, in _call_impl
return forward_call(*args, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/torch/nn/parallel/distributed.py", line 1521, in forward
else self._run_ddp_forward(*inputs, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/torch/nn/parallel/distributed.py", line 1357, in _run_ddp_forward
return self.module(*inputs, **kwargs) # type: ignore[index]
File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1518, in _wrapped_call_impl
return self._call_impl(*args, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1527, in _call_impl
return forward_call(*args, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/pytorch_lightning/overrides/base.py", line 102, in forward
return self._forward_module.validation_step(*inputs, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/nemo/collections/nlp/models/language_modeling/megatron_gpt_sft_model.py", line 387, in validation_step
return self.inference_step(dataloader_iter, batch_idx, 'validation', dataloader_idx)
File "/usr/local/lib/python3.10/dist-packages/nemo/collections/nlp/models/language_modeling/megatron_gpt_sft_model.py", line 403, in inference_step
loss = super().validation_step(itertools.chain([batch]), batch_idx)
File "/usr/local/lib/python3.10/dist-packages/nemo/collections/nlp/models/language_modeling/megatron_gpt_model.py", line 963, in validation_step
loss = self.fwd_bwd_step(dataloader_iter, batch_idx, True)
File "/usr/local/lib/python3.10/dist-packages/nemo/collections/nlp/models/language_modeling/megatron_gpt_sft_model.py", line 347, in fwd_bwd_step
losses_reduced_per_micro_batch = fwd_bwd_function(
File "/usr/local/lib/python3.10/dist-packages/megatron/core/pipeline_parallel/schedules.py", line 327, in forward_backward_no_pipelining
output_tensor = forward_step(
File "/usr/local/lib/python3.10/dist-packages/megatron/core/pipeline_parallel/schedules.py", line 183, in forward_step
output_tensor, loss_func = forward_step_func(data_iterator, model)
File "/usr/local/lib/python3.10/dist-packages/nemo/collections/nlp/models/language_modeling/megatron_gpt_model.py", line 863, in fwd_output_and_loss_func
output_tensor = model(**forward_args)
File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1518, in _wrapped_call_impl
return self._call_impl(*args, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1527, in _call_impl
return forward_call(*args, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/megatron/core/models/gpt/gpt_model.py", line 166, in forward
hidden_states = self.decoder(
File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1518, in _wrapped_call_impl
return self._call_impl(*args, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1527, in _call_impl
return forward_call(*args, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/megatron/core/transformer/transformer_block.py", line 311, in forward
hidden_states, context = layer(
File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1518, in _wrapped_call_impl
return self._call_impl(*args, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1527, in _call_impl
return forward_call(*args, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/megatron/core/transformer/transformer_layer.py", line 153, in forward
attention_output_with_bias = self.self_attention(
File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1518, in _wrapped_call_impl
return self._call_impl(*args, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1527, in _call_impl
return forward_call(*args, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/megatron/core/transformer/attention.py", line 263, in forward
core_attn_out = self.core_attention(
File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1518, in _wrapped_call_impl
return self._call_impl(*args, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/torch/nn/modules/module.py", line 1527, in _call_impl
return forward_call(*args, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/megatron/core/transformer/custom_layers/transformer_engine.py", line 427, in forward
return super().forward(
File "/usr/local/lib/python3.10/dist-packages/transformer_engine/pytorch/attention.py", line 1235, in forward
qkv_layout = _get_qkv_layout(query_layer, key_layer, value_layer,
File "/usr/local/lib/python3.10/dist-packages/transformer_engine/pytorch/attention.py", line 464, in _get_qkv_layout
raise Exception("The provided qkv memory layout is not supported!")
Exception: The provided qkv memory layout is not supported!
Set the environment variable HYDRA_FULL_ERROR=1 for a complete stack trace.
```
**Additional context**
GPU : H100*1 | {
"login": "cyc00518",
"id": 96753147,
"node_id": "U_kgDOBcRV-w",
"avatar_url": "https://avatars.githubusercontent.com/u/96753147?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/cyc00518",
"html_url": "https://github.com/cyc00518",
"followers_url": "https://api.github.com/users/cyc00518/followers",
"following_url": "https://api.github.com/users/cyc00518/following{/other_user}",
"gists_url": "https://api.github.com/users/cyc00518/gists{/gist_id}",
"starred_url": "https://api.github.com/users/cyc00518/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cyc00518/subscriptions",
"organizations_url": "https://api.github.com/users/cyc00518/orgs",
"repos_url": "https://api.github.com/users/cyc00518/repos",
"events_url": "https://api.github.com/users/cyc00518/events{/privacy}",
"received_events_url": "https://api.github.com/users/cyc00518/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/8550/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/8550/timeline | null | completed | false |
https://api.github.com/repos/NVIDIA/NeMo/issues/8549 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/8549/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/8549/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/8549/events | https://github.com/NVIDIA/NeMo/pull/8549 | 2,160,369,276 | PR_kwDOC_bI7s5oPywr | 8,549 | Update megatron-lm in Dockerfile | {
"login": "pablo-garay",
"id": 7166088,
"node_id": "MDQ6VXNlcjcxNjYwODg=",
"avatar_url": "https://avatars.githubusercontent.com/u/7166088?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/pablo-garay",
"html_url": "https://github.com/pablo-garay",
"followers_url": "https://api.github.com/users/pablo-garay/followers",
"following_url": "https://api.github.com/users/pablo-garay/following{/other_user}",
"gists_url": "https://api.github.com/users/pablo-garay/gists{/gist_id}",
"starred_url": "https://api.github.com/users/pablo-garay/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/pablo-garay/subscriptions",
"organizations_url": "https://api.github.com/users/pablo-garay/orgs",
"repos_url": "https://api.github.com/users/pablo-garay/repos",
"events_url": "https://api.github.com/users/pablo-garay/events{/privacy}",
"received_events_url": "https://api.github.com/users/pablo-garay/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"id": 4840216855,
"node_id": "LA_kwDOC_bI7s8AAAABIH_ZFw",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/CI",
"name": "CI",
"color": "1D76DB",
"default": false,
"description": ""
}
] | closed | false | null | [] | null | [
"jenkins"
] | 2024-02-29T05:04:40 | 2024-02-29T05:15:04 | 2024-02-29T05:15:03 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/8549",
"html_url": "https://github.com/NVIDIA/NeMo/pull/8549",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/8549.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/8549.patch",
"merged_at": "2024-02-29T05:15:03"
} | Update mcore version in Dockerfile
# What does this PR do ?
Add a one line overview of what this PR aims to accomplish.
**Collection**: [Note which collection this PR will affect]
# Changelog
- Add specific line by line info of high level changes in this PR.
# Usage
* You can potentially add a usage example below
```python
# Add a code snippet demonstrating how to use this
```
# Jenkins CI
To run Jenkins, a NeMo User with write access must comment `jenkins` on the PR.
# Before your PR is "Ready for review"
**Pre checks**:
- [ ] Make sure you read and followed [Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md)
- [ ] Did you write any new necessary tests?
- [ ] Did you add or update any necessary documentation?
- [ ] Does the PR affect components that are optional to install? (Ex: Numba, Pynini, Apex etc)
- [ ] Reviewer: Does the PR have correct import guards for all optional libraries?
**PR Type**:
- [ ] New Feature
- [ ] Bugfix
- [ ] Documentation
If you haven't finished some of the above items you can still open "Draft" PR.
## Who can review?
Anyone in the community is free to review the PR once the checks have passed.
[Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md) contains specific people who can review PRs to various areas.
# Additional Information
* Related to # (issue)
| {
"login": "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/8549/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/8549/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/8548 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/8548/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/8548/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/8548/events | https://github.com/NVIDIA/NeMo/pull/8548 | 2,160,170,067 | PR_kwDOC_bI7s5oPJSF | 8,548 | Add multimodal domain to labeler.yml | {
"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
} | [
{
"id": 4840216855,
"node_id": "LA_kwDOC_bI7s8AAAABIH_ZFw",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/CI",
"name": "CI",
"color": "1D76DB",
"default": false,
"description": ""
}
] | closed | false | null | [] | null | [] | 2024-02-29T01:28:45 | 2024-02-29T01:31:43 | 2024-02-29T01:31:42 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/8548",
"html_url": "https://github.com/NVIDIA/NeMo/pull/8548",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/8548.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/8548.patch",
"merged_at": "2024-02-29T01:31:42"
} | # What does this PR do ?
Adds the multimodal domain to labeler.
**Collection**: [Core, Multimodal]
# Jenkins CI
To run Jenkins, a NeMo User with write access must comment `jenkins` on the PR.
# Before your PR is "Ready for review"
**Pre checks**:
- [x] Make sure you read and followed [Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md)
- [ ] Did you write any new necessary tests?
- [ ] Did you add or update any necessary documentation?
- [ ] Does the PR affect components that are optional to install? (Ex: Numba, Pynini, Apex etc)
- [ ] Reviewer: Does the PR have correct import guards for all optional libraries?
**PR Type**:
- [ ] New Feature
- [ ] 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/8548/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/8548/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/8547 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/8547/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/8547/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/8547/events | https://github.com/NVIDIA/NeMo/pull/8547 | 2,159,984,646 | PR_kwDOC_bI7s5oOgup | 8,547 | Update transcribe calls and remove old notebooks | {
"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
} | [
{
"id": 4811884691,
"node_id": "LA_kwDOC_bI7s8AAAABHs-Ikw",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/ASR",
"name": "ASR",
"color": "F3B33E",
"default": false,
"description": ""
}
] | closed | false | null | [] | null | [
"Yes its deprecated anyway in favor of @erastorgueva-nv notebook"
] | 2024-02-28T22:30:43 | 2024-03-01T07:46:16 | 2024-03-01T07:45:43 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/8547",
"html_url": "https://github.com/NVIDIA/NeMo/pull/8547",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/8547.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/8547.patch",
"merged_at": "2024-03-01T07:45:43"
} | # What does this PR do ?
Update transcribe call to match new api
**Collection**: [ASR]
# Changelog
- Fix transcribe calls to match new API
- Remove deprecated notebook
# Jenkins CI
To run Jenkins, a NeMo User with write access must comment `jenkins` on the PR.
# Before your PR is "Ready for review"
**Pre checks**:
- [x] Make sure you read and followed [Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md)
- [ ] Did you write any new necessary tests?
- [ ] Did you add or update any necessary documentation?
- [ ] Does the PR affect components that are optional to install? (Ex: Numba, Pynini, Apex etc)
- [ ] Reviewer: Does the PR have correct import guards for all optional libraries?
**PR Type**:
- [ ] New Feature
- [x] Bugfix
- [ ] Documentation
| {
"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/8547/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/8547/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/8546 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/8546/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/8546/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/8546/events | https://github.com/NVIDIA/NeMo/pull/8546 | 2,159,979,978 | PR_kwDOC_bI7s5oOfqp | 8,546 | Update mcore version in Dockerfile | {
"login": "pablo-garay",
"id": 7166088,
"node_id": "MDQ6VXNlcjcxNjYwODg=",
"avatar_url": "https://avatars.githubusercontent.com/u/7166088?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/pablo-garay",
"html_url": "https://github.com/pablo-garay",
"followers_url": "https://api.github.com/users/pablo-garay/followers",
"following_url": "https://api.github.com/users/pablo-garay/following{/other_user}",
"gists_url": "https://api.github.com/users/pablo-garay/gists{/gist_id}",
"starred_url": "https://api.github.com/users/pablo-garay/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/pablo-garay/subscriptions",
"organizations_url": "https://api.github.com/users/pablo-garay/orgs",
"repos_url": "https://api.github.com/users/pablo-garay/repos",
"events_url": "https://api.github.com/users/pablo-garay/events{/privacy}",
"received_events_url": "https://api.github.com/users/pablo-garay/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"id": 4840216855,
"node_id": "LA_kwDOC_bI7s8AAAABIH_ZFw",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/CI",
"name": "CI",
"color": "1D76DB",
"default": false,
"description": ""
}
] | closed | false | {
"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
} | [
{
"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
},
{
"login": "dimapihtar",
"id": 37850217,
"node_id": "MDQ6VXNlcjM3ODUwMjE3",
"avatar_url": "https://avatars.githubusercontent.com/u/37850217?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dimapihtar",
"html_url": "https://github.com/dimapihtar",
"followers_url": "https://api.github.com/users/dimapihtar/followers",
"following_url": "https://api.github.com/users/dimapihtar/following{/other_user}",
"gists_url": "https://api.github.com/users/dimapihtar/gists{/gist_id}",
"starred_url": "https://api.github.com/users/dimapihtar/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/dimapihtar/subscriptions",
"organizations_url": "https://api.github.com/users/dimapihtar/orgs",
"repos_url": "https://api.github.com/users/dimapihtar/repos",
"events_url": "https://api.github.com/users/dimapihtar/events{/privacy}",
"received_events_url": "https://api.github.com/users/dimapihtar/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
}
] | null | [
"jenkins"
] | 2024-02-28T22:27:52 | 2024-02-28T23:05:38 | 2024-02-28T23:05:37 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/8546",
"html_url": "https://github.com/NVIDIA/NeMo/pull/8546",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/8546.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/8546.patch",
"merged_at": "2024-02-28T23:05:37"
} | # What does this PR do ?
Add a one line overview of what this PR aims to accomplish.
**Collection**: [Note which collection this PR will affect]
# Changelog
- Add specific line by line info of high level changes in this PR.
# Usage
* You can potentially add a usage example below
```python
# Add a code snippet demonstrating how to use this
```
# Jenkins CI
To run Jenkins, a NeMo User with write access must comment `jenkins` on the PR.
# Before your PR is "Ready for review"
**Pre checks**:
- [ ] Make sure you read and followed [Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md)
- [ ] Did you write any new necessary tests?
- [ ] Did you add or update any necessary documentation?
- [ ] Does the PR affect components that are optional to install? (Ex: Numba, Pynini, Apex etc)
- [ ] Reviewer: Does the PR have correct import guards for all optional libraries?
**PR Type**:
- [ ] New Feature
- [ ] Bugfix
- [ ] Documentation
If you haven't finished some of the above items you can still open "Draft" PR.
## Who can review?
Anyone in the community is free to review the PR once the checks have passed.
[Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md) contains specific people who can review PRs to various areas.
# Additional Information
* Related to # (issue)
| {
"login": "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/8546/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/8546/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/8545 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/8545/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/8545/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/8545/events | https://github.com/NVIDIA/NeMo/pull/8545 | 2,159,919,266 | PR_kwDOC_bI7s5oOSNJ | 8,545 | Remove GPT SFT reset checkpoint in initialization | {
"login": "hsiehjackson",
"id": 37269846,
"node_id": "MDQ6VXNlcjM3MjY5ODQ2",
"avatar_url": "https://avatars.githubusercontent.com/u/37269846?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/hsiehjackson",
"html_url": "https://github.com/hsiehjackson",
"followers_url": "https://api.github.com/users/hsiehjackson/followers",
"following_url": "https://api.github.com/users/hsiehjackson/following{/other_user}",
"gists_url": "https://api.github.com/users/hsiehjackson/gists{/gist_id}",
"starred_url": "https://api.github.com/users/hsiehjackson/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/hsiehjackson/subscriptions",
"organizations_url": "https://api.github.com/users/hsiehjackson/orgs",
"repos_url": "https://api.github.com/users/hsiehjackson/repos",
"events_url": "https://api.github.com/users/hsiehjackson/events{/privacy}",
"received_events_url": "https://api.github.com/users/hsiehjackson/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"id": 4585431311,
"node_id": "LA_kwDOC_bI7s8AAAABEVAhDw",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/stale",
"name": "stale",
"color": "ededed",
"default": false,
"description": null
},
{
"id": 4811886210,
"node_id": "LA_kwDOC_bI7s8AAAABHs-Ogg",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/NLP",
"name": "NLP",
"color": "CBF09A",
"default": false,
"description": ""
}
] | closed | false | null | [] | null | [
"jenkins",
"This PR is stale because it has been open for 14 days with no activity. Remove stale label or comment or update or this will be closed in 7 days.",
"This PR was closed because it has been inactive for 7 days since being marked as stale."
] | 2024-02-28T21:43:14 | 2024-03-21T01:44:09 | 2024-03-21T01:44:08 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/8545",
"html_url": "https://github.com/NVIDIA/NeMo/pull/8545",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/8545.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/8545.patch",
"merged_at": null
} | # What does this PR do ?
Enable activation checkpointing for GPT SFT.
**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
# Jenkins CI
To run Jenkins, a NeMo User with write access must comment `jenkins` on the PR.
# Before your PR is "Ready for review"
**Pre checks**:
- [x] Make sure you read and followed [Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md)
- [ ] Did you write any new necessary tests?
- [ ] Did you add or update any necessary documentation?
- [ ] Does the PR affect components that are optional to install? (Ex: Numba, Pynini, Apex etc)
- [ ] Reviewer: Does the PR have correct import guards for all optional libraries?
**PR Type**:
- [ ] New Feature
- [x] Bugfix
- [ ] Documentation
If you haven't finished some of the above items you can still open "Draft" PR.
## Who can review?
Anyone in the community is free to review the PR once the checks have passed.
[Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md) contains specific people who can review PRs to various areas.
# Additional Information
* Related to # (issue)
| {
"login": "github-actions[bot]",
"id": 41898282,
"node_id": "MDM6Qm90NDE4OTgyODI=",
"avatar_url": "https://avatars.githubusercontent.com/in/15368?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/github-actions%5Bbot%5D",
"html_url": "https://github.com/apps/github-actions",
"followers_url": "https://api.github.com/users/github-actions%5Bbot%5D/followers",
"following_url": "https://api.github.com/users/github-actions%5Bbot%5D/following{/other_user}",
"gists_url": "https://api.github.com/users/github-actions%5Bbot%5D/gists{/gist_id}",
"starred_url": "https://api.github.com/users/github-actions%5Bbot%5D/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/github-actions%5Bbot%5D/subscriptions",
"organizations_url": "https://api.github.com/users/github-actions%5Bbot%5D/orgs",
"repos_url": "https://api.github.com/users/github-actions%5Bbot%5D/repos",
"events_url": "https://api.github.com/users/github-actions%5Bbot%5D/events{/privacy}",
"received_events_url": "https://api.github.com/users/github-actions%5Bbot%5D/received_events",
"type": "Bot",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/8545/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/8545/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/8544 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/8544/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/8544/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/8544/events | https://github.com/NVIDIA/NeMo/pull/8544 | 2,159,868,338 | PR_kwDOC_bI7s5oOHFc | 8,544 | Set eval samples to 1 only for float limit_val_batches | {
"login": "athitten",
"id": 47577437,
"node_id": "MDQ6VXNlcjQ3NTc3NDM3",
"avatar_url": "https://avatars.githubusercontent.com/u/47577437?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/athitten",
"html_url": "https://github.com/athitten",
"followers_url": "https://api.github.com/users/athitten/followers",
"following_url": "https://api.github.com/users/athitten/following{/other_user}",
"gists_url": "https://api.github.com/users/athitten/gists{/gist_id}",
"starred_url": "https://api.github.com/users/athitten/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/athitten/subscriptions",
"organizations_url": "https://api.github.com/users/athitten/orgs",
"repos_url": "https://api.github.com/users/athitten/repos",
"events_url": "https://api.github.com/users/athitten/events{/privacy}",
"received_events_url": "https://api.github.com/users/athitten/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"id": 4811886210,
"node_id": "LA_kwDOC_bI7s8AAAABHs-Ogg",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/NLP",
"name": "NLP",
"color": "CBF09A",
"default": false,
"description": ""
},
{
"id": 4840216855,
"node_id": "LA_kwDOC_bI7s8AAAABIH_ZFw",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/CI",
"name": "CI",
"color": "1D76DB",
"default": false,
"description": ""
}
] | closed | false | null | [] | null | [
"jenkins",
"jenkins",
"jenkins",
"jenkins"
] | 2024-02-28T21:06:39 | 2024-02-29T06:30:55 | 2024-02-29T06:30:54 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/8544",
"html_url": "https://github.com/NVIDIA/NeMo/pull/8544",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/8544.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/8544.patch",
"merged_at": "2024-02-29T06:30:54"
} | # What does this PR do ?
Add a one line overview of what this PR aims to accomplish.
**Collection**: [Note which collection this PR will affect]
# Changelog
- Add specific line by line info of high level changes in this PR.
# Usage
* You can potentially add a usage example below
```python
# Add a code snippet demonstrating how to use this
```
# Jenkins CI
To run Jenkins, a NeMo User with write access must comment `jenkins` on the PR.
# Before your PR is "Ready for review"
**Pre checks**:
- [ ] Make sure you read and followed [Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md)
- [ ] Did you write any new necessary tests?
- [ ] Did you add or update any necessary documentation?
- [ ] Does the PR affect components that are optional to install? (Ex: Numba, Pynini, Apex etc)
- [ ] Reviewer: Does the PR have correct import guards for all optional libraries?
**PR Type**:
- [ ] New Feature
- [ ] Bugfix
- [ ] Documentation
If you haven't finished some of the above items you can still open "Draft" PR.
## Who can review?
Anyone in the community is free to review the PR once the checks have passed.
[Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md) contains specific people who can review PRs to various areas.
# Additional Information
* Related to # (issue)
| {
"login": "athitten",
"id": 47577437,
"node_id": "MDQ6VXNlcjQ3NTc3NDM3",
"avatar_url": "https://avatars.githubusercontent.com/u/47577437?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/athitten",
"html_url": "https://github.com/athitten",
"followers_url": "https://api.github.com/users/athitten/followers",
"following_url": "https://api.github.com/users/athitten/following{/other_user}",
"gists_url": "https://api.github.com/users/athitten/gists{/gist_id}",
"starred_url": "https://api.github.com/users/athitten/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/athitten/subscriptions",
"organizations_url": "https://api.github.com/users/athitten/orgs",
"repos_url": "https://api.github.com/users/athitten/repos",
"events_url": "https://api.github.com/users/athitten/events{/privacy}",
"received_events_url": "https://api.github.com/users/athitten/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/8544/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/8544/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/8543 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/8543/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/8543/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/8543/events | https://github.com/NVIDIA/NeMo/pull/8543 | 2,159,551,676 | PR_kwDOC_bI7s5oNA_L | 8,543 | Update convert_nemo_llama_to_hf.py example parameters | {
"login": "NickBusey",
"id": 280825,
"node_id": "MDQ6VXNlcjI4MDgyNQ==",
"avatar_url": "https://avatars.githubusercontent.com/u/280825?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/NickBusey",
"html_url": "https://github.com/NickBusey",
"followers_url": "https://api.github.com/users/NickBusey/followers",
"following_url": "https://api.github.com/users/NickBusey/following{/other_user}",
"gists_url": "https://api.github.com/users/NickBusey/gists{/gist_id}",
"starred_url": "https://api.github.com/users/NickBusey/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/NickBusey/subscriptions",
"organizations_url": "https://api.github.com/users/NickBusey/orgs",
"repos_url": "https://api.github.com/users/NickBusey/repos",
"events_url": "https://api.github.com/users/NickBusey/events{/privacy}",
"received_events_url": "https://api.github.com/users/NickBusey/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"id": 4585431311,
"node_id": "LA_kwDOC_bI7s8AAAABEVAhDw",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/stale",
"name": "stale",
"color": "ededed",
"default": false,
"description": null
}
] | closed | false | null | [] | null | [
"This PR is stale because it has been open for 14 days with no activity. Remove stale label or comment or update or this will be closed in 7 days.",
"This PR was closed because it has been inactive for 7 days since being marked as stale."
] | 2024-02-28T18:14:32 | 2024-03-21T01:44:10 | 2024-03-21T01:44:09 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/8543",
"html_url": "https://github.com/NVIDIA/NeMo/pull/8543",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/8543.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/8543.patch",
"merged_at": null
} | # What does this PR do ?
Fix the example command for convert_nemo_llama_to_hf.py
**Collection**: [Note which collection this PR will affect]
# Changelog
- Add specific line by line info of high level changes in this PR.
# Usage
* You can potentially add a usage example below
```python
# Add a code snippet demonstrating how to use this
```
# Jenkins CI
To run Jenkins, a NeMo User with write access must comment `jenkins` on the PR.
# Before your PR is "Ready for review"
**Pre checks**:
- [ ] Make sure you read and followed [Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md)
- [ ] Did you write any new necessary tests?
- [ ] Did you add or update any necessary documentation?
- [ ] Does the PR affect components that are optional to install? (Ex: Numba, Pynini, Apex etc)
- [ ] Reviewer: Does the PR have correct import guards for all optional libraries?
**PR Type**:
- [ ] New Feature
- [ ] Bugfix
- [x] Documentation
If you haven't finished some of the above items you can still open "Draft" PR.
## Who can review?
Anyone in the community is free to review the PR once the checks have passed.
[Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md) contains specific people who can review PRs to various areas.
# Additional Information
* Related to # (issue)
| {
"login": "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/8543/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/8543/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/8542 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/8542/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/8542/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/8542/events | https://github.com/NVIDIA/NeMo/pull/8542 | 2,159,547,341 | PR_kwDOC_bI7s5oNAAV | 8,542 | Additional rST Fixes for NeMo Content | {
"login": "aschilling-nv",
"id": 85314306,
"node_id": "MDQ6VXNlcjg1MzE0MzA2",
"avatar_url": "https://avatars.githubusercontent.com/u/85314306?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/aschilling-nv",
"html_url": "https://github.com/aschilling-nv",
"followers_url": "https://api.github.com/users/aschilling-nv/followers",
"following_url": "https://api.github.com/users/aschilling-nv/following{/other_user}",
"gists_url": "https://api.github.com/users/aschilling-nv/gists{/gist_id}",
"starred_url": "https://api.github.com/users/aschilling-nv/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/aschilling-nv/subscriptions",
"organizations_url": "https://api.github.com/users/aschilling-nv/orgs",
"repos_url": "https://api.github.com/users/aschilling-nv/repos",
"events_url": "https://api.github.com/users/aschilling-nv/events{/privacy}",
"received_events_url": "https://api.github.com/users/aschilling-nv/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | [] | 2024-02-28T18:12:52 | 2024-02-28T20:47:48 | 2024-02-28T20:47:48 | CONTRIBUTOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/8542",
"html_url": "https://github.com/NVIDIA/NeMo/pull/8542",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/8542.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/8542.patch",
"merged_at": "2024-02-28T20:47:48"
} | # What does this PR do ?
Add a one line overview of what this PR aims to accomplish.
rST fixes to help resolve erros and warnings when pulling from the submodule in NeMo Framework repo_docs repo.
**Collection**: [Note which collection this PR will affect]
# Changelog
- Corrected multiple rST issues across the docs folder inorder to fix build issues.
# Usage
* You can potentially add a usage example below
```python
# Add a code snippet demonstrating how to use this
```
# Jenkins CI
To run Jenkins, a NeMo User with write access must comment `jenkins` on the PR.
# Before your PR is "Ready for review"
**Pre checks**:
- [ ] Make sure you read and followed [Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md)
- [ ] Did you write any new necessary tests?
- [ ] Did you add or update any necessary documentation?
- [ ] Does the PR affect components that are optional to install? (Ex: Numba, Pynini, Apex etc)
- [ ] Reviewer: Does the PR have correct import guards for all optional libraries?
**PR Type**:
- [ ] New Feature
- [ ] Bugfix
- [ X] Documentation
If you haven't finished some of the above items you can still open "Draft" PR.
## Who can review?
Anyone in the community is free to review the PR once the checks have passed.
[Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md) contains specific people who can review PRs to various areas.
# Additional Information
* Related to # (issue)
| {
"login": "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/8542/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/8542/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/8541 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/8541/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/8541/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/8541/events | https://github.com/NVIDIA/NeMo/pull/8541 | 2,159,309,130 | PR_kwDOC_bI7s5oMMOd | 8,541 | hybrid-TDT-CTC model inference fix | {
"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
} | [
{
"id": 4811884691,
"node_id": "LA_kwDOC_bI7s8AAAABHs-Ikw",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/ASR",
"name": "ASR",
"color": "F3B33E",
"default": false,
"description": ""
}
] | closed | false | null | [] | null | [
"jenkins",
"jenkins"
] | 2024-02-28T16:06:03 | 2024-03-01T14:09:41 | 2024-03-01T14:09:41 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/8541",
"html_url": "https://github.com/NVIDIA/NeMo/pull/8541",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/8541.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/8541.patch",
"merged_at": "2024-03-01T14:09:41"
} | # What does this PR do ?
Add a one line overview of what this PR aims to accomplish.
fix the bug where hybrid TDT CTC model uses incorrect decoding class for inference.
**Collection**: [Note which collection this PR will affect]
ASR
# Changelog
# Usage
n/a
# Jenkins CI
To run Jenkins, a NeMo User with write access must comment `jenkins` on the PR.
# Before your PR is "Ready for review"
**Pre checks**:
- [x] Make sure you read and followed [Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md)
- [ ] Did you write any new necessary tests?
- [ ] 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": "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/8541/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/8541/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/8539 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/8539/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/8539/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/8539/events | https://github.com/NVIDIA/NeMo/pull/8539 | 2,158,065,566 | PR_kwDOC_bI7s5oH7t2 | 8,539 | Update readme | {
"login": "ericharper",
"id": 11999610,
"node_id": "MDQ6VXNlcjExOTk5NjEw",
"avatar_url": "https://avatars.githubusercontent.com/u/11999610?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ericharper",
"html_url": "https://github.com/ericharper",
"followers_url": "https://api.github.com/users/ericharper/followers",
"following_url": "https://api.github.com/users/ericharper/following{/other_user}",
"gists_url": "https://api.github.com/users/ericharper/gists{/gist_id}",
"starred_url": "https://api.github.com/users/ericharper/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ericharper/subscriptions",
"organizations_url": "https://api.github.com/users/ericharper/orgs",
"repos_url": "https://api.github.com/users/ericharper/repos",
"events_url": "https://api.github.com/users/ericharper/events{/privacy}",
"received_events_url": "https://api.github.com/users/ericharper/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"id": 4585431311,
"node_id": "LA_kwDOC_bI7s8AAAABEVAhDw",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/stale",
"name": "stale",
"color": "ededed",
"default": false,
"description": null
}
] | closed | false | null | [] | null | [
"This PR is stale because it has been open for 14 days with no activity. Remove stale label or comment or update or this will be closed in 7 days.",
"This PR was closed because it has been inactive for 7 days since being marked as stale."
] | 2024-02-28T04:19:42 | 2024-06-19T21:50:59 | 2024-03-21T01:44:11 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/8539",
"html_url": "https://github.com/NVIDIA/NeMo/pull/8539",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/8539.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/8539.patch",
"merged_at": null
} | # What does this PR do ?
Iterating on README update for generative ai.
TODO: add key features back to readme instead of linking to them
**Collection**: [Note which collection this PR will affect]
# Changelog
- Add specific line by line info of high level changes in this PR.
# Usage
* You can potentially add a usage example below
```python
# Add a code snippet demonstrating how to use this
```
# Jenkins CI
To run Jenkins, a NeMo User with write access must comment `jenkins` on the PR.
# Before your PR is "Ready for review"
**Pre checks**:
- [ ] Make sure you read and followed [Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md)
- [ ] Did you write any new necessary tests?
- [ ] Did you add or update any necessary documentation?
- [ ] Does the PR affect components that are optional to install? (Ex: Numba, Pynini, Apex etc)
- [ ] Reviewer: Does the PR have correct import guards for all optional libraries?
**PR Type**:
- [ ] New Feature
- [ ] Bugfix
- [ ] Documentation
If you haven't finished some of the above items you can still open "Draft" PR.
## Who can review?
Anyone in the community is free to review the PR once the checks have passed.
[Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md) contains specific people who can review PRs to various areas.
# Additional Information
* Related to # (issue)
| {
"login": "github-actions[bot]",
"id": 41898282,
"node_id": "MDM6Qm90NDE4OTgyODI=",
"avatar_url": "https://avatars.githubusercontent.com/in/15368?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/github-actions%5Bbot%5D",
"html_url": "https://github.com/apps/github-actions",
"followers_url": "https://api.github.com/users/github-actions%5Bbot%5D/followers",
"following_url": "https://api.github.com/users/github-actions%5Bbot%5D/following{/other_user}",
"gists_url": "https://api.github.com/users/github-actions%5Bbot%5D/gists{/gist_id}",
"starred_url": "https://api.github.com/users/github-actions%5Bbot%5D/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/github-actions%5Bbot%5D/subscriptions",
"organizations_url": "https://api.github.com/users/github-actions%5Bbot%5D/orgs",
"repos_url": "https://api.github.com/users/github-actions%5Bbot%5D/repos",
"events_url": "https://api.github.com/users/github-actions%5Bbot%5D/events{/privacy}",
"received_events_url": "https://api.github.com/users/github-actions%5Bbot%5D/received_events",
"type": "Bot",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/8539/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/8539/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/8538 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/8538/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/8538/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/8538/events | https://github.com/NVIDIA/NeMo/pull/8538 | 2,157,840,604 | PR_kwDOC_bI7s5oHM6e | 8,538 | peft eval with ckpt | {
"login": "HeyyyyyyG",
"id": 49757268,
"node_id": "MDQ6VXNlcjQ5NzU3MjY4",
"avatar_url": "https://avatars.githubusercontent.com/u/49757268?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/HeyyyyyyG",
"html_url": "https://github.com/HeyyyyyyG",
"followers_url": "https://api.github.com/users/HeyyyyyyG/followers",
"following_url": "https://api.github.com/users/HeyyyyyyG/following{/other_user}",
"gists_url": "https://api.github.com/users/HeyyyyyyG/gists{/gist_id}",
"starred_url": "https://api.github.com/users/HeyyyyyyG/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/HeyyyyyyG/subscriptions",
"organizations_url": "https://api.github.com/users/HeyyyyyyG/orgs",
"repos_url": "https://api.github.com/users/HeyyyyyyG/repos",
"events_url": "https://api.github.com/users/HeyyyyyyG/events{/privacy}",
"received_events_url": "https://api.github.com/users/HeyyyyyyG/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"id": 4811886210,
"node_id": "LA_kwDOC_bI7s8AAAABHs-Ogg",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/NLP",
"name": "NLP",
"color": "CBF09A",
"default": false,
"description": ""
},
{
"id": 4840216855,
"node_id": "LA_kwDOC_bI7s8AAAABIH_ZFw",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/CI",
"name": "CI",
"color": "1D76DB",
"default": false,
"description": ""
}
] | closed | false | null | [] | null | [
"jenkins",
"jenkins"
] | 2024-02-28T00:20:06 | 2024-02-29T22:05:30 | 2024-02-29T22:05:29 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/8538",
"html_url": "https://github.com/NVIDIA/NeMo/pull/8538",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/8538.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/8538.patch",
"merged_at": "2024-02-29T22:05:29"
} | # What does this PR do ?
PEFT inference using .ckpt files
# Changelog
- Add specific line by line info of high level changes in this PR.
# Usage
* You can potentially add a usage example below
```python
# Add a code snippet demonstrating how to use this
```
# Jenkins CI
To run Jenkins, a NeMo User with write access must comment `jenkins` on the PR.
# Before your PR is "Ready for review"
**Pre checks**:
- [ ] Make sure you read and followed [Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md)
- [ ] Did you write any new necessary tests?
- [ ] Did you add or update any necessary documentation?
- [ ] Does the PR affect components that are optional to install? (Ex: Numba, Pynini, Apex etc)
- [ ] Reviewer: Does the PR have correct import guards for all optional libraries?
**PR Type**:
- [ ] New Feature
- [ ] Bugfix
- [ ] Documentation
If you haven't finished some of the above items you can still open "Draft" PR.
## Who can review?
Anyone in the community is free to review the PR once the checks have passed.
[Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md) contains specific people who can review PRs to various areas.
# Additional Information
* Related to # (issue)
| {
"login": "HeyyyyyyG",
"id": 49757268,
"node_id": "MDQ6VXNlcjQ5NzU3MjY4",
"avatar_url": "https://avatars.githubusercontent.com/u/49757268?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/HeyyyyyyG",
"html_url": "https://github.com/HeyyyyyyG",
"followers_url": "https://api.github.com/users/HeyyyyyyG/followers",
"following_url": "https://api.github.com/users/HeyyyyyyG/following{/other_user}",
"gists_url": "https://api.github.com/users/HeyyyyyyG/gists{/gist_id}",
"starred_url": "https://api.github.com/users/HeyyyyyyG/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/HeyyyyyyG/subscriptions",
"organizations_url": "https://api.github.com/users/HeyyyyyyG/orgs",
"repos_url": "https://api.github.com/users/HeyyyyyyG/repos",
"events_url": "https://api.github.com/users/HeyyyyyyG/events{/privacy}",
"received_events_url": "https://api.github.com/users/HeyyyyyyG/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/8538/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 1,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/8538/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/8537 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/8537/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/8537/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/8537/events | https://github.com/NVIDIA/NeMo/issues/8537 | 2,157,816,538 | I_kwDOC_bI7s6Anara | 8,537 | canary-1b not proccessing json files correctly | {
"login": "LaiWeiQuan",
"id": 64315006,
"node_id": "MDQ6VXNlcjY0MzE1MDA2",
"avatar_url": "https://avatars.githubusercontent.com/u/64315006?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/LaiWeiQuan",
"html_url": "https://github.com/LaiWeiQuan",
"followers_url": "https://api.github.com/users/LaiWeiQuan/followers",
"following_url": "https://api.github.com/users/LaiWeiQuan/following{/other_user}",
"gists_url": "https://api.github.com/users/LaiWeiQuan/gists{/gist_id}",
"starred_url": "https://api.github.com/users/LaiWeiQuan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/LaiWeiQuan/subscriptions",
"organizations_url": "https://api.github.com/users/LaiWeiQuan/orgs",
"repos_url": "https://api.github.com/users/LaiWeiQuan/repos",
"events_url": "https://api.github.com/users/LaiWeiQuan/events{/privacy}",
"received_events_url": "https://api.github.com/users/LaiWeiQuan/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"id": 1485815557,
"node_id": "MDU6TGFiZWwxNDg1ODE1NTU3",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": "Something isn't working"
},
{
"id": 4585431311,
"node_id": "LA_kwDOC_bI7s8AAAABEVAhDw",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/stale",
"name": "stale",
"color": "ededed",
"default": false,
"description": null
}
] | closed | false | {
"login": "krishnacpuvvada",
"id": 93558329,
"node_id": "U_kgDOBZOWOQ",
"avatar_url": "https://avatars.githubusercontent.com/u/93558329?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/krishnacpuvvada",
"html_url": "https://github.com/krishnacpuvvada",
"followers_url": "https://api.github.com/users/krishnacpuvvada/followers",
"following_url": "https://api.github.com/users/krishnacpuvvada/following{/other_user}",
"gists_url": "https://api.github.com/users/krishnacpuvvada/gists{/gist_id}",
"starred_url": "https://api.github.com/users/krishnacpuvvada/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/krishnacpuvvada/subscriptions",
"organizations_url": "https://api.github.com/users/krishnacpuvvada/orgs",
"repos_url": "https://api.github.com/users/krishnacpuvvada/repos",
"events_url": "https://api.github.com/users/krishnacpuvvada/events{/privacy}",
"received_events_url": "https://api.github.com/users/krishnacpuvvada/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"login": "krishnacpuvvada",
"id": 93558329,
"node_id": "U_kgDOBZOWOQ",
"avatar_url": "https://avatars.githubusercontent.com/u/93558329?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/krishnacpuvvada",
"html_url": "https://github.com/krishnacpuvvada",
"followers_url": "https://api.github.com/users/krishnacpuvvada/followers",
"following_url": "https://api.github.com/users/krishnacpuvvada/following{/other_user}",
"gists_url": "https://api.github.com/users/krishnacpuvvada/gists{/gist_id}",
"starred_url": "https://api.github.com/users/krishnacpuvvada/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/krishnacpuvvada/subscriptions",
"organizations_url": "https://api.github.com/users/krishnacpuvvada/orgs",
"repos_url": "https://api.github.com/users/krishnacpuvvada/repos",
"events_url": "https://api.github.com/users/krishnacpuvvada/events{/privacy}",
"received_events_url": "https://api.github.com/users/krishnacpuvvada/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
}
] | null | [
"Hmm can you try to see if you remove trailing new line in your manifest file, and also try to see if removing the json indent helps ?",
"@titu1994 I am experiencing much the same issue on my end. I tried as such and had no luck. I get the same JSON error as the one posted above. \r\nwhen doing as suggested by removing the JSON indent and trailing lines. I get the following error:\r\n\"json.decoder.JSONDecodeError: Expecting property name enclosed in double quotes: line 1 column 171 (char 170)\"\r\n\r\nWhen directly fixing the JSON errors, I end up with this error that suggests it expects the JSON to have an 'answer' key somewhere?!? : \r\n\r\n\"-packages/nemo/collections/common/data/lhotse/nemo_adapters.py\", line 84, in __iter__\r\n text=data[self.text_field],\r\nKeyError: 'answer'\r\nTranscribing: 0it [00:00, ?it/s]\"\r\n\r\nI want to run ASR, so expecting an 'answer' key is wonky. \r\n\r\n",
"\r\n> text=data[self.text_field],\r\n> KeyError: 'answer'\r\n\r\nto fix this, please modify the input lines file to add 'answer' field. \r\n```\r\n{\r\n \"audio_filepath\": \"PathRemovedDueToPersonalName\", \r\n \"duration\": 30.0, \r\n \"taskname\": \"asr\", \r\n \"source_lang\": \"en\", \r\n \"target_lang\": \"en\", \r\n \"pnc\": 'yes', \r\n \"answer\": 'na',\r\n}\r\n```\r\nalso, we recently updated `.transcribe` signature, so if you are using main branch \r\n\r\n> transcript = canary_model.transcribe(paths2audio_files=\"/home/pjstimac/NvidiaCanaryTest/transcribe_manifest.json\", batch_size=16)\r\n\r\nshould be updated to \r\n```transcript = canary_model.transcribe(audio=\"/home/pjstimac/NvidiaCanaryTest/transcribe_manifest.json\", batch_size=16)```\r\n\r\n",
"@krishnacpuvvada No luck, unfortunately. Tried that exact format(with JSON & JSONL) with the updated transcript variable. Yields this error\r\n \" \r\n return func(*args, **kwargs)\r\nTypeError: EncDecMultiTaskModel.transcribe() got an unexpected keyword argument 'audio\r\n'\"\r\n ",
"> return func(*args, **kwargs)\r\n> TypeError: EncDecMultiTaskModel.transcribe() got an unexpected keyword argument 'audio\r\n\r\ncan you verify that you are working with main branch of NeMo? the argument was updated from `paths2audio_files` to `audio` from r1.23 to main branch. \r\n\r\nAlso as a sanity check, can you try the following on main branch\r\n\r\n`trascript = canary_model.trascribe(audio=['path_to_file.wav']) # assuming path_to_file.wav is english audio. `\r\n",
"@krishnacpuvvada I'll double-check and update again when I'm home. But I was following the Nvidia tutorial and git-cloning the repo just last night, so I'm assuming it's the latest as of yesterday evening. \r\n\r\nThe good news is I finally got basic inference working with three lines of code, and forgoing the JSON/JSONL manifest. \r\n\r\n\" \r\nimport nemo.collections.asr as nemo_asr\r\nnemoasr_model = nemo_asr.models.EncDecCTCModelBPE.from_pretrained(\"nvidia/canary-1b\")\r\nnemoasr_model.transcribe(['AudioClipDirectly.wav'])\r\n\r\n\"\r\n\r\nTo accomplish the transcription of a directory of audio clips, I wrote some Python code that loops through the directory and outputs the transcription results as JSON for my local model comparison app.",
"You can use this high level script to do inference with Canary as well - https://github.com/NVIDIA/NeMo/blob/main/examples/asr/transcribe_speech.py\r\n\r\n",
"@titu1994 I did try that as well per the Nvidia NeMo tutorial. Leading to the same exact issues I was running into elsewhere. ",
"This issue is stale because it has been open for 30 days with no activity. Remove stale label or comment or this will be closed in 7 days.",
"This issue was closed because it has been inactive for 7 days since being marked as stale."
] | 2024-02-27T23:57:23 | 2024-04-23T01:45:13 | 2024-04-23T01:45:13 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | **Describe the bug**
This bug occurs when I try to use the canary-1b model, it is not processing the json file correctly
**Steps/Code to reproduce bug**
This is my code
```
from nemo.collections.asr.models import EncDecMultiTaskModel
# load model
canary_model = EncDecMultiTaskModel.from_pretrained('nvidia/canary-1b')
predicted_text = canary_model.transcribe(
"transcribe_manifest.json",
batch_size=16, # batch size to run the inference with
)
```
transcribe_manifest.json
```
{
"audio_filepath": "/home/bot/roarai/rag/scraper/Scrape_vid/transcibe_manifest.json",
"duration": 40.0,
"taskname": "asr",
"source_lang": "en",
"target_lang": "en",
"pnc": "yes"
}
```
Error
```
[NeMo I 2024-02-27 15:52:11 nemo_logging:381] PADDING: 0
[NeMo I 2024-02-27 15:52:15 nemo_logging:381] Model EncDecMultiTaskModel was successfully restored from /home/bot/.cache/huggingface/hub/models--nvidia--canary-1b/snapshots/5113160c7a3e52a7e5de1d904810d7aeabe6135b/canary-1b.nemo.
Traceback (most recent call last):
File "/home/bot/roarai/rag/scraper/Scrape_vid/canary.py", line 12, in <module>
predicted_text = canary_model.transcribe(
^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/bot/anaconda3/envs/rag/lib/python3.11/site-packages/torch/utils/_contextlib.py", line 115, in decorate_context
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/home/bot/anaconda3/envs/rag/lib/python3.11/site-packages/nemo/collections/asr/models/aed_multitask_models.py", line 406, in transcribe
audio = manifest_utils.read_manifest(manifest_path)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/bot/anaconda3/envs/rag/lib/python3.11/site-packages/nemo/collections/asr/parts/utils/manifest_utils.py", line 480, in read_manifest
item = json.loads(line)
^^^^^^^^^^^^^^^^
File "/home/bot/anaconda3/envs/rag/lib/python3.11/json/__init__.py", line 346, in loads
return _default_decoder.decode(s)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/bot/anaconda3/envs/rag/lib/python3.11/json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/bot/anaconda3/envs/rag/lib/python3.11/json/decoder.py", line 353, in raw_decode
obj, end = self.scan_once(s, idx)
^^^^^^^^^^^^^^^^^^^^^^
json.decoder.JSONDecodeError: Expecting property name enclosed in double quotes: line 2 column 1 (char 2)
```
| {
"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/8537/reactions",
"total_count": 2,
"+1": 2,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/8537/timeline | null | not_planned | false |
https://api.github.com/repos/NVIDIA/NeMo/issues/8536 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/8536/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/8536/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/8536/events | https://github.com/NVIDIA/NeMo/pull/8536 | 2,157,680,519 | PR_kwDOC_bI7s5oGqq9 | 8,536 | Fix AccessMixin | {
"login": "stevehuang52",
"id": 105218074,
"node_id": "U_kgDOBkWAGg",
"avatar_url": "https://avatars.githubusercontent.com/u/105218074?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stevehuang52",
"html_url": "https://github.com/stevehuang52",
"followers_url": "https://api.github.com/users/stevehuang52/followers",
"following_url": "https://api.github.com/users/stevehuang52/following{/other_user}",
"gists_url": "https://api.github.com/users/stevehuang52/gists{/gist_id}",
"starred_url": "https://api.github.com/users/stevehuang52/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/stevehuang52/subscriptions",
"organizations_url": "https://api.github.com/users/stevehuang52/orgs",
"repos_url": "https://api.github.com/users/stevehuang52/repos",
"events_url": "https://api.github.com/users/stevehuang52/events{/privacy}",
"received_events_url": "https://api.github.com/users/stevehuang52/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"id": 1923495043,
"node_id": "MDU6TGFiZWwxOTIzNDk1MDQz",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/core",
"name": "core",
"color": "f25e3a",
"default": false,
"description": "Changes to NeMo Core"
},
{
"id": 4811884691,
"node_id": "LA_kwDOC_bI7s8AAAABHs-Ikw",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/ASR",
"name": "ASR",
"color": "F3B33E",
"default": false,
"description": ""
}
] | closed | false | null | [] | null | [
"jenkins",
"jenkins",
"jenkins",
"jenkins",
"jenkins",
"@ericharper could you please take a look at this PR?"
] | 2024-02-27T21:59:25 | 2024-02-28T21:52:52 | 2024-02-28T21:52:51 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/8536",
"html_url": "https://github.com/NVIDIA/NeMo/pull/8536",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/8536.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/8536.patch",
"merged_at": "2024-02-28T21:52:51"
} | # What does this PR do ?
Fix AccessMixin by using the `model_guid` inside `ModelPT`, such that different models don't overwrite each other's access config when calling `AccesssMixin.set_access_cfg()`, `AccesssMixin.update_access_cfg()` and etc.
**Collection**: [asr,core]
**PR Type**:
- [ ] New Feature
- [x] Bugfix
- [ ] Documentation
# Additional Information
* Related to #8494
| {
"login": "stevehuang52",
"id": 105218074,
"node_id": "U_kgDOBkWAGg",
"avatar_url": "https://avatars.githubusercontent.com/u/105218074?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stevehuang52",
"html_url": "https://github.com/stevehuang52",
"followers_url": "https://api.github.com/users/stevehuang52/followers",
"following_url": "https://api.github.com/users/stevehuang52/following{/other_user}",
"gists_url": "https://api.github.com/users/stevehuang52/gists{/gist_id}",
"starred_url": "https://api.github.com/users/stevehuang52/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/stevehuang52/subscriptions",
"organizations_url": "https://api.github.com/users/stevehuang52/orgs",
"repos_url": "https://api.github.com/users/stevehuang52/repos",
"events_url": "https://api.github.com/users/stevehuang52/events{/privacy}",
"received_events_url": "https://api.github.com/users/stevehuang52/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/8536/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/8536/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/8535 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/8535/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/8535/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/8535/events | https://github.com/NVIDIA/NeMo/pull/8535 | 2,157,661,906 | PR_kwDOC_bI7s5oGmkN | 8,535 | rST Fixes for Developer Docs | {
"login": "aschilling-nv",
"id": 85314306,
"node_id": "MDQ6VXNlcjg1MzE0MzA2",
"avatar_url": "https://avatars.githubusercontent.com/u/85314306?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/aschilling-nv",
"html_url": "https://github.com/aschilling-nv",
"followers_url": "https://api.github.com/users/aschilling-nv/followers",
"following_url": "https://api.github.com/users/aschilling-nv/following{/other_user}",
"gists_url": "https://api.github.com/users/aschilling-nv/gists{/gist_id}",
"starred_url": "https://api.github.com/users/aschilling-nv/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/aschilling-nv/subscriptions",
"organizations_url": "https://api.github.com/users/aschilling-nv/orgs",
"repos_url": "https://api.github.com/users/aschilling-nv/repos",
"events_url": "https://api.github.com/users/aschilling-nv/events{/privacy}",
"received_events_url": "https://api.github.com/users/aschilling-nv/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": 4811886210,
"node_id": "LA_kwDOC_bI7s8AAAABHs-Ogg",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/NLP",
"name": "NLP",
"color": "CBF09A",
"default": false,
"description": ""
}
] | closed | false | null | [] | null | [] | 2024-02-27T21:46:42 | 2024-02-28T03:44:15 | 2024-02-28T03:44:15 | CONTRIBUTOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/8535",
"html_url": "https://github.com/NVIDIA/NeMo/pull/8535",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/8535.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/8535.patch",
"merged_at": "2024-02-28T03:44:15"
} | # What does this PR do ?
Add a one line overview of what this PR aims to accomplish.
rST fixes to help resolve erros and warnings when pulling from the submodule in NeMo Framework repo_docs repo.
**Collection**: [Note which collection this PR will affect]
# Changelog
- Corrected multiple rST issues across the docs folder inorder to fix build issues.
# Usage
* You can potentially add a usage example below
```python
# Add a code snippet demonstrating how to use this
```
# Jenkins CI
To run Jenkins, a NeMo User with write access must comment `jenkins` on the PR.
# Before your PR is "Ready for review"
**Pre checks**:
- [ ] Make sure you read and followed [Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md)
- [ ] Did you write any new necessary tests?
- [ ] Did you add or update any necessary documentation?
- [ ] Does the PR affect components that are optional to install? (Ex: Numba, Pynini, Apex etc)
- [ ] Reviewer: Does the PR have correct import guards for all optional libraries?
**PR Type**:
- [ ] New Feature
- [ ] Bugfix
- [ X] Documentation
If you haven't finished some of the above items you can still open "Draft" PR.
## Who can review?
Anyone in the community is free to review the PR once the checks have passed.
[Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md) contains specific people who can review PRs to various areas.
# Additional Information
* Related to # (issue)
| {
"login": "ericharper",
"id": 11999610,
"node_id": "MDQ6VXNlcjExOTk5NjEw",
"avatar_url": "https://avatars.githubusercontent.com/u/11999610?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ericharper",
"html_url": "https://github.com/ericharper",
"followers_url": "https://api.github.com/users/ericharper/followers",
"following_url": "https://api.github.com/users/ericharper/following{/other_user}",
"gists_url": "https://api.github.com/users/ericharper/gists{/gist_id}",
"starred_url": "https://api.github.com/users/ericharper/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ericharper/subscriptions",
"organizations_url": "https://api.github.com/users/ericharper/orgs",
"repos_url": "https://api.github.com/users/ericharper/repos",
"events_url": "https://api.github.com/users/ericharper/events{/privacy}",
"received_events_url": "https://api.github.com/users/ericharper/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/8535/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/8535/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/8534 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/8534/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/8534/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/8534/events | https://github.com/NVIDIA/NeMo/pull/8534 | 2,157,514,045 | PR_kwDOC_bI7s5oGGZ5 | 8,534 | Fix failing lhotse tests due to randomness | {
"login": "pzelasko",
"id": 15930688,
"node_id": "MDQ6VXNlcjE1OTMwNjg4",
"avatar_url": "https://avatars.githubusercontent.com/u/15930688?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/pzelasko",
"html_url": "https://github.com/pzelasko",
"followers_url": "https://api.github.com/users/pzelasko/followers",
"following_url": "https://api.github.com/users/pzelasko/following{/other_user}",
"gists_url": "https://api.github.com/users/pzelasko/gists{/gist_id}",
"starred_url": "https://api.github.com/users/pzelasko/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/pzelasko/subscriptions",
"organizations_url": "https://api.github.com/users/pzelasko/orgs",
"repos_url": "https://api.github.com/users/pzelasko/repos",
"events_url": "https://api.github.com/users/pzelasko/events{/privacy}",
"received_events_url": "https://api.github.com/users/pzelasko/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"id": 4847373924,
"node_id": "LA_kwDOC_bI7s8AAAABIO0OZA",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/common",
"name": "common",
"color": "c5def5",
"default": false,
"description": ""
}
] | closed | false | null | [] | null | [
"jenkins",
"jenkins"
] | 2024-02-27T20:07:07 | 2024-02-28T20:57:38 | 2024-02-28T20:57:37 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/8534",
"html_url": "https://github.com/NVIDIA/NeMo/pull/8534",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/8534.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/8534.patch",
"merged_at": "2024-02-28T20:57:37"
} | # What does this PR do ?
Fix failing lhotse tests due to randomness
**Collection**: ASR
# Changelog
- Fix failing lhotse tests due to randomness
# Usage
* You can potentially add a usage example below
```python
# Add a code snippet demonstrating how to use this
```
# Jenkins CI
To run Jenkins, a NeMo User with write access must comment `jenkins` on the PR.
# Before your PR is "Ready for review"
**Pre checks**:
- [ ] Make sure you read and followed [Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md)
- [ ] Did you write any new necessary tests?
- [ ] Did you add or update any necessary documentation?
- [ ] Does the PR affect components that are optional to install? (Ex: Numba, Pynini, Apex etc)
- [ ] Reviewer: Does the PR have correct import guards for all optional libraries?
**PR Type**:
- [ ] New Feature
- [x] Bugfix
- [ ] Documentation
If you haven't finished some of the above items you can still open "Draft" PR.
## Who can review?
Anyone in the community is free to review the PR once the checks have passed.
[Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md) contains specific people who can review PRs to various areas.
# Additional Information
* Related to # (issue)
| {
"login": "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/8534/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/8534/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/8533 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/8533/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/8533/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/8533/events | https://github.com/NVIDIA/NeMo/pull/8533 | 2,157,423,875 | PR_kwDOC_bI7s5oFyWC | 8,533 | Update data prep notebook | {
"login": "github-actions[bot]",
"id": 41898282,
"node_id": "MDM6Qm90NDE4OTgyODI=",
"avatar_url": "https://avatars.githubusercontent.com/in/15368?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/github-actions%5Bbot%5D",
"html_url": "https://github.com/apps/github-actions",
"followers_url": "https://api.github.com/users/github-actions%5Bbot%5D/followers",
"following_url": "https://api.github.com/users/github-actions%5Bbot%5D/following{/other_user}",
"gists_url": "https://api.github.com/users/github-actions%5Bbot%5D/gists{/gist_id}",
"starred_url": "https://api.github.com/users/github-actions%5Bbot%5D/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/github-actions%5Bbot%5D/subscriptions",
"organizations_url": "https://api.github.com/users/github-actions%5Bbot%5D/orgs",
"repos_url": "https://api.github.com/users/github-actions%5Bbot%5D/repos",
"events_url": "https://api.github.com/users/github-actions%5Bbot%5D/events{/privacy}",
"received_events_url": "https://api.github.com/users/github-actions%5Bbot%5D/received_events",
"type": "Bot",
"user_view_type": "public",
"site_admin": false
} | [
{
"id": 4556669155,
"node_id": "LA_kwDOC_bI7s8AAAABD5lA4w",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/cherry-pick",
"name": "cherry-pick",
"color": "ededed",
"default": false,
"description": null
}
] | closed | false | null | [] | null | [] | 2024-02-27T19:15:25 | 2024-02-27T19:32:27 | 2024-02-27T19:32:26 | CONTRIBUTOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/8533",
"html_url": "https://github.com/NVIDIA/NeMo/pull/8533",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/8533.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/8533.patch",
"merged_at": "2024-02-27T19:32:26"
} | # What does this PR do ?
Fix multimodal data prep tutorial
**Collection**: [Note which collection this PR will affect]
# Changelog
- Add specific line by line info of high level changes in this PR.
# Usage
* You can potentially add a usage example below
```python
# Add a code snippet demonstrating how to use this
```
# Jenkins CI
To run Jenkins, a NeMo User with write access must comment `jenkins` on the PR.
# Before your PR is "Ready for review"
**Pre checks**:
- [ ] Make sure you read and followed [Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md)
- [ ] Did you write any new necessary tests?
- [ ] Did you add or update any necessary documentation?
- [ ] Does the PR affect components that are optional to install? (Ex: Numba, Pynini, Apex etc)
- [ ] Reviewer: Does the PR have correct import guards for all optional libraries?
**PR Type**:
- [ ] New Feature
- [x] Bugfix
- [ ] 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/8533/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/8533/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/8532 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/8532/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/8532/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/8532/events | https://github.com/NVIDIA/NeMo/pull/8532 | 2,157,405,613 | PR_kwDOC_bI7s5oFuMR | 8,532 | Update data prep notebook | {
"login": "Victor49152",
"id": 111467530,
"node_id": "U_kgDOBqTcCg",
"avatar_url": "https://avatars.githubusercontent.com/u/111467530?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Victor49152",
"html_url": "https://github.com/Victor49152",
"followers_url": "https://api.github.com/users/Victor49152/followers",
"following_url": "https://api.github.com/users/Victor49152/following{/other_user}",
"gists_url": "https://api.github.com/users/Victor49152/gists{/gist_id}",
"starred_url": "https://api.github.com/users/Victor49152/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Victor49152/subscriptions",
"organizations_url": "https://api.github.com/users/Victor49152/orgs",
"repos_url": "https://api.github.com/users/Victor49152/repos",
"events_url": "https://api.github.com/users/Victor49152/events{/privacy}",
"received_events_url": "https://api.github.com/users/Victor49152/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | [
"jenkins"
] | 2024-02-27T19:07:10 | 2024-02-27T19:15:02 | 2024-02-27T19:15:01 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/8532",
"html_url": "https://github.com/NVIDIA/NeMo/pull/8532",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/8532.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/8532.patch",
"merged_at": "2024-02-27T19:15:01"
} | # What does this PR do ?
Fix multimodal data prep tutorial
**Collection**: [Note which collection this PR will affect]
# Changelog
- Add specific line by line info of high level changes in this PR.
# Usage
* You can potentially add a usage example below
```python
# Add a code snippet demonstrating how to use this
```
# Jenkins CI
To run Jenkins, a NeMo User with write access must comment `jenkins` on the PR.
# Before your PR is "Ready for review"
**Pre checks**:
- [ ] Make sure you read and followed [Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md)
- [ ] Did you write any new necessary tests?
- [ ] Did you add or update any necessary documentation?
- [ ] Does the PR affect components that are optional to install? (Ex: Numba, Pynini, Apex etc)
- [ ] Reviewer: Does the PR have correct import guards for all optional libraries?
**PR Type**:
- [ ] New Feature
- [x] Bugfix
- [ ] 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/8532/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/8532/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/8531 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/8531/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/8531/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/8531/events | https://github.com/NVIDIA/NeMo/pull/8531 | 2,157,291,879 | PR_kwDOC_bI7s5oFVCK | 8,531 | Cuda graphs + loop labels RNN-T and TDT greedy decoding | {
"login": "artbataev",
"id": 9380560,
"node_id": "MDQ6VXNlcjkzODA1NjA=",
"avatar_url": "https://avatars.githubusercontent.com/u/9380560?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/artbataev",
"html_url": "https://github.com/artbataev",
"followers_url": "https://api.github.com/users/artbataev/followers",
"following_url": "https://api.github.com/users/artbataev/following{/other_user}",
"gists_url": "https://api.github.com/users/artbataev/gists{/gist_id}",
"starred_url": "https://api.github.com/users/artbataev/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/artbataev/subscriptions",
"organizations_url": "https://api.github.com/users/artbataev/orgs",
"repos_url": "https://api.github.com/users/artbataev/repos",
"events_url": "https://api.github.com/users/artbataev/events{/privacy}",
"received_events_url": "https://api.github.com/users/artbataev/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"id": 1923495043,
"node_id": "MDU6TGFiZWwxOTIzNDk1MDQz",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/core",
"name": "core",
"color": "f25e3a",
"default": false,
"description": "Changes to NeMo Core"
},
{
"id": 4811884691,
"node_id": "LA_kwDOC_bI7s8AAAABHs-Ikw",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/ASR",
"name": "ASR",
"color": "F3B33E",
"default": false,
"description": ""
}
] | closed | false | null | [] | null | [
"jenkins",
"jenkins",
"jenkins",
"jenkins",
"jenkins"
] | 2024-02-27T18:00:32 | 2024-04-04T16:53:05 | 2024-04-04T16:52:58 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/8531",
"html_url": "https://github.com/NVIDIA/NeMo/pull/8531",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/8531.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/8531.patch",
"merged_at": "2024-04-04T16:52:58"
} | # 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 "CUDA graphs" implementation to label looping algorithm for greedy decoding (RNN-T and TDT)
# Usage
```shell
python examples/asr/speech_to_text_eval.py \
pretrained_name=stt_en_fastconformer_transducer_large \
dataset_manifest=test_other.json \
batch_size=16 \
output_filename=test_other_decoded.jsonl \
amp=true \
amp_dtype=bfloat16 \
rnnt_decoding.greedy.loop_labels=true \
rnnt_decoding.greedy.use_cuda_graph_decoder=true
```
# Jenkins CI
To run Jenkins, a NeMo User with write access must comment `jenkins` on the PR.
# Before your PR is "Ready for review"
**Pre checks**:
- [x] Make sure you read and followed [Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md)
- [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": "artbataev",
"id": 9380560,
"node_id": "MDQ6VXNlcjkzODA1NjA=",
"avatar_url": "https://avatars.githubusercontent.com/u/9380560?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/artbataev",
"html_url": "https://github.com/artbataev",
"followers_url": "https://api.github.com/users/artbataev/followers",
"following_url": "https://api.github.com/users/artbataev/following{/other_user}",
"gists_url": "https://api.github.com/users/artbataev/gists{/gist_id}",
"starred_url": "https://api.github.com/users/artbataev/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/artbataev/subscriptions",
"organizations_url": "https://api.github.com/users/artbataev/orgs",
"repos_url": "https://api.github.com/users/artbataev/repos",
"events_url": "https://api.github.com/users/artbataev/events{/privacy}",
"received_events_url": "https://api.github.com/users/artbataev/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/8531/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/8531/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/8530 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/8530/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/8530/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/8530/events | https://github.com/NVIDIA/NeMo/pull/8530 | 2,157,171,227 | PR_kwDOC_bI7s5oE6Ed | 8,530 | SC2 Conversion scripts | {
"login": "suiyoubi",
"id": 22045332,
"node_id": "MDQ6VXNlcjIyMDQ1MzMy",
"avatar_url": "https://avatars.githubusercontent.com/u/22045332?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/suiyoubi",
"html_url": "https://github.com/suiyoubi",
"followers_url": "https://api.github.com/users/suiyoubi/followers",
"following_url": "https://api.github.com/users/suiyoubi/following{/other_user}",
"gists_url": "https://api.github.com/users/suiyoubi/gists{/gist_id}",
"starred_url": "https://api.github.com/users/suiyoubi/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/suiyoubi/subscriptions",
"organizations_url": "https://api.github.com/users/suiyoubi/orgs",
"repos_url": "https://api.github.com/users/suiyoubi/repos",
"events_url": "https://api.github.com/users/suiyoubi/events{/privacy}",
"received_events_url": "https://api.github.com/users/suiyoubi/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"id": 4811886210,
"node_id": "LA_kwDOC_bI7s8AAAABHs-Ogg",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/NLP",
"name": "NLP",
"color": "CBF09A",
"default": false,
"description": ""
}
] | closed | false | null | [] | null | [
"This PR is stale because it has been open for 14 days with no activity. Remove stale label or comment or update or this will be closed in 7 days.",
"jenkins"
] | 2024-02-27T17:03:04 | 2024-03-21T16:39:35 | 2024-03-21T16:39:34 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/8530",
"html_url": "https://github.com/NVIDIA/NeMo/pull/8530",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/8530.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/8530.patch",
"merged_at": "2024-03-21T16:39:34"
} | # What does this PR do ?
Add SC2 conversion script between .nemo and HF format in both ways.
Add model config for SC2 with comments for all 3 variant.
**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": "yaoyu-33",
"id": 54727607,
"node_id": "MDQ6VXNlcjU0NzI3NjA3",
"avatar_url": "https://avatars.githubusercontent.com/u/54727607?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yaoyu-33",
"html_url": "https://github.com/yaoyu-33",
"followers_url": "https://api.github.com/users/yaoyu-33/followers",
"following_url": "https://api.github.com/users/yaoyu-33/following{/other_user}",
"gists_url": "https://api.github.com/users/yaoyu-33/gists{/gist_id}",
"starred_url": "https://api.github.com/users/yaoyu-33/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/yaoyu-33/subscriptions",
"organizations_url": "https://api.github.com/users/yaoyu-33/orgs",
"repos_url": "https://api.github.com/users/yaoyu-33/repos",
"events_url": "https://api.github.com/users/yaoyu-33/events{/privacy}",
"received_events_url": "https://api.github.com/users/yaoyu-33/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/8530/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/8530/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/8529 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/8529/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/8529/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/8529/events | https://github.com/NVIDIA/NeMo/pull/8529 | 2,156,806,823 | PR_kwDOC_bI7s5oDoPy | 8,529 | Option to control matmul precision in transcribe speech | {
"login": "pzelasko",
"id": 15930688,
"node_id": "MDQ6VXNlcjE1OTMwNjg4",
"avatar_url": "https://avatars.githubusercontent.com/u/15930688?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/pzelasko",
"html_url": "https://github.com/pzelasko",
"followers_url": "https://api.github.com/users/pzelasko/followers",
"following_url": "https://api.github.com/users/pzelasko/following{/other_user}",
"gists_url": "https://api.github.com/users/pzelasko/gists{/gist_id}",
"starred_url": "https://api.github.com/users/pzelasko/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/pzelasko/subscriptions",
"organizations_url": "https://api.github.com/users/pzelasko/orgs",
"repos_url": "https://api.github.com/users/pzelasko/repos",
"events_url": "https://api.github.com/users/pzelasko/events{/privacy}",
"received_events_url": "https://api.github.com/users/pzelasko/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"id": 4811884691,
"node_id": "LA_kwDOC_bI7s8AAAABHs-Ikw",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/ASR",
"name": "ASR",
"color": "F3B33E",
"default": false,
"description": ""
}
] | closed | false | null | [] | null | [
"jenkins"
] | 2024-02-27T14:56:05 | 2024-02-27T16:23:54 | 2024-02-27T16:10:57 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/8529",
"html_url": "https://github.com/NVIDIA/NeMo/pull/8529",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/8529.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/8529.patch",
"merged_at": "2024-02-27T16:10:57"
} | # What does this PR do ?
We're adding an option to control matmul precision in transcribe speech and chunked infer scripts.
By setting it to `medium` or `high` we achieve **about 2x speedup** in transcription with Canary, without impact on WER (to be confirmed on larger scale tests). Possibly other models can benefit from that setting as well, esp. if they were trained with bfloat16.
**Collection**: ASR
# Changelog
- Option to control matmul precision in transcribe speech
# Usage
```bash
python NeMo/examples/asr/transcribe_speech.py \
dataset_manifest=input.json \
output_filename=output.json \
batch_size=32 \
pretrained_name=nvidia/canary-1b \
gt_text_attr_name=answer \
matmul_precision=medium
```
# Jenkins CI
To run Jenkins, a NeMo User with write access must comment `jenkins` on the PR.
# Before your PR is "Ready for review"
**Pre checks**:
- [ ] Make sure you read and followed [Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md)
- [ ] Did you write any new necessary tests?
- [ ] Did you add or update any necessary documentation?
- [ ] Does the PR affect components that are optional to install? (Ex: Numba, Pynini, Apex etc)
- [ ] Reviewer: Does the PR have correct import guards for all optional libraries?
**PR Type**:
- [x] New Feature
- [ ] Bugfix
- [ ] Documentation
If you haven't finished some of the above items you can still open "Draft" PR.
## Who can review?
Anyone in the community is free to review the PR once the checks have passed.
[Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md) contains specific people who can review PRs to various areas.
# Additional Information
* Related to # (issue)
| {
"login": "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/8529/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/8529/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/8528 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/8528/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/8528/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/8528/events | https://github.com/NVIDIA/NeMo/pull/8528 | 2,156,421,762 | PR_kwDOC_bI7s5oCTV3 | 8,528 | support chatglm2&3 | {
"login": "Agoniii",
"id": 18502794,
"node_id": "MDQ6VXNlcjE4NTAyNzk0",
"avatar_url": "https://avatars.githubusercontent.com/u/18502794?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Agoniii",
"html_url": "https://github.com/Agoniii",
"followers_url": "https://api.github.com/users/Agoniii/followers",
"following_url": "https://api.github.com/users/Agoniii/following{/other_user}",
"gists_url": "https://api.github.com/users/Agoniii/gists{/gist_id}",
"starred_url": "https://api.github.com/users/Agoniii/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Agoniii/subscriptions",
"organizations_url": "https://api.github.com/users/Agoniii/orgs",
"repos_url": "https://api.github.com/users/Agoniii/repos",
"events_url": "https://api.github.com/users/Agoniii/events{/privacy}",
"received_events_url": "https://api.github.com/users/Agoniii/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"id": 1923495043,
"node_id": "MDU6TGFiZWwxOTIzNDk1MDQz",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/core",
"name": "core",
"color": "f25e3a",
"default": false,
"description": "Changes to NeMo Core"
},
{
"id": 4418253970,
"node_id": "LA_kwDOC_bI7s8AAAABB1k0kg",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/TTS",
"name": "TTS",
"color": "49AF28",
"default": false,
"description": ""
},
{
"id": 4811884691,
"node_id": "LA_kwDOC_bI7s8AAAABHs-Ikw",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/ASR",
"name": "ASR",
"color": "F3B33E",
"default": false,
"description": ""
},
{
"id": 4811886210,
"node_id": "LA_kwDOC_bI7s8AAAABHs-Ogg",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/NLP",
"name": "NLP",
"color": "CBF09A",
"default": false,
"description": ""
},
{
"id": 4840216855,
"node_id": "LA_kwDOC_bI7s8AAAABIH_ZFw",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/CI",
"name": "CI",
"color": "1D76DB",
"default": false,
"description": ""
},
{
"id": 4847373924,
"node_id": "LA_kwDOC_bI7s8AAAABIO0OZA",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/common",
"name": "common",
"color": "c5def5",
"default": false,
"description": ""
},
{
"id": 6627254865,
"node_id": "LA_kwDOC_bI7s8AAAABiwPiUQ",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/Multi%20Modal",
"name": "Multi Modal",
"color": "ededed",
"default": false,
"description": null
}
] | closed | false | null | [] | null | [] | 2024-02-27T12:07:41 | 2024-04-11T05:04:24 | 2024-03-17T16:46:46 | CONTRIBUTOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/8528",
"html_url": "https://github.com/NVIDIA/NeMo/pull/8528",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/8528.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/8528.patch",
"merged_at": null
} | # What does this PR do ?
Support ChatGLM2&ChatGLM3
**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
### Model conversion from huggingface to nemo
```
python ./scripts/nlp_language_modeling/convert_hf_chatglm_to_nemo.py --in-file '/mount/data/chatglm3-6b' --out-file '/mount/nemo_models/chatglm3.nemo'
```
### Inference
```
python ./examples/nlp/language_modeling/megatron_gpt_eval.py \
--config-name=megatron_chatglm_inference \
gpt_model_file=${CHATGLM_NEMO_MODEL} \
trainer.devices=1 \
trainer.num_nodes=1 \
tensor_model_parallel_size=1 \
pipeline_model_parallel_size=1
```
### Pretrain
```
python3 -u examples/nlp/language_modeling/megatron_gpt_pretraining.py \
--config-name=megatron_chatglm_config \
trainer.devices=8 \
trainer.num_nodes=1 \
trainer.val_check_interval=100 \
trainer.precision=bf16 \
+model.data.data_prefix=${TRAIN_DS} \
trainer.max_steps=1000 \
trainer.max_epochs=1 \
model.megatron_amp_O2=True \
model.sequence_parallel=True \
model.tensor_model_parallel_size=2 \
model.pipeline_model_parallel_size=1 \
model.global_batch_size=128 \
model.micro_batch_size=1 \
model.override_vocab_size=65024 \
model.use_cpu_initialization=False
```
### SFT
```
python ./examples/nlp/language_modeling/tuning/megatron_gpt_sft.py \
trainer.devices=8 \
trainer.val_check_interval=200 \
model.restore_from_path=${CHATGLM_NEMO_MODEL} \
model.tensor_model_parallel_size=${TP_SIZE} \
model.pipeline_model_parallel_size=${PP_SIZE} \
model.answer_only_loss=True \
model.global_batch_size=128 \
model.micro_batch_size=1 \
model.data.train_ds.file_names=${TRAIN_DS} \
model.data.train_ds.concat_sampling_probabilities=[1.0] \
model.data.validation_ds.file_names=${VALID_DS} \
model.data.validation_ds.global_batch_size=128\
model.data.validation_ds.micro_batch_size=1 \
model.megatron_amp_O2=True \
exp_manager.exp_dir=exp \
exp_manager.name=chatglm_test \
trainer.precision=bf16
```
### PEFT
```
./examples/nlp/language_modeling/tuning/megatron_gpt_peft_tuning.py \
trainer.precision=bf16 \
trainer.devices=8 \
trainer.num_nodes=1 \
trainer.max_steps=200 \
trainer.val_check_interval=20 \
++trainer.limit_val_batches=10 \
trainer.gradient_clip_val=1.0 \
model.megatron_amp_O2=True \
++model.mcore_gpt=True \
model.restore_from_path=${nemo_model} \
model.peft.peft_scheme=${scheme} \
model.data.train_ds.file_names=["${TRAIN_DS}"] \
model.data.train_ds.concat_sampling_probabilities=[1.0] \
model.data.train_ds.label_key='output' \
model.data.train_ds.num_workers=0 \
model.data.validation_ds.file_names=["${VALID_DS}"] \
model.data.validation_ds.label_key='output' \
model.data.validation_ds.num_workers=0 \
model.tensor_model_parallel_size=${TP_SIZE} \
model.pipeline_model_parallel_size=${PP_SIZE} \
model.global_batch_size=${GBS} \
model.micro_batch_size=1
```
# Jenkins CI
To run Jenkins, a NeMo User with write access must comment `jenkins` on the PR.
# Before your PR is "Ready for review"
**Pre checks**:
- [ ] 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": "Agoniii",
"id": 18502794,
"node_id": "MDQ6VXNlcjE4NTAyNzk0",
"avatar_url": "https://avatars.githubusercontent.com/u/18502794?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Agoniii",
"html_url": "https://github.com/Agoniii",
"followers_url": "https://api.github.com/users/Agoniii/followers",
"following_url": "https://api.github.com/users/Agoniii/following{/other_user}",
"gists_url": "https://api.github.com/users/Agoniii/gists{/gist_id}",
"starred_url": "https://api.github.com/users/Agoniii/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Agoniii/subscriptions",
"organizations_url": "https://api.github.com/users/Agoniii/orgs",
"repos_url": "https://api.github.com/users/Agoniii/repos",
"events_url": "https://api.github.com/users/Agoniii/events{/privacy}",
"received_events_url": "https://api.github.com/users/Agoniii/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/8528/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/8528/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/8527 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/8527/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/8527/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/8527/events | https://github.com/NVIDIA/NeMo/pull/8527 | 2,156,389,449 | PR_kwDOC_bI7s5oCMRb | 8,527 | support chatglm2&3 | {
"login": "Agoniii",
"id": 18502794,
"node_id": "MDQ6VXNlcjE4NTAyNzk0",
"avatar_url": "https://avatars.githubusercontent.com/u/18502794?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Agoniii",
"html_url": "https://github.com/Agoniii",
"followers_url": "https://api.github.com/users/Agoniii/followers",
"following_url": "https://api.github.com/users/Agoniii/following{/other_user}",
"gists_url": "https://api.github.com/users/Agoniii/gists{/gist_id}",
"starred_url": "https://api.github.com/users/Agoniii/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Agoniii/subscriptions",
"organizations_url": "https://api.github.com/users/Agoniii/orgs",
"repos_url": "https://api.github.com/users/Agoniii/repos",
"events_url": "https://api.github.com/users/Agoniii/events{/privacy}",
"received_events_url": "https://api.github.com/users/Agoniii/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"id": 4811886210,
"node_id": "LA_kwDOC_bI7s8AAAABHs-Ogg",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/NLP",
"name": "NLP",
"color": "CBF09A",
"default": false,
"description": ""
},
{
"id": 4847373924,
"node_id": "LA_kwDOC_bI7s8AAAABIO0OZA",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/common",
"name": "common",
"color": "c5def5",
"default": false,
"description": ""
}
] | closed | false | null | [] | null | [] | 2024-02-27T11:49:44 | 2024-02-27T12:05:01 | 2024-02-27T11:55:35 | CONTRIBUTOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/8527",
"html_url": "https://github.com/NVIDIA/NeMo/pull/8527",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/8527.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/8527.patch",
"merged_at": null
} | # What does this PR do ?
Support ChatGLM2&ChatGLM3
**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
### Model conversion from huggingface to nemo
```
python ./scripts/nlp_language_modeling/convert_hf_chatglm_to_nemo.py --in-file '/mount/data/chatglm3-6b' --out-file '/mount/nemo_models/chatglm3.nemo'
```
### Inference
```
python ./examples/nlp/language_modeling/megatron_gpt_eval.py \
--config-name=megatron_chatglm_inference \
gpt_model_file=${CHATGLM_NEMO_MODEL} \
trainer.devices=1 \
trainer.num_nodes=1 \
tensor_model_parallel_size=1 \
pipeline_model_parallel_size=1
```
### Pretrain
```
python3 -u examples/nlp/language_modeling/megatron_gpt_pretraining.py \
--config-name=megatron_chatglm_config \
trainer.devices=8 \
trainer.num_nodes=1 \
trainer.val_check_interval=100 \
trainer.precision=bf16 \
+model.data.data_prefix=${TRAIN_DS} \
trainer.max_steps=1000 \
trainer.max_epochs=1 \
model.megatron_amp_O2=True \
model.sequence_parallel=True \
model.tensor_model_parallel_size=2 \
model.pipeline_model_parallel_size=1 \
model.global_batch_size=128 \
model.micro_batch_size=1 \
model.override_vocab_size=65024 \
model.use_cpu_initialization=False
```
### SFT
```
python ./examples/nlp/language_modeling/tuning/megatron_gpt_sft.py \
trainer.devices=8 \
trainer.val_check_interval=200 \
model.restore_from_path=${CHATGLM_NEMO_MODEL} \
model.tensor_model_parallel_size=${TP_SIZE} \
model.pipeline_model_parallel_size=${PP_SIZE} \
model.answer_only_loss=True \
model.global_batch_size=128 \
model.micro_batch_size=1 \
model.data.train_ds.file_names=${TRAIN_DS} \
model.data.train_ds.concat_sampling_probabilities=[1.0] \
model.data.validation_ds.file_names=${VALID_DS} \
model.data.validation_ds.global_batch_size=128\
model.data.validation_ds.micro_batch_size=1 \
model.megatron_amp_O2=True \
exp_manager.exp_dir=exp \
exp_manager.name=chatglm_test \
trainer.precision=bf16
```
### PEFT
```
./examples/nlp/language_modeling/tuning/megatron_gpt_peft_tuning.py \
trainer.precision=bf16 \
trainer.devices=8 \
trainer.num_nodes=1 \
trainer.max_steps=200 \
trainer.val_check_interval=20 \
++trainer.limit_val_batches=10 \
trainer.gradient_clip_val=1.0 \
model.megatron_amp_O2=True \
++model.mcore_gpt=True \
model.restore_from_path=${nemo_model} \
model.peft.peft_scheme=${scheme} \
model.data.train_ds.file_names=["${TRAIN_DS}"] \
model.data.train_ds.concat_sampling_probabilities=[1.0] \
model.data.train_ds.label_key='output' \
model.data.train_ds.num_workers=0 \
model.data.validation_ds.file_names=["${VALID_DS}"] \
model.data.validation_ds.label_key='output' \
model.data.validation_ds.num_workers=0 \
model.tensor_model_parallel_size=${TP_SIZE} \
model.pipeline_model_parallel_size=${PP_SIZE} \
model.global_batch_size=${GBS} \
model.micro_batch_size=1
```
# Jenkins CI
To run Jenkins, a NeMo User with write access must comment `jenkins` on the PR.
# Before your PR is "Ready for review"
**Pre checks**:
- [ ] 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": "Agoniii",
"id": 18502794,
"node_id": "MDQ6VXNlcjE4NTAyNzk0",
"avatar_url": "https://avatars.githubusercontent.com/u/18502794?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Agoniii",
"html_url": "https://github.com/Agoniii",
"followers_url": "https://api.github.com/users/Agoniii/followers",
"following_url": "https://api.github.com/users/Agoniii/following{/other_user}",
"gists_url": "https://api.github.com/users/Agoniii/gists{/gist_id}",
"starred_url": "https://api.github.com/users/Agoniii/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Agoniii/subscriptions",
"organizations_url": "https://api.github.com/users/Agoniii/orgs",
"repos_url": "https://api.github.com/users/Agoniii/repos",
"events_url": "https://api.github.com/users/Agoniii/events{/privacy}",
"received_events_url": "https://api.github.com/users/Agoniii/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/8527/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/8527/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/8526 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/8526/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/8526/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/8526/events | https://github.com/NVIDIA/NeMo/pull/8526 | 2,156,060,459 | PR_kwDOC_bI7s5oBDo3 | 8,526 | Add Kaiming uniform init for LoRA adapters | {
"login": "michal2409",
"id": 14821051,
"node_id": "MDQ6VXNlcjE0ODIxMDUx",
"avatar_url": "https://avatars.githubusercontent.com/u/14821051?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/michal2409",
"html_url": "https://github.com/michal2409",
"followers_url": "https://api.github.com/users/michal2409/followers",
"following_url": "https://api.github.com/users/michal2409/following{/other_user}",
"gists_url": "https://api.github.com/users/michal2409/gists{/gist_id}",
"starred_url": "https://api.github.com/users/michal2409/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/michal2409/subscriptions",
"organizations_url": "https://api.github.com/users/michal2409/orgs",
"repos_url": "https://api.github.com/users/michal2409/repos",
"events_url": "https://api.github.com/users/michal2409/events{/privacy}",
"received_events_url": "https://api.github.com/users/michal2409/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"id": 4811886210,
"node_id": "LA_kwDOC_bI7s8AAAABHs-Ogg",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/NLP",
"name": "NLP",
"color": "CBF09A",
"default": false,
"description": ""
}
] | closed | false | null | [] | null | [
"jenkins",
"jenkins",
"jenkins",
"jenkins",
"jenkins",
"jenkins"
] | 2024-02-27T09:11:56 | 2024-02-28T13:18:51 | 2024-02-28T13:18:50 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/8526",
"html_url": "https://github.com/NVIDIA/NeMo/pull/8526",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/8526.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/8526.patch",
"merged_at": "2024-02-28T13:18:50"
} | # What does this PR do ?
Add Kaiming uniform initialization for LoRA adapters
**Collection**: nlp
# Changelog
- Add specific line by line info of high level changes in this PR.
# Usage
* You can potentially add a usage example below
```python
# Add a code snippet demonstrating how to use this
```
# Jenkins CI
To run Jenkins, a NeMo User with write access must comment `jenkins` on the PR.
# Before your PR is "Ready for review"
**Pre checks**:
- [ ] Make sure you read and followed [Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md)
- [ ] Did you write any new necessary tests?
- [ ] Did you add or update any necessary documentation?
- [ ] Does the PR affect components that are optional to install? (Ex: Numba, Pynini, Apex etc)
- [ ] Reviewer: Does the PR have correct import guards for all optional libraries?
**PR Type**:
- [ ] New Feature
- [ ] Bugfix
- [ ] Documentation
If you haven't finished some of the above items you can still open "Draft" PR.
## Who can review?
Anyone in the community is free to review the PR once the checks have passed.
[Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md) contains specific people who can review PRs to various areas.
# Additional Information
* Related to # (issue)
| {
"login": "michal2409",
"id": 14821051,
"node_id": "MDQ6VXNlcjE0ODIxMDUx",
"avatar_url": "https://avatars.githubusercontent.com/u/14821051?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/michal2409",
"html_url": "https://github.com/michal2409",
"followers_url": "https://api.github.com/users/michal2409/followers",
"following_url": "https://api.github.com/users/michal2409/following{/other_user}",
"gists_url": "https://api.github.com/users/michal2409/gists{/gist_id}",
"starred_url": "https://api.github.com/users/michal2409/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/michal2409/subscriptions",
"organizations_url": "https://api.github.com/users/michal2409/orgs",
"repos_url": "https://api.github.com/users/michal2409/repos",
"events_url": "https://api.github.com/users/michal2409/events{/privacy}",
"received_events_url": "https://api.github.com/users/michal2409/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/8526/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/8526/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/8525 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/8525/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/8525/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/8525/events | https://github.com/NVIDIA/NeMo/pull/8525 | 2,155,661,989 | PR_kwDOC_bI7s5n_r5y | 8,525 | Formatting changes for new docs system | {
"login": "nealvaidya",
"id": 21976975,
"node_id": "MDQ6VXNlcjIxOTc2OTc1",
"avatar_url": "https://avatars.githubusercontent.com/u/21976975?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/nealvaidya",
"html_url": "https://github.com/nealvaidya",
"followers_url": "https://api.github.com/users/nealvaidya/followers",
"following_url": "https://api.github.com/users/nealvaidya/following{/other_user}",
"gists_url": "https://api.github.com/users/nealvaidya/gists{/gist_id}",
"starred_url": "https://api.github.com/users/nealvaidya/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/nealvaidya/subscriptions",
"organizations_url": "https://api.github.com/users/nealvaidya/orgs",
"repos_url": "https://api.github.com/users/nealvaidya/repos",
"events_url": "https://api.github.com/users/nealvaidya/events{/privacy}",
"received_events_url": "https://api.github.com/users/nealvaidya/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"id": 4811884691,
"node_id": "LA_kwDOC_bI7s8AAAABHs-Ikw",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/ASR",
"name": "ASR",
"color": "F3B33E",
"default": false,
"description": ""
}
] | closed | false | null | [] | null | [
"Sign your commit for passing DCO check"
] | 2024-02-27T05:03:25 | 2024-02-28T03:43:51 | 2024-02-28T03:43:51 | CONTRIBUTOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/8525",
"html_url": "https://github.com/NVIDIA/NeMo/pull/8525",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/8525.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/8525.patch",
"merged_at": "2024-02-28T03:43:51"
} | # What does this PR do ?
Formatting changes for new docs system
**Collection**: ASR
# Changelog
- Making changes to the .rst files and the python docstrings to make the repository compatible with the `repo_docs` documentation build system
# Jenkins CI
To run Jenkins, a NeMo User with write access must comment `jenkins` on the PR.
# Before your PR is "Ready for review"
**Pre checks**:
- [ ] Make sure you read and followed [Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md)
- [ ] Did you write any new necessary tests?
- [x] Did you add or update any necessary documentation?
- [ ] Does the PR affect components that are optional to install? (Ex: Numba, Pynini, Apex etc)
- [ ] Reviewer: Does the PR have correct import guards for all optional libraries?
**PR Type**:
- [ ] New Feature
- [ ] Bugfix
- [x] Documentation
If you haven't finished some of the above items you can still open "Draft" PR.
## Who can review?
Anyone in the community is free to review the PR once the checks have passed.
[Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md) contains specific people who can review PRs to various areas.
# Additional Information
* Related to # (issue)
| {
"login": "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/8525/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/8525/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/8524 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/8524/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/8524/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/8524/events | https://github.com/NVIDIA/NeMo/pull/8524 | 2,155,587,540 | PR_kwDOC_bI7s5n_b5C | 8,524 | Revert FP8 integration | {
"login": "github-actions[bot]",
"id": 41898282,
"node_id": "MDM6Qm90NDE4OTgyODI=",
"avatar_url": "https://avatars.githubusercontent.com/in/15368?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/github-actions%5Bbot%5D",
"html_url": "https://github.com/apps/github-actions",
"followers_url": "https://api.github.com/users/github-actions%5Bbot%5D/followers",
"following_url": "https://api.github.com/users/github-actions%5Bbot%5D/following{/other_user}",
"gists_url": "https://api.github.com/users/github-actions%5Bbot%5D/gists{/gist_id}",
"starred_url": "https://api.github.com/users/github-actions%5Bbot%5D/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/github-actions%5Bbot%5D/subscriptions",
"organizations_url": "https://api.github.com/users/github-actions%5Bbot%5D/orgs",
"repos_url": "https://api.github.com/users/github-actions%5Bbot%5D/repos",
"events_url": "https://api.github.com/users/github-actions%5Bbot%5D/events{/privacy}",
"received_events_url": "https://api.github.com/users/github-actions%5Bbot%5D/received_events",
"type": "Bot",
"user_view_type": "public",
"site_admin": false
} | [
{
"id": 4556669155,
"node_id": "LA_kwDOC_bI7s8AAAABD5lA4w",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/cherry-pick",
"name": "cherry-pick",
"color": "ededed",
"default": false,
"description": null
},
{
"id": 4811886210,
"node_id": "LA_kwDOC_bI7s8AAAABHs-Ogg",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/NLP",
"name": "NLP",
"color": "CBF09A",
"default": false,
"description": ""
}
] | closed | false | null | [] | null | [] | 2024-02-27T03:44:14 | 2024-02-27T17:03:06 | 2024-02-27T17:03:06 | CONTRIBUTOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/8524",
"html_url": "https://github.com/NVIDIA/NeMo/pull/8524",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/8524.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/8524.patch",
"merged_at": "2024-02-27T17:03:06"
} | # What does this PR do ?
Revert FP8 integration for compatibility with third party ckpts
**Collection**: [Note which collection this PR will affect]
# Changelog
- Add specific line by line info of high level changes in this PR.
# Usage
* You can potentially add a usage example below
```python
# Add a code snippet demonstrating how to use this
```
# Jenkins CI
To run Jenkins, a NeMo User with write access must comment `jenkins` on the PR.
# Before your PR is "Ready for review"
**Pre checks**:
- [x ] Make sure you read and followed [Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md)
- [x ] Did you write any new necessary tests?
- [x ] Did you add or update any necessary documentation?
- [ ] Does the PR affect components that are optional to install? (Ex: Numba, Pynini, Apex etc)
- [ ] Reviewer: Does the PR have correct import guards for all optional libraries?
**PR Type**:
- [ ] New Feature
- [x ] Bugfix
- [ ] Documentation
If you haven't finished some of the above items you can still open "Draft" PR.
## Who can review?
Anyone in the community is free to review the PR once the checks have passed.
[Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md) contains specific people who can review PRs to various areas.
# Additional Information
* Related to # (issue)
| {
"login": "ericharper",
"id": 11999610,
"node_id": "MDQ6VXNlcjExOTk5NjEw",
"avatar_url": "https://avatars.githubusercontent.com/u/11999610?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ericharper",
"html_url": "https://github.com/ericharper",
"followers_url": "https://api.github.com/users/ericharper/followers",
"following_url": "https://api.github.com/users/ericharper/following{/other_user}",
"gists_url": "https://api.github.com/users/ericharper/gists{/gist_id}",
"starred_url": "https://api.github.com/users/ericharper/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ericharper/subscriptions",
"organizations_url": "https://api.github.com/users/ericharper/orgs",
"repos_url": "https://api.github.com/users/ericharper/repos",
"events_url": "https://api.github.com/users/ericharper/events{/privacy}",
"received_events_url": "https://api.github.com/users/ericharper/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/8524/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/8524/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/8523 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/8523/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/8523/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/8523/events | https://github.com/NVIDIA/NeMo/pull/8523 | 2,155,475,427 | PR_kwDOC_bI7s5n_D_S | 8,523 | Add dep notice for notebooks | {
"login": "github-actions[bot]",
"id": 41898282,
"node_id": "MDM6Qm90NDE4OTgyODI=",
"avatar_url": "https://avatars.githubusercontent.com/in/15368?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/github-actions%5Bbot%5D",
"html_url": "https://github.com/apps/github-actions",
"followers_url": "https://api.github.com/users/github-actions%5Bbot%5D/followers",
"following_url": "https://api.github.com/users/github-actions%5Bbot%5D/following{/other_user}",
"gists_url": "https://api.github.com/users/github-actions%5Bbot%5D/gists{/gist_id}",
"starred_url": "https://api.github.com/users/github-actions%5Bbot%5D/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/github-actions%5Bbot%5D/subscriptions",
"organizations_url": "https://api.github.com/users/github-actions%5Bbot%5D/orgs",
"repos_url": "https://api.github.com/users/github-actions%5Bbot%5D/repos",
"events_url": "https://api.github.com/users/github-actions%5Bbot%5D/events{/privacy}",
"received_events_url": "https://api.github.com/users/github-actions%5Bbot%5D/received_events",
"type": "Bot",
"user_view_type": "public",
"site_admin": false
} | [
{
"id": 4556669155,
"node_id": "LA_kwDOC_bI7s8AAAABD5lA4w",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/cherry-pick",
"name": "cherry-pick",
"color": "ededed",
"default": false,
"description": null
},
{
"id": 4811884691,
"node_id": "LA_kwDOC_bI7s8AAAABHs-Ikw",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/ASR",
"name": "ASR",
"color": "F3B33E",
"default": false,
"description": ""
},
{
"id": 4811886210,
"node_id": "LA_kwDOC_bI7s8AAAABHs-Ogg",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/NLP",
"name": "NLP",
"color": "CBF09A",
"default": false,
"description": ""
}
] | closed | false | null | [] | null | [] | 2024-02-27T01:37:23 | 2024-02-27T01:39:57 | 2024-02-27T01:39:56 | CONTRIBUTOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/8523",
"html_url": "https://github.com/NVIDIA/NeMo/pull/8523",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/8523.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/8523.patch",
"merged_at": "2024-02-27T01:39:56"
} | # What does this PR do ?
Add a one line overview of what this PR aims to accomplish.
**Collection**: [Note which collection this PR will affect]
# Changelog
- Add specific line by line info of high level changes in this PR.
# Usage
* You can potentially add a usage example below
```python
# Add a code snippet demonstrating how to use this
```
# Jenkins CI
To run Jenkins, a NeMo User with write access must comment `jenkins` on the PR.
# Before your PR is "Ready for review"
**Pre checks**:
- [ ] Make sure you read and followed [Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md)
- [ ] Did you write any new necessary tests?
- [ ] Did you add or update any necessary documentation?
- [ ] Does the PR affect components that are optional to install? (Ex: Numba, Pynini, Apex etc)
- [ ] Reviewer: Does the PR have correct import guards for all optional libraries?
**PR Type**:
- [ ] New Feature
- [ ] Bugfix
- [ ] Documentation
If you haven't finished some of the above items you can still open "Draft" PR.
## Who can review?
Anyone in the community is free to review the PR once the checks have passed.
[Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md) contains specific people who can review PRs to various areas.
# Additional Information
* Related to # (issue)
| {
"login": "ericharper",
"id": 11999610,
"node_id": "MDQ6VXNlcjExOTk5NjEw",
"avatar_url": "https://avatars.githubusercontent.com/u/11999610?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ericharper",
"html_url": "https://github.com/ericharper",
"followers_url": "https://api.github.com/users/ericharper/followers",
"following_url": "https://api.github.com/users/ericharper/following{/other_user}",
"gists_url": "https://api.github.com/users/ericharper/gists{/gist_id}",
"starred_url": "https://api.github.com/users/ericharper/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ericharper/subscriptions",
"organizations_url": "https://api.github.com/users/ericharper/orgs",
"repos_url": "https://api.github.com/users/ericharper/repos",
"events_url": "https://api.github.com/users/ericharper/events{/privacy}",
"received_events_url": "https://api.github.com/users/ericharper/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/8523/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/8523/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/8522 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/8522/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/8522/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/8522/events | https://github.com/NVIDIA/NeMo/pull/8522 | 2,155,461,555 | PR_kwDOC_bI7s5n_BDE | 8,522 | Add dep notice for notebooks | {
"login": "ericharper",
"id": 11999610,
"node_id": "MDQ6VXNlcjExOTk5NjEw",
"avatar_url": "https://avatars.githubusercontent.com/u/11999610?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ericharper",
"html_url": "https://github.com/ericharper",
"followers_url": "https://api.github.com/users/ericharper/followers",
"following_url": "https://api.github.com/users/ericharper/following{/other_user}",
"gists_url": "https://api.github.com/users/ericharper/gists{/gist_id}",
"starred_url": "https://api.github.com/users/ericharper/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ericharper/subscriptions",
"organizations_url": "https://api.github.com/users/ericharper/orgs",
"repos_url": "https://api.github.com/users/ericharper/repos",
"events_url": "https://api.github.com/users/ericharper/events{/privacy}",
"received_events_url": "https://api.github.com/users/ericharper/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"id": 4811884691,
"node_id": "LA_kwDOC_bI7s8AAAABHs-Ikw",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/ASR",
"name": "ASR",
"color": "F3B33E",
"default": false,
"description": ""
},
{
"id": 4811886210,
"node_id": "LA_kwDOC_bI7s8AAAABHs-Ogg",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/NLP",
"name": "NLP",
"color": "CBF09A",
"default": false,
"description": ""
}
] | closed | false | null | [] | null | [] | 2024-02-27T01:21:25 | 2024-02-27T01:36:59 | 2024-02-27T01:36:58 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/8522",
"html_url": "https://github.com/NVIDIA/NeMo/pull/8522",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/8522.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/8522.patch",
"merged_at": "2024-02-27T01:36:58"
} | # What does this PR do ?
Add a one line overview of what this PR aims to accomplish.
**Collection**: [Note which collection this PR will affect]
# Changelog
- Add specific line by line info of high level changes in this PR.
# Usage
* You can potentially add a usage example below
```python
# Add a code snippet demonstrating how to use this
```
# Jenkins CI
To run Jenkins, a NeMo User with write access must comment `jenkins` on the PR.
# Before your PR is "Ready for review"
**Pre checks**:
- [ ] Make sure you read and followed [Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md)
- [ ] Did you write any new necessary tests?
- [ ] Did you add or update any necessary documentation?
- [ ] Does the PR affect components that are optional to install? (Ex: Numba, Pynini, Apex etc)
- [ ] Reviewer: Does the PR have correct import guards for all optional libraries?
**PR Type**:
- [ ] New Feature
- [ ] Bugfix
- [ ] Documentation
If you haven't finished some of the above items you can still open "Draft" PR.
## Who can review?
Anyone in the community is free to review the PR once the checks have passed.
[Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md) contains specific people who can review PRs to various areas.
# Additional Information
* Related to # (issue)
| {
"login": "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/8522/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/8522/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/8521 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/8521/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/8521/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/8521/events | https://github.com/NVIDIA/NeMo/pull/8521 | 2,155,426,856 | PR_kwDOC_bI7s5n-5m5 | 8,521 | Accelerate CTC greedy decoding by around 10% | {
"login": "galv",
"id": 4767568,
"node_id": "MDQ6VXNlcjQ3Njc1Njg=",
"avatar_url": "https://avatars.githubusercontent.com/u/4767568?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/galv",
"html_url": "https://github.com/galv",
"followers_url": "https://api.github.com/users/galv/followers",
"following_url": "https://api.github.com/users/galv/following{/other_user}",
"gists_url": "https://api.github.com/users/galv/gists{/gist_id}",
"starred_url": "https://api.github.com/users/galv/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/galv/subscriptions",
"organizations_url": "https://api.github.com/users/galv/orgs",
"repos_url": "https://api.github.com/users/galv/repos",
"events_url": "https://api.github.com/users/galv/events{/privacy}",
"received_events_url": "https://api.github.com/users/galv/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"id": 4811884691,
"node_id": "LA_kwDOC_bI7s8AAAABHs-Ikw",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/ASR",
"name": "ASR",
"color": "F3B33E",
"default": false,
"description": ""
}
] | closed | false | null | [] | null | [
"jenkins",
"@titu1994 FYI, I made a fix. I tested by simply running running\r\n\r\n```\r\npython examples/asr/speech_to_text_eval.py model_path=$HOME/.cache/huggingface/hub/models--nvidia--parakeet-ctc-1.1b/snapshots/085a3de63c7598065b072cd8f2182e6a5fa593eb/parakeet-ctc-1.1b.nemo dataset_manifest=/home/dgalvez/scratch/data/test_other.json batch_size=16 output_filename=test_other_decoded.jsonl amp=true amp_dtype=bfloat16 use_cer=false num_workers=1\r\n```\r\n\r\nwith and without \"CUDA_VISIBLE_DEVICES=\"\r\n\r\nBut the existing CTC test cases would have caught the error anyway if jenkins had run successfully, if jenkins had worked instead of getting stuck on fetching the git repo.\r\n\r\nI also double checked my throughput results. They are a little bit better than originally reported because of a dumb error on my part. We are going from 28.75 seconds (RTFx 676) to 25.5 seconds (RTFx 762) after warmup on librispeech test other. Which is a nice speedup.",
"jenkins",
"@titu1994 are you good with merging this? It doesn't break any existing behaviors and I've been using it myself for a while. This change helps make comparisons of speed for other models against CTC more valid becuase CTC is no longer artificially slowed down."
] | 2024-02-27T00:42:52 | 2024-03-07T20:45:49 | 2024-03-07T20:45:48 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/8521",
"html_url": "https://github.com/NVIDIA/NeMo/pull/8521",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/8521.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/8521.patch",
"merged_at": "2024-03-07T20:45:48"
} | # What does this PR do ?
Accelerate CTC greedy decoding by around 10x, speeding up overall CTC runtime for parakeet-ctc-1.1b by close to 10%.
**Collection**: ASR
# Changelog
There were a few problems with CTC greedy decoding before:
- It would copy GPU memory to pageable memory originally, which is very slow compared to copying to pinned memory. Unfortunately, cudaMallocHost() is synchronous and "slow", but fortunately pytorch has a free list of recent pinned memory allocations in its pinned memory allocator, allowing us to reduce the number of these calls. The cost of the memcpy before my change is excessive, taking ~20-40ms. After changing to use pinned memory, it takes only 2-4ms. This is the primary source of the 10x speedup. Note that doing the initial pinned memory allocations is slow (discussed later in this message).
<img width="789" alt="image" src="https://github.com/NVIDIA/NeMo/assets/4767568/11a1addd-b9a7-4060-84f7-712ea36062e3">
- A single scalar of logits_len/decoder_lengths was copied from GPU to CPU at a time, rather than all at once in a single call. This caused neddless overhead. We could also use a pinned memory allocation for copying logits_len as well, but using pinned memory is less important for small allocations. The original code's trace looks like this:
<img width="1061" alt="image" src="https://github.com/NVIDIA/NeMo/assets/4767568/9467224f-a1a0-492d-a4a5-9f3804e975ae"> Each red box followed by a green box is copying a single scalar value from GPU to CPU
- detatch() was called in function marked with @nograd
- For some reason, someone was using torch_tensor.numpy().tolist() instead of torch_tensor.tolist(). I don't believe numpy() makes a copy of the data, but it is unnecessary.
The main important improvements are the first two bullet points. Everything else is unimportant.
There are more opportunities for improvement. In particular, logits gets copied to cpu twice if trcfg.return_hypotheses is True. However, this overhead is now small since it will always just use the previous pinned host allocation from the free list.
Performance improvements:
I ran this code on an A100 GPU, on a machine with 16 CPU cores:
```
python examples/asr/speech_to_text_eval.py \
pretrained_name=nvidia/parakeet-ctc-1.1b \
dataset_manifest=/home/dgalvez/scratch/data/test_other.json \
batch_size=16 output_filename=test_other_decoded.jsonl amp=true \
amp_dtype=bfloat16 use_cer=false num_workers=1
```
I applied this diff to run multiple times:
```
modified examples/asr/transcribe_speech.py
@@ -367,14 +367,19 @@ def main(cfg: TranscriptionConfig) -> Union[TranscriptionConfig, List[Hypothesis
decoder_type=cfg.decoder_type,
)
else:
- transcriptions = asr_model.transcribe(
- audio=filepaths,
- batch_size=cfg.batch_size,
- num_workers=cfg.num_workers,
- return_hypotheses=cfg.return_hypotheses,
- channel_selector=cfg.channel_selector,
- augmentor=augmentor,
- )
+ for i in range(5):
+ if i == 1:
+ torch.cuda.cudart().cudaProfilerStart()
+ transcriptions = asr_model.transcribe(
+ audio=filepaths,
+ batch_size=cfg.batch_size,
+ num_workers=cfg.num_workers,
+ return_hypotheses=cfg.return_hypotheses,
+ channel_selector=cfg.channel_selector,
+ augmentor=augmentor,
+ )
+ if i == 1:
+ torch.cuda.cudart().cudaProfilerStop()
if cfg.dataset_manifest is not None:
logging.info(f"Finished transcribing from manifest file: {cfg.dataset_manifest}")
```
Time to do each of 5 evaluations of librispeech test other before my changes:
32 seconds
28
29
29
29
Average: 29.4 seconds
Average excluding first (warmup): 28.75 seconds
Time to do each of 5 evaluations of librispeech test other after my changes:
30 seconds
26
26
25
25
Average: 26.4 seconds
Average excluding first (warmup): 25.5 seconds
This corresponds to an almost 10% speedup. This meets expectations, since 10% of the time was originally spent on CTC greedy decoding before.
P99 latency can increase for the first few calls to the model with this change. This is because we are now calling cudaMallocHost(), and then doing a pinned memory copy from GPU to CPU, which is slower than doing a paged memory copy from GPU to CPU. However, the cudaMallocHost() calls will be cached over time, allowing us to avoid the overhead of them in later evaluations of the dataset. The expense of a cudaMallocHost() (or cudaHostAlloc()) call can be seen here:
<img width="921" alt="image" src="https://github.com/NVIDIA/NeMo/assets/4767568/fd7fd4bc-833d-43ba-9226-959ebb7c9ee6">
# Usage
See above
# Jenkins CI
To run Jenkins, a NeMo User with write access must comment `jenkins` on the PR.
# Before your PR is "Ready for review"
**Pre checks**:
- [X] Make sure you read and followed [Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md)
- [X] Did you write any new necessary tests?
- [X] Did you add or update any necessary documentation?
- [ ] Does the PR affect components that are optional to install? (Ex: Numba, Pynini, Apex etc)
- [ ] Reviewer: Does the PR have correct import guards for all optional libraries?
**PR Type**:
- [x] New Feature
- [ ] Bugfix
- [ ] Documentation
If you haven't finished some of the above items you can still open "Draft" PR.
| {
"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/8521/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/8521/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/8520 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/8520/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/8520/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/8520/events | https://github.com/NVIDIA/NeMo/pull/8520 | 2,155,421,530 | PR_kwDOC_bI7s5n-4cN | 8,520 | Revert FP8 integration | {
"login": "Victor49152",
"id": 111467530,
"node_id": "U_kgDOBqTcCg",
"avatar_url": "https://avatars.githubusercontent.com/u/111467530?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Victor49152",
"html_url": "https://github.com/Victor49152",
"followers_url": "https://api.github.com/users/Victor49152/followers",
"following_url": "https://api.github.com/users/Victor49152/following{/other_user}",
"gists_url": "https://api.github.com/users/Victor49152/gists{/gist_id}",
"starred_url": "https://api.github.com/users/Victor49152/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Victor49152/subscriptions",
"organizations_url": "https://api.github.com/users/Victor49152/orgs",
"repos_url": "https://api.github.com/users/Victor49152/repos",
"events_url": "https://api.github.com/users/Victor49152/events{/privacy}",
"received_events_url": "https://api.github.com/users/Victor49152/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"id": 4811886210,
"node_id": "LA_kwDOC_bI7s8AAAABHs-Ogg",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/NLP",
"name": "NLP",
"color": "CBF09A",
"default": false,
"description": ""
}
] | closed | false | null | [] | null | [
"jenkins",
"jenkins",
"jenkins"
] | 2024-02-27T00:37:45 | 2024-02-27T03:43:44 | 2024-02-27T03:43:43 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/8520",
"html_url": "https://github.com/NVIDIA/NeMo/pull/8520",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/8520.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/8520.patch",
"merged_at": "2024-02-27T03:43:43"
} | # What does this PR do ?
Revert FP8 integration for compatibility with third party ckpts
**Collection**: [Note which collection this PR will affect]
# Changelog
- Add specific line by line info of high level changes in this PR.
# Usage
* You can potentially add a usage example below
```python
# Add a code snippet demonstrating how to use this
```
# Jenkins CI
To run Jenkins, a NeMo User with write access must comment `jenkins` on the PR.
# Before your PR is "Ready for review"
**Pre checks**:
- [x ] Make sure you read and followed [Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md)
- [x ] Did you write any new necessary tests?
- [x ] Did you add or update any necessary documentation?
- [ ] Does the PR affect components that are optional to install? (Ex: Numba, Pynini, Apex etc)
- [ ] Reviewer: Does the PR have correct import guards for all optional libraries?
**PR Type**:
- [ ] New Feature
- [x ] Bugfix
- [ ] Documentation
If you haven't finished some of the above items you can still open "Draft" PR.
## Who can review?
Anyone in the community is free to review the PR once the checks have passed.
[Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md) contains specific people who can review PRs to various areas.
# Additional Information
* Related to # (issue)
| {
"login": "ericharper",
"id": 11999610,
"node_id": "MDQ6VXNlcjExOTk5NjEw",
"avatar_url": "https://avatars.githubusercontent.com/u/11999610?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ericharper",
"html_url": "https://github.com/ericharper",
"followers_url": "https://api.github.com/users/ericharper/followers",
"following_url": "https://api.github.com/users/ericharper/following{/other_user}",
"gists_url": "https://api.github.com/users/ericharper/gists{/gist_id}",
"starred_url": "https://api.github.com/users/ericharper/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ericharper/subscriptions",
"organizations_url": "https://api.github.com/users/ericharper/orgs",
"repos_url": "https://api.github.com/users/ericharper/repos",
"events_url": "https://api.github.com/users/ericharper/events{/privacy}",
"received_events_url": "https://api.github.com/users/ericharper/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/8520/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/8520/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/8519 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/8519/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/8519/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/8519/events | https://github.com/NVIDIA/NeMo/pull/8519 | 2,155,389,626 | PR_kwDOC_bI7s5n-xmi | 8,519 | Fix Ptuning O2 | {
"login": "cuichenx",
"id": 43478052,
"node_id": "MDQ6VXNlcjQzNDc4MDUy",
"avatar_url": "https://avatars.githubusercontent.com/u/43478052?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/cuichenx",
"html_url": "https://github.com/cuichenx",
"followers_url": "https://api.github.com/users/cuichenx/followers",
"following_url": "https://api.github.com/users/cuichenx/following{/other_user}",
"gists_url": "https://api.github.com/users/cuichenx/gists{/gist_id}",
"starred_url": "https://api.github.com/users/cuichenx/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cuichenx/subscriptions",
"organizations_url": "https://api.github.com/users/cuichenx/orgs",
"repos_url": "https://api.github.com/users/cuichenx/repos",
"events_url": "https://api.github.com/users/cuichenx/events{/privacy}",
"received_events_url": "https://api.github.com/users/cuichenx/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"id": 4811886210,
"node_id": "LA_kwDOC_bI7s8AAAABHs-Ogg",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/NLP",
"name": "NLP",
"color": "CBF09A",
"default": false,
"description": ""
}
] | closed | false | null | [] | null | [
"jenkins",
"more proper fix is included in #8000 so closing this"
] | 2024-02-27T00:04:46 | 2024-02-29T17:53:40 | 2024-02-29T17:53:40 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/8519",
"html_url": "https://github.com/NVIDIA/NeMo/pull/8519",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/8519.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/8519.patch",
"merged_at": null
} | # What does this PR do ?
Fix a bug where ptuning training with O2 would not save buffers like `inference_table` to the checkpoint, which leads to errors during model evaluation.
**Collection**: NLP
# Changelog
- Add specific line by line info of high level changes in this PR.
# Usage
* You can potentially add a usage example below
```python
# Add a code snippet demonstrating how to use this
```
# Jenkins CI
To run Jenkins, a NeMo User with write access must comment `jenkins` on the PR.
# Before your PR is "Ready for review"
**Pre checks**:
- [ ] Make sure you read and followed [Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md)
- [ ] Did you write any new necessary tests?
- [ ] Did you add or update any necessary documentation?
- [ ] Does the PR affect components that are optional to install? (Ex: Numba, Pynini, Apex etc)
- [ ] Reviewer: Does the PR have correct import guards for all optional libraries?
**PR Type**:
- [ ] New Feature
- [x] Bugfix
- [ ] Documentation
If you haven't finished some of the above items you can still open "Draft" PR.
## Who can review?
Anyone in the community is free to review the PR once the checks have passed.
[Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md) contains specific people who can review PRs to various areas.
# Additional Information
* Related to # (issue)
| {
"login": "cuichenx",
"id": 43478052,
"node_id": "MDQ6VXNlcjQzNDc4MDUy",
"avatar_url": "https://avatars.githubusercontent.com/u/43478052?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/cuichenx",
"html_url": "https://github.com/cuichenx",
"followers_url": "https://api.github.com/users/cuichenx/followers",
"following_url": "https://api.github.com/users/cuichenx/following{/other_user}",
"gists_url": "https://api.github.com/users/cuichenx/gists{/gist_id}",
"starred_url": "https://api.github.com/users/cuichenx/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cuichenx/subscriptions",
"organizations_url": "https://api.github.com/users/cuichenx/orgs",
"repos_url": "https://api.github.com/users/cuichenx/repos",
"events_url": "https://api.github.com/users/cuichenx/events{/privacy}",
"received_events_url": "https://api.github.com/users/cuichenx/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/8519/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/8519/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/8518 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/8518/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/8518/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/8518/events | https://github.com/NVIDIA/NeMo/pull/8518 | 2,155,296,041 | PR_kwDOC_bI7s5n-dGq | 8,518 | Fix link in multimodal dataprep tutorial | {
"login": "github-actions[bot]",
"id": 41898282,
"node_id": "MDM6Qm90NDE4OTgyODI=",
"avatar_url": "https://avatars.githubusercontent.com/in/15368?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/github-actions%5Bbot%5D",
"html_url": "https://github.com/apps/github-actions",
"followers_url": "https://api.github.com/users/github-actions%5Bbot%5D/followers",
"following_url": "https://api.github.com/users/github-actions%5Bbot%5D/following{/other_user}",
"gists_url": "https://api.github.com/users/github-actions%5Bbot%5D/gists{/gist_id}",
"starred_url": "https://api.github.com/users/github-actions%5Bbot%5D/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/github-actions%5Bbot%5D/subscriptions",
"organizations_url": "https://api.github.com/users/github-actions%5Bbot%5D/orgs",
"repos_url": "https://api.github.com/users/github-actions%5Bbot%5D/repos",
"events_url": "https://api.github.com/users/github-actions%5Bbot%5D/events{/privacy}",
"received_events_url": "https://api.github.com/users/github-actions%5Bbot%5D/received_events",
"type": "Bot",
"user_view_type": "public",
"site_admin": false
} | [
{
"id": 4556669155,
"node_id": "LA_kwDOC_bI7s8AAAABD5lA4w",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/cherry-pick",
"name": "cherry-pick",
"color": "ededed",
"default": false,
"description": null
}
] | closed | false | null | [] | null | [] | 2024-02-26T22:38:20 | 2024-02-26T23:54:14 | 2024-02-26T23:54:14 | CONTRIBUTOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/8518",
"html_url": "https://github.com/NVIDIA/NeMo/pull/8518",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/8518.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/8518.patch",
"merged_at": "2024-02-26T23:54:14"
} | # What does this PR do ?
Fix link in multimodal dataprep tutoria
**Collection**: [Note which collection this PR will affect]
# Changelog
- Add specific line by line info of high level changes in this PR.
# Usage
* You can potentially add a usage example below
```python
# Add a code snippet demonstrating how to use this
```
# Jenkins CI
To run Jenkins, a NeMo User with write access must comment `jenkins` on the PR.
# Before your PR is "Ready for review"
**Pre checks**:
- [ ] Make sure you read and followed [Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md)
- [ ] Did you write any new necessary tests?
- [ ] Did you add or update any necessary documentation?
- [ ] Does the PR affect components that are optional to install? (Ex: Numba, Pynini, Apex etc)
- [ ] Reviewer: Does the PR have correct import guards for all optional libraries?
**PR Type**:
- [ ] New Feature
- [x] Bugfix
- [ ] 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/8518/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/8518/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/8517 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/8517/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/8517/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/8517/events | https://github.com/NVIDIA/NeMo/pull/8517 | 2,155,290,001 | PR_kwDOC_bI7s5n-byr | 8,517 | Fix link in multimodal dataprep tutorial | {
"login": "cuichenx",
"id": 43478052,
"node_id": "MDQ6VXNlcjQzNDc4MDUy",
"avatar_url": "https://avatars.githubusercontent.com/u/43478052?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/cuichenx",
"html_url": "https://github.com/cuichenx",
"followers_url": "https://api.github.com/users/cuichenx/followers",
"following_url": "https://api.github.com/users/cuichenx/following{/other_user}",
"gists_url": "https://api.github.com/users/cuichenx/gists{/gist_id}",
"starred_url": "https://api.github.com/users/cuichenx/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cuichenx/subscriptions",
"organizations_url": "https://api.github.com/users/cuichenx/orgs",
"repos_url": "https://api.github.com/users/cuichenx/repos",
"events_url": "https://api.github.com/users/cuichenx/events{/privacy}",
"received_events_url": "https://api.github.com/users/cuichenx/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | [] | 2024-02-26T22:33:52 | 2024-02-26T22:37:57 | 2024-02-26T22:37:56 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/8517",
"html_url": "https://github.com/NVIDIA/NeMo/pull/8517",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/8517.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/8517.patch",
"merged_at": "2024-02-26T22:37:56"
} | # What does this PR do ?
Fix link in multimodal dataprep tutoria
**Collection**: [Note which collection this PR will affect]
# Changelog
- Add specific line by line info of high level changes in this PR.
# Usage
* You can potentially add a usage example below
```python
# Add a code snippet demonstrating how to use this
```
# Jenkins CI
To run Jenkins, a NeMo User with write access must comment `jenkins` on the PR.
# Before your PR is "Ready for review"
**Pre checks**:
- [ ] Make sure you read and followed [Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md)
- [ ] Did you write any new necessary tests?
- [ ] Did you add or update any necessary documentation?
- [ ] Does the PR affect components that are optional to install? (Ex: Numba, Pynini, Apex etc)
- [ ] Reviewer: Does the PR have correct import guards for all optional libraries?
**PR Type**:
- [ ] New Feature
- [x] Bugfix
- [ ] 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/8517/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/8517/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/8516 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/8516/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/8516/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/8516/events | https://github.com/NVIDIA/NeMo/pull/8516 | 2,155,270,937 | PR_kwDOC_bI7s5n-Xiz | 8,516 | Update NeMo Multimodal Requirements | {
"login": "github-actions[bot]",
"id": 41898282,
"node_id": "MDM6Qm90NDE4OTgyODI=",
"avatar_url": "https://avatars.githubusercontent.com/in/15368?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/github-actions%5Bbot%5D",
"html_url": "https://github.com/apps/github-actions",
"followers_url": "https://api.github.com/users/github-actions%5Bbot%5D/followers",
"following_url": "https://api.github.com/users/github-actions%5Bbot%5D/following{/other_user}",
"gists_url": "https://api.github.com/users/github-actions%5Bbot%5D/gists{/gist_id}",
"starred_url": "https://api.github.com/users/github-actions%5Bbot%5D/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/github-actions%5Bbot%5D/subscriptions",
"organizations_url": "https://api.github.com/users/github-actions%5Bbot%5D/orgs",
"repos_url": "https://api.github.com/users/github-actions%5Bbot%5D/repos",
"events_url": "https://api.github.com/users/github-actions%5Bbot%5D/events{/privacy}",
"received_events_url": "https://api.github.com/users/github-actions%5Bbot%5D/received_events",
"type": "Bot",
"user_view_type": "public",
"site_admin": false
} | [
{
"id": 4556669155,
"node_id": "LA_kwDOC_bI7s8AAAABD5lA4w",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/cherry-pick",
"name": "cherry-pick",
"color": "ededed",
"default": false,
"description": null
}
] | closed | false | null | [] | null | [] | 2024-02-26T22:20:44 | 2024-02-26T22:21:40 | 2024-02-26T22:21:39 | CONTRIBUTOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/8516",
"html_url": "https://github.com/NVIDIA/NeMo/pull/8516",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/8516.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/8516.patch",
"merged_at": "2024-02-26T22:21:39"
} | # What does this PR do ?
Add a one line overview of what this PR aims to accomplish.
**Collection**: [Note which collection this PR will affect]
# Changelog
- Add specific line by line info of high level changes in this PR.
# Usage
* You can potentially add a usage example below
```python
# Add a code snippet demonstrating how to use this
```
# Jenkins CI
To run Jenkins, a NeMo User with write access must comment `jenkins` on the PR.
# Before your PR is "Ready for review"
**Pre checks**:
- [ ] Make sure you read and followed [Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md)
- [ ] Did you write any new necessary tests?
- [ ] Did you add or update any necessary documentation?
- [ ] Does the PR affect components that are optional to install? (Ex: Numba, Pynini, Apex etc)
- [ ] Reviewer: Does the PR have correct import guards for all optional libraries?
**PR Type**:
- [ ] New Feature
- [ ] Bugfix
- [ ] Documentation
If you haven't finished some of the above items you can still open "Draft" PR.
## Who can review?
Anyone in the community is free to review the PR once the checks have passed.
[Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md) contains specific people who can review PRs to various areas.
# Additional Information
* Related to # (issue)
| {
"login": "ericharper",
"id": 11999610,
"node_id": "MDQ6VXNlcjExOTk5NjEw",
"avatar_url": "https://avatars.githubusercontent.com/u/11999610?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ericharper",
"html_url": "https://github.com/ericharper",
"followers_url": "https://api.github.com/users/ericharper/followers",
"following_url": "https://api.github.com/users/ericharper/following{/other_user}",
"gists_url": "https://api.github.com/users/ericharper/gists{/gist_id}",
"starred_url": "https://api.github.com/users/ericharper/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ericharper/subscriptions",
"organizations_url": "https://api.github.com/users/ericharper/orgs",
"repos_url": "https://api.github.com/users/ericharper/repos",
"events_url": "https://api.github.com/users/ericharper/events{/privacy}",
"received_events_url": "https://api.github.com/users/ericharper/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/8516/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/8516/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/8515 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/8515/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/8515/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/8515/events | https://github.com/NVIDIA/NeMo/pull/8515 | 2,155,265,212 | PR_kwDOC_bI7s5n-WQi | 8,515 | Update NeMo Multimodal Requirements | {
"login": "yaoyu-33",
"id": 54727607,
"node_id": "MDQ6VXNlcjU0NzI3NjA3",
"avatar_url": "https://avatars.githubusercontent.com/u/54727607?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yaoyu-33",
"html_url": "https://github.com/yaoyu-33",
"followers_url": "https://api.github.com/users/yaoyu-33/followers",
"following_url": "https://api.github.com/users/yaoyu-33/following{/other_user}",
"gists_url": "https://api.github.com/users/yaoyu-33/gists{/gist_id}",
"starred_url": "https://api.github.com/users/yaoyu-33/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/yaoyu-33/subscriptions",
"organizations_url": "https://api.github.com/users/yaoyu-33/orgs",
"repos_url": "https://api.github.com/users/yaoyu-33/repos",
"events_url": "https://api.github.com/users/yaoyu-33/events{/privacy}",
"received_events_url": "https://api.github.com/users/yaoyu-33/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | [] | 2024-02-26T22:16:48 | 2024-02-26T22:20:23 | 2024-02-26T22:20:22 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/8515",
"html_url": "https://github.com/NVIDIA/NeMo/pull/8515",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/8515.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/8515.patch",
"merged_at": "2024-02-26T22:20:22"
} | # What does this PR do ?
Add a one line overview of what this PR aims to accomplish.
**Collection**: [Note which collection this PR will affect]
# Changelog
- Add specific line by line info of high level changes in this PR.
# Usage
* You can potentially add a usage example below
```python
# Add a code snippet demonstrating how to use this
```
# Jenkins CI
To run Jenkins, a NeMo User with write access must comment `jenkins` on the PR.
# Before your PR is "Ready for review"
**Pre checks**:
- [ ] Make sure you read and followed [Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md)
- [ ] Did you write any new necessary tests?
- [ ] Did you add or update any necessary documentation?
- [ ] Does the PR affect components that are optional to install? (Ex: Numba, Pynini, Apex etc)
- [ ] Reviewer: Does the PR have correct import guards for all optional libraries?
**PR Type**:
- [ ] New Feature
- [ ] Bugfix
- [ ] Documentation
If you haven't finished some of the above items you can still open "Draft" PR.
## Who can review?
Anyone in the community is free to review the PR once the checks have passed.
[Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md) contains specific people who can review PRs to various areas.
# Additional Information
* Related to # (issue)
| {
"login": "ericharper",
"id": 11999610,
"node_id": "MDQ6VXNlcjExOTk5NjEw",
"avatar_url": "https://avatars.githubusercontent.com/u/11999610?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ericharper",
"html_url": "https://github.com/ericharper",
"followers_url": "https://api.github.com/users/ericharper/followers",
"following_url": "https://api.github.com/users/ericharper/following{/other_user}",
"gists_url": "https://api.github.com/users/ericharper/gists{/gist_id}",
"starred_url": "https://api.github.com/users/ericharper/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ericharper/subscriptions",
"organizations_url": "https://api.github.com/users/ericharper/orgs",
"repos_url": "https://api.github.com/users/ericharper/repos",
"events_url": "https://api.github.com/users/ericharper/events{/privacy}",
"received_events_url": "https://api.github.com/users/ericharper/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/8515/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/8515/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/8514 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/8514/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/8514/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/8514/events | https://github.com/NVIDIA/NeMo/pull/8514 | 2,155,262,223 | PR_kwDOC_bI7s5n-VmW | 8,514 | Fix link in multimodal dataprep tutorial | {
"login": "cuichenx",
"id": 43478052,
"node_id": "MDQ6VXNlcjQzNDc4MDUy",
"avatar_url": "https://avatars.githubusercontent.com/u/43478052?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/cuichenx",
"html_url": "https://github.com/cuichenx",
"followers_url": "https://api.github.com/users/cuichenx/followers",
"following_url": "https://api.github.com/users/cuichenx/following{/other_user}",
"gists_url": "https://api.github.com/users/cuichenx/gists{/gist_id}",
"starred_url": "https://api.github.com/users/cuichenx/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cuichenx/subscriptions",
"organizations_url": "https://api.github.com/users/cuichenx/orgs",
"repos_url": "https://api.github.com/users/cuichenx/repos",
"events_url": "https://api.github.com/users/cuichenx/events{/privacy}",
"received_events_url": "https://api.github.com/users/cuichenx/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | [] | 2024-02-26T22:14:35 | 2024-02-26T22:30:59 | 2024-02-26T22:30:59 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/8514",
"html_url": "https://github.com/NVIDIA/NeMo/pull/8514",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/8514.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/8514.patch",
"merged_at": null
} | # What does this PR do ?
Fix link in multimodal dataprep tutorial
**Collection**: Multimodal
# Jenkins CI
To run Jenkins, a NeMo User with write access must comment `jenkins` on the PR.
# Before your PR is "Ready for review"
**Pre checks**:
- [ ] Make sure you read and followed [Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md)
- [ ] Did you write any new necessary tests?
- [ ] Did you add or update any necessary documentation?
- [ ] Does the PR affect components that are optional to install? (Ex: Numba, Pynini, Apex etc)
- [ ] Reviewer: Does the PR have correct import guards for all optional libraries?
**PR Type**:
- [ ] New Feature
- [x] Bugfix
- [ ] Documentation
If you haven't finished some of the above items you can still open "Draft" PR.
## Who can review?
Anyone in the community is free to review the PR once the checks have passed.
[Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md) contains specific people who can review PRs to various areas.
# Additional Information
* Related to # (issue)
| {
"login": "cuichenx",
"id": 43478052,
"node_id": "MDQ6VXNlcjQzNDc4MDUy",
"avatar_url": "https://avatars.githubusercontent.com/u/43478052?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/cuichenx",
"html_url": "https://github.com/cuichenx",
"followers_url": "https://api.github.com/users/cuichenx/followers",
"following_url": "https://api.github.com/users/cuichenx/following{/other_user}",
"gists_url": "https://api.github.com/users/cuichenx/gists{/gist_id}",
"starred_url": "https://api.github.com/users/cuichenx/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cuichenx/subscriptions",
"organizations_url": "https://api.github.com/users/cuichenx/orgs",
"repos_url": "https://api.github.com/users/cuichenx/repos",
"events_url": "https://api.github.com/users/cuichenx/events{/privacy}",
"received_events_url": "https://api.github.com/users/cuichenx/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/8514/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/8514/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/8513 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/8513/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/8513/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/8513/events | https://github.com/NVIDIA/NeMo/pull/8513 | 2,155,251,656 | PR_kwDOC_bI7s5n-TOx | 8,513 | fix FIM RNG issue | {
"login": "suiyoubi",
"id": 22045332,
"node_id": "MDQ6VXNlcjIyMDQ1MzMy",
"avatar_url": "https://avatars.githubusercontent.com/u/22045332?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/suiyoubi",
"html_url": "https://github.com/suiyoubi",
"followers_url": "https://api.github.com/users/suiyoubi/followers",
"following_url": "https://api.github.com/users/suiyoubi/following{/other_user}",
"gists_url": "https://api.github.com/users/suiyoubi/gists{/gist_id}",
"starred_url": "https://api.github.com/users/suiyoubi/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/suiyoubi/subscriptions",
"organizations_url": "https://api.github.com/users/suiyoubi/orgs",
"repos_url": "https://api.github.com/users/suiyoubi/repos",
"events_url": "https://api.github.com/users/suiyoubi/events{/privacy}",
"received_events_url": "https://api.github.com/users/suiyoubi/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"id": 4811886210,
"node_id": "LA_kwDOC_bI7s8AAAABHs-Ogg",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/NLP",
"name": "NLP",
"color": "CBF09A",
"default": false,
"description": ""
},
{
"id": 4840216855,
"node_id": "LA_kwDOC_bI7s8AAAABIH_ZFw",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/CI",
"name": "CI",
"color": "1D76DB",
"default": false,
"description": ""
}
] | closed | false | null | [] | null | [
"jenkins",
"jenkins",
"jenkins",
"jenkins",
"jenkins",
"jenkins"
] | 2024-02-26T22:07:19 | 2024-03-13T18:14:37 | 2024-03-13T18:14:36 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/8513",
"html_url": "https://github.com/NVIDIA/NeMo/pull/8513",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/8513.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/8513.patch",
"merged_at": "2024-03-13T18:14:36"
} | # What does this PR do ?
This PR fixed the issue relating to FIM training. This old implementation re-initialize the rng every time invoking get_text, which will breaks the effective prob for FIM rate.
**PR Type**:
- [ ] New Feature
- [x] Bugfix
- [ ] Documentation
If you haven't finished some of the above items you can still open "Draft" PR.
| {
"login": "dimapihtar",
"id": 37850217,
"node_id": "MDQ6VXNlcjM3ODUwMjE3",
"avatar_url": "https://avatars.githubusercontent.com/u/37850217?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/dimapihtar",
"html_url": "https://github.com/dimapihtar",
"followers_url": "https://api.github.com/users/dimapihtar/followers",
"following_url": "https://api.github.com/users/dimapihtar/following{/other_user}",
"gists_url": "https://api.github.com/users/dimapihtar/gists{/gist_id}",
"starred_url": "https://api.github.com/users/dimapihtar/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/dimapihtar/subscriptions",
"organizations_url": "https://api.github.com/users/dimapihtar/orgs",
"repos_url": "https://api.github.com/users/dimapihtar/repos",
"events_url": "https://api.github.com/users/dimapihtar/events{/privacy}",
"received_events_url": "https://api.github.com/users/dimapihtar/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/8513/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/8513/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/8512 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/8512/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/8512/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/8512/events | https://github.com/NVIDIA/NeMo/pull/8512 | 2,155,163,003 | PR_kwDOC_bI7s5n9_X- | 8,512 | mllm build fixes for repo_docs | {
"login": "aschilling-nv",
"id": 85314306,
"node_id": "MDQ6VXNlcjg1MzE0MzA2",
"avatar_url": "https://avatars.githubusercontent.com/u/85314306?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/aschilling-nv",
"html_url": "https://github.com/aschilling-nv",
"followers_url": "https://api.github.com/users/aschilling-nv/followers",
"following_url": "https://api.github.com/users/aschilling-nv/following{/other_user}",
"gists_url": "https://api.github.com/users/aschilling-nv/gists{/gist_id}",
"starred_url": "https://api.github.com/users/aschilling-nv/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/aschilling-nv/subscriptions",
"organizations_url": "https://api.github.com/users/aschilling-nv/orgs",
"repos_url": "https://api.github.com/users/aschilling-nv/repos",
"events_url": "https://api.github.com/users/aschilling-nv/events{/privacy}",
"received_events_url": "https://api.github.com/users/aschilling-nv/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | [] | 2024-02-26T21:18:55 | 2024-02-27T21:44:32 | 2024-02-27T21:44:32 | CONTRIBUTOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/8512",
"html_url": "https://github.com/NVIDIA/NeMo/pull/8512",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/8512.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/8512.patch",
"merged_at": null
} | # What does this PR do ?
Correcting RST in the mllm section to correct build issues with the NeMo Framework User Guide content.
**Collection**: [Note which collection this PR will affect]
# Changelog
RST code updates are made in the following RST files.
- checkpoint.rst
- configs.rst
- intro.rst
- neva.rst
# Usage
* You can potentially add a usage example below
```python
# Add a code snippet demonstrating how to use this
```
# Jenkins CI
To run Jenkins, a NeMo User with write access must comment `jenkins` on the PR.
# Before your PR is "Ready for review"
**Pre checks**:
- [ ] Make sure you read and followed [Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md)
- [ ] Did you write any new necessary tests?
- [ ] Did you add or update any necessary documentation?
- [ ] Does the PR affect components that are optional to install? (Ex: Numba, Pynini, Apex etc)
- [ ] Reviewer: Does the PR have correct import guards for all optional libraries?
**PR Type**:
- [ ] New Feature
- [X ] Bugfix
- [ ] Documentation
If you haven't finished some of the above items you can still open "Draft" PR.
## Who can review?
Anyone in the community is free to review the PR once the checks have passed.
[Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md) contains specific people who can review PRs to various areas.
# Additional Information
* Related to # (issue)
| {
"login": "aschilling-nv",
"id": 85314306,
"node_id": "MDQ6VXNlcjg1MzE0MzA2",
"avatar_url": "https://avatars.githubusercontent.com/u/85314306?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/aschilling-nv",
"html_url": "https://github.com/aschilling-nv",
"followers_url": "https://api.github.com/users/aschilling-nv/followers",
"following_url": "https://api.github.com/users/aschilling-nv/following{/other_user}",
"gists_url": "https://api.github.com/users/aschilling-nv/gists{/gist_id}",
"starred_url": "https://api.github.com/users/aschilling-nv/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/aschilling-nv/subscriptions",
"organizations_url": "https://api.github.com/users/aschilling-nv/orgs",
"repos_url": "https://api.github.com/users/aschilling-nv/repos",
"events_url": "https://api.github.com/users/aschilling-nv/events{/privacy}",
"received_events_url": "https://api.github.com/users/aschilling-nv/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/8512/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/8512/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/8511 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/8511/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/8511/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/8511/events | https://github.com/NVIDIA/NeMo/pull/8511 | 2,155,009,068 | PR_kwDOC_bI7s5n9dLQ | 8,511 | Force valid samples to 1 only if limit_val_batches is float | {
"login": "athitten",
"id": 47577437,
"node_id": "MDQ6VXNlcjQ3NTc3NDM3",
"avatar_url": "https://avatars.githubusercontent.com/u/47577437?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/athitten",
"html_url": "https://github.com/athitten",
"followers_url": "https://api.github.com/users/athitten/followers",
"following_url": "https://api.github.com/users/athitten/following{/other_user}",
"gists_url": "https://api.github.com/users/athitten/gists{/gist_id}",
"starred_url": "https://api.github.com/users/athitten/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/athitten/subscriptions",
"organizations_url": "https://api.github.com/users/athitten/orgs",
"repos_url": "https://api.github.com/users/athitten/repos",
"events_url": "https://api.github.com/users/athitten/events{/privacy}",
"received_events_url": "https://api.github.com/users/athitten/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"id": 4585431311,
"node_id": "LA_kwDOC_bI7s8AAAABEVAhDw",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/stale",
"name": "stale",
"color": "ededed",
"default": false,
"description": null
},
{
"id": 4811886210,
"node_id": "LA_kwDOC_bI7s8AAAABHs-Ogg",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/NLP",
"name": "NLP",
"color": "CBF09A",
"default": false,
"description": ""
},
{
"id": 4840216855,
"node_id": "LA_kwDOC_bI7s8AAAABIH_ZFw",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/CI",
"name": "CI",
"color": "1D76DB",
"default": false,
"description": ""
}
] | closed | false | null | [] | null | [
"jenkins",
"jenkins",
"jenkins",
"jenkins",
"This PR is stale because it has been open for 14 days with no activity. Remove stale label or comment or update or this will be closed in 7 days.",
"This PR was closed because it has been inactive for 7 days since being marked as stale."
] | 2024-02-26T19:56:11 | 2024-03-21T01:44:13 | 2024-03-21T01:44:12 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/8511",
"html_url": "https://github.com/NVIDIA/NeMo/pull/8511",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/8511.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/8511.patch",
"merged_at": null
} | # What does this PR do ?
1. Revert having num eval samples as 1 only for float `limit_val_batches` value until the issue of num of eval samples becoming 0 with CI datasets is figured.
2. Also, add import guards for megatron related imports in `gpt_full_te_layer_autocast_spec.py`
**Collection**: [Note which collection this PR will affect]
# Changelog
- Add specific line by line info of high level changes in this PR.
# Usage
* You can potentially add a usage example below
```python
# Add a code snippet demonstrating how to use this
```
# Jenkins CI
To run Jenkins, a NeMo User with write access must comment `jenkins` on the PR.
# Before your PR is "Ready for review"
**Pre checks**:
- [ ] Make sure you read and followed [Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md)
- [ ] Did you write any new necessary tests?
- [ ] Did you add or update any necessary documentation?
- [ ] Does the PR affect components that are optional to install? (Ex: Numba, Pynini, Apex etc)
- [ ] Reviewer: Does the PR have correct import guards for all optional libraries?
**PR Type**:
- [ ] New Feature
- [ ] Bugfix
- [ ] Documentation
If you haven't finished some of the above items you can still open "Draft" PR.
## Who can review?
Anyone in the community is free to review the PR once the checks have passed.
[Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md) contains specific people who can review PRs to various areas.
# Additional Information
* Related to # (issue)
| {
"login": "github-actions[bot]",
"id": 41898282,
"node_id": "MDM6Qm90NDE4OTgyODI=",
"avatar_url": "https://avatars.githubusercontent.com/in/15368?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/github-actions%5Bbot%5D",
"html_url": "https://github.com/apps/github-actions",
"followers_url": "https://api.github.com/users/github-actions%5Bbot%5D/followers",
"following_url": "https://api.github.com/users/github-actions%5Bbot%5D/following{/other_user}",
"gists_url": "https://api.github.com/users/github-actions%5Bbot%5D/gists{/gist_id}",
"starred_url": "https://api.github.com/users/github-actions%5Bbot%5D/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/github-actions%5Bbot%5D/subscriptions",
"organizations_url": "https://api.github.com/users/github-actions%5Bbot%5D/orgs",
"repos_url": "https://api.github.com/users/github-actions%5Bbot%5D/repos",
"events_url": "https://api.github.com/users/github-actions%5Bbot%5D/events{/privacy}",
"received_events_url": "https://api.github.com/users/github-actions%5Bbot%5D/received_events",
"type": "Bot",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/8511/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/8511/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/8510 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/8510/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/8510/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/8510/events | https://github.com/NVIDIA/NeMo/pull/8510 | 2,154,910,546 | PR_kwDOC_bI7s5n9HN3 | 8,510 | Tutorial on Lhotse Dataloading for ASR fine-tuning | {
"login": "pzelasko",
"id": 15930688,
"node_id": "MDQ6VXNlcjE1OTMwNjg4",
"avatar_url": "https://avatars.githubusercontent.com/u/15930688?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/pzelasko",
"html_url": "https://github.com/pzelasko",
"followers_url": "https://api.github.com/users/pzelasko/followers",
"following_url": "https://api.github.com/users/pzelasko/following{/other_user}",
"gists_url": "https://api.github.com/users/pzelasko/gists{/gist_id}",
"starred_url": "https://api.github.com/users/pzelasko/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/pzelasko/subscriptions",
"organizations_url": "https://api.github.com/users/pzelasko/orgs",
"repos_url": "https://api.github.com/users/pzelasko/repos",
"events_url": "https://api.github.com/users/pzelasko/events{/privacy}",
"received_events_url": "https://api.github.com/users/pzelasko/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"id": 4585431311,
"node_id": "LA_kwDOC_bI7s8AAAABEVAhDw",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/stale",
"name": "stale",
"color": "ededed",
"default": false,
"description": null
},
{
"id": 4811884691,
"node_id": "LA_kwDOC_bI7s8AAAABHs-Ikw",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/ASR",
"name": "ASR",
"color": "F3B33E",
"default": false,
"description": ""
}
] | closed | false | null | [] | null | [
"jenkins",
"jenkins",
"This PR is stale because it has been open for 14 days with no activity. Remove stale label or comment or update or this will be closed in 7 days.",
"This PR was closed because it has been inactive for 7 days since being marked as stale."
] | 2024-02-26T19:05:57 | 2024-03-23T01:43:36 | 2024-03-23T01:43:35 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/8510",
"html_url": "https://github.com/NVIDIA/NeMo/pull/8510",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/8510.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/8510.patch",
"merged_at": null
} | # What does this PR do ?
Tutorial on Lhotse Dataloading for ASR fine-tuning
**Collection**: [Note which collection this PR will affect]
# Changelog
- Tutorial on Lhotse Dataloading for ASR fine-tuning
# Usage
* You can potentially add a usage example below
```python
# Add a code snippet demonstrating how to use this
```
# Jenkins CI
To run Jenkins, a NeMo User with write access must comment `jenkins` on the PR.
# Before your PR is "Ready for review"
**Pre checks**:
- [ ] Make sure you read and followed [Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md)
- [ ] Did you write any new necessary tests?
- [ ] Did you add or update any necessary documentation?
- [ ] Does the PR affect components that are optional to install? (Ex: Numba, Pynini, Apex etc)
- [ ] Reviewer: Does the PR have correct import guards for all optional libraries?
**PR Type**:
- [ ] New Feature
- [ ] Bugfix
- [x] Documentation
If you haven't finished some of the above items you can still open "Draft" PR.
## Who can review?
Anyone in the community is free to review the PR once the checks have passed.
[Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md) contains specific people who can review PRs to various areas.
# Additional Information
* Related to # (issue)
| {
"login": "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/8510/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/8510/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/8509 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/8509/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/8509/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/8509/events | https://github.com/NVIDIA/NeMo/pull/8509 | 2,154,759,212 | PR_kwDOC_bI7s5n8lpq | 8,509 | Move AST and TTS import tests to github actions from Jenkinsfile | {
"login": "ShriyaPalsamudram",
"id": 69161273,
"node_id": "MDQ6VXNlcjY5MTYxMjcz",
"avatar_url": "https://avatars.githubusercontent.com/u/69161273?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ShriyaPalsamudram",
"html_url": "https://github.com/ShriyaPalsamudram",
"followers_url": "https://api.github.com/users/ShriyaPalsamudram/followers",
"following_url": "https://api.github.com/users/ShriyaPalsamudram/following{/other_user}",
"gists_url": "https://api.github.com/users/ShriyaPalsamudram/gists{/gist_id}",
"starred_url": "https://api.github.com/users/ShriyaPalsamudram/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ShriyaPalsamudram/subscriptions",
"organizations_url": "https://api.github.com/users/ShriyaPalsamudram/orgs",
"repos_url": "https://api.github.com/users/ShriyaPalsamudram/repos",
"events_url": "https://api.github.com/users/ShriyaPalsamudram/events{/privacy}",
"received_events_url": "https://api.github.com/users/ShriyaPalsamudram/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"id": 4840216855,
"node_id": "LA_kwDOC_bI7s8AAAABIH_ZFw",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/CI",
"name": "CI",
"color": "1D76DB",
"default": false,
"description": ""
}
] | closed | false | null | [] | null | [] | 2024-02-26T17:46:23 | 2024-02-26T18:21:40 | 2024-02-26T18:21:40 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/8509",
"html_url": "https://github.com/NVIDIA/NeMo/pull/8509",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/8509.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/8509.patch",
"merged_at": "2024-02-26T18:21:39"
} | # What does this PR do ?
PR: [8328](https://github.com/NVIDIA/NeMo/pull/8328) moved ASR and TTS import tests to Jenkinsfile from github actions. This commit reverts that.
**Collection**: [Note which collection this PR will affect]
# Changelog
- Add specific line by line info of high level changes in this PR.
# Usage
* You can potentially add a usage example below
```python
# Add a code snippet demonstrating how to use this
```
# Jenkins CI
To run Jenkins, a NeMo User with write access must comment `jenkins` on the PR.
# Before your PR is "Ready for review"
**Pre checks**:
- [ ] Make sure you read and followed [Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md)
- [ ] Did you write any new necessary tests?
- [ ] Did you add or update any necessary documentation?
- [ ] Does the PR affect components that are optional to install? (Ex: Numba, Pynini, Apex etc)
- [ ] Reviewer: Does the PR have correct import guards for all optional libraries?
**PR Type**:
- [ ] New Feature
- [ ] Bugfix
- [ ] Documentation
If you haven't finished some of the above items you can still open "Draft" PR.
## Who can review?
Anyone in the community is free to review the PR once the checks have passed.
[Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md) contains specific people who can review PRs to various areas.
# Additional Information
* Related to # (issue)
| {
"login": "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/8509/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/8509/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/8508 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/8508/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/8508/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/8508/events | https://github.com/NVIDIA/NeMo/pull/8508 | 2,154,670,924 | PR_kwDOC_bI7s5n8SMR | 8,508 | Fix `scripts/speech_recognition/estimate_duration_bins.py` from multiple paths | {
"login": "pzelasko",
"id": 15930688,
"node_id": "MDQ6VXNlcjE1OTMwNjg4",
"avatar_url": "https://avatars.githubusercontent.com/u/15930688?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/pzelasko",
"html_url": "https://github.com/pzelasko",
"followers_url": "https://api.github.com/users/pzelasko/followers",
"following_url": "https://api.github.com/users/pzelasko/following{/other_user}",
"gists_url": "https://api.github.com/users/pzelasko/gists{/gist_id}",
"starred_url": "https://api.github.com/users/pzelasko/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/pzelasko/subscriptions",
"organizations_url": "https://api.github.com/users/pzelasko/orgs",
"repos_url": "https://api.github.com/users/pzelasko/repos",
"events_url": "https://api.github.com/users/pzelasko/events{/privacy}",
"received_events_url": "https://api.github.com/users/pzelasko/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | [
"jenkins"
] | 2024-02-26T17:04:17 | 2024-02-26T20:07:46 | 2024-02-26T20:07:46 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/8508",
"html_url": "https://github.com/NVIDIA/NeMo/pull/8508",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/8508.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/8508.patch",
"merged_at": "2024-02-26T20:07:46"
} | # What does this PR do ?
Fix `scripts/speech_recognition/estimate_duration_bins.py` from multiple paths
**Collection**: ASR
# Changelog
- Fix `scripts/speech_recognition/estimate_duration_bins.py` from multiple paths
# Usage
* You can potentially add a usage example below
```python
# Add a code snippet demonstrating how to use this
```
# Jenkins CI
To run Jenkins, a NeMo User with write access must comment `jenkins` on the PR.
# Before your PR is "Ready for review"
**Pre checks**:
- [ ] Make sure you read and followed [Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md)
- [ ] Did you write any new necessary tests?
- [ ] Did you add or update any necessary documentation?
- [ ] Does the PR affect components that are optional to install? (Ex: Numba, Pynini, Apex etc)
- [ ] Reviewer: Does the PR have correct import guards for all optional libraries?
**PR Type**:
- [ ] New Feature
- [x] Bugfix
- [ ] Documentation
If you haven't finished some of the above items you can still open "Draft" PR.
## Who can review?
Anyone in the community is free to review the PR once the checks have passed.
[Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md) contains specific people who can review PRs to various areas.
# Additional Information
* Related to # (issue)
| {
"login": "pzelasko",
"id": 15930688,
"node_id": "MDQ6VXNlcjE1OTMwNjg4",
"avatar_url": "https://avatars.githubusercontent.com/u/15930688?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/pzelasko",
"html_url": "https://github.com/pzelasko",
"followers_url": "https://api.github.com/users/pzelasko/followers",
"following_url": "https://api.github.com/users/pzelasko/following{/other_user}",
"gists_url": "https://api.github.com/users/pzelasko/gists{/gist_id}",
"starred_url": "https://api.github.com/users/pzelasko/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/pzelasko/subscriptions",
"organizations_url": "https://api.github.com/users/pzelasko/orgs",
"repos_url": "https://api.github.com/users/pzelasko/repos",
"events_url": "https://api.github.com/users/pzelasko/events{/privacy}",
"received_events_url": "https://api.github.com/users/pzelasko/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/8508/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/8508/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/8507 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/8507/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/8507/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/8507/events | https://github.com/NVIDIA/NeMo/issues/8507 | 2,153,793,239 | I_kwDOC_bI7s6AYEbX | 8,507 | Speaker_Diarization_Inference. | {
"login": "swagatamr",
"id": 70835477,
"node_id": "MDQ6VXNlcjcwODM1NDc3",
"avatar_url": "https://avatars.githubusercontent.com/u/70835477?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/swagatamr",
"html_url": "https://github.com/swagatamr",
"followers_url": "https://api.github.com/users/swagatamr/followers",
"following_url": "https://api.github.com/users/swagatamr/following{/other_user}",
"gists_url": "https://api.github.com/users/swagatamr/gists{/gist_id}",
"starred_url": "https://api.github.com/users/swagatamr/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/swagatamr/subscriptions",
"organizations_url": "https://api.github.com/users/swagatamr/orgs",
"repos_url": "https://api.github.com/users/swagatamr/repos",
"events_url": "https://api.github.com/users/swagatamr/events{/privacy}",
"received_events_url": "https://api.github.com/users/swagatamr/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"id": 1485815557,
"node_id": "MDU6TGFiZWwxNDg1ODE1NTU3",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": "Something isn't working"
},
{
"id": 4585431311,
"node_id": "LA_kwDOC_bI7s8AAAABEVAhDw",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/stale",
"name": "stale",
"color": "ededed",
"default": false,
"description": null
}
] | closed | false | null | [] | null | [
"This issue is stale because it has been open for 30 days with no activity. Remove stale label or comment or this will be closed in 7 days.",
"This issue was closed because it has been inactive for 7 days since being marked as stale."
] | 2024-02-26T10:22:29 | 2024-04-04T01:44:38 | 2024-04-04T01:44:38 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | from nemo.collections.asr.parts.speaker_utils import rttm_to_labels, labels_to_pyannote_object
IN Speaker_Diarization_Inference.ipynb is not running .
and thus the entire thing is not running
------------------------------------------------------------
error:
---------------------------------------------------------------------------
ModuleNotFoundError Traceback (most recent call last)
[<ipython-input-14-0dca4be09a8a>](https://localhost:8080/#) in <cell line: 1>()
----> 1 from nemo.collections.asr.parts.speaker_utils import rttm_to_labels, labels_to_pyannote_object
17 frames
[/usr/local/lib/python3.10/dist-packages/pytorch_lightning/utilities/apply_func.py](https://localhost:8080/#) in <module>
27 if _TORCHTEXT_AVAILABLE:
28 if _compare_version("torchtext", operator.ge, "0.9.0"):
---> 29 from torchtext.legacy.data import Batch
30 else:
31 from torchtext.data import Batch
ModuleNotFoundError: No module named 'torchtext.legacy'
----------------------------------------------------------------------------------------------------------------------
all the suggestions and other things are not working | {
"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/8507/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/8507/timeline | null | not_planned | false |
https://api.github.com/repos/NVIDIA/NeMo/issues/8506 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/8506/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/8506/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/8506/events | https://github.com/NVIDIA/NeMo/issues/8506 | 2,153,408,222 | I_kwDOC_bI7s6AWmbe | 8,506 | Error: convert clip model to nemo! | {
"login": "sayali-redasani",
"id": 74544224,
"node_id": "MDQ6VXNlcjc0NTQ0MjI0",
"avatar_url": "https://avatars.githubusercontent.com/u/74544224?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/sayali-redasani",
"html_url": "https://github.com/sayali-redasani",
"followers_url": "https://api.github.com/users/sayali-redasani/followers",
"following_url": "https://api.github.com/users/sayali-redasani/following{/other_user}",
"gists_url": "https://api.github.com/users/sayali-redasani/gists{/gist_id}",
"starred_url": "https://api.github.com/users/sayali-redasani/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/sayali-redasani/subscriptions",
"organizations_url": "https://api.github.com/users/sayali-redasani/orgs",
"repos_url": "https://api.github.com/users/sayali-redasani/repos",
"events_url": "https://api.github.com/users/sayali-redasani/events{/privacy}",
"received_events_url": "https://api.github.com/users/sayali-redasani/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"id": 4585431311,
"node_id": "LA_kwDOC_bI7s8AAAABEVAhDw",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/stale",
"name": "stale",
"color": "ededed",
"default": false,
"description": null
}
] | closed | false | null | [] | null | [
"This issue is stale because it has been open for 30 days with no activity. Remove stale label or comment or this will be closed in 7 days.",
"This issue was closed because it has been inactive for 7 days since being marked as stale."
] | 2024-02-26T07:06:01 | 2024-04-04T01:44:40 | 2024-04-04T01:44:39 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | from nemo.collections.multimodal.models.vision_language_foundation.clip.megatron_clip_models import MegatronCLIPModel
ModuleNotFoundError: No module named 'nemo.collections.multimodal.models'
I checked convert_external_clip_to_nemo.py is having correct path to megatron_clip_models.py | {
"login": "github-actions[bot]",
"id": 41898282,
"node_id": "MDM6Qm90NDE4OTgyODI=",
"avatar_url": "https://avatars.githubusercontent.com/in/15368?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/github-actions%5Bbot%5D",
"html_url": "https://github.com/apps/github-actions",
"followers_url": "https://api.github.com/users/github-actions%5Bbot%5D/followers",
"following_url": "https://api.github.com/users/github-actions%5Bbot%5D/following{/other_user}",
"gists_url": "https://api.github.com/users/github-actions%5Bbot%5D/gists{/gist_id}",
"starred_url": "https://api.github.com/users/github-actions%5Bbot%5D/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/github-actions%5Bbot%5D/subscriptions",
"organizations_url": "https://api.github.com/users/github-actions%5Bbot%5D/orgs",
"repos_url": "https://api.github.com/users/github-actions%5Bbot%5D/repos",
"events_url": "https://api.github.com/users/github-actions%5Bbot%5D/events{/privacy}",
"received_events_url": "https://api.github.com/users/github-actions%5Bbot%5D/received_events",
"type": "Bot",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/8506/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/8506/timeline | null | not_planned | false |
https://api.github.com/repos/NVIDIA/NeMo/issues/8505 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/8505/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/8505/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/8505/events | https://github.com/NVIDIA/NeMo/issues/8505 | 2,153,402,279 | I_kwDOC_bI7s6AWk-n | 8,505 | GPT fp8 pretrain not working on H20: Caught signal 8 (Floating point exception: integer divide by zero) | {
"login": "houminz",
"id": 16812977,
"node_id": "MDQ6VXNlcjE2ODEyOTc3",
"avatar_url": "https://avatars.githubusercontent.com/u/16812977?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/houminz",
"html_url": "https://github.com/houminz",
"followers_url": "https://api.github.com/users/houminz/followers",
"following_url": "https://api.github.com/users/houminz/following{/other_user}",
"gists_url": "https://api.github.com/users/houminz/gists{/gist_id}",
"starred_url": "https://api.github.com/users/houminz/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/houminz/subscriptions",
"organizations_url": "https://api.github.com/users/houminz/orgs",
"repos_url": "https://api.github.com/users/houminz/repos",
"events_url": "https://api.github.com/users/houminz/events{/privacy}",
"received_events_url": "https://api.github.com/users/houminz/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 | [
"It seems the issue is due to CUDA 12.2 support for FP8 cuBLASLt matmul operations. After I use NeMo 24.01.framework `nvcr.io/nvidia/nemo:24.01.framework` which use CUDA 12.3, the issue is resolved.\r\n\r\nref: https://docs.nvidia.com/cuda/cuda-toolkit-release-notes/index.html",
"@houminz Hi, houminz. Could you tell me what driver version is installed on your H20 machine? I have met the same problem even though use CUDA 12.3 in docker.I'm really looking forward to your reply and thank you very much.",
"@Hap-Zhang FYI, we use 535.161.03",
"@houminz Got it. Thank you very much.",
"This issue is stale because it has been open for 30 days with no activity. Remove stale label or comment or this will be closed in 7 days.",
"This issue was closed because it has been inactive for 7 days since being marked as stale."
] | 2024-02-26T07:01:42 | 2024-04-19T01:44:45 | 2024-04-19T01:44:45 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | **Describe the bug**
We are trying to run GPT fp8 pretraining on NVIDIA H20 according to [NeMo docs](https://docs.nvidia.com/deeplearning/nemo/user-guide/docs/en/stable/nlp/nemo_megatron/gpt/gpt_training.html) on single node with 8 GPUs
However, we get the error below:
```
Sanity Checking DataLoader 0: 0%| | 0/8 [00:00<?, ?it/s][n154-161-133:121882:0:121882] Caught signal 8 (Floating point exception: integer divide by zero)
[n154-161-133:121876:0:121876] Caught signal 8 (Floating point exception: integer divide by zero)
[n154-161-133:121880:0:121880] Caught signal 8 (Floating point exception: integer divide by zero)
[n154-161-133:121878:0:121878] Caught signal 8 (Floating point exception: integer divide by zero)
[n154-161-133:121664:0:121664] Caught signal 8 (Floating point exception: integer divide by zero)
[n154-161-133:121879:0:121879] Caught signal 8 (Floating point exception: integer divide by zero)
[n154-161-133:121877:0:121877] Caught signal 8 (Floating point exception: integer divide by zero)
[n154-161-133:121881:0:121881] Caught signal 8 (Floating point exception: integer divide by zero)
```
**Steps/Code to reproduce bug**
1. Bootstrapping the NeMo docker container from NGC, we use `23.10`
```
docker run -d --name nemo \
-u root \
-v /data:/data \
--privileged \
--network=host \
--shm-size=1g --ulimit memlock=-1 --ulimit stack=67108864 \
--rm --gpus all \
nvcr.io/nvidia/nemo:23.10 \
sleep infinity
```
2. Download and preprocess the enwiki dataset according the [NeMo docs](https://docs.nvidia.com/deeplearning/nemo/user-guide/docs/en/stable/nlp/nemo_megatron/gpt/gpt_training.html) using HuggingFace GPT2 tokenizer files under path `/data`
```
docker exec -it nemo bash
cd /data
python /workspace/nemo/scripts/nlp_language_modeling/preprocess_data_for_megatron.py \
--input=train_data.jsonl \
--json-keys=text \
--tokenizer-library=megatron \
--vocab gpt2-vocab.json \
--dataset-impl mmap \
--tokenizer-type GPT2BPETokenizer \
--merge-file gpt2-merges.txt \
--output-prefix=hfbpe_gpt_training_data \
--append-eod \
--workers=96
```
3. Launch the Single Node 8 GPU job in the container which enabling fp8
```
python /workspace/nemo/examples/nlp/language_modeling/megatron_gpt_pretraining.py \
--config-path=/workspace/nemo/examples/nlp/language_modeling/conf \
--config-name=megatron_gpt_config \
trainer.devices=8 \
trainer.num_nodes=1 \
trainer.max_epochs=null \
trainer.max_steps=300000 \
trainer.val_check_interval=300 \
trainer.log_every_n_steps=50 \
trainer.limit_val_batches=50 \
trainer.limit_test_batches=50 \
trainer.accumulate_grad_batches=1 \
trainer.precision=bf16 \
model.transformer_engine=True \
model.fp8=True \
model.micro_batch_size=6 \
model.global_batch_size=192 \
model.tensor_model_parallel_size=1 \
model.pipeline_model_parallel_size=1 \
model.max_position_embeddings=1024 \
model.encoder_seq_length=1024 \
model.hidden_size=768 \
model.ffn_hidden_size=3072 \
model.num_layers=12 \
model.num_attention_heads=12 \
model.init_method_std=0.021 \
model.hidden_dropout=0.1 \
model.layernorm_epsilon=1e-5 \
model.tokenizer.vocab_file=gpt2-vocab.json \
model.tokenizer.merge_file=gpt2-merges.txt \
model.data.data_prefix=[1.0,hfbpe_gpt_training_data_text_document] \
model.data.num_workers=2 \
model.data.seq_length=1024 \
model.data.splits_string=\'980,10,10\' \
model.optim.name=fused_adam \
model.optim.lr=6e-4 \
model.optim.betas=[0.9,0.95] \
model.optim.weight_decay=0.1 \
model.optim.sched.name=CosineAnnealing \
model.optim.sched.warmup_steps=750 \
model.optim.sched.constant_steps=80000 \
model.optim.sched.min_lr=6e-5 \
exp_manager.resume_if_exists=True \
exp_manager.resume_ignore_no_checkpoint=True \
exp_manager.create_checkpoint_callback=True \
exp_manager.checkpoint_callback_params.monitor=val_loss \
exp_manager.checkpoint_callback_params.save_top_k=3 \
exp_manager.checkpoint_callback_params.mode=min \
exp_manager.checkpoint_callback_params.always_save_nemo=False
```
**Expected behavior**
The job should launch successfully and start training.
We execute the same experiment on NVIDIA H100, and it works
```
Epoch 0: : 5%|▋ | 15900/301500 [1:22:Epoch 0, global step 15900: 'val_loss' reached 3.04824 (best 3.04824), saving model to '/data/nemo_experiments/megatron_gpt/checkpoints/megatron_gpt--val_loss=3.05-step=15900-consumed_samples=3052800.0.ckpt' as top 3
[NeMo I 2024-02-26 06:39:06 nlp_overrides:412] Removing checkpoint: /data/nemo_experiments/megatron_gpt/checkpoints/megatron_gpt--val_loss=3.05-step=15000-consumed_samples=2880000.0.ckpt
[NeMo I 2024-02-26 06:39:09 nlp_overrides:412] Removing checkpoint: /data/nemo_experiments/megatron_gpt/checkpoints/megatron_gpt--val_loss=3.05-step=15600-consumed_samples=2995200.0-last.ckpt
Epoch 0: : 5%|▊ | 16200/301500 [1:24:Epoch 0, global step 16200: 'val_loss' reached 3.04690 (best 3.04690), saving model to '/data/nemo_experiments/megatron_gpt/checkpoints/megatron_gpt--val_loss=3.05-step=16200-consumed_samples=3110400.0.ckpt' as top 3
[NeMo I 2024-02-26 06:40:41 nlp_overrides:412] Removing checkpoint: /data/nemo_experiments/megatron_gpt/checkpoints/megatron_gpt--val_loss=3.05-step=15300-consumed_samples=2937600.0.ckpt
[NeMo I 2024-02-26 06:40:44 nlp_overrides:412] Removing checkpoint: /data/nemo_experiments/megatron_gpt/checkpoints/megatron_gpt--val_loss=3.05-step=15900-consumed_samples=3052800.0-last.ckpt
Epoch 0: : 5%|▊ | 16500/301500 [1:25:Epoch 0, global step 16500: 'val_loss' reached 3.04502 (best 3.04502), saving model to '/data/nemo_experiments/megatron_gpt/checkpoints/megatron_gpt--val_loss=3.05-step=16500-consumed_samples=3168000.0.ckpt' as top 3
[NeMo I 2024-02-26 06:42:15 nlp_overrides:412] Removing checkpoint: /data/nemo_experiments/megatron_gpt/checkpoints/megatron_gpt--val_loss=3.05-step=15600-consumed_samples=2995200.0.ckpt
[NeMo I 2024-02-26 06:42:18 nlp_overrides:412] Removing checkpoint: /data/nemo_experiments/megatron_gpt/checkpoints/megatron_gpt--val_loss=3.05-step=16200-consumed_samples=3110400.0-last.ckpt
Epoch 0: : 6%|▊ | 16800/301500 [1:27:Epoch 0, global step 16800: 'val_loss' reached 3.04356 (best 3.04356), saving model to '/data/nemo_experiments/megatron_gpt/checkpoints/megatron_gpt--val_loss=3.04-step=16800-consumed_samples=3225600.0.ckpt' as top 3
[NeMo I 2024-02-26 06:43:50 nlp_overrides:412] Removing checkpoint: /data/nemo_experiments/megatron_gpt/checkpoints/megatron_gpt--val_loss=3.05-step=15900-consumed_samples=3052800.0.ckpt
[NeMo I 2024-02-26 06:43:53 nlp_overrides:412] Removing checkpoint: /data/nemo_experiments/megatron_gpt/checkpoints/megatron_gpt--val_loss=3.05-step=16500-consumed_samples=3168000.0-last.ckpt
Epoch 0: : 6%|▊ | 17100/301500 [1:29:Epoch 0, global step 17100: 'val_loss' reached 3.04004 (best 3.04004), saving model to '/data/nemo_experiments/megatron_gpt/checkpoints/megatron_gpt--val_loss=3.04-step=17100-consumed_samples=3283200.0.ckpt' as top 3
```
we also test bf16 training on NVIDIA H20, it also works
```
Epoch 0: : 0%| | 300/301500 [0Epoch 0, global step 300: 'val_loss' reached 5.98933 (best 5.98933), saving model to '/data/nemo_experiments/megatron_gpt/checkpoints/megatron_gpt--val_loss=5.99-step=300-consumed_samples=57600.0.ckpt' as top 3
Epoch 0: : 0%| | 600/301500 [0Epoch 0, global step 600: 'val_loss' reached 4.94614 (best 4.94614), saving model to '/data/nemo_experiments/megatron_gpt/checkpoints/megatron_gpt--val_loss=4.95-step=600-consumed_samples=115200.0.ckpt' as top 3
[NeMo I 2024-02-26 06:48:45 nlp_overrides:412] Removing checkpoint: /data/nemo_experiments/megatron_gpt/checkpoints/megatron_gpt--val_loss=5.99-step=300-consumed_samples=57600.0-last.ckpt
Epoch 0: : 0%| | 900/301500 [0Epoch 0, global step 900: 'val_loss' reached 4.18590 (best 4.18590), saving model to '/data/nemo_experiments/megatron_gpt/checkpoints/megatron_gpt--val_loss=4.19-step=900-consumed_samples=172800.0.ckpt' as top 3
[NeMo I 2024-02-26 06:50:43 nlp_overrides:412] Removing checkpoint: /data/nemo_experiments/megatron_gpt/checkpoints/megatron_gpt--val_loss=4.95-step=600-consumed_samples=115200.0-last.ckpt
Epoch 0: : 0%| | 1200/301500 [0Epoch 0, global step 1200: 'val_loss' reached 3.88466 (best 3.88466), saving model to '/data/nemo_experiments/megatron_gpt/checkpoints/megatron_gpt--val_loss=3.88-step=1200-consumed_samples=230400.0.ckpt' as top 3
[NeMo I 2024-02-26 06:52:38 nlp_overrides:412] Removing checkpoint: /data/nemo_experiments/megatron_gpt/checkpoints/megatron_gpt--val_loss=5.99-step=300-consumed_samples=57600.0.ckpt
[NeMo I 2024-02-26 06:52:40 nlp_overrides:412] Removing checkpoint: /data/nemo_experiments/megatron_gpt/checkpoints/megatron_gpt--val_loss=4.19-step=900-consumed_samples=172800.0-last.ckpt
Epoch 0: : 0%| | 1500/301500 [09Epoch 0, global step 1500: 'val_loss' reached 3.73976 (best 3.73976), saving model to '/data/nemo_experiments/megatron_gpt/checkpoints/megatron_gpt--val_loss=3.74-step=1500-consumed_samples=288000.0.ckpt' as top 3
[NeMo I 2024-02-26 06:54:36 nlp_overrides:412] Removing checkpoint: /data/nemo_experiments/megatron_gpt/checkpoints/megatron_gpt--val_loss=4.95-step=600-consumed_samples=115200.0.ckpt
[NeMo I 2024-02-26 06:54:39 nlp_overrides:412] Removing checkpoint: /data/nemo_experiments/megatron_gpt/checkpoints/megatron_gpt--val_loss=3.88-step=1200-consumed_samples=230400.0-last.ckpt
Epoch 0: : 1%| | 1800/301500 [11Epoch 0, global step 1800: 'val_loss' reached 3.63803 (best 3.63803), saving model to '/data/nemo_experiments/megatron_gpt/checkpoints/megatron_gpt--val_loss=3.64-step=1800-consumed_samples=345600.0.ckpt' as top 3
[NeMo I 2024-02-26 06:56:35 nlp_overrides:412] Removing checkpoint: /data/nemo_experiments/megatron_gpt/checkpoints/megatron_gpt--val_loss=4.19-step=900-consumed_samples=172800.0.ckpt
[NeMo I 2024-02-26 06:56:38 nlp_overrides:412] Removing checkpoint: /data/nemo_experiments/megatron_gpt/checkpoints/megatron_gpt--val_loss=3.74-step=1500-consumed_samples=288000.0-last.ckpt
Epoch 0: : 1%| | 1829/301500 [12:02<32:53:20, v_num=0, reduced_train_loss=3.670, global_step=1828.0, consumed_samples=3.51e+5, train_step_timing in s=0.351, val_loss=3.640]
```
**Environment overview (please complete the following information)**
- Environment location: Docker singularity containers created from NVIDIA's NGC NeMo containers 23.10
- Method of NeMo install: Pre-installed in container.
- If method of install is [Docker], provide `docker pull` & `docker run` commands used
```
# docker pull
docker pull nvcr.io/nvidia/nemo:23.10
# docker run already shown above
```
**Additional context**
Add any other context about the problem here.
Example: GPU model H20
Backtrace for H20
```
==== backtrace (tid: 121876) ====
0 0x0000000000042520 __sigaction() ???:0
1 0x0000000000b83824 cublasLt_for_cublas_ZZZ() ???:0
2 0x0000000000897f37 cublasLt_for_cublas_ZZZ() ???:0
3 0x000000000072c917 cublasLtLegacyGemmUtilizationZZZ() ???:0
4 0x00000000007ff3de cublasLtMatmulAlgoCheck() ???:0
5 0x0000000000800399 cublasLtMatmulAlgoCheck() ???:0
6 0x0000000000800ecc cublasLtMatmulAlgoCheck() ???:0
7 0x0000000000829a9d cublasLtMatmulAlgoGetHeuristic() ???:0
8 0x0000000000273439 transformer_engine::cublas_gemm() ???:0
9 0x0000000000273904 nvte_cublas_gemm() ???:0
10 0x0000000000057c56 te_gemm() ???:0
11 0x00000000000bb968 te_gemm_ts() /workspace/TransformerEngine/transformer_engine/pytorch/csrc/ts_fp8_op.cpp:265
12 0x00000000000be875 c10::impl::detail::WrapFunctionIntoRuntimeFunctor_<at::Tensor (*)(at::Tensor, at::Tensor, long, long, long, at::Tensor, at::Tensor, long, long, long, at::Tensor, at::Tensor, long, at::Tensor, at::Tensor, long, at::Tensor, long, at::Tensor, long, long, long), at::Tensor, c10::guts::typelist::typelist<at::Tensor, at::Tensor, long, long, long, at::Tensor, at::Tensor, long, long, long, at::Tensor, at::Tensor, long, at::Tensor, at::Tensor, long, at::Tensor, long, at::Tensor, long, long, long> >::operator()() /usr/local/lib/python3.10/dist-packages/torch/include/ATen/core/boxing/impl/WrapFunctionIntoRuntimeFunctor.h:18
13 0x00000000000be875 c10::impl::wrap_kernel_functor_unboxed_<c10::impl::detail::WrapFunctionIntoRuntimeFunctor_<at::Tensor (*)(at::Tensor, at::Tensor, long, long, long, at::Tensor, at::Tensor, long, long, long, at::Tensor, at::Tensor, long, at::Tensor, at::Tensor, long, at::Tensor, long, at::Tensor, long, long, long), at::Tensor, c10::guts::typelist::typelist<at::Tensor, at::Tensor, long, long, long, at::Tensor, at::Tensor, long, long, long, at::Tensor, at::Tensor, long, at::Tensor, at::Tensor, long, at::Tensor, long, at::Tensor, long, long, long> >, at::Tensor (at::Tensor, at::Tensor, long, long, long, at::Tensor, at::Tensor, long, long, long, at::Tensor, at::Tensor, long, at::Tensor, at::Tensor, long, at::Tensor, long, at::Tensor, long, long, long)>::call() /usr/local/lib/python3.10/dist-packages/torch/include/ATen/core/boxing/impl/make_boxed_from_unboxed_functor.h:463
14 0x00000000000bfaca c10::impl::call_functor_with_args_from_stack_<c10::impl::detail::WrapFunctionIntoRuntimeFunctor_<at::Tensor (*)(at::Tensor, at::Tensor, long, long, long, at::Tensor, at::Tensor, long, long, long, at::Tensor, at::Tensor, long, at::Tensor, at::Tensor, long, at::Tensor, long, at::Tensor, long, long, long), at::Tensor, c10::guts::typelist::typelist<at::Tensor, at::Tensor, long, long, long, at::Tensor, at::Tensor, long, long, long, at::Tensor, at::Tensor, long, at::Tensor, at::Tensor, long, at::Tensor, long, at::Tensor, long, long, long> >, false, 0ul, 1ul, 2ul, 3ul, 4ul, 5ul, 6ul, 7ul, 8ul, 9ul, 10ul, 11ul, 12ul, 13ul, 14ul, 15ul, 16ul, 17ul, 18ul, 19ul, 20ul, 21ul, at::Tensor, at::Tensor, long, long, long, at::Tensor, at::Tensor, long, long, long, at::Tensor, at::Tensor, long, at::Tensor, at::Tensor, long, at::Tensor, long, at::Tensor, long, long, long>() /usr/local/lib/python3.10/dist-packages/torch/include/ATen/core/boxing/impl/make_boxed_from_unboxed_functor.h:501
15 0x00000000000bfaca c10::impl::call_functor_with_args_from_stack<c10::impl::detail::WrapFunctionIntoRuntimeFunctor_<at::Tensor (*)(at::Tensor, at::Tensor, long, long, long, at::Tensor, at::Tensor, long, long, long, at::Tensor, at::Tensor, long, at::Tensor, at::Tensor, long, at::Tensor, long, at::Tensor, long, long, long), at::Tensor, c10::guts::typelist::typelist<at::Tensor, at::Tensor, long, long, long, at::Tensor, at::Tensor, long, long, long, at::Tensor, at::Tensor, long, at::Tensor, at::Tensor, long, at::Tensor, long, at::Tensor, long, long, long> >, false>() /usr/local/lib/python3.10/dist-packages/torch/include/ATen/core/boxing/impl/make_boxed_from_unboxed_functor.h:513
16 0x00000000000bfaca c10::impl::make_boxed_from_unboxed_functor<c10::impl::detail::WrapFunctionIntoRuntimeFunctor_<at::Tensor (*)(at::Tensor, at::Tensor, long, long, long, at::Tensor, at::Tensor, long, long, long, at::Tensor, at::Tensor, long, at::Tensor, at::Tensor, long, at::Tensor, long, at::Tensor, long, long, long), at::Tensor, c10::guts::typelist::typelist<at::Tensor, at::Tensor, long, long, long, at::Tensor, at::Tensor, long, long, long, at::Tensor, at::Tensor, long, at::Tensor, at::Tensor, long, at::Tensor, long, at::Tensor, long, long, long> >, false>::call() /usr/local/lib/python3.10/dist-packages/torch/include/ATen/core/boxing/impl/make_boxed_from_unboxed_functor.h:579
17 0x0000000004817624 c10::Dispatcher::callBoxed() register_c10_ops.cpp:0
18 0x000000000085fdb4 torch::jit::invokeOperatorFromPython() ???:0
19 0x000000000086067e torch::jit::_get_operation_for_overload_or_packet() ???:0
20 0x00000000007459e6 pybind11::cpp_function::initialize<torch::jit::initJITBindings(_object*)::{lambda(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)#194}::operator()(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const::{lambda(pybind11::args, pybind11::kwargs)#1}, pybind11::object, pybind11::args, pybind11::kwargs, pybind11::name, pybind11::doc>(torch::jit::initJITBindings(_object*)::{lambda(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)#194}::operator()(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const::{lambda(pybind11::args, pybind11::kwargs)#1}&&, pybind11::object (*)(pybind11::args, pybind11::kwargs), pybind11::name const&, pybind11::doc const&)::{lambda(pybind11::detail::function_call&)#3}::_FUN() init.cpp:0
21 0x000000000039c407 pybind11::cpp_function::dispatcher() :0
22 0x000000000015a10e PyObject_CallFunctionObjArgs() ???:0
23 0x000000000016942b PyObject_Call() ???:0
24 0x00000000001455d7 _PyEval_EvalFrameDefault() ???:0
25 0x000000000014fc14 _PyObject_FastCallDictTstate() ???:0
26 0x00000000001658d1 _PyObject_Call_Prepend() ???:0
27 0x0000000000280700 PyInit__datetime() ???:0
28 0x000000000016942b PyObject_Call() ???:0
29 0x00000000001455d7 _PyEval_EvalFrameDefault() ???:0
30 0x000000000015a9fc _PyFunction_Vectorcall() ???:0
31 0x000000000014453c _PyEval_EvalFrameDefault() ???:0
32 0x000000000015a9fc _PyFunction_Vectorcall() ???:0
33 0x00000000001455d7 _PyEval_EvalFrameDefault() ???:0
34 0x000000000015a9fc _PyFunction_Vectorcall() ???:0
35 0x0000000000169492 PyObject_Call() ???:0
36 0x00000000001455d7 _PyEval_EvalFrameDefault() ???:0
37 0x00000000001687f1 PyMethod_New() ???:0
38 0x0000000000169492 PyObject_Call() ???:0
39 0x00000000001455d7 _PyEval_EvalFrameDefault() ???:0
40 0x00000000001687f1 PyMethod_New() ???:0
41 0x0000000000169492 PyObject_Call() ???:0
42 0x00000000001455d7 _PyEval_EvalFrameDefault() ???:0
43 0x000000000015a9fc _PyFunction_Vectorcall() ???:0
44 0x000000000014fcbd _PyObject_FastCallDictTstate() ???:0
45 0x000000000016586c _PyObject_Call_Prepend() ???:0
46 0x0000000000280700 PyInit__datetime() ???:0
47 0x0000000000150a7b _PyObject_MakeTpCall() ???:0
48 0x000000000014a150 _PyEval_EvalFrameDefault() ???:0
49 0x00000000001687f1 PyMethod_New() ???:0
50 0x0000000000169492 PyObject_Call() ???:0
51 0x00000000001455d7 _PyEval_EvalFrameDefault() ???:0
52 0x00000000001687f1 PyMethod_New() ???:0
53 0x0000000000169492 PyObject_Call() ???:0
54 0x00000000001455d7 _PyEval_EvalFrameDefault() ???:0
55 0x000000000015a9fc _PyFunction_Vectorcall() ???:0
56 0x000000000014fcbd _PyObject_FastCallDictTstate() ???:0
=================================
==== backtrace (tid: 121878) ====
0 0x0000000000042520 __sigaction() ???:0
1 0x0000000000b83824 cublasLt_for_cublas_ZZZ() ???:0
2 0x0000000000897f37 cublasLt_for_cublas_ZZZ() ???:0
3 0x000000000072c917 cublasLtLegacyGemmUtilizationZZZ() ???:0
4 0x00000000007ff3de cublasLtMatmulAlgoCheck() ???:0
5 0x0000000000800399 cublasLtMatmulAlgoCheck() ???:0
6 0x0000000000800ecc cublasLtMatmulAlgoCheck() ???:0
7 0x0000000000829a9d cublasLtMatmulAlgoGetHeuristic() ???:0
8 0x0000000000273439 transformer_engine::cublas_gemm() ???:0
==== backtrace (tid: 121880) ====
9 0x0000000000273904 nvte_cublas_gemm() ???:0
10 0x0000000000057c56 te_gemm() ???:0
0 0x0000000000042520 __sigaction() ???:0
11 0x00000000000bb968 te_gemm_ts() /workspace/TransformerEngine/transformer_engine/pytorch/csrc/ts_fp8_op.cpp:265
1 0x0000000000b83824 cublasLt_for_cublas_ZZZ() ???:0
12 0x00000000000be875 c10::impl::detail::WrapFunctionIntoRuntimeFunctor_<at::Tensor (*)(at::Tensor, at::Tensor, long, long, long, at::Tensor, at::Tensor, long, long, long, at::Tensor, at::Tensor, long, at::Tensor, at::Tensor, long, at::Tensor, long, at::Tensor, long, long, long), at::Tensor, c10::guts::typelist::typelist<at::Tensor, at::Tensor, long, long, long, at::Tensor, at::Tensor, long, long, long, at::Tensor, at::Tensor, long, at::Tensor, at::Tensor, long, at::Tensor, long, at::Tensor, long, long, long> >::operator()() /usr/local/lib/python3.10/dist-packages/torch/include/ATen/core/boxing/impl/WrapFunctionIntoRuntimeFunctor.h:18
2 0x0000000000897f37 cublasLt_for_cublas_ZZZ() ???:0
13 0x00000000000be875 c10::impl::wrap_kernel_functor_unboxed_<c10::impl::detail::WrapFunctionIntoRuntimeFunctor_<at::Tensor (*)(at::Tensor, at::Tensor, long, long, long, at::Tensor, at::Tensor, long, long, long, at::Tensor, at::Tensor, long, at::Tensor, at::Tensor, long, at::Tensor, long, at::Tensor, long, long, long), at::Tensor, c10::guts::typelist::typelist<at::Tensor, at::Tensor, long, long, long, at::Tensor, at::Tensor, long, long, long, at::Tensor, at::Tensor, long, at::Tensor, at::Tensor, long, at::Tensor, long, at::Tensor, long, long, long> >, at::Tensor (at::Tensor, at::Tensor, long, long, long, at::Tensor, at::Tensor, long, long, long, at::Tensor, at::Tensor, long, at::Tensor, at::Tensor, long, at::Tensor, long, at::Tensor, long, long, long)>::call() /usr/local/lib/python3.10/dist-packages/torch/include/ATen/core/boxing/impl/make_boxed_from_unboxed_functor.h:463
3 0x000000000072c917 cublasLtLegacyGemmUtilizationZZZ() ???:0
14 0x00000000000bfaca c10::impl::call_functor_with_args_from_stack_<c10::impl::detail::WrapFunctionIntoRuntimeFunctor_<at::Tensor (*)(at::Tensor, at::Tensor, long, long, long, at::Tensor, at::Tensor, long, long, long, at::Tensor, at::Tensor, long, at::Tensor, at::Tensor, long, at::Tensor, long, at::Tensor, long, long, long), at::Tensor, c10::guts::typelist::typelist<at::Tensor, at::Tensor, long, long, long, at::Tensor, at::Tensor, long, long, long, at::Tensor, at::Tensor, long, at::Tensor, at::Tensor, long, at::Tensor, long, at::Tensor, long, long, long> >, false, 0ul, 1ul, 2ul, 3ul, 4ul, 5ul, 6ul, 7ul, 8ul, 9ul, 10ul, 11ul, 12ul, 13ul, 14ul, 15ul, 16ul, 17ul, 18ul, 19ul, 20ul, 21ul, at::Tensor, at::Tensor, long, long, long, at::Tensor, at::Tensor, long, long, long, at::Tensor, at::Tensor, long, at::Tensor, at::Tensor, long, at::Tensor, long, at::Tensor, long, long, long>() /usr/local/lib/python3.10/dist-packages/torch/include/ATen/core/boxing/impl/make_boxed_from_unboxed_functor.h:501
4 0x00000000007ff3de cublasLtMatmulAlgoCheck() ???:0
15 0x00000000000bfaca c10::impl::call_functor_with_args_from_stack<c10::impl::detail::WrapFunctionIntoRuntimeFunctor_<at::Tensor (*)(at::Tensor, at::Tensor, long, long, long, at::Tensor, at::Tensor, long, long, long, at::Tensor, at::Tensor, long, at::Tensor, at::Tensor, long, at::Tensor, long, at::Tensor, long, long, long), at::Tensor, c10::guts::typelist::typelist<at::Tensor, at::Tensor, long, long, long, at::Tensor, at::Tensor, long, long, long, at::Tensor, at::Tensor, long, at::Tensor, at::Tensor, long, at::Tensor, long, at::Tensor, long, long, long> >, false>() /usr/local/lib/python3.10/dist-packages/torch/include/ATen/core/boxing/impl/make_boxed_from_unboxed_functor.h:513
5 0x0000000000800399 cublasLtMatmulAlgoCheck() ???:0
16 0x00000000000bfaca c10::impl::make_boxed_from_unboxed_functor<c10::impl::detail::WrapFunctionIntoRuntimeFunctor_<at::Tensor (*)(at::Tensor, at::Tensor, long, long, long, at::Tensor, at::Tensor, long, long, long, at::Tensor, at::Tensor, long, at::Tensor, at::Tensor, long, at::Tensor, long, at::Tensor, long, long, long), at::Tensor, c10::guts::typelist::typelist<at::Tensor, at::Tensor, long, long, long, at::Tensor, at::Tensor, long, long, long, at::Tensor, at::Tensor, long, at::Tensor, at::Tensor, long, at::Tensor, long, at::Tensor, long, long, long> >, false>::call() /usr/local/lib/python3.10/dist-packages/torch/include/ATen/core/boxing/impl/make_boxed_from_unboxed_functor.h:579
6 0x0000000000800ecc cublasLtMatmulAlgoCheck() ???:0
17 0x0000000004817624 c10::Dispatcher::callBoxed() register_c10_ops.cpp:0
7 0x0000000000829a9d cublasLtMatmulAlgoGetHeuristic() ???:0
18 0x000000000085fdb4 torch::jit::invokeOperatorFromPython() ???:0
8 0x0000000000273439 transformer_engine::cublas_gemm() ???:0
19 0x000000000086067e torch::jit::_get_operation_for_overload_or_packet() ???:0
9 0x0000000000273904 nvte_cublas_gemm() ???:0
20 0x00000000007459e6 pybind11::cpp_function::initialize<torch::jit::initJITBindings(_object*)::{lambda(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)#194}::operator()(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const::{lambda(pybind11::args, pybind11::kwargs)#1}, pybind11::object, pybind11::args, pybind11::kwargs, pybind11::name, pybind11::doc>(torch::jit::initJITBindings(_object*)::{lambda(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)#194}::operator()(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const::{lambda(pybind11::args, pybind11::kwargs)#1}&&, pybind11::object (*)(pybind11::args, pybind11::kwargs), pybind11::name const&, pybind11::doc const&)::{lambda(pybind11::detail::function_call&)#3}::_FUN() init.cpp:0
10 0x0000000000057c56 te_gemm() ???:0
21 0x000000000039c407 pybind11::cpp_function::dispatcher() :0
11 0x00000000000bb968 te_gemm_ts() /workspace/TransformerEngine/transformer_engine/pytorch/csrc/ts_fp8_op.cpp:265
22 0x000000000015a10e PyObject_CallFunctionObjArgs() ???:0
12 0x00000000000be875 c10::impl::detail::WrapFunctionIntoRuntimeFunctor_<at::Tensor (*)(at::Tensor, at::Tensor, long, long, long, at::Tensor, at::Tensor, long, long, long, at::Tensor, at::Tensor, long, at::Tensor, at::Tensor, long, at::Tensor, long, at::Tensor, long, long, long), at::Tensor, c10::guts::typelist::typelist<at::Tensor, at::Tensor, long, long, long, at::Tensor, at::Tensor, long, long, long, at::Tensor, at::Tensor, long, at::Tensor, at::Tensor, long, at::Tensor, long, at::Tensor, long, long, long> >::operator()() /usr/local/lib/python3.10/dist-packages/torch/include/ATen/core/boxing/impl/WrapFunctionIntoRuntimeFunctor.h:18
23 0x000000000016942b PyObject_Call() ???:0
13 0x00000000000be875 c10::impl::wrap_kernel_functor_unboxed_<c10::impl::detail::WrapFunctionIntoRuntimeFunctor_<at::Tensor (*)(at::Tensor, at::Tensor, long, long, long, at::Tensor, at::Tensor, long, long, long, at::Tensor, at::Tensor, long, at::Tensor, at::Tensor, long, at::Tensor, long, at::Tensor, long, long, long), at::Tensor, c10::guts::typelist::typelist<at::Tensor, at::Tensor, long, long, long, at::Tensor, at::Tensor, long, long, long, at::Tensor, at::Tensor, long, at::Tensor, at::Tensor, long, at::Tensor, long, at::Tensor, long, long, long> >, at::Tensor (at::Tensor, at::Tensor, long, long, long, at::Tensor, at::Tensor, long, long, long, at::Tensor, at::Tensor, long, at::Tensor, at::Tensor, long, at::Tensor, long, at::Tensor, long, long, long)>::call() /usr/local/lib/python3.10/dist-packages/torch/include/ATen/core/boxing/impl/make_boxed_from_unboxed_functor.h:463
24 0x00000000001455d7 _PyEval_EvalFrameDefault() ???:0
14 0x00000000000bfaca c10::impl::call_functor_with_args_from_stack_<c10::impl::detail::WrapFunctionIntoRuntimeFunctor_<at::Tensor (*)(at::Tensor, at::Tensor, long, long, long, at::Tensor, at::Tensor, long, long, long, at::Tensor, at::Tensor, long, at::Tensor, at::Tensor, long, at::Tensor, long, at::Tensor, long, long, long), at::Tensor, c10::guts::typelist::typelist<at::Tensor, at::Tensor, long, long, long, at::Tensor, at::Tensor, long, long, long, at::Tensor, at::Tensor, long, at::Tensor, at::Tensor, long, at::Tensor, long, at::Tensor, long, long, long> >, false, 0ul, 1ul, 2ul, 3ul, 4ul, 5ul, 6ul, 7ul, 8ul, 9ul, 10ul, 11ul, 12ul, 13ul, 14ul, 15ul, 16ul, 17ul, 18ul, 19ul, 20ul, 21ul, at::Tensor, at::Tensor, long, long, long, at::Tensor, at::Tensor, long, long, long, at::Tensor, at::Tensor, long, at::Tensor, at::Tensor, long, at::Tensor, long, at::Tensor, long, long, long>() /usr/local/lib/python3.10/dist-packages/torch/include/ATen/core/boxing/impl/make_boxed_from_unboxed_functor.h:501
25 0x000000000014fc14 _PyObject_FastCallDictTstate() ???:0
15 0x00000000000bfaca c10::impl::call_functor_with_args_from_stack<c10::impl::detail::WrapFunctionIntoRuntimeFunctor_<at::Tensor (*)(at::Tensor, at::Tensor, long, long, long, at::Tensor, at::Tensor, long, long, long, at::Tensor, at::Tensor, long, at::Tensor, at::Tensor, long, at::Tensor, long, at::Tensor, long, long, long), at::Tensor, c10::guts::typelist::typelist<at::Tensor, at::Tensor, long, long, long, at::Tensor, at::Tensor, long, long, long, at::Tensor, at::Tensor, long, at::Tensor, at::Tensor, long, at::Tensor, long, at::Tensor, long, long, long> >, false>() /usr/local/lib/python3.10/dist-packages/torch/include/ATen/core/boxing/impl/make_boxed_from_unboxed_functor.h:513
26 0x00000000001658d1 _PyObject_Call_Prepend() ???:0
16 0x00000000000bfaca c10::impl::make_boxed_from_unboxed_functor<c10::impl::detail::WrapFunctionIntoRuntimeFunctor_<at::Tensor (*)(at::Tensor, at::Tensor, long, long, long, at::Tensor, at::Tensor, long, long, long, at::Tensor, at::Tensor, long, at::Tensor, at::Tensor, long, at::Tensor, long, at::Tensor, long, long, long), at::Tensor, c10::guts::typelist::typelist<at::Tensor, at::Tensor, long, long, long, at::Tensor, at::Tensor, long, long, long, at::Tensor, at::Tensor, long, at::Tensor, at::Tensor, long, at::Tensor, long, at::Tensor, long, long, long> >, false>::call() /usr/local/lib/python3.10/dist-packages/torch/include/ATen/core/boxing/impl/make_boxed_from_unboxed_functor.h:579
27 0x0000000000280700 PyInit__datetime() ???:0
17 0x0000000004817624 c10::Dispatcher::callBoxed() register_c10_ops.cpp:0
28 0x000000000016942b PyObject_Call() ???:0
18 0x000000000085fdb4 torch::jit::invokeOperatorFromPython() ???:0
29 0x00000000001455d7 _PyEval_EvalFrameDefault() ???:0
19 0x000000000086067e torch::jit::_get_operation_for_overload_or_packet() ???:0
30 0x000000000015a9fc _PyFunction_Vectorcall() ???:0
20 0x00000000007459e6 pybind11::cpp_function::initialize<torch::jit::initJITBindings(_object*)::{lambda(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)#194}::operator()(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const::{lambda(pybind11::args, pybind11::kwargs)#1}, pybind11::object, pybind11::args, pybind11::kwargs, pybind11::name, pybind11::doc>(torch::jit::initJITBindings(_object*)::{lambda(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)#194}::operator()(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const::{lambda(pybind11::args, pybind11::kwargs)#1}&&, pybind11::object (*)(pybind11::args, pybind11::kwargs), pybind11::name const&, pybind11::doc const&)::{lambda(pybind11::detail::function_call&)#3}::_FUN() init.cpp:0
31 0x000000000014453c _PyEval_EvalFrameDefault() ???:0
21 0x000000000039c407 pybind11::cpp_function::dispatcher() :0
32 0x000000000015a9fc _PyFunction_Vectorcall() ???:0
22 0x000000000015a10e PyObject_CallFunctionObjArgs() ???:0
33 0x00000000001455d7 _PyEval_EvalFrameDefault() ???:0
23 0x000000000016942b PyObject_Call() ???:0
34 0x000000000015a9fc _PyFunction_Vectorcall() ???:0
24 0x00000000001455d7 _PyEval_EvalFrameDefault() ???:0
35 0x0000000000169492 PyObject_Call() ???:0
25 0x000000000014fc14 _PyObject_FastCallDictTstate() ???:0
36 0x00000000001455d7 _PyEval_EvalFrameDefault() ???:0
26 0x00000000001658d1 _PyObject_Call_Prepend() ???:0
37 0x00000000001687f1 PyMethod_New() ???:0
27 0x0000000000280700 PyInit__datetime() ???:0
38 0x0000000000169492 PyObject_Call() ???:0
28 0x000000000016942b PyObject_Call() ???:0
39 0x00000000001455d7 _PyEval_EvalFrameDefault() ???:0
29 0x00000000001455d7 _PyEval_EvalFrameDefault() ???:0
40 0x00000000001687f1 PyMethod_New() ???:0
30 0x000000000015a9fc _PyFunction_Vectorcall() ???:0
41 0x0000000000169492 PyObject_Call() ???:0
31 0x000000000014453c _PyEval_EvalFrameDefault() ???:0
42 0x00000000001455d7 _PyEval_EvalFrameDefault() ???:0
32 0x000000000015a9fc _PyFunction_Vectorcall() ???:0
43 0x000000000015a9fc _PyFunction_Vectorcall() ???:0
33 0x00000000001455d7 _PyEval_EvalFrameDefault() ???:0
44 0x000000000014fcbd _PyObject_FastCallDictTstate() ???:0
34 0x000000000015a9fc _PyFunction_Vectorcall() ???:0
45 0x000000000016586c _PyObject_Call_Prepend() ???:0
35 0x0000000000169492 PyObject_Call() ???:0
46 0x0000000000280700 PyInit__datetime() ???:0
36 0x00000000001455d7 _PyEval_EvalFrameDefault() ???:0
47 0x0000000000150a7b _PyObject_MakeTpCall() ???:0
37 0x00000000001687f1 PyMethod_New() ???:0
48 0x000000000014a150 _PyEval_EvalFrameDefault() ???:0
38 0x0000000000169492 PyObject_Call() ???:0
49 0x00000000001687f1 PyMethod_New() ???:0
39 0x00000000001455d7 _PyEval_EvalFrameDefault() ???:0
50 0x0000000000169492 PyObject_Call() ???:0
40 0x00000000001687f1 PyMethod_New() ???:0
51 0x00000000001455d7 _PyEval_EvalFrameDefault() ???:0
41 0x0000000000169492 PyObject_Call() ???:0
52 0x00000000001687f1 PyMethod_New() ???:0
42 0x00000000001455d7 _PyEval_EvalFrameDefault() ???:0
53 0x0000000000169492 PyObject_Call() ???:0
43 0x000000000015a9fc _PyFunction_Vectorcall() ???:0
54 0x00000000001455d7 _PyEval_EvalFrameDefault() ???:0
44 0x000000000014fcbd _PyObject_FastCallDictTstate() ???:0
55 0x000000000015a9fc _PyFunction_Vectorcall() ???:0
45 0x000000000016586c _PyObject_Call_Prepend() ???:0
56 0x000000000014fcbd _PyObject_FastCallDictTstate() ???:0
46 0x0000000000280700 PyInit__datetime() ???:0
=================================
47 0x0000000000150a7b _PyObject_MakeTpCall() ???:0
48 0x000000000014a150 _PyEval_EvalFrameDefault() ???:0
49 0x00000000001687f1 PyMethod_New() ???:0
50 0x0000000000169492 PyObject_Call() ???:0
51 0x00000000001455d7 _PyEval_EvalFrameDefault() ???:0
52 0x00000000001687f1 PyMethod_New() ???:0
53 0x0000000000169492 PyObject_Call() ???:0
54 0x00000000001455d7 _PyEval_EvalFrameDefault() ???:0
55 0x000000000015a9fc _PyFunction_Vectorcall() ???:0
56 0x000000000014fcbd _PyObject_FastCallDictTstate() ???:0
=================================
==== backtrace (tid: 121881) ====
0 0x0000000000042520 __sigaction() ???:0
1 0x0000000000b83824 cublasLt_for_cublas_ZZZ() ???:0
2 0x0000000000897f37 cublasLt_for_cublas_ZZZ() ???:0
3 0x000000000072c917 cublasLtLegacyGemmUtilizationZZZ() ???:0
4 0x00000000007ff3de cublasLtMatmulAlgoCheck() ???:0
5 0x0000000000800399 cublasLtMatmulAlgoCheck() ???:0
6 0x0000000000800ecc cublasLtMatmulAlgoCheck() ???:0
7 0x0000000000829a9d cublasLtMatmulAlgoGetHeuristic() ???:0
8 0x0000000000273439 transformer_engine::cublas_gemm() ???:0
9 0x0000000000273904 nvte_cublas_gemm() ???:0
10 0x0000000000057c56 te_gemm() ???:0
11 0x00000000000bb968 te_gemm_ts() /workspace/TransformerEngine/transformer_engine/pytorch/csrc/ts_fp8_op.cpp:265
12 0x00000000000be875 c10::impl::detail::WrapFunctionIntoRuntimeFunctor_<at::Tensor (*)(at::Tensor, at::Tensor, long, long, long, at::Tensor, at::Tensor, long, long, long, at::Tensor, at::Tensor, long, at::Tensor, at::Tensor, long, at::Tensor, long, at::Tensor, long, long, long), at::Tensor, c10::guts::typelist::typelist<at::Tensor, at::Tensor, long, long, long, at::Tensor, at::Tensor, long, long, long, at::Tensor, at::Tensor, long, at::Tensor, at::Tensor, long, at::Tensor, long, at::Tensor, long, long, long> >::operator()() /usr/local/lib/python3.10/dist-packages/torch/include/ATen/core/boxing/impl/WrapFunctionIntoRuntimeFunctor.h:18
13 0x00000000000be875 c10::impl::wrap_kernel_functor_unboxed_<c10::impl::detail::WrapFunctionIntoRuntimeFunctor_<at::Tensor (*)(at::Tensor, at::Tensor, long, long, long, at::Tensor, at::Tensor, long, long, long, at::Tensor, at::Tensor, long, at::Tensor, at::Tensor, long, at::Tensor, long, at::Tensor, long, long, long), at::Tensor, c10::guts::typelist::typelist<at::Tensor, at::Tensor, long, long, long, at::Tensor, at::Tensor, long, long, long, at::Tensor, at::Tensor, long, at::Tensor, at::Tensor, long, at::Tensor, long, at::Tensor, long, long, long> >, at::Tensor (at::Tensor, at::Tensor, long, long, long, at::Tensor, at::Tensor, long, long, long, at::Tensor, at::Tensor, long, at::Tensor, at::Tensor, long, at::Tensor, long, at::Tensor, long, long, long)>::call() /usr/local/lib/python3.10/dist-packages/torch/include/ATen/core/boxing/impl/make_boxed_from_unboxed_functor.h:463
14 0x00000000000bfaca c10::impl::call_functor_with_args_from_stack_<c10::impl::detail::WrapFunctionIntoRuntimeFunctor_<at::Tensor (*)(at::Tensor, at::Tensor, long, long, long, at::Tensor, at::Tensor, long, long, long, at::Tensor, at::Tensor, long, at::Tensor, at::Tensor, long, at::Tensor, long, at::Tensor, long, long, long), at::Tensor, c10::guts::typelist::typelist<at::Tensor, at::Tensor, long, long, long, at::Tensor, at::Tensor, long, long, long, at::Tensor, at::Tensor, long, at::Tensor, at::Tensor, long, at::Tensor, long, at::Tensor, long, long, long> >, false, 0ul, 1ul, 2ul, 3ul, 4ul, 5ul, 6ul, 7ul, 8ul, 9ul, 10ul, 11ul, 12ul, 13ul, 14ul, 15ul, 16ul, 17ul, 18ul, 19ul, 20ul, 21ul, at::Tensor, at::Tensor, long, long, long, at::Tensor, at::Tensor, long, long, long, at::Tensor, at::Tensor, long, at::Tensor, at::Tensor, long, at::Tensor, long, at::Tensor, long, long, long>() /usr/local/lib/python3.10/dist-packages/torch/include/ATen/core/boxing/impl/make_boxed_from_unboxed_functor.h:501
15 0x00000000000bfaca c10::impl::call_functor_with_args_from_stack<c10::impl::detail::WrapFunctionIntoRuntimeFunctor_<at::Tensor (*)(at::Tensor, at::Tensor, long, long, long, at::Tensor, at::Tensor, long, long, long, at::Tensor, at::Tensor, long, at::Tensor, at::Tensor, long, at::Tensor, long, at::Tensor, long, long, long), at::Tensor, c10::guts::typelist::typelist<at::Tensor, at::Tensor, long, long, long, at::Tensor, at::Tensor, long, long, long, at::Tensor, at::Tensor, long, at::Tensor, at::Tensor, long, at::Tensor, long, at::Tensor, long, long, long> >, false>() /usr/local/lib/python3.10/dist-packages/torch/include/ATen/core/boxing/impl/make_boxed_from_unboxed_functor.h:513
16 0x00000000000bfaca c10::impl::make_boxed_from_unboxed_functor<c10::impl::detail::WrapFunctionIntoRuntimeFunctor_<at::Tensor (*)(at::Tensor, at::Tensor, long, long, long, at::Tensor, at::Tensor, long, long, long, at::Tensor, at::Tensor, long, at::Tensor, at::Tensor, long, at::Tensor, long, at::Tensor, long, long, long), at::Tensor, c10::guts::typelist::typelist<at::Tensor, at::Tensor, long, long, long, at::Tensor, at::Tensor, long, long, long, at::Tensor, at::Tensor, long, at::Tensor, at::Tensor, long, at::Tensor, long, at::Tensor, long, long, long> >, false>::call() /usr/local/lib/python3.10/dist-packages/torch/include/ATen/core/boxing/impl/make_boxed_from_unboxed_functor.h:579
17 0x0000000004817624 c10::Dispatcher::callBoxed() register_c10_ops.cpp:0
18 0x000000000085fdb4 torch::jit::invokeOperatorFromPython() ???:0
19 0x000000000086067e torch::jit::_get_operation_for_overload_or_packet() ???:0
20 0x00000000007459e6 pybind11::cpp_function::initialize<torch::jit::initJITBindings(_object*)::{lambda(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)#194}::operator()(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const::{lambda(pybind11::args, pybind11::kwargs)#1}, pybind11::object, pybind11::args, pybind11::kwargs, pybind11::name, pybind11::doc>(torch::jit::initJITBindings(_object*)::{lambda(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)#194}::operator()(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const::{lambda(pybind11::args, pybind11::kwargs)#1}&&, pybind11::object (*)(pybind11::args, pybind11::kwargs), pybind11::name const&, pybind11::doc const&)::{lambda(pybind11::detail::function_call&)#3}::_FUN() init.cpp:0
21 0x000000000039c407 pybind11::cpp_function::dispatcher() :0
22 0x000000000015a10e PyObject_CallFunctionObjArgs() ???:0
23 0x000000000016942b PyObject_Call() ???:0
24 0x00000000001455d7 _PyEval_EvalFrameDefault() ???:0
25 0x000000000014fc14 _PyObject_FastCallDictTstate() ???:0
26 0x00000000001658d1 _PyObject_Call_Prepend() ???:0
27 0x0000000000280700 PyInit__datetime() ???:0
28 0x000000000016942b PyObject_Call() ???:0
29 0x00000000001455d7 _PyEval_EvalFrameDefault() ???:0
30 0x000000000015a9fc _PyFunction_Vectorcall() ???:0
31 0x000000000014453c _PyEval_EvalFrameDefault() ???:0
32 0x000000000015a9fc _PyFunction_Vectorcall() ???:0
33 0x00000000001455d7 _PyEval_EvalFrameDefault() ???:0
34 0x000000000015a9fc _PyFunction_Vectorcall() ???:0
35 0x0000000000169492 PyObject_Call() ???:0
36 0x00000000001455d7 _PyEval_EvalFrameDefault() ???:0
37 0x00000000001687f1 PyMethod_New() ???:0
38 0x0000000000169492 PyObject_Call() ???:0
39 0x00000000001455d7 _PyEval_EvalFrameDefault() ???:0
40 0x00000000001687f1 PyMethod_New() ???:0
41 0x0000000000169492 PyObject_Call() ???:0
42 0x00000000001455d7 _PyEval_EvalFrameDefault() ???:0
43 0x000000000015a9fc _PyFunction_Vectorcall() ???:0
44 0x000000000014fcbd _PyObject_FastCallDictTstate() ???:0
45 0x000000000016586c _PyObject_Call_Prepend() ???:0
46 0x0000000000280700 PyInit__datetime() ???:0
47 0x0000000000150a7b _PyObject_MakeTpCall() ???:0
48 0x000000000014a150 _PyEval_EvalFrameDefault() ???:0
49 0x00000000001687f1 PyMethod_New() ???:0
50 0x0000000000169492 PyObject_Call() ???:0
51 0x00000000001455d7 _PyEval_EvalFrameDefault() ???:0
52 0x00000000001687f1 PyMethod_New() ???:0
53 0x0000000000169492 PyObject_Call() ???:0
54 0x00000000001455d7 _PyEval_EvalFrameDefault() ???:0
55 0x000000000015a9fc _PyFunction_Vectorcall() ???:0
56 0x000000000014fcbd _PyObject_FastCallDictTstate() ???:0
=================================
==== backtrace (tid: 121879) ====
0 0x0000000000042520 __sigaction() ???:0
1 0x0000000000b83824 cublasLt_for_cublas_ZZZ() ???:0
2 0x0000000000897f37 cublasLt_for_cublas_ZZZ() ???:0
3 0x000000000072c917 cublasLtLegacyGemmUtilizationZZZ() ???:0
4 0x00000000007ff3de cublasLtMatmulAlgoCheck() ???:0
5 0x0000000000800399 cublasLtMatmulAlgoCheck() ???:0
6 0x0000000000800ecc cublasLtMatmulAlgoCheck() ???:0
7 0x0000000000829a9d cublasLtMatmulAlgoGetHeuristic() ???:0
8 0x0000000000273439 transformer_engine::cublas_gemm() ???:0
9 0x0000000000273904 nvte_cublas_gemm() ???:0
10 0x0000000000057c56 te_gemm() ???:0
11 0x00000000000bb968 te_gemm_ts() /workspace/TransformerEngine/transformer_engine/pytorch/csrc/ts_fp8_op.cpp:265
12 0x00000000000be875 c10::impl::detail::WrapFunctionIntoRuntimeFunctor_<at::Tensor (*)(at::Tensor, at::Tensor, long, long, long, at::Tensor, at::Tensor, long, long, long, at::Tensor, at::Tensor, long, at::Tensor, at::Tensor, long, at::Tensor, long, at::Tensor, long, long, long), at::Tensor, c10::guts::typelist::typelist<at::Tensor, at::Tensor, long, long, long, at::Tensor, at::Tensor, long, long, long, at::Tensor, at::Tensor, long, at::Tensor, at::Tensor, long, at::Tensor, long, at::Tensor, long, long, long> >::operator()() /usr/local/lib/python3.10/dist-packages/torch/include/ATen/core/boxing/impl/WrapFunctionIntoRuntimeFunctor.h:18
13 0x00000000000be875 c10::impl::wrap_kernel_functor_unboxed_<c10::impl::detail::WrapFunctionIntoRuntimeFunctor_<at::Tensor (*)(at::Tensor, at::Tensor, long, long, long, at::Tensor, at::Tensor, long, long, long, at::Tensor, at::Tensor, long, at::Tensor, at::Tensor, long, at::Tensor, long, at::Tensor, long, long, long), at::Tensor, c10::guts::typelist::typelist<at::Tensor, at::Tensor, long, long, long, at::Tensor, at::Tensor, long, long, long, at::Tensor, at::Tensor, long, at::Tensor, at::Tensor, long, at::Tensor, long, at::Tensor, long, long, long> >, at::Tensor (at::Tensor, at::Tensor, long, long, long, at::Tensor, at::Tensor, long, long, long, at::Tensor, at::Tensor, long, at::Tensor, at::Tensor, long, at::Tensor, long, at::Tensor, long, long, long)>::call() /usr/local/lib/python3.10/dist-packages/torch/include/ATen/core/boxing/impl/make_boxed_from_unboxed_functor.h:463
14 0x00000000000bfaca c10::impl::call_functor_with_args_from_stack_<c10::impl::detail::WrapFunctionIntoRuntimeFunctor_<at::Tensor (*)(at::Tensor, at::Tensor, long, long, long, at::Tensor, at::Tensor, long, long, long, at::Tensor, at::Tensor, long, at::Tensor, at::Tensor, long, at::Tensor, long, at::Tensor, long, long, long), at::Tensor, c10::guts::typelist::typelist<at::Tensor, at::Tensor, long, long, long, at::Tensor, at::Tensor, long, long, long, at::Tensor, at::Tensor, long, at::Tensor, at::Tensor, long, at::Tensor, long, at::Tensor, long, long, long> >, false, 0ul, 1ul, 2ul, 3ul, 4ul, 5ul, 6ul, 7ul, 8ul, 9ul, 10ul, 11ul, 12ul, 13ul, 14ul, 15ul, 16ul, 17ul, 18ul, 19ul, 20ul, 21ul, at::Tensor, at::Tensor, long, long, long, at::Tensor, at::Tensor, long, long, long, at::Tensor, at::Tensor, long, at::Tensor, at::Tensor, long, at::Tensor, long, at::Tensor, long, long, long>() /usr/local/lib/python3.10/dist-packages/torch/include/ATen/core/boxing/impl/make_boxed_from_unboxed_functor.h:501
15 0x00000000000bfaca c10::impl::call_functor_with_args_from_stack<c10::impl::detail::WrapFunctionIntoRuntimeFunctor_<at::Tensor (*)(at::Tensor, at::Tensor, long, long, long, at::Tensor, at::Tensor, long, long, long, at::Tensor, at::Tensor, long, at::Tensor, at::Tensor, long, at::Tensor, long, at::Tensor, long, long, long), at::Tensor, c10::guts::typelist::typelist<at::Tensor, at::Tensor, long, long, long, at::Tensor, at::Tensor, long, long, long, at::Tensor, at::Tensor, long, at::Tensor, at::Tensor, long, at::Tensor, long, at::Tensor, long, long, long> >, false>() /usr/local/lib/python3.10/dist-packages/torch/include/ATen/core/boxing/impl/make_boxed_from_unboxed_functor.h:513
16 0x00000000000bfaca c10::impl::make_boxed_from_unboxed_functor<c10::impl::detail::WrapFunctionIntoRuntimeFunctor_<at::Tensor (*)(at::Tensor, at::Tensor, long, long, long, at::Tensor, at::Tensor, long, long, long, at::Tensor, at::Tensor, long, at::Tensor, at::Tensor, long, at::Tensor, long, at::Tensor, long, long, long), at::Tensor, c10::guts::typelist::typelist<at::Tensor, at::Tensor, long, long, long, at::Tensor, at::Tensor, long, long, long, at::Tensor, at::Tensor, long, at::Tensor, at::Tensor, long, at::Tensor, long, at::Tensor, long, long, long> >, false>::call() /usr/local/lib/python3.10/dist-packages/torch/include/ATen/core/boxing/impl/make_boxed_from_unboxed_functor.h:579
17 0x0000000004817624 c10::Dispatcher::callBoxed() register_c10_ops.cpp:0
18 0x000000000085fdb4 torch::jit::invokeOperatorFromPython() ???:0
19 0x000000000086067e torch::jit::_get_operation_for_overload_or_packet() ???:0
20 0x00000000007459e6 pybind11::cpp_function::initialize<torch::jit::initJITBindings(_object*)::{lambda(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)#194}::operator()(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const::{lambda(pybind11::args, pybind11::kwargs)#1}, pybind11::object, pybind11::args, pybind11::kwargs, pybind11::name, pybind11::doc>(torch::jit::initJITBindings(_object*)::{lambda(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)#194}::operator()(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const::{lambda(pybind11::args, pybind11::kwargs)#1}&&, pybind11::object (*)(pybind11::args, pybind11::kwargs), pybind11::name const&, pybind11::doc const&)::{lambda(pybind11::detail::function_call&)#3}::_FUN() init.cpp:0
21 0x000000000039c407 pybind11::cpp_function::dispatcher() :0
22 0x000000000015a10e PyObject_CallFunctionObjArgs() ???:0
23 0x000000000016942b PyObject_Call() ???:0
24 0x00000000001455d7 _PyEval_EvalFrameDefault() ???:0
25 0x000000000014fc14 _PyObject_FastCallDictTstate() ???:0
26 0x00000000001658d1 _PyObject_Call_Prepend() ???:0
27 0x0000000000280700 PyInit__datetime() ???:0
28 0x000000000016942b PyObject_Call() ???:0
29 0x00000000001455d7 _PyEval_EvalFrameDefault() ???:0
30 0x000000000015a9fc _PyFunction_Vectorcall() ???:0
31 0x000000000014453c _PyEval_EvalFrameDefault() ???:0
32 0x000000000015a9fc _PyFunction_Vectorcall() ???:0
33 0x00000000001455d7 _PyEval_EvalFrameDefault() ???:0
34 0x000000000015a9fc _PyFunction_Vectorcall() ???:0
35 0x0000000000169492 PyObject_Call() ???:0
36 0x00000000001455d7 _PyEval_EvalFrameDefault() ???:0
37 0x00000000001687f1 PyMethod_New() ???:0
38 0x0000000000169492 PyObject_Call() ???:0
39 0x00000000001455d7 _PyEval_EvalFrameDefault() ???:0
40 0x00000000001687f1 PyMethod_New() ???:0
41 0x0000000000169492 PyObject_Call() ???:0
42 0x00000000001455d7 _PyEval_EvalFrameDefault() ???:0
43 0x000000000015a9fc _PyFunction_Vectorcall() ???:0
44 0x000000000014fcbd _PyObject_FastCallDictTstate() ???:0
45 0x000000000016586c _PyObject_Call_Prepend() ???:0
46 0x0000000000280700 PyInit__datetime() ???:0
47 0x0000000000150a7b _PyObject_MakeTpCall() ???:0
48 0x000000000014a150 _PyEval_EvalFrameDefault() ???:0
49 0x00000000001687f1 PyMethod_New() ???:0
50 0x0000000000169492 PyObject_Call() ???:0
51 0x00000000001455d7 _PyEval_EvalFrameDefault() ???:0
52 0x00000000001687f1 PyMethod_New() ???:0
53 0x0000000000169492 PyObject_Call() ???:0
54 0x00000000001455d7 _PyEval_EvalFrameDefault() ???:0
55 0x000000000015a9fc _PyFunction_Vectorcall() ???:0
56 0x000000000014fcbd _PyObject_FastCallDictTstate() ???:0
=================================
==== backtrace (tid: 121877) ====
0 0x0000000000042520 __sigaction() ???:0
1 0x0000000000b83824 cublasLt_for_cublas_ZZZ() ???:0
2 0x0000000000897f37 cublasLt_for_cublas_ZZZ() ???:0
3 0x000000000072c917 cublasLtLegacyGemmUtilizationZZZ() ???:0
4 0x00000000007ff3de cublasLtMatmulAlgoCheck() ???:0
5 0x0000000000800399 cublasLtMatmulAlgoCheck() ???:0
6 0x0000000000800ecc cublasLtMatmulAlgoCheck() ???:0
7 0x0000000000829a9d cublasLtMatmulAlgoGetHeuristic() ???:0
8 0x0000000000273439 transformer_engine::cublas_gemm() ???:0
9 0x0000000000273904 nvte_cublas_gemm() ???:0
10 0x0000000000057c56 te_gemm() ???:0
11 0x00000000000bb968 te_gemm_ts() /workspace/TransformerEngine/transformer_engine/pytorch/csrc/ts_fp8_op.cpp:265
12 0x00000000000be875 c10::impl::detail::WrapFunctionIntoRuntimeFunctor_<at::Tensor (*)(at::Tensor, at::Tensor, long, long, long, at::Tensor, at::Tensor, long, long, long, at::Tensor, at::Tensor, long, at::Tensor, at::Tensor, long, at::Tensor, long, at::Tensor, long, long, long), at::Tensor, c10::guts::typelist::typelist<at::Tensor, at::Tensor, long, long, long, at::Tensor, at::Tensor, long, long, long, at::Tensor, at::Tensor, long, at::Tensor, at::Tensor, long, at::Tensor, long, at::Tensor, long, long, long> >::operator()() /usr/local/lib/python3.10/dist-packages/torch/include/ATen/core/boxing/impl/WrapFunctionIntoRuntimeFunctor.h:18
13 0x00000000000be875 c10::impl::wrap_kernel_functor_unboxed_<c10::impl::detail::WrapFunctionIntoRuntimeFunctor_<at::Tensor (*)(at::Tensor, at::Tensor, long, long, long, at::Tensor, at::Tensor, long, long, long, at::Tensor, at::Tensor, long, at::Tensor, at::Tensor, long, at::Tensor, long, at::Tensor, long, long, long), at::Tensor, c10::guts::typelist::typelist<at::Tensor, at::Tensor, long, long, long, at::Tensor, at::Tensor, long, long, long, at::Tensor, at::Tensor, long, at::Tensor, at::Tensor, long, at::Tensor, long, at::Tensor, long, long, long> >, at::Tensor (at::Tensor, at::Tensor, long, long, long, at::Tensor, at::Tensor, long, long, long, at::Tensor, at::Tensor, long, at::Tensor, at::Tensor, long, at::Tensor, long, at::Tensor, long, long, long)>::call() /usr/local/lib/python3.10/dist-packages/torch/include/ATen/core/boxing/impl/make_boxed_from_unboxed_functor.h:463
14 0x00000000000bfaca c10::impl::call_functor_with_args_from_stack_<c10::impl::detail::WrapFunctionIntoRuntimeFunctor_<at::Tensor (*)(at::Tensor, at::Tensor, long, long, long, at::Tensor, at::Tensor, long, long, long, at::Tensor, at::Tensor, long, at::Tensor, at::Tensor, long, at::Tensor, long, at::Tensor, long, long, long), at::Tensor, c10::guts::typelist::typelist<at::Tensor, at::Tensor, long, long, long, at::Tensor, at::Tensor, long, long, long, at::Tensor, at::Tensor, long, at::Tensor, at::Tensor, long, at::Tensor, long, at::Tensor, long, long, long> >, false, 0ul, 1ul, 2ul, 3ul, 4ul, 5ul, 6ul, 7ul, 8ul, 9ul, 10ul, 11ul, 12ul, 13ul, 14ul, 15ul, 16ul, 17ul, 18ul, 19ul, 20ul, 21ul, at::Tensor, at::Tensor, long, long, long, at::Tensor, at::Tensor, long, long, long, at::Tensor, at::Tensor, long, at::Tensor, at::Tensor, long, at::Tensor, long, at::Tensor, long, long, long>() /usr/local/lib/python3.10/dist-packages/torch/include/ATen/core/boxing/impl/make_boxed_from_unboxed_functor.h:501
15 0x00000000000bfaca c10::impl::call_functor_with_args_from_stack<c10::impl::detail::WrapFunctionIntoRuntimeFunctor_<at::Tensor (*)(at::Tensor, at::Tensor, long, long, long, at::Tensor, at::Tensor, long, long, long, at::Tensor, at::Tensor, long, at::Tensor, at::Tensor, long, at::Tensor, long, at::Tensor, long, long, long), at::Tensor, c10::guts::typelist::typelist<at::Tensor, at::Tensor, long, long, long, at::Tensor, at::Tensor, long, long, long, at::Tensor, at::Tensor, long, at::Tensor, at::Tensor, long, at::Tensor, long, at::Tensor, long, long, long> >, false>() /usr/local/lib/python3.10/dist-packages/torch/include/ATen/core/boxing/impl/make_boxed_from_unboxed_functor.h:513
16 0x00000000000bfaca c10::impl::make_boxed_from_unboxed_functor<c10::impl::detail::WrapFunctionIntoRuntimeFunctor_<at::Tensor (*)(at::Tensor, at::Tensor, long, long, long, at::Tensor, at::Tensor, long, long, long, at::Tensor, at::Tensor, long, at::Tensor, at::Tensor, long, at::Tensor, long, at::Tensor, long, long, long), at::Tensor, c10::guts::typelist::typelist<at::Tensor, at::Tensor, long, long, long, at::Tensor, at::Tensor, long, long, long, at::Tensor, at::Tensor, long, at::Tensor, at::Tensor, long, at::Tensor, long, at::Tensor, long, long, long> >, false>::call() /usr/local/lib/python3.10/dist-packages/torch/include/ATen/core/boxing/impl/make_boxed_from_unboxed_functor.h:579
17 0x0000000004817624 c10::Dispatcher::callBoxed() register_c10_ops.cpp:0
18 0x000000000085fdb4 torch::jit::invokeOperatorFromPython() ???:0
19 0x000000000086067e torch::jit::_get_operation_for_overload_or_packet() ???:0
20 0x00000000007459e6 pybind11::cpp_function::initialize<torch::jit::initJITBindings(_object*)::{lambda(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)#194}::operator()(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const::{lambda(pybind11::args, pybind11::kwargs)#1}, pybind11::object, pybind11::args, pybind11::kwargs, pybind11::name, pybind11::doc>(torch::jit::initJITBindings(_object*)::{lambda(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)#194}::operator()(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const::{lambda(pybind11::args, pybind11::kwargs)#1}&&, pybind11::object (*)(pybind11::args, pybind11::kwargs), pybind11::name const&, pybind11::doc const&)::{lambda(pybind11::detail::function_call&)#3}::_FUN() init.cpp:0
21 0x000000000039c407 pybind11::cpp_function::dispatcher() :0
22 0x000000000015a10e PyObject_CallFunctionObjArgs() ???:0
23 0x000000000016942b PyObject_Call() ???:0
24 0x00000000001455d7 _PyEval_EvalFrameDefault() ???:0
25 0x000000000014fc14 _PyObject_FastCallDictTstate() ???:0
26 0x00000000001658d1 _PyObject_Call_Prepend() ???:0
27 0x0000000000280700 PyInit__datetime() ???:0
28 0x000000000016942b PyObject_Call() ???:0
29 0x00000000001455d7 _PyEval_EvalFrameDefault() ???:0
30 0x000000000015a9fc _PyFunction_Vectorcall() ???:0
31 0x000000000014453c _PyEval_EvalFrameDefault() ???:0
32 0x000000000015a9fc _PyFunction_Vectorcall() ???:0
33 0x00000000001455d7 _PyEval_EvalFrameDefault() ???:0
34 0x000000000015a9fc _PyFunction_Vectorcall() ???:0
35 0x0000000000169492 PyObject_Call() ???:0
36 0x00000000001455d7 _PyEval_EvalFrameDefault() ???:0
37 0x00000000001687f1 PyMethod_New() ???:0
38 0x0000000000169492 PyObject_Call() ???:0
39 0x00000000001455d7 _PyEval_EvalFrameDefault() ???:0
40 0x00000000001687f1 PyMethod_New() ???:0
41 0x0000000000169492 PyObject_Call() ???:0
42 0x00000000001455d7 _PyEval_EvalFrameDefault() ???:0
43 0x000000000015a9fc _PyFunction_Vectorcall() ???:0
44 0x000000000014fcbd _PyObject_FastCallDictTstate() ???:0
45 0x000000000016586c _PyObject_Call_Prepend() ???:0
46 0x0000000000280700 PyInit__datetime() ???:0
47 0x0000000000150a7b _PyObject_MakeTpCall() ???:0
48 0x000000000014a150 _PyEval_EvalFrameDefault() ???:0
49 0x00000000001687f1 PyMethod_New() ???:0
50 0x0000000000169492 PyObject_Call() ???:0
51 0x00000000001455d7 _PyEval_EvalFrameDefault() ???:0
52 0x00000000001687f1 PyMethod_New() ???:0
53 0x0000000000169492 PyObject_Call() ???:0
54 0x00000000001455d7 _PyEval_EvalFrameDefault() ???:0
55 0x000000000015a9fc _PyFunction_Vectorcall() ???:0
56 0x000000000014fcbd _PyObject_FastCallDictTstate() ???:0
=================================
==== backtrace (tid: 121664) ====
0 0x0000000000042520 __sigaction() ???:0
1 0x0000000000b83824 cublasLt_for_cublas_ZZZ() ???:0
2 0x0000000000897f37 cublasLt_for_cublas_ZZZ() ???:0
3 0x000000000072c917 cublasLtLegacyGemmUtilizationZZZ() ???:0
4 0x00000000007ff3de cublasLtMatmulAlgoCheck() ???:0
5 0x0000000000800399 cublasLtMatmulAlgoCheck() ???:0
6 0x0000000000800ecc cublasLtMatmulAlgoCheck() ???:0
7 0x0000000000829a9d cublasLtMatmulAlgoGetHeuristic() ???:0
8 0x0000000000273439 transformer_engine::cublas_gemm() ???:0
9 0x0000000000273904 nvte_cublas_gemm() ???:0
10 0x0000000000057c56 te_gemm() ???:0
11 0x00000000000bb968 te_gemm_ts() /workspace/TransformerEngine/transformer_engine/pytorch/csrc/ts_fp8_op.cpp:265
12 0x00000000000be875 c10::impl::detail::WrapFunctionIntoRuntimeFunctor_<at::Tensor (*)(at::Tensor, at::Tensor, long, long, long, at::Tensor, at::Tensor, long, long, long, at::Tensor, at::Tensor, long, at::Tensor, at::Tensor, long, at::Tensor, long, at::Tensor, long, long, long), at::Tensor, c10::guts::typelist::typelist<at::Tensor, at::Tensor, long, long, long, at::Tensor, at::Tensor, long, long, long, at::Tensor, at::Tensor, long, at::Tensor, at::Tensor, long, at::Tensor, long, at::Tensor, long, long, long> >::operator()() /usr/local/lib/python3.10/dist-packages/torch/include/ATen/core/boxing/impl/WrapFunctionIntoRuntimeFunctor.h:18
13 0x00000000000be875 c10::impl::wrap_kernel_functor_unboxed_<c10::impl::detail::WrapFunctionIntoRuntimeFunctor_<at::Tensor (*)(at::Tensor, at::Tensor, long, long, long, at::Tensor, at::Tensor, long, long, long, at::Tensor, at::Tensor, long, at::Tensor, at::Tensor, long, at::Tensor, long, at::Tensor, long, long, long), at::Tensor, c10::guts::typelist::typelist<at::Tensor, at::Tensor, long, long, long, at::Tensor, at::Tensor, long, long, long, at::Tensor, at::Tensor, long, at::Tensor, at::Tensor, long, at::Tensor, long, at::Tensor, long, long, long> >, at::Tensor (at::Tensor, at::Tensor, long, long, long, at::Tensor, at::Tensor, long, long, long, at::Tensor, at::Tensor, long, at::Tensor, at::Tensor, long, at::Tensor, long, at::Tensor, long, long, long)>::call() /usr/local/lib/python3.10/dist-packages/torch/include/ATen/core/boxing/impl/make_boxed_from_unboxed_functor.h:463
14 0x00000000000bfaca c10::impl::call_functor_with_args_from_stack_<c10::impl::detail::WrapFunctionIntoRuntimeFunctor_<at::Tensor (*)(at::Tensor, at::Tensor, long, long, long, at::Tensor, at::Tensor, long, long, long, at::Tensor, at::Tensor, long, at::Tensor, at::Tensor, long, at::Tensor, long, at::Tensor, long, long, long), at::Tensor, c10::guts::typelist::typelist<at::Tensor, at::Tensor, long, long, long, at::Tensor, at::Tensor, long, long, long, at::Tensor, at::Tensor, long, at::Tensor, at::Tensor, long, at::Tensor, long, at::Tensor, long, long, long> >, false, 0ul, 1ul, 2ul, 3ul, 4ul, 5ul, 6ul, 7ul, 8ul, 9ul, 10ul, 11ul, 12ul, 13ul, 14ul, 15ul, 16ul, 17ul, 18ul, 19ul, 20ul, 21ul, at::Tensor, at::Tensor, long, long, long, at::Tensor, at::Tensor, long, long, long, at::Tensor, at::Tensor, long, at::Tensor, at::Tensor, long, at::Tensor, long, at::Tensor, long, long, long>() /usr/local/lib/python3.10/dist-packages/torch/include/ATen/core/boxing/impl/make_boxed_from_unboxed_functor.h:501
15 0x00000000000bfaca c10::impl::call_functor_with_args_from_stack<c10::impl::detail::WrapFunctionIntoRuntimeFunctor_<at::Tensor (*)(at::Tensor, at::Tensor, long, long, long, at::Tensor, at::Tensor, long, long, long, at::Tensor, at::Tensor, long, at::Tensor, at::Tensor, long, at::Tensor, long, at::Tensor, long, long, long), at::Tensor, c10::guts::typelist::typelist<at::Tensor, at::Tensor, long, long, long, at::Tensor, at::Tensor, long, long, long, at::Tensor, at::Tensor, long, at::Tensor, at::Tensor, long, at::Tensor, long, at::Tensor, long, long, long> >, false>() /usr/local/lib/python3.10/dist-packages/torch/include/ATen/core/boxing/impl/make_boxed_from_unboxed_functor.h:513
16 0x00000000000bfaca c10::impl::make_boxed_from_unboxed_functor<c10::impl::detail::WrapFunctionIntoRuntimeFunctor_<at::Tensor (*)(at::Tensor, at::Tensor, long, long, long, at::Tensor, at::Tensor, long, long, long, at::Tensor, at::Tensor, long, at::Tensor, at::Tensor, long, at::Tensor, long, at::Tensor, long, long, long), at::Tensor, c10::guts::typelist::typelist<at::Tensor, at::Tensor, long, long, long, at::Tensor, at::Tensor, long, long, long, at::Tensor, at::Tensor, long, at::Tensor, at::Tensor, long, at::Tensor, long, at::Tensor, long, long, long> >, false>::call() /usr/local/lib/python3.10/dist-packages/torch/include/ATen/core/boxing/impl/make_boxed_from_unboxed_functor.h:579
17 0x0000000004817624 c10::Dispatcher::callBoxed() register_c10_ops.cpp:0
18 0x000000000085fdb4 torch::jit::invokeOperatorFromPython() ???:0
19 0x000000000086067e torch::jit::_get_operation_for_overload_or_packet() ???:0
20 0x00000000007459e6 pybind11::cpp_function::initialize<torch::jit::initJITBindings(_object*)::{lambda(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)#194}::operator()(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const::{lambda(pybind11::args, pybind11::kwargs)#1}, pybind11::object, pybind11::args, pybind11::kwargs, pybind11::name, pybind11::doc>(torch::jit::initJITBindings(_object*)::{lambda(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)#194}::operator()(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const::{lambda(pybind11::args, pybind11::kwargs)#1}&&, pybind11::object (*)(pybind11::args, pybind11::kwargs), pybind11::name const&, pybind11::doc const&)::{lambda(pybind11::detail::function_call&)#3}::_FUN() init.cpp:0
21 0x000000000039c407 pybind11::cpp_function::dispatcher() :0
22 0x000000000015a10e PyObject_CallFunctionObjArgs() ???:0
23 0x000000000016942b PyObject_Call() ???:0
24 0x00000000001455d7 _PyEval_EvalFrameDefault() ???:0
25 0x000000000014fc14 _PyObject_FastCallDictTstate() ???:0
26 0x00000000001658d1 _PyObject_Call_Prepend() ???:0
27 0x0000000000280700 PyInit__datetime() ???:0
28 0x000000000016942b PyObject_Call() ???:0
29 0x00000000001455d7 _PyEval_EvalFrameDefault() ???:0
30 0x000000000015a9fc _PyFunction_Vectorcall() ???:0
31 0x000000000014453c _PyEval_EvalFrameDefault() ???:0
32 0x000000000015a9fc _PyFunction_Vectorcall() ???:0
33 0x00000000001455d7 _PyEval_EvalFrameDefault() ???:0
34 0x000000000015a9fc _PyFunction_Vectorcall() ???:0
35 0x0000000000169492 PyObject_Call() ???:0
36 0x00000000001455d7 _PyEval_EvalFrameDefault() ???:0
37 0x00000000001687f1 PyMethod_New() ???:0
38 0x0000000000169492 PyObject_Call() ???:0
39 0x00000000001455d7 _PyEval_EvalFrameDefault() ???:0
40 0x00000000001687f1 PyMethod_New() ???:0
41 0x0000000000169492 PyObject_Call() ???:0
42 0x00000000001455d7 _PyEval_EvalFrameDefault() ???:0
43 0x000000000015a9fc _PyFunction_Vectorcall() ???:0
44 0x000000000014fcbd _PyObject_FastCallDictTstate() ???:0
45 0x000000000016586c _PyObject_Call_Prepend() ???:0
46 0x0000000000280700 PyInit__datetime() ???:0
47 0x0000000000150a7b _PyObject_MakeTpCall() ???:0
48 0x000000000014a150 _PyEval_EvalFrameDefault() ???:0
49 0x00000000001687f1 PyMethod_New() ???:0
50 0x0000000000169492 PyObject_Call() ???:0
51 0x00000000001455d7 _PyEval_EvalFrameDefault() ???:0
52 0x00000000001687f1 PyMethod_New() ???:0
53 0x0000000000169492 PyObject_Call() ???:0
54 0x00000000001455d7 _PyEval_EvalFrameDefault() ???:0
55 0x000000000015a9fc _PyFunction_Vectorcall() ???:0
56 0x000000000014fcbd _PyObject_FastCallDictTstate() ???:0
=================================
Floating point exception (core dumped)
root@n154-161-133:/data# ==== backtrace (tid: 121882) ====
0 0x0000000000042520 __sigaction() ???:0
1 0x0000000000b83824 cublasLt_for_cublas_ZZZ() ???:0
2 0x0000000000897f37 cublasLt_for_cublas_ZZZ() ???:0
3 0x000000000072c917 cublasLtLegacyGemmUtilizationZZZ() ???:0
4 0x00000000007ff3de cublasLtMatmulAlgoCheck() ???:0
5 0x0000000000800399 cublasLtMatmulAlgoCheck() ???:0
6 0x0000000000800ecc cublasLtMatmulAlgoCheck() ???:0
7 0x0000000000829a9d cublasLtMatmulAlgoGetHeuristic() ???:0
8 0x0000000000273439 transformer_engine::cublas_gemm() ???:0
9 0x0000000000273904 nvte_cublas_gemm() ???:0
10 0x0000000000057c56 te_gemm() ???:0
11 0x00000000000bb968 te_gemm_ts() /workspace/TransformerEngine/transformer_engine/pytorch/csrc/ts_fp8_op.cpp:265
12 0x00000000000be875 c10::impl::detail::WrapFunctionIntoRuntimeFunctor_<at::Tensor (*)(at::Tensor, at::Tensor, long, long, long, at::Tensor, at::Tensor, long, long, long, at::Tensor, at::Tensor, long, at::Tensor, at::Tensor, long, at::Tensor, long, at::Tensor, long, long, long), at::Tensor, c10::guts::typelist::typelist<at::Tensor, at::Tensor, long, long, long, at::Tensor, at::Tensor, long, long, long, at::Tensor, at::Tensor, long, at::Tensor, at::Tensor, long, at::Tensor, long, at::Tensor, long, long, long> >::operator()() /usr/local/lib/python3.10/dist-packages/torch/include/ATen/core/boxing/impl/WrapFunctionIntoRuntimeFunctor.h:18
13 0x00000000000be875 c10::impl::wrap_kernel_functor_unboxed_<c10::impl::detail::WrapFunctionIntoRuntimeFunctor_<at::Tensor (*)(at::Tensor, at::Tensor, long, long, long, at::Tensor, at::Tensor, long, long, long, at::Tensor, at::Tensor, long, at::Tensor, at::Tensor, long, at::Tensor, long, at::Tensor, long, long, long), at::Tensor, c10::guts::typelist::typelist<at::Tensor, at::Tensor, long, long, long, at::Tensor, at::Tensor, long, long, long, at::Tensor, at::Tensor, long, at::Tensor, at::Tensor, long, at::Tensor, long, at::Tensor, long, long, long> >, at::Tensor (at::Tensor, at::Tensor, long, long, long, at::Tensor, at::Tensor, long, long, long, at::Tensor, at::Tensor, long, at::Tensor, at::Tensor, long, at::Tensor, long, at::Tensor, long, long, long)>::call() /usr/local/lib/python3.10/dist-packages/torch/include/ATen/core/boxing/impl/make_boxed_from_unboxed_functor.h:463
14 0x00000000000bfaca c10::impl::call_functor_with_args_from_stack_<c10::impl::detail::WrapFunctionIntoRuntimeFunctor_<at::Tensor (*)(at::Tensor, at::Tensor, long, long, long, at::Tensor, at::Tensor, long, long, long, at::Tensor, at::Tensor, long, at::Tensor, at::Tensor, long, at::Tensor, long, at::Tensor, long, long, long), at::Tensor, c10::guts::typelist::typelist<at::Tensor, at::Tensor, long, long, long, at::Tensor, at::Tensor, long, long, long, at::Tensor, at::Tensor, long, at::Tensor, at::Tensor, long, at::Tensor, long, at::Tensor, long, long, long> >, false, 0ul, 1ul, 2ul, 3ul, 4ul, 5ul, 6ul, 7ul, 8ul, 9ul, 10ul, 11ul, 12ul, 13ul, 14ul, 15ul, 16ul, 17ul, 18ul, 19ul, 20ul, 21ul, at::Tensor, at::Tensor, long, long, long, at::Tensor, at::Tensor, long, long, long, at::Tensor, at::Tensor, long, at::Tensor, at::Tensor, long, at::Tensor, long, at::Tensor, long, long, long>() /usr/local/lib/python3.10/dist-packages/torch/include/ATen/core/boxing/impl/make_boxed_from_unboxed_functor.h:501
15 0x00000000000bfaca c10::impl::call_functor_with_args_from_stack<c10::impl::detail::WrapFunctionIntoRuntimeFunctor_<at::Tensor (*)(at::Tensor, at::Tensor, long, long, long, at::Tensor, at::Tensor, long, long, long, at::Tensor, at::Tensor, long, at::Tensor, at::Tensor, long, at::Tensor, long, at::Tensor, long, long, long), at::Tensor, c10::guts::typelist::typelist<at::Tensor, at::Tensor, long, long, long, at::Tensor, at::Tensor, long, long, long, at::Tensor, at::Tensor, long, at::Tensor, at::Tensor, long, at::Tensor, long, at::Tensor, long, long, long> >, false>() /usr/local/lib/python3.10/dist-packages/torch/include/ATen/core/boxing/impl/make_boxed_from_unboxed_functor.h:513
16 0x00000000000bfaca c10::impl::make_boxed_from_unboxed_functor<c10::impl::detail::WrapFunctionIntoRuntimeFunctor_<at::Tensor (*)(at::Tensor, at::Tensor, long, long, long, at::Tensor, at::Tensor, long, long, long, at::Tensor, at::Tensor, long, at::Tensor, at::Tensor, long, at::Tensor, long, at::Tensor, long, long, long), at::Tensor, c10::guts::typelist::typelist<at::Tensor, at::Tensor, long, long, long, at::Tensor, at::Tensor, long, long, long, at::Tensor, at::Tensor, long, at::Tensor, at::Tensor, long, at::Tensor, long, at::Tensor, long, long, long> >, false>::call() /usr/local/lib/python3.10/dist-packages/torch/include/ATen/core/boxing/impl/make_boxed_from_unboxed_functor.h:579
17 0x0000000004817624 c10::Dispatcher::callBoxed() register_c10_ops.cpp:0
18 0x000000000085fdb4 torch::jit::invokeOperatorFromPython() ???:0
19 0x000000000086067e torch::jit::_get_operation_for_overload_or_packet() ???:0
20 0x00000000007459e6 pybind11::cpp_function::initialize<torch::jit::initJITBindings(_object*)::{lambda(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)#194}::operator()(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const::{lambda(pybind11::args, pybind11::kwargs)#1}, pybind11::object, pybind11::args, pybind11::kwargs, pybind11::name, pybind11::doc>(torch::jit::initJITBindings(_object*)::{lambda(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)#194}::operator()(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const::{lambda(pybind11::args, pybind11::kwargs)#1}&&, pybind11::object (*)(pybind11::args, pybind11::kwargs), pybind11::name const&, pybind11::doc const&)::{lambda(pybind11::detail::function_call&)#3}::_FUN() init.cpp:0
21 0x000000000039c407 pybind11::cpp_function::dispatcher() :0
22 0x000000000015a10e PyObject_CallFunctionObjArgs() ???:0
23 0x000000000016942b PyObject_Call() ???:0
24 0x00000000001455d7 _PyEval_EvalFrameDefault() ???:0
25 0x000000000014fc14 _PyObject_FastCallDictTstate() ???:0
26 0x00000000001658d1 _PyObject_Call_Prepend() ???:0
27 0x0000000000280700 PyInit__datetime() ???:0
28 0x000000000016942b PyObject_Call() ???:0
29 0x00000000001455d7 _PyEval_EvalFrameDefault() ???:0
30 0x000000000015a9fc _PyFunction_Vectorcall() ???:0
31 0x000000000014453c _PyEval_EvalFrameDefault() ???:0
32 0x000000000015a9fc _PyFunction_Vectorcall() ???:0
33 0x00000000001455d7 _PyEval_EvalFrameDefault() ???:0
34 0x000000000015a9fc _PyFunction_Vectorcall() ???:0
35 0x0000000000169492 PyObject_Call() ???:0
36 0x00000000001455d7 _PyEval_EvalFrameDefault() ???:0
37 0x00000000001687f1 PyMethod_New() ???:0
38 0x0000000000169492 PyObject_Call() ???:0
39 0x00000000001455d7 _PyEval_EvalFrameDefault() ???:0
40 0x00000000001687f1 PyMethod_New() ???:0
41 0x0000000000169492 PyObject_Call() ???:0
42 0x00000000001455d7 _PyEval_EvalFrameDefault() ???:0
43 0x000000000015a9fc _PyFunction_Vectorcall() ???:0
44 0x000000000014fcbd _PyObject_FastCallDictTstate() ???:0
45 0x000000000016586c _PyObject_Call_Prepend() ???:0
46 0x0000000000280700 PyInit__datetime() ???:0
47 0x0000000000150a7b _PyObject_MakeTpCall() ???:0
48 0x000000000014a150 _PyEval_EvalFrameDefault() ???:0
49 0x00000000001687f1 PyMethod_New() ???:0
50 0x0000000000169492 PyObject_Call() ???:0
51 0x00000000001455d7 _PyEval_EvalFrameDefault() ???:0
52 0x00000000001687f1 PyMethod_New() ???:0
53 0x0000000000169492 PyObject_Call() ???:0
54 0x00000000001455d7 _PyEval_EvalFrameDefault() ???:0
55 0x000000000015a9fc _PyFunction_Vectorcall() ???:0
56 0x000000000014fcbd _PyObject_FastCallDictTstate() ???:0
=================================
```
Any suggestions would be appreciated, Thanks
| {
"login": "github-actions[bot]",
"id": 41898282,
"node_id": "MDM6Qm90NDE4OTgyODI=",
"avatar_url": "https://avatars.githubusercontent.com/in/15368?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/github-actions%5Bbot%5D",
"html_url": "https://github.com/apps/github-actions",
"followers_url": "https://api.github.com/users/github-actions%5Bbot%5D/followers",
"following_url": "https://api.github.com/users/github-actions%5Bbot%5D/following{/other_user}",
"gists_url": "https://api.github.com/users/github-actions%5Bbot%5D/gists{/gist_id}",
"starred_url": "https://api.github.com/users/github-actions%5Bbot%5D/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/github-actions%5Bbot%5D/subscriptions",
"organizations_url": "https://api.github.com/users/github-actions%5Bbot%5D/orgs",
"repos_url": "https://api.github.com/users/github-actions%5Bbot%5D/repos",
"events_url": "https://api.github.com/users/github-actions%5Bbot%5D/events{/privacy}",
"received_events_url": "https://api.github.com/users/github-actions%5Bbot%5D/received_events",
"type": "Bot",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/8505/reactions",
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 1
} | https://api.github.com/repos/NVIDIA/NeMo/issues/8505/timeline | null | not_planned | false |
https://api.github.com/repos/NVIDIA/NeMo/issues/8504 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/8504/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/8504/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/8504/events | https://github.com/NVIDIA/NeMo/pull/8504 | 2,153,202,199 | PR_kwDOC_bI7s5n3P1U | 8,504 | pin to 0.5.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
} | [
{
"id": 4556669155,
"node_id": "LA_kwDOC_bI7s8AAAABD5lA4w",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/cherry-pick",
"name": "cherry-pick",
"color": "ededed",
"default": false,
"description": null
}
] | closed | false | null | [] | null | [
"jenkins",
"jenkins",
"jenkins"
] | 2024-02-26T03:59:04 | 2024-02-26T20:44:05 | 2024-02-26T20:44:04 | CONTRIBUTOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/8504",
"html_url": "https://github.com/NVIDIA/NeMo/pull/8504",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/8504.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/8504.patch",
"merged_at": "2024-02-26T20:44:04"
} | # What does this PR do ?
Add a one line overview of what this PR aims to accomplish.
**Collection**: [Note which collection this PR will affect]
# Changelog
- Add specific line by line info of high level changes in this PR.
# Usage
* You can potentially add a usage example below
```python
# Add a code snippet demonstrating how to use this
```
# Jenkins CI
To run Jenkins, a NeMo User with write access must comment `jenkins` on the PR.
# Before your PR is "Ready for review"
**Pre checks**:
- [ ] Make sure you read and followed [Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md)
- [ ] Did you write any new necessary tests?
- [ ] Did you add or update any necessary documentation?
- [ ] Does the PR affect components that are optional to install? (Ex: Numba, Pynini, Apex etc)
- [ ] Reviewer: Does the PR have correct import guards for all optional libraries?
**PR Type**:
- [ ] New Feature
- [ ] Bugfix
- [ ] Documentation
If you haven't finished some of the above items you can still open "Draft" PR.
## Who can review?
Anyone in the community is free to review the PR once the checks have passed.
[Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md) contains specific people who can review PRs to various areas.
# Additional Information
* Related to # (issue)
| {
"login": "ericharper",
"id": 11999610,
"node_id": "MDQ6VXNlcjExOTk5NjEw",
"avatar_url": "https://avatars.githubusercontent.com/u/11999610?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ericharper",
"html_url": "https://github.com/ericharper",
"followers_url": "https://api.github.com/users/ericharper/followers",
"following_url": "https://api.github.com/users/ericharper/following{/other_user}",
"gists_url": "https://api.github.com/users/ericharper/gists{/gist_id}",
"starred_url": "https://api.github.com/users/ericharper/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ericharper/subscriptions",
"organizations_url": "https://api.github.com/users/ericharper/orgs",
"repos_url": "https://api.github.com/users/ericharper/repos",
"events_url": "https://api.github.com/users/ericharper/events{/privacy}",
"received_events_url": "https://api.github.com/users/ericharper/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/8504/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/8504/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/8502 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/8502/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/8502/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/8502/events | https://github.com/NVIDIA/NeMo/pull/8502 | 2,152,871,898 | PR_kwDOC_bI7s5n2LUc | 8,502 | Add fp8 support for SD/Update notebook paths | {
"login": "github-actions[bot]",
"id": 41898282,
"node_id": "MDM6Qm90NDE4OTgyODI=",
"avatar_url": "https://avatars.githubusercontent.com/in/15368?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/github-actions%5Bbot%5D",
"html_url": "https://github.com/apps/github-actions",
"followers_url": "https://api.github.com/users/github-actions%5Bbot%5D/followers",
"following_url": "https://api.github.com/users/github-actions%5Bbot%5D/following{/other_user}",
"gists_url": "https://api.github.com/users/github-actions%5Bbot%5D/gists{/gist_id}",
"starred_url": "https://api.github.com/users/github-actions%5Bbot%5D/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/github-actions%5Bbot%5D/subscriptions",
"organizations_url": "https://api.github.com/users/github-actions%5Bbot%5D/orgs",
"repos_url": "https://api.github.com/users/github-actions%5Bbot%5D/repos",
"events_url": "https://api.github.com/users/github-actions%5Bbot%5D/events{/privacy}",
"received_events_url": "https://api.github.com/users/github-actions%5Bbot%5D/received_events",
"type": "Bot",
"user_view_type": "public",
"site_admin": false
} | [
{
"id": 4556669155,
"node_id": "LA_kwDOC_bI7s8AAAABD5lA4w",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/cherry-pick",
"name": "cherry-pick",
"color": "ededed",
"default": false,
"description": null
},
{
"id": 4811886210,
"node_id": "LA_kwDOC_bI7s8AAAABHs-Ogg",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/NLP",
"name": "NLP",
"color": "CBF09A",
"default": false,
"description": ""
}
] | closed | false | null | [] | null | [
"jenkins",
"jenkins",
"jenkins"
] | 2024-02-25T17:55:03 | 2024-02-27T00:29:23 | 2024-02-27T00:29:23 | CONTRIBUTOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/8502",
"html_url": "https://github.com/NVIDIA/NeMo/pull/8502",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/8502.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/8502.patch",
"merged_at": null
} | # What does this PR do ?
Add FP8 support for SD training.
**Collection**: [multimodal/text_to_image/statble_diffusion]
# Changelog
- Add config argument - use_te_fp8 to switch between fp16 and fp8 training
- Add transformer engine fp8 layers to Stable diffusion Unet
- Update a few legacy paths in notebook tutorial
# Usage
```yaml
unet_config:
use_te_fp8=True
```
# Jenkins CI
To run Jenkins, a NeMo User with write access must comment `jenkins` on the PR.
# Before your PR is "Ready for review"
**Pre checks**:
- [x ] Make sure you read and followed [Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md)
- [ ] Did you write any new necessary tests?
- [ ] Did you add or update any necessary documentation?
- [ ] Does the PR affect components that are optional to install? (Ex: Numba, Pynini, Apex etc)
- [ ] Reviewer: Does the PR have correct import guards for all optional libraries?
**PR Type**:
- [x ] New Feature
- [ ] Bugfix
- [ ] Documentation
If you haven't finished some of the above items you can still open "Draft" PR.
## Who can review?
Anyone in the community is free to review the PR once the checks have passed.
[Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md) contains specific people who can review PRs to various areas.
# Additional Information
* Related to # (issue)
| {
"login": "Victor49152",
"id": 111467530,
"node_id": "U_kgDOBqTcCg",
"avatar_url": "https://avatars.githubusercontent.com/u/111467530?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Victor49152",
"html_url": "https://github.com/Victor49152",
"followers_url": "https://api.github.com/users/Victor49152/followers",
"following_url": "https://api.github.com/users/Victor49152/following{/other_user}",
"gists_url": "https://api.github.com/users/Victor49152/gists{/gist_id}",
"starred_url": "https://api.github.com/users/Victor49152/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Victor49152/subscriptions",
"organizations_url": "https://api.github.com/users/Victor49152/orgs",
"repos_url": "https://api.github.com/users/Victor49152/repos",
"events_url": "https://api.github.com/users/Victor49152/events{/privacy}",
"received_events_url": "https://api.github.com/users/Victor49152/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/8502/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/8502/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/8501 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/8501/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/8501/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/8501/events | https://github.com/NVIDIA/NeMo/pull/8501 | 2,152,871,070 | PR_kwDOC_bI7s5n2LJ2 | 8,501 | Update PEFT Doc | {
"login": "cuichenx",
"id": 43478052,
"node_id": "MDQ6VXNlcjQzNDc4MDUy",
"avatar_url": "https://avatars.githubusercontent.com/u/43478052?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/cuichenx",
"html_url": "https://github.com/cuichenx",
"followers_url": "https://api.github.com/users/cuichenx/followers",
"following_url": "https://api.github.com/users/cuichenx/following{/other_user}",
"gists_url": "https://api.github.com/users/cuichenx/gists{/gist_id}",
"starred_url": "https://api.github.com/users/cuichenx/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cuichenx/subscriptions",
"organizations_url": "https://api.github.com/users/cuichenx/orgs",
"repos_url": "https://api.github.com/users/cuichenx/repos",
"events_url": "https://api.github.com/users/cuichenx/events{/privacy}",
"received_events_url": "https://api.github.com/users/cuichenx/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"id": 4811886210,
"node_id": "LA_kwDOC_bI7s8AAAABHs-Ogg",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/NLP",
"name": "NLP",
"color": "CBF09A",
"default": false,
"description": ""
}
] | closed | false | null | [] | null | [] | 2024-02-25T17:52:39 | 2024-02-25T18:00:55 | 2024-02-25T18:00:55 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/8501",
"html_url": "https://github.com/NVIDIA/NeMo/pull/8501",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/8501.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/8501.patch",
"merged_at": "2024-02-25T18:00:55"
} | Manually cherry-pick #8262
| {
"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/8501/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/8501/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/8500 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/8500/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/8500/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/8500/events | https://github.com/NVIDIA/NeMo/pull/8500 | 2,151,953,305 | PR_kwDOC_bI7s5nzVrj | 8,500 | Fix canary transcribe | {
"login": "stevehuang52",
"id": 105218074,
"node_id": "U_kgDOBkWAGg",
"avatar_url": "https://avatars.githubusercontent.com/u/105218074?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stevehuang52",
"html_url": "https://github.com/stevehuang52",
"followers_url": "https://api.github.com/users/stevehuang52/followers",
"following_url": "https://api.github.com/users/stevehuang52/following{/other_user}",
"gists_url": "https://api.github.com/users/stevehuang52/gists{/gist_id}",
"starred_url": "https://api.github.com/users/stevehuang52/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/stevehuang52/subscriptions",
"organizations_url": "https://api.github.com/users/stevehuang52/orgs",
"repos_url": "https://api.github.com/users/stevehuang52/repos",
"events_url": "https://api.github.com/users/stevehuang52/events{/privacy}",
"received_events_url": "https://api.github.com/users/stevehuang52/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"id": 4811884691,
"node_id": "LA_kwDOC_bI7s8AAAABHs-Ikw",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/ASR",
"name": "ASR",
"color": "F3B33E",
"default": false,
"description": ""
}
] | closed | false | null | [] | null | [
"jenkins"
] | 2024-02-23T23:34:11 | 2024-02-26T14:48:02 | 2024-02-26T14:48:01 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/8500",
"html_url": "https://github.com/NVIDIA/NeMo/pull/8500",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/8500.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/8500.patch",
"merged_at": "2024-02-26T14:48:01"
} | # What does this PR do ?
Fix `transcribe_speech.py` to use `audio_dir` as input instead of just `dataset_manifest`, also fix logging message. Tested on my local machine
**Collection**: [asr]
**PR Type**:
- [ ] New Feature
- [x] Bugfix
- [ ] Documentation
| {
"login": "stevehuang52",
"id": 105218074,
"node_id": "U_kgDOBkWAGg",
"avatar_url": "https://avatars.githubusercontent.com/u/105218074?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/stevehuang52",
"html_url": "https://github.com/stevehuang52",
"followers_url": "https://api.github.com/users/stevehuang52/followers",
"following_url": "https://api.github.com/users/stevehuang52/following{/other_user}",
"gists_url": "https://api.github.com/users/stevehuang52/gists{/gist_id}",
"starred_url": "https://api.github.com/users/stevehuang52/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/stevehuang52/subscriptions",
"organizations_url": "https://api.github.com/users/stevehuang52/orgs",
"repos_url": "https://api.github.com/users/stevehuang52/repos",
"events_url": "https://api.github.com/users/stevehuang52/events{/privacy}",
"received_events_url": "https://api.github.com/users/stevehuang52/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/8500/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/8500/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/8499 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/8499/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/8499/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/8499/events | https://github.com/NVIDIA/NeMo/pull/8499 | 2,151,712,344 | PR_kwDOC_bI7s5nyghK | 8,499 | Fix progress bar to update the total steps with trainer.max_steps | {
"login": "athitten",
"id": 47577437,
"node_id": "MDQ6VXNlcjQ3NTc3NDM3",
"avatar_url": "https://avatars.githubusercontent.com/u/47577437?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/athitten",
"html_url": "https://github.com/athitten",
"followers_url": "https://api.github.com/users/athitten/followers",
"following_url": "https://api.github.com/users/athitten/following{/other_user}",
"gists_url": "https://api.github.com/users/athitten/gists{/gist_id}",
"starred_url": "https://api.github.com/users/athitten/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/athitten/subscriptions",
"organizations_url": "https://api.github.com/users/athitten/orgs",
"repos_url": "https://api.github.com/users/athitten/repos",
"events_url": "https://api.github.com/users/athitten/events{/privacy}",
"received_events_url": "https://api.github.com/users/athitten/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"id": 4811886210,
"node_id": "LA_kwDOC_bI7s8AAAABHs-Ogg",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/NLP",
"name": "NLP",
"color": "CBF09A",
"default": false,
"description": ""
}
] | closed | false | null | [] | null | [
"jenkins",
"jenkins",
"jenkins",
"jenkins",
"jenkins"
] | 2024-02-23T19:57:20 | 2024-02-26T17:47:16 | 2024-02-26T17:47:15 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/8499",
"html_url": "https://github.com/NVIDIA/NeMo/pull/8499",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/8499.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/8499.patch",
"merged_at": "2024-02-26T17:47:15"
} | # What does this PR do ?
[PR 8426](https://github.com/NVIDIA/NeMo/pull/8426) returns the `len(dataloader)` in terms of total num of micro batches. This PR fixes the `CustomProgressBar` for nlp models to accommodate this change and display the correct `current_step/total_steps` in the bar.
Add a one line overview of what this PR aims to accomplish.
**Collection**: [Note which collection this PR will affect]
# Changelog
- Add specific line by line info of high level changes in this PR.
# Usage
* You can potentially add a usage example below
```python
# Add a code snippet demonstrating how to use this
```
# Jenkins CI
To run Jenkins, a NeMo User with write access must comment `jenkins` on the PR.
# Before your PR is "Ready for review"
**Pre checks**:
- [ ] Make sure you read and followed [Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md)
- [ ] Did you write any new necessary tests?
- [ ] Did you add or update any necessary documentation?
- [ ] Does the PR affect components that are optional to install? (Ex: Numba, Pynini, Apex etc)
- [ ] Reviewer: Does the PR have correct import guards for all optional libraries?
**PR Type**:
- [ ] New Feature
- [ ] Bugfix
- [ ] Documentation
If you haven't finished some of the above items you can still open "Draft" PR.
## Who can review?
Anyone in the community is free to review the PR once the checks have passed.
[Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md) contains specific people who can review PRs to various areas.
# Additional Information
* Related to # (issue)
| {
"login": "athitten",
"id": 47577437,
"node_id": "MDQ6VXNlcjQ3NTc3NDM3",
"avatar_url": "https://avatars.githubusercontent.com/u/47577437?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/athitten",
"html_url": "https://github.com/athitten",
"followers_url": "https://api.github.com/users/athitten/followers",
"following_url": "https://api.github.com/users/athitten/following{/other_user}",
"gists_url": "https://api.github.com/users/athitten/gists{/gist_id}",
"starred_url": "https://api.github.com/users/athitten/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/athitten/subscriptions",
"organizations_url": "https://api.github.com/users/athitten/orgs",
"repos_url": "https://api.github.com/users/athitten/repos",
"events_url": "https://api.github.com/users/athitten/events{/privacy}",
"received_events_url": "https://api.github.com/users/athitten/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/8499/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/8499/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/8498 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/8498/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/8498/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/8498/events | https://github.com/NVIDIA/NeMo/pull/8498 | 2,151,673,656 | PR_kwDOC_bI7s5nyYIG | 8,498 | Call proper method to replace double underscores with single underscores | {
"login": "nagavenkateshgavini",
"id": 20241067,
"node_id": "MDQ6VXNlcjIwMjQxMDY3",
"avatar_url": "https://avatars.githubusercontent.com/u/20241067?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/nagavenkateshgavini",
"html_url": "https://github.com/nagavenkateshgavini",
"followers_url": "https://api.github.com/users/nagavenkateshgavini/followers",
"following_url": "https://api.github.com/users/nagavenkateshgavini/following{/other_user}",
"gists_url": "https://api.github.com/users/nagavenkateshgavini/gists{/gist_id}",
"starred_url": "https://api.github.com/users/nagavenkateshgavini/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/nagavenkateshgavini/subscriptions",
"organizations_url": "https://api.github.com/users/nagavenkateshgavini/orgs",
"repos_url": "https://api.github.com/users/nagavenkateshgavini/repos",
"events_url": "https://api.github.com/users/nagavenkateshgavini/events{/privacy}",
"received_events_url": "https://api.github.com/users/nagavenkateshgavini/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | [
"Can you please review and approve as soon as possible, the branch becomes out of sync every 2 hours and the whole workflow checks run again when I sync the branch to the main.\r\n\r\n@titu1994, @redoctopus, @jbalam-nv, @okuchaiev",
"Just a note, it's fine to not sync with main branch until it says there are merge conflicts."
] | 2024-02-23T19:25:11 | 2024-02-23T22:40:49 | 2024-02-23T21:23:01 | CONTRIBUTOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/8498",
"html_url": "https://github.com/NVIDIA/NeMo/pull/8498",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/8498.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/8498.patch",
"merged_at": "2024-02-23T21:23:01"
} | # What does this PR do ?
The code snippet calling `repalce` instead of `replace` which could raise an `AttributeError`. Updated the code with proper function name
PR for
https://github.com/NVIDIA/NeMo/issues/8488
**Collection**: automatic speech recognition(ASR)
# Changelog
- Use proper method to replace double under scores with single underscore during data preperation
# Usage
* N/A for this PR
# Jenkins CI
To run Jenkins, a NeMo User with write access must comment `jenkins` on the PR.
# Before your PR is "Ready for review"
**Pre checks**:
- [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?
@titu1994, @redoctopus, @jbalam-nv, @okuchaiev | {
"login": "titu1994",
"id": 3048602,
"node_id": "MDQ6VXNlcjMwNDg2MDI=",
"avatar_url": "https://avatars.githubusercontent.com/u/3048602?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/titu1994",
"html_url": "https://github.com/titu1994",
"followers_url": "https://api.github.com/users/titu1994/followers",
"following_url": "https://api.github.com/users/titu1994/following{/other_user}",
"gists_url": "https://api.github.com/users/titu1994/gists{/gist_id}",
"starred_url": "https://api.github.com/users/titu1994/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/titu1994/subscriptions",
"organizations_url": "https://api.github.com/users/titu1994/orgs",
"repos_url": "https://api.github.com/users/titu1994/repos",
"events_url": "https://api.github.com/users/titu1994/events{/privacy}",
"received_events_url": "https://api.github.com/users/titu1994/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/8498/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/8498/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/8497 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/8497/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/8497/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/8497/events | https://github.com/NVIDIA/NeMo/pull/8497 | 2,151,626,748 | PR_kwDOC_bI7s5nyNwi | 8,497 | Fix multimodal tutorial links in user guide | {
"login": "yaoyu-33",
"id": 54727607,
"node_id": "MDQ6VXNlcjU0NzI3NjA3",
"avatar_url": "https://avatars.githubusercontent.com/u/54727607?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yaoyu-33",
"html_url": "https://github.com/yaoyu-33",
"followers_url": "https://api.github.com/users/yaoyu-33/followers",
"following_url": "https://api.github.com/users/yaoyu-33/following{/other_user}",
"gists_url": "https://api.github.com/users/yaoyu-33/gists{/gist_id}",
"starred_url": "https://api.github.com/users/yaoyu-33/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/yaoyu-33/subscriptions",
"organizations_url": "https://api.github.com/users/yaoyu-33/orgs",
"repos_url": "https://api.github.com/users/yaoyu-33/repos",
"events_url": "https://api.github.com/users/yaoyu-33/events{/privacy}",
"received_events_url": "https://api.github.com/users/yaoyu-33/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | [
"jenkins"
] | 2024-02-23T18:53:36 | 2024-02-23T19:28:33 | 2024-02-23T19:28:33 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/8497",
"html_url": "https://github.com/NVIDIA/NeMo/pull/8497",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/8497.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/8497.patch",
"merged_at": "2024-02-23T19:28:33"
} | # What does this PR do ?
Fix multimodal tutorial links in user guide
# Changelog
- Add specific line by line info of high level changes in this PR.
# Usage
* You can potentially add a usage example below
```python
# Add a code snippet demonstrating how to use this
```
# Jenkins CI
To run Jenkins, a NeMo User with write access must comment `jenkins` on the PR.
# Before your PR is "Ready for review"
**Pre checks**:
- [ ] Make sure you read and followed [Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md)
- [ ] Did you write any new necessary tests?
- [ ] Did you add or update any necessary documentation?
- [ ] Does the PR affect components that are optional to install? (Ex: Numba, Pynini, Apex etc)
- [ ] Reviewer: Does the PR have correct import guards for all optional libraries?
**PR Type**:
- [ ] New Feature
- [ ] Bugfix
- [ ] Documentation
If you haven't finished some of the above items you can still open "Draft" PR.
## Who can review?
Anyone in the community is free to review the PR once the checks have passed.
[Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md) contains specific people who can review PRs to various areas.
# Additional Information
* Related to # (issue)
| {
"login": "ericharper",
"id": 11999610,
"node_id": "MDQ6VXNlcjExOTk5NjEw",
"avatar_url": "https://avatars.githubusercontent.com/u/11999610?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ericharper",
"html_url": "https://github.com/ericharper",
"followers_url": "https://api.github.com/users/ericharper/followers",
"following_url": "https://api.github.com/users/ericharper/following{/other_user}",
"gists_url": "https://api.github.com/users/ericharper/gists{/gist_id}",
"starred_url": "https://api.github.com/users/ericharper/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ericharper/subscriptions",
"organizations_url": "https://api.github.com/users/ericharper/orgs",
"repos_url": "https://api.github.com/users/ericharper/repos",
"events_url": "https://api.github.com/users/ericharper/events{/privacy}",
"received_events_url": "https://api.github.com/users/ericharper/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/8497/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/8497/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/8495 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/8495/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/8495/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/8495/events | https://github.com/NVIDIA/NeMo/pull/8495 | 2,151,307,850 | PR_kwDOC_bI7s5nxH6L | 8,495 | Add implementation of slimIPL algorithm. Add support for using ais da… | {
"login": "nune-tadevosyan",
"id": 152167970,
"node_id": "U_kgDOCRHmIg",
"avatar_url": "https://avatars.githubusercontent.com/u/152167970?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/nune-tadevosyan",
"html_url": "https://github.com/nune-tadevosyan",
"followers_url": "https://api.github.com/users/nune-tadevosyan/followers",
"following_url": "https://api.github.com/users/nune-tadevosyan/following{/other_user}",
"gists_url": "https://api.github.com/users/nune-tadevosyan/gists{/gist_id}",
"starred_url": "https://api.github.com/users/nune-tadevosyan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/nune-tadevosyan/subscriptions",
"organizations_url": "https://api.github.com/users/nune-tadevosyan/orgs",
"repos_url": "https://api.github.com/users/nune-tadevosyan/repos",
"events_url": "https://api.github.com/users/nune-tadevosyan/events{/privacy}",
"received_events_url": "https://api.github.com/users/nune-tadevosyan/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"id": 1923495043,
"node_id": "MDU6TGFiZWwxOTIzNDk1MDQz",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/core",
"name": "core",
"color": "f25e3a",
"default": false,
"description": "Changes to NeMo Core"
},
{
"id": 4585431311,
"node_id": "LA_kwDOC_bI7s8AAAABEVAhDw",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/stale",
"name": "stale",
"color": "ededed",
"default": false,
"description": null
},
{
"id": 4811884691,
"node_id": "LA_kwDOC_bI7s8AAAABHs-Ikw",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/ASR",
"name": "ASR",
"color": "F3B33E",
"default": false,
"description": ""
},
{
"id": 4847373924,
"node_id": "LA_kwDOC_bI7s8AAAABIO0OZA",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/common",
"name": "common",
"color": "c5def5",
"default": false,
"description": ""
}
] | closed | false | null | [] | null | [
"jenkins",
"This PR is stale because it has been open for 14 days with no activity. Remove stale label or comment or update or this will be closed in 7 days.",
"jenkins\r\n\r\n",
"jenkins",
"This PR is stale because it has been open for 14 days with no activity. Remove stale label or comment or update or this will be closed in 7 days.",
"This PR was closed because it has been inactive for 7 days since being marked as stale."
] | 2024-02-23T15:22:40 | 2024-04-23T01:45:16 | 2024-04-23T01:45:15 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/8495",
"html_url": "https://github.com/NVIDIA/NeMo/pull/8495",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/8495.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/8495.patch",
"merged_at": null
} | …tasets using local manifest.
# What does this PR do ?
Adds implementation of slimIPL algorithm.
# Usage
This can be used for pseudo-labeling if in the config "ipl" parameters are given
# 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/8495/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/8495/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/8494 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/8494/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/8494/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/8494/events | https://github.com/NVIDIA/NeMo/issues/8494 | 2,151,238,332 | I_kwDOC_bI7s6AOUq8 | 8,494 | Training conformer interCTC with init_from_nemo_model argument is broke | {
"login": "osyka-m",
"id": 150455840,
"node_id": "U_kgDOCPfGIA",
"avatar_url": "https://avatars.githubusercontent.com/u/150455840?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/osyka-m",
"html_url": "https://github.com/osyka-m",
"followers_url": "https://api.github.com/users/osyka-m/followers",
"following_url": "https://api.github.com/users/osyka-m/following{/other_user}",
"gists_url": "https://api.github.com/users/osyka-m/gists{/gist_id}",
"starred_url": "https://api.github.com/users/osyka-m/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/osyka-m/subscriptions",
"organizations_url": "https://api.github.com/users/osyka-m/orgs",
"repos_url": "https://api.github.com/users/osyka-m/repos",
"events_url": "https://api.github.com/users/osyka-m/events{/privacy}",
"received_events_url": "https://api.github.com/users/osyka-m/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 | [
"which `${INIT_CKPT}` did you use? could you also provide the full error log?",
"for `${INIT_CKPT}` I use `.nemo` checkpoint trained with same model config, the only difference in the config is that now iterCTC is enabled.\r\n```\r\ninterctc:\r\n loss_weights: [0.3]\r\n apply_at_layers: [8]\r\n```\r\n\r\nhere is the full stack trace:\r\n\r\n```l\r\nTraceback (most recent call last):\r\n File \"/home/ubuntu/repos/transcriber/venv/lib/python3.10/site-packages/nemo/collections/asr/parts/mixins/interctc_mixin.py\", line 188, in get_captured_interctc_tensors\r\n layer_outputs = total_registry[f\"interctc/layer_output_{layer_idx}\"]\r\nKeyError: 'interctc/layer_output_8'\r\n\r\nDuring handling of the above exception, another exception occurred:\r\n\r\nTraceback (most recent call last):\r\n File \"/home/ubuntu/repos/transcriber/speech_to_text_ctc_bpe.py\", line 114, in <module>\r\n main()\r\n File \"/home/ubuntu/repos/transcriber/venv/lib/python3.10/site-packages/nemo/core/config/hydra_runner.py\", line 126, in wrapper\r\n _run_hydra(\r\n File \"/home/ubuntu/repos/transcriber/venv/lib/python3.10/site-packages/hydra/_internal/utils.py\", line 394, in _run_hydra\r\n _run_app(\r\n File \"/home/ubuntu/repos/transcriber/venv/lib/python3.10/site-packages/hydra/_internal/utils.py\", line 457, in _run_app\r\n run_and_report(\r\n File \"/home/ubuntu/repos/transcriber/venv/lib/python3.10/site-packages/hydra/_internal/utils.py\", line 223, in run_and_report\r\n raise ex\r\n File \"/home/ubuntu/repos/transcriber/venv/lib/python3.10/site-packages/hydra/_internal/utils.py\", line 220, in run_and_report\r\n return func()\r\n File \"/home/ubuntu/repos/transcriber/venv/lib/python3.10/site-packages/hydra/_internal/utils.py\", line 458, in <lambda>\r\n lambda: hydra.run(\r\n File \"/home/ubuntu/repos/transcriber/venv/lib/python3.10/site-packages/hydra/_internal/hydra.py\", line 132, in run\r\n _ = ret.return_value\r\n File \"/home/ubuntu/repos/transcriber/venv/lib/python3.10/site-packages/hydra/core/utils.py\", line 260, in return_value\r\n raise self._return_value\r\n File \"/home/ubuntu/repos/transcriber/venv/lib/python3.10/site-packages/hydra/core/utils.py\", line 186, in run_job\r\n ret.return_value = task_function(task_cfg)\r\n File \"/home/ubuntu/repos/transcriber/speech_to_text_ctc_bpe.py\", line 106, in main\r\n trainer.fit(asr_model)\r\n File \"/home/ubuntu/repos/transcriber/venv/lib/python3.10/site-packages/pytorch_lightning/trainer/trainer.py\", line 532, in fit\r\n call._call_and_handle_interrupt(\r\n File \"/home/ubuntu/repos/transcriber/venv/lib/python3.10/site-packages/pytorch_lightning/trainer/call.py\", line 42, in _call_and_handle_interrupt\r\n return trainer.strategy.launcher.launch(trainer_fn, *args, trainer=trainer, **kwargs)\r\n File \"/home/ubuntu/repos/transcriber/venv/lib/python3.10/site-packages/pytorch_lightning/strategies/launchers/subprocess_script.py\", line 93, in launch\r\n return function(*args, **kwargs)\r\n File \"/home/ubuntu/repos/transcriber/venv/lib/python3.10/site-packages/pytorch_lightning/trainer/trainer.py\", line 571, in _fit_impl\r\n self._run(model, ckpt_path=ckpt_path)\r\n File \"/home/ubuntu/repos/transcriber/venv/lib/python3.10/site-packages/pytorch_lightning/trainer/trainer.py\", line 980, in _run\r\n results = self._run_stage()\r\n File \"/home/ubuntu/repos/transcriber/venv/lib/python3.10/site-packages/pytorch_lightning/trainer/trainer.py\", line 1023, in _run_stage\r\n self.fit_loop.run()\r\n File \"/home/ubuntu/repos/transcriber/venv/lib/python3.10/site-packages/pytorch_lightning/loops/fit_loop.py\", line 202, in run\r\n self.advance()\r\n File \"/home/ubuntu/repos/transcriber/venv/lib/python3.10/site-packages/pytorch_lightning/loops/fit_loop.py\", line 355, in advance\r\n self.epoch_loop.run(self._data_fetcher)\r\n File \"/home/ubuntu/repos/transcriber/venv/lib/python3.10/site-packages/pytorch_lightning/loops/training_epoch_loop.py\", line 133, in run\r\n self.advance(data_fetcher)\r\n File \"/home/ubuntu/repos/transcriber/venv/lib/python3.10/site-packages/pytorch_lightning/loops/training_epoch_loop.py\", line 219, in advance\r\n batch_output = self.automatic_optimization.run(trainer.optimizers[0], kwargs)\r\n File \"/home/ubuntu/repos/transcriber/venv/lib/python3.10/site-packages/pytorch_lightning/loops/optimization/automatic.py\", line 188, in run\r\n self._optimizer_step(kwargs.get(\"batch_idx\", 0), closure)\r\n File \"/home/ubuntu/repos/transcriber/venv/lib/python3.10/site-packages/pytorch_lightning/loops/optimization/automatic.py\", line 266, in _optimizer_step\r\n call._call_lightning_module_hook(\r\n File \"/home/ubuntu/repos/transcriber/venv/lib/python3.10/site-packages/pytorch_lightning/trainer/call.py\", line 145, in _call_lightning_module_hook\r\n output = fn(*args, **kwargs)\r\n File \"/home/ubuntu/repos/transcriber/venv/lib/python3.10/site-packages/pytorch_lightning/core/module.py\", line 1270, in optimizer_step\r\n optimizer.step(closure=optimizer_closure)\r\n File \"/home/ubuntu/repos/transcriber/venv/lib/python3.10/site-packages/pytorch_lightning/core/optimizer.py\", line 161, in step\r\n step_output = self._strategy.optimizer_step(self._optimizer, closure, **kwargs)\r\n File \"/home/ubuntu/repos/transcriber/venv/lib/python3.10/site-packages/pytorch_lightning/strategies/ddp.py\", line 257, in optimizer_step\r\n optimizer_output = super().optimizer_step(optimizer, closure, model, **kwargs)\r\n File \"/home/ubuntu/repos/transcriber/venv/lib/python3.10/site-packages/pytorch_lightning/strategies/strategy.py\", line 231, in optimizer_step\r\n return self.precision_plugin.optimizer_step(optimizer, model=model, closure=closure, **kwargs)\r\n File \"/home/ubuntu/repos/transcriber/venv/lib/python3.10/site-packages/pytorch_lightning/plugins/precision/amp.py\", line 73, in optimizer_step\r\n return super().optimizer_step(optimizer, model=model, closure=closure, **kwargs)\r\n File \"/home/ubuntu/repos/transcriber/venv/lib/python3.10/site-packages/pytorch_lightning/plugins/precision/precision_plugin.py\", line 116, in optimizer_step\r\n return optimizer.step(closure=closure, **kwargs)\r\n File \"/home/ubuntu/repos/transcriber/venv/lib/python3.10/site-packages/torch/optim/lr_scheduler.py\", line 68, in wrapper\r\n return wrapped(*args, **kwargs)\r\n File \"/home/ubuntu/repos/transcriber/venv/lib/python3.10/site-packages/torch/optim/optimizer.py\", line 373, in wrapper\r\n out = func(*args, **kwargs)\r\n File \"/home/ubuntu/repos/transcriber/venv/lib/python3.10/site-packages/torch/optim/optimizer.py\", line 76, in _use_grad\r\n ret = func(self, *args, **kwargs)\r\n File \"/home/ubuntu/repos/transcriber/venv/lib/python3.10/site-packages/torch/optim/adamw.py\", line 161, in step\r\n loss = closure()\r\n File \"/home/ubuntu/repos/transcriber/venv/lib/python3.10/site-packages/pytorch_lightning/plugins/precision/precision_plugin.py\", line 103, in _wrap_closure\r\n closure_result = closure()\r\n File \"/home/ubuntu/repos/transcriber/venv/lib/python3.10/site-packages/pytorch_lightning/loops/optimization/automatic.py\", line 142, in __call__\r\n self._result = self.closure(*args, **kwargs)\r\n File \"/home/ubuntu/repos/transcriber/venv/lib/python3.10/site-packages/torch/utils/_contextlib.py\", line 115, in decorate_context\r\n return func(*args, **kwargs)\r\n File \"/home/ubuntu/repos/transcriber/venv/lib/python3.10/site-packages/pytorch_lightning/loops/optimization/automatic.py\", line 128, in closure\r\n step_output = self._step_fn()\r\n File \"/home/ubuntu/repos/transcriber/venv/lib/python3.10/site-packages/pytorch_lightning/loops/optimization/automatic.py\", line 315, in _training_step\r\n training_step_output = call._call_strategy_hook(trainer, \"training_step\", *kwargs.values())\r\n File \"/home/ubuntu/repos/transcriber/venv/lib/python3.10/site-packages/pytorch_lightning/trainer/call.py\", line 293, in _call_strategy_hook\r\n output = fn(*args, **kwargs)\r\n File \"/home/ubuntu/repos/transcriber/venv/lib/python3.10/site-packages/pytorch_lightning/strategies/ddp.py\", line 330, in training_step\r\n return self.model(*args, **kwargs)\r\n File \"/home/ubuntu/repos/transcriber/venv/lib/python3.10/site-packages/torch/nn/modules/module.py\", line 1518, in _wrapped_call_impl\r\n return self._call_impl(*args, **kwargs)\r\n File \"/home/ubuntu/repos/transcriber/venv/lib/python3.10/site-packages/torch/nn/modules/module.py\", line 1527, in _call_impl\r\n return forward_call(*args, **kwargs)\r\n File \"/home/ubuntu/repos/transcriber/venv/lib/python3.10/site-packages/torch/nn/parallel/distributed.py\", line 1519, in forward\r\n else self._run_ddp_forward(*inputs, **kwargs)\r\n File \"/home/ubuntu/repos/transcriber/venv/lib/python3.10/site-packages/torch/nn/parallel/distributed.py\", line 1355, in _run_ddp_forward\r\n return self.module(*inputs, **kwargs) # type: ignore[index]\r\n File \"/home/ubuntu/repos/transcriber/venv/lib/python3.10/site-packages/torch/nn/modules/module.py\", line 1518, in _wrapped_call_impl\r\n return self._call_impl(*args, **kwargs)\r\n File \"/home/ubuntu/repos/transcriber/venv/lib/python3.10/site-packages/torch/nn/modules/module.py\", line 1527, in _call_impl\r\n return forward_call(*args, **kwargs)\r\n File \"/home/ubuntu/repos/transcriber/venv/lib/python3.10/site-packages/pytorch_lightning/overrides/base.py\", line 90, in forward\r\n output = self._forward_module.training_step(*inputs, **kwargs)\r\n File \"/home/ubuntu/repos/transcriber/venv/lib/python3.10/site-packages/nemo/utils/model_utils.py\", line 381, in wrap_training_step\r\n output_dict = wrapped(*args, **kwargs)\r\n File \"/home/ubuntu/repos/transcriber/venv/lib/python3.10/site-packages/nemo/collections/asr/models/ctc_models.py\", line 584, in training_step\r\n loss_value, tensorboard_logs = self.add_interctc_losses(\r\n File \"/home/ubuntu/repos/transcriber/venv/lib/python3.10/site-packages/nemo/collections/asr/parts/mixins/interctc_mixin.py\", line 247, in add_interctc_losses\r\n captured_tensors = self.get_captured_interctc_tensors()\r\n File \"/home/ubuntu/repos/transcriber/venv/lib/python3.10/site-packages/nemo/collections/asr/parts/mixins/interctc_mixin.py\", line 191, in get_captured_interctc_tensors\r\n raise RuntimeError(\r\nRuntimeError: Intermediate layer 8 was not captured! Check if length of model.encoder.captured_layer_outputs matches length of model.intermediate_loss_weights properties.\r\n```",
"Alternatively I can initialize just fine, even with interCTC changes in the config with `+init_from_ptl_model` argument when I pass equivalent checkpoint but saved in pytorch lightning format, i.e `.ckpt` instead of `.nemo`",
"Thanks for the information, I'll take a look and get back to you~",
"@osyka-m Thanks for pointing out the bug~! We have fixed it in this PR: https://github.com/NVIDIA/NeMo/pull/8536",
"Great to hear the issue if fixed!\r\nHaven't expected that it affects 19 sources though.\r\nAnyways, thank you for addressing the issue promptly!",
"This issue is stale because it has been open for 30 days with no activity. Remove stale label or comment or this will be closed in 7 days."
] | 2024-02-23T14:45:27 | 2024-04-04T19:12:54 | 2024-04-04T19:12:54 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | Hi folks!
I have an already trained model without interCTC, which I want to initialize from and continue training, this time enabling interCTC loss.
Here is my training command:
```
CUDA_VISIBLE_DEVICES=0 python speech_to_text_ctc_bpe.py \
--config-path=conf/conformer/ \
--config-name=conformer_ctc_bpe exp_manager.name="conformer-inter-ctc" \
exp_manager.exp_dir=${EXP} \
exp_manager.resume_ignore_no_checkpoint=true \
exp_manager.resume_if_exists=true \
model.tokenizer.dir="${TOKENIZER}" \
model.train_ds.manifest_filepath="${TRAIN_MANIFEST}" \
model.validation_ds.manifest_filepath="${VAL_MANIFEST}" \
init_from_nemo_model="${INIT_CKPT}"
```
Here is an exception I get:
```
RuntimeError: Intermediate layer 8 was not captured! Check if length of model.encoder.captured_layer_outputs matches length of model.intermediate_loss_weights properties.
```
This looks like a bug.
Any suggestions on how to get this working without manually hacking model initialization process?
When I launch training from scratch with interCTC everything works fine!
`nemo-toolkit==1.21.0`
| {
"login": "VahidooX",
"id": 23551647,
"node_id": "MDQ6VXNlcjIzNTUxNjQ3",
"avatar_url": "https://avatars.githubusercontent.com/u/23551647?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/VahidooX",
"html_url": "https://github.com/VahidooX",
"followers_url": "https://api.github.com/users/VahidooX/followers",
"following_url": "https://api.github.com/users/VahidooX/following{/other_user}",
"gists_url": "https://api.github.com/users/VahidooX/gists{/gist_id}",
"starred_url": "https://api.github.com/users/VahidooX/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/VahidooX/subscriptions",
"organizations_url": "https://api.github.com/users/VahidooX/orgs",
"repos_url": "https://api.github.com/users/VahidooX/repos",
"events_url": "https://api.github.com/users/VahidooX/events{/privacy}",
"received_events_url": "https://api.github.com/users/VahidooX/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/8494/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/8494/timeline | null | completed | false |
https://api.github.com/repos/NVIDIA/NeMo/issues/8493 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/8493/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/8493/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/8493/events | https://github.com/NVIDIA/NeMo/pull/8493 | 2,151,148,585 | PR_kwDOC_bI7s5nwk14 | 8,493 | add alpha scaling to lora | {
"login": "michal2409",
"id": 14821051,
"node_id": "MDQ6VXNlcjE0ODIxMDUx",
"avatar_url": "https://avatars.githubusercontent.com/u/14821051?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/michal2409",
"html_url": "https://github.com/michal2409",
"followers_url": "https://api.github.com/users/michal2409/followers",
"following_url": "https://api.github.com/users/michal2409/following{/other_user}",
"gists_url": "https://api.github.com/users/michal2409/gists{/gist_id}",
"starred_url": "https://api.github.com/users/michal2409/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/michal2409/subscriptions",
"organizations_url": "https://api.github.com/users/michal2409/orgs",
"repos_url": "https://api.github.com/users/michal2409/repos",
"events_url": "https://api.github.com/users/michal2409/events{/privacy}",
"received_events_url": "https://api.github.com/users/michal2409/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"id": 1923495043,
"node_id": "MDU6TGFiZWwxOTIzNDk1MDQz",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/core",
"name": "core",
"color": "f25e3a",
"default": false,
"description": "Changes to NeMo Core"
},
{
"id": 4418253970,
"node_id": "LA_kwDOC_bI7s8AAAABB1k0kg",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/TTS",
"name": "TTS",
"color": "49AF28",
"default": false,
"description": ""
},
{
"id": 4811884691,
"node_id": "LA_kwDOC_bI7s8AAAABHs-Ikw",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/ASR",
"name": "ASR",
"color": "F3B33E",
"default": false,
"description": ""
},
{
"id": 4811886210,
"node_id": "LA_kwDOC_bI7s8AAAABHs-Ogg",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/NLP",
"name": "NLP",
"color": "CBF09A",
"default": false,
"description": ""
},
{
"id": 4840216855,
"node_id": "LA_kwDOC_bI7s8AAAABIH_ZFw",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/CI",
"name": "CI",
"color": "1D76DB",
"default": false,
"description": ""
},
{
"id": 4847373924,
"node_id": "LA_kwDOC_bI7s8AAAABIO0OZA",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/common",
"name": "common",
"color": "c5def5",
"default": false,
"description": ""
}
] | closed | false | null | [] | null | [] | 2024-02-23T13:57:55 | 2024-02-27T08:29:11 | 2024-02-23T14:09:03 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/8493",
"html_url": "https://github.com/NVIDIA/NeMo/pull/8493",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/8493.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/8493.patch",
"merged_at": null
} | # What does this PR do ?
Add a one line overview of what this PR aims to accomplish.
**Collection**: [Note which collection this PR will affect]
# Changelog
- Add specific line by line info of high level changes in this PR.
# Usage
* You can potentially add a usage example below
```python
# Add a code snippet demonstrating how to use this
```
# Jenkins CI
To run Jenkins, a NeMo User with write access must comment `jenkins` on the PR.
# Before your PR is "Ready for review"
**Pre checks**:
- [ ] Make sure you read and followed [Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md)
- [ ] Did you write any new necessary tests?
- [ ] Did you add or update any necessary documentation?
- [ ] Does the PR affect components that are optional to install? (Ex: Numba, Pynini, Apex etc)
- [ ] Reviewer: Does the PR have correct import guards for all optional libraries?
**PR Type**:
- [ ] New Feature
- [ ] Bugfix
- [ ] Documentation
If you haven't finished some of the above items you can still open "Draft" PR.
## Who can review?
Anyone in the community is free to review the PR once the checks have passed.
[Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md) contains specific people who can review PRs to various areas.
# Additional Information
* Related to # (issue)
| {
"login": "michal2409",
"id": 14821051,
"node_id": "MDQ6VXNlcjE0ODIxMDUx",
"avatar_url": "https://avatars.githubusercontent.com/u/14821051?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/michal2409",
"html_url": "https://github.com/michal2409",
"followers_url": "https://api.github.com/users/michal2409/followers",
"following_url": "https://api.github.com/users/michal2409/following{/other_user}",
"gists_url": "https://api.github.com/users/michal2409/gists{/gist_id}",
"starred_url": "https://api.github.com/users/michal2409/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/michal2409/subscriptions",
"organizations_url": "https://api.github.com/users/michal2409/orgs",
"repos_url": "https://api.github.com/users/michal2409/repos",
"events_url": "https://api.github.com/users/michal2409/events{/privacy}",
"received_events_url": "https://api.github.com/users/michal2409/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/8493/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/8493/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/8492 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/8492/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/8492/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/8492/events | https://github.com/NVIDIA/NeMo/pull/8492 | 2,150,790,131 | PR_kwDOC_bI7s5nvVm6 | 8,492 | Update k2 | {
"login": "artbataev",
"id": 9380560,
"node_id": "MDQ6VXNlcjkzODA1NjA=",
"avatar_url": "https://avatars.githubusercontent.com/u/9380560?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/artbataev",
"html_url": "https://github.com/artbataev",
"followers_url": "https://api.github.com/users/artbataev/followers",
"following_url": "https://api.github.com/users/artbataev/following{/other_user}",
"gists_url": "https://api.github.com/users/artbataev/gists{/gist_id}",
"starred_url": "https://api.github.com/users/artbataev/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/artbataev/subscriptions",
"organizations_url": "https://api.github.com/users/artbataev/orgs",
"repos_url": "https://api.github.com/users/artbataev/repos",
"events_url": "https://api.github.com/users/artbataev/events{/privacy}",
"received_events_url": "https://api.github.com/users/artbataev/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | [
"jenkins"
] | 2024-02-23T10:22:40 | 2024-02-23T14:30:48 | 2024-02-23T14:30:48 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/8492",
"html_url": "https://github.com/NVIDIA/NeMo/pull/8492",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/8492.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/8492.patch",
"merged_at": "2024-02-23T14:30:48"
} | # What does this PR do ?
Update k2 version commit for r1.23.0 (cherry-pick from main, #8478 )
Add a one line overview of what this PR aims to accomplish.
**Collection**: [Note which collection this PR will affect]
# Changelog
- Add specific line by line info of high level changes in this PR.
# Usage
* You can potentially add a usage example below
```python
# Add a code snippet demonstrating how to use this
```
# Jenkins CI
To run Jenkins, a NeMo User with write access must comment `jenkins` on the PR.
# Before your PR is "Ready for review"
**Pre checks**:
- [x] Make sure you read and followed [Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md)
- [ ] Did you write any new necessary tests?
- [ ] Did you add or update any necessary documentation?
- [x] Does the PR affect components that are optional to install? (Ex: Numba, Pynini, Apex etc)
- [ ] Reviewer: Does the PR have correct import guards for all optional libraries?
**PR Type**:
- [ ] New Feature
- [x] Bugfix
- [ ] Documentation
If you haven't finished some of the above items you can still open "Draft" PR.
## Who can review?
Anyone in the community is free to review the PR once the checks have passed.
[Contributor guidelines](https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md) contains specific people who can review PRs to various areas.
# Additional Information
* Related to # (issue)
| {
"login": "artbataev",
"id": 9380560,
"node_id": "MDQ6VXNlcjkzODA1NjA=",
"avatar_url": "https://avatars.githubusercontent.com/u/9380560?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/artbataev",
"html_url": "https://github.com/artbataev",
"followers_url": "https://api.github.com/users/artbataev/followers",
"following_url": "https://api.github.com/users/artbataev/following{/other_user}",
"gists_url": "https://api.github.com/users/artbataev/gists{/gist_id}",
"starred_url": "https://api.github.com/users/artbataev/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/artbataev/subscriptions",
"organizations_url": "https://api.github.com/users/artbataev/orgs",
"repos_url": "https://api.github.com/users/artbataev/repos",
"events_url": "https://api.github.com/users/artbataev/events{/privacy}",
"received_events_url": "https://api.github.com/users/artbataev/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/8492/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/8492/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.