-
Notifications
You must be signed in to change notification settings - Fork 37
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
Implement megatron-aware perplexity in torchmetrics #525
Closed
Conversation
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
ecd102a
to
cfa66d3
Compare
pstjohn
reviewed
Dec 12, 2024
cfa66d3
to
e1e9037
Compare
jstjohn
reviewed
Dec 16, 2024
sub-packages/bionemo-esm2/src/bionemo/esm2/scripts/train_esm2.py
Outdated
Show resolved
Hide resolved
jstjohn
reviewed
Dec 16, 2024
sub-packages/bionemo-esm2/src/bionemo/esm2/scripts/train_esm2.py
Outdated
Show resolved
Hide resolved
jstjohn
reviewed
Dec 16, 2024
2fd1fd7
to
4959e80
Compare
1de355d
to
32e0568
Compare
007c6e0
to
78aa7a3
Compare
/build-ci |
auto-merge was automatically disabled
January 27, 2025 04:34
Pull request was closed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
Replace
PerplexityLoggingCallback
with parallelism-awareMegatronPerplexityMetric
. Pipeline parallel is not supported yet.Usage
Added perplexity logging in argparse.
Testing
Added under
sub-packages/bionemo-llm/tests/bionemo/llm/test_lightning.py
Tests for these changes can be run via: