-
Notifications
You must be signed in to change notification settings - Fork 271
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
Move select models to backbone + heads format and add support for hydra #782
Merged
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
This breaks calculator checkpoints in the way that it is written :'( |
lbluque
changed the title
Move select models to backbone + heads format and add support for hyrda
Move select models to backbone + heads format and add support for hydra
Jul 26, 2024
rayg1234
reviewed
Jul 30, 2024
rayg1234
reviewed
Jul 30, 2024
rayg1234
reviewed
Jul 30, 2024
More hydra support
lbluque
previously approved these changes
Aug 2, 2024
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.
lgtm, thanks @misko!
rayg1234
reviewed
Aug 2, 2024
lbluque
approved these changes
Aug 2, 2024
lbluque
pushed a commit
that referenced
this pull request
Aug 7, 2024
…ra (#782) * convert escn to bb + heads * convert dimenet to bb + heads * gemnet_oc to backbone and heads * add additional parameter backbone config to heads * gemnet to bb and heads * pain to bb and heads * add eqv2 bb+heads; move to canonical naming * fix calculator loading by leaving original class in code * fix issues with calculator loading * lint fixes * move dimenet++ heads to one * add test for dimenet * add painn test * hydra and tests for gemnetH dppH painnH * add escnH and equiformerv2H * add gemnetdt gemnetdtH * add smoke test for schnet and scn * remove old examples * typo * fix gemnet with grad forces; add test for this * remove unused params; add backbone and head interface; add typing * remove unused second order output heads * remove OC20 suffix from equiformer * remove comment * rename and lint * fix dimenet test * fix tests * refactor generate graph * refactor generate graph * fix a messy cherry pick * final messy fix * graph data interface in eqv2 * refactor * no bbconfigs * no more headconfigs in inits * rename hydra * fix eqV2 * update test configs * final fixes * fix tutorial * rm comments * fix test --------- Co-authored-by: lbluque <[email protected]> Co-authored-by: Luis Barroso-Luque <[email protected]> (cherry picked from commit 08b8c1e)
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.
This PR is heavily inspired and copied from #556 . It was recently decided to move towards a Hydra like architecture where each model can be split into two classes of components, backbone and heads. Instead of reverting changes in #556 to enable this Hydra architecture this PR introduces this framework on top of current main.
Contributions in this PR are copied from work done by:
@mshuaibii @janiceblue @nimashoghi @lbluque @gvahe