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

Refactor calculator to use EMLE Torch module #27

Merged
merged 10 commits into from
Oct 17, 2024

Conversation

lohedges
Copy link
Contributor

This PR refactors the EMLECalculator class to use the new EMLE Torch module internally, rather than duplicating the functionality. This will make maintenance easier going forward since all core model development will take place in emle.models.EMLE.

I've performed single point calculations with the calculator before and after the change and get the identical results for energies and gradients. Unit tests pass locally and via the CI. I've just not tested all backends and options exhaustively. (Hard to test via CI, since not everything is available.)

@lohedges lohedges added the enhancement New feature or request label Oct 17, 2024
@lohedges
Copy link
Contributor Author

I'll also add an atomic_numbers kwarg so that we can optimise the AEV computer with NNOps. This was manually done before in the calculator.

@lohedges lohedges merged commit 9fbb809 into main Oct 17, 2024
@lohedges lohedges deleted the feature_calculator_refactor branch October 17, 2024 20:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants