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

Move the flag use_atomic_density_energy_formula #611

Conversation

RandomDefaultUser
Copy link
Member

As detailed in #586, it makes sense to move the parameter use_atomic_density_energy_formula from the descriptor subclass to the Parameters object itself. The idea here is that ideally, users can use models without having to worry about the subclasses at all; so the top-level parameters give access to all necessary acceleration options.

The PR is backwards compatible, old models can be loaded without issue. Enabling GPU and LAMMPS at the same time will further automatically activate this function.

@RandomDefaultUser
Copy link
Member Author

Side note, to clarify commit message: GPU usage has now also been tested

@RandomDefaultUser RandomDefaultUser merged commit 01320fa into mala-project:develop Nov 21, 2024
5 checks passed
@RandomDefaultUser RandomDefaultUser deleted the move_atomic_density_formula branch November 21, 2024 16:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant