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

Use rascaline calculators inside metatensor's atomistic models #253

Merged
merged 1 commit into from
Jan 10, 2024

Conversation

Luthaf
Copy link
Member

@Luthaf Luthaf commented Oct 30, 2023

This PR does two things:

  • replace rascaline.torch.System with metatensor.torch.atomistic.System
  • implement requested_neighbors_lists to tell the simulation engine which neighbors lists we need for rascaline

This builds on top of metatensor/metatensor#405


📚 Documentation preview 📚: https://rascaline--253.org.readthedocs.build/en/253/

@github-actions
Copy link

github-actions bot commented Oct 30, 2023

Here is a pre-built version of the code in this pull request: wheels.zip, you can install it locally by unzipping wheels.zip and using pip to install the file matching your system

@Luthaf Luthaf force-pushed the metatensor-atomistic branch 5 times, most recently from 5ce8b88 to 6eda441 Compare November 3, 2023 13:39
@Luthaf Luthaf force-pushed the metatensor-atomistic branch from 6eda441 to 598adb1 Compare December 20, 2023 13:19
@Luthaf Luthaf force-pushed the metatensor-atomistic branch from 598adb1 to 5a0f041 Compare January 8, 2024 17:50
@Luthaf Luthaf marked this pull request as ready for review January 8, 2024 17:50
@Luthaf Luthaf force-pushed the metatensor-atomistic branch 3 times, most recently from ce2f66b to 83a4ad4 Compare January 9, 2024 09:45
@Luthaf Luthaf requested a review from PicoCentauri January 9, 2024 10:00
Copy link
Contributor

@PicoCentauri PicoCentauri left a comment

Choose a reason for hiding this comment

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

A quick comment. I do a deeper review asap.

docs/src/references/api/torch/systems.rst Show resolved Hide resolved
Copy link
Contributor

@PicoCentauri PicoCentauri left a comment

Choose a reason for hiding this comment

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

Besides my comment to the docs it looks very good.

We now use metatensor_torch::System instead of our own implementation;
and the calculators can request neighbors lists using metatensor API.
@Luthaf Luthaf force-pushed the metatensor-atomistic branch from 83a4ad4 to feca42b Compare January 10, 2024 14:10
@Luthaf Luthaf merged commit e026b17 into master Jan 10, 2024
24 of 25 checks passed
@Luthaf Luthaf deleted the metatensor-atomistic branch January 10, 2024 15:04
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.

2 participants