-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
text_generation_utils memory reduction if no logprob needed #6773
Merged
Merged
Changes from all commits
Commits
Show all changes
31 commits
Select commit
Hold shift + click to select a range
6d3aa7c
repro for gpt eval mp mem issue
yzhang123 1b077de
add print statements for memory allocation
yzhang123 30cd1e2
adjusted hot fix that prevents softmax on the entire output embedding…
yzhang123 94ff7a7
Merge remote-tracking branch 'origin/main' into gpt_predict_mp_mem_issue
yzhang123 fcb8379
Merge remote-tracking branch 'origin/main' into gpt_predict_mp_mem_issue
yzhang123 2b1e2b5
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 2b31551
using compute_logprob to configure inference
yzhang123 a7f3c66
enable compute logprob for peft
yzhang123 abe634c
remove print statements
yzhang123 4529e52
Merge branch 'gpt_predict_mp_mem_issue' of github.com:yzhang123/NeMo …
yzhang123 269b59d
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 11dccff
Merge remote-tracking branch 'origin/main' into gpt_predict_mp_mem_issue
yzhang123 bb6937e
Merge branch 'gpt_predict_mp_mem_issue' of github.com:yzhang123/NeMo …
yzhang123 342beb0
fix ci
yzhang123 0d46e07
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] d4c5703
added docstrings
yzhang123 6689ade
Merge branch 'gpt_predict_mp_mem_issue' of github.com:yzhang123/NeMo …
yzhang123 5957cc3
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] a87891f
Merge branch 'main' into gpt_predict_mp_mem_issue
yzhang123 4c93fc4
add missing config
yzhang123 7292468
Merge branch 'gpt_predict_mp_mem_issue' of github.com:yzhang123/NeMo …
yzhang123 c43106c
Merge branch 'main' into gpt_predict_mp_mem_issue
yzhang123 34fbabc
remove truncate prompt length feature
yzhang123 ea9c983
resolve merge conflict
yzhang123 213218c
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] c50bce7
Merge branch 'main' into gpt_predict_mp_mem_issue
yzhang123 d1287bc
Merge branch 'main' of github.com:NVIDIA/NeMo into gpt_predict_mp_mem…
yzhang123 aacb2d3
tensor before all gather needs to be contiguous
yzhang123 b9c285a
Merge branch 'main' into gpt_predict_mp_mem_issue
yzhang123 9d914c8
Merge branch 'main' into gpt_predict_mp_mem_issue
ekmb 5c9f87b
Merge branch 'main' into gpt_predict_mp_mem_issue
MaximumEntropy File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
could you add a comment here? why change to 11?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
added compute_logprob as new entry to input_info_tensor, hence need to increase by one. added comment what compute_logprob does