-
Notifications
You must be signed in to change notification settings - Fork 9
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
Enable NEP interface #288
base: main
Are you sure you want to change the base?
Enable NEP interface #288
Conversation
Can you wait a bit with this until #280 is done? 😃 |
…ue to gpu requirement)
…ove hardcoded labels)
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.
I don't see anything that needs to be improved 😃
Thank you also for making the part with the ref_names and the train/test file more flexible, as well as adding the mock_nep 👍🏻 💟
@@ -54,7 +55,7 @@ def initial_rss( | |||
force_max: float | None = None, | |||
force_label: str = "REF_forces", | |||
pre_database_dir: str | None = None, | |||
mlip_type: str = "GAP", | |||
mlip_type: Literal["GAP", "J-ACE", "NEP", "NEQUIP", "M3GNET", "MACE"] = "GAP", |
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.
this is a very nice idea
ref_force_name=self.ref_force_name, | ||
ref_energy_name=self.ref_energy_name, | ||
ref_virial_name=self.ref_virial_name, |
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.
thanks for adding this!
This PR addresses #54 by adding the necessary functions needed for fitting NEP models and testing on github CI (we will mock NEP fits as fitting explicitly requires GPU)
Changes
calorine
as dependency in pyproject.tomlsrc/autoplex/fitting/common/utils.py
nep
using pytest fixtures (addmock_nep
in conftest.py)