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

Specify device consistently #42

Merged
merged 2 commits into from
Feb 26, 2024
Merged

Conversation

ElliottKasoar
Copy link
Member

Resolves #40

Note: There may be a way to pass device to chgnet as well, but currently this makes things consistent between MACE, m3gnet and most likely other PyTorch-based models.

Also tidies single point calculation and calculator code addressing comments in #32.

@ElliottKasoar ElliottKasoar added enhancement New/improved feature or request janus labels Feb 23, 2024
@ElliottKasoar ElliottKasoar self-assigned this Feb 23, 2024
Copy link
Collaborator

@oerc0122 oerc0122 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks a lot neater to me

@alinelena alinelena merged commit 2ae3869 into stfc:main Feb 26, 2024
12 checks passed
@ElliottKasoar ElliottKasoar deleted the tidy-single-point branch February 26, 2024 15:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New/improved feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fix device arguments
3 participants