Skip to content
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

Add SevenNetRelaxMaker + SevenNetStaticMaker to force field jobs #918

Merged
merged 10 commits into from
Jul 29, 2024

Conversation

janosh
Copy link
Member

@janosh janosh commented Jul 14, 2024

looks like a new open source SOTA model that beats CHGNet and MACE-MP according to preliminary MBD results. currently reproducing their results (since weights are public 👍) and testing quality of harmonic phonons, hence this PR

janosh/matbench-discovery#112

@janosh janosh added enhancement Improvements to existing features forcefields Forcefield related phonon Phonon workflow related labels Jul 14, 2024
upload smallest sevennet checkpoint i could find, fails to load for some reason
@janosh janosh changed the title Add new MLFF SevenNetRelaxMaker + SevenNetStaticMaker to force field jobs Add SevenNetRelaxMaker + SevenNetStaticMaker to force field jobs Jul 14, 2024
@utf
Copy link
Member

utf commented Jul 25, 2024

Hi @janosh, do you know how to fix the failing error? This would be great to have in atomate2.

@janosh
Copy link
Member Author

janosh commented Jul 25, 2024

yes, the test is straighforward to fix. i wanted to wait on the PyPI release before merging so we can add SevenNet to pyproject.toml. but we can also raise an ImportError with a link to the manual install steps if this is time sensitive

@utf
Copy link
Member

utf commented Jul 25, 2024

No rush, that makes sense to wait for Pypi. Thanks!

@janosh janosh enabled auto-merge (squash) July 26, 2024 22:28
@janosh
Copy link
Member Author

janosh commented Jul 26, 2024

this is ready to go except for 1 failing test. i added a new test that checks the PhononMaker is initializable in combination with all ML force fields. it's failing for GAP with a very non-descript error message

        """
        f90wrap.runtime.FortranDerivedType.__init__(self)
>       result = quippy._quippy.f90wrap_potential_initialise(args_str=args_str, pot1=(None if pot1 is None else pot1._handle), \
            pot2=(None if pot2 is None else pot2._handle), param_str=param_str, bulk_scale=(None if bulk_scale is None else \
            bulk_scale._handle), error=error)
E       RuntimeError

/opt/hostedtoolcache/Python/3.9.19/x64/lib/python3.9/site-packages/quippy/potential_module.py:241: RuntimeError

not sure who would know how to fix this, maybe @JaGeo? we can also skip this test since it's being added in this PR

rm tests/test_data/forcefields/sevennet/2024-07-11-SevenNet-0-serial.pt
skip failing GAP in newly added test_phonon_maker_initialization_with_all_mlff
@janosh janosh merged commit c5b45b7 into main Jul 29, 2024
6 checks passed
@janosh janosh deleted the sevennet-mlff branch July 29, 2024 18:19
BryantLi-BLI pushed a commit to BryantLi-BLI/atomate2 that referenced this pull request Jul 29, 2024
…aterialsproject#918)

* bump pre-commit hooks and fix legacy

* fix doc str copy-paste error

* add SevenNetRelaxMaker + SevenNetStaticMaker

* test_phonon_maker_initialization_with_all_mlff

* test relax_calcs are ase calculator instances

upload smallest sevennet checkpoint i could find, fails to load for some reason

* markdown docs auto-format

* pyproject add sevenn to forcefields and strict optional deps
hrushikesh-s pushed a commit to hrushikesh-s/atomate2 that referenced this pull request Nov 16, 2024
…aterialsproject#918)

* bump pre-commit hooks and fix legacy

* fix doc str copy-paste error

* add SevenNetRelaxMaker + SevenNetStaticMaker

* test_phonon_maker_initialization_with_all_mlff

* test relax_calcs are ase calculator instances

upload smallest sevennet checkpoint i could find, fails to load for some reason

* markdown docs auto-format

* pyproject add sevenn to forcefields and strict optional deps
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Improvements to existing features forcefields Forcefield related phonon Phonon workflow related
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants