Skip to content

Enable PyTorch flags when building NAMD #802

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

Merged
merged 2 commits into from
May 5, 2025
Merged

Conversation

giacomofiorin
Copy link
Member

Enable building of NAMD with the PyTorch interface, supported by NAMD main.

Standard LAMMPS currently uses PyTorch through its Python interface, but does not link or load the library directly.

Fixes #792

@giacomofiorin
Copy link
Member Author

@zwpku This PR enables the TorchANN job in the automated tests. I'm now assigning it to you so that you can look into the divergences reported in #792.

If you are confident that the implementation is correct, and the reference files currently in the repo simply reflect an earlier version of the code, just comment here so that we can update them and restore the test in full.

@giacomofiorin giacomofiorin added the testing Only affects CI; not listed in outside PRs label May 2, 2025
@zwpku
Copy link
Member

zwpku commented May 2, 2025

@giacomofiorin I will look into the issue this weekend.

@giacomofiorin giacomofiorin marked this pull request as ready for review May 5, 2025 13:31
@giacomofiorin giacomofiorin requested a review from HanatoK May 5, 2025 13:31
@giacomofiorin
Copy link
Member Author

@giacomofiorin I will look into the issue this weekend.

Thanks so much. @HanatoK any comments or suggestions or should we just merge it?

Copy link
Member

@HanatoK HanatoK left a comment

Choose a reason for hiding this comment

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

Looks good to me!

@giacomofiorin giacomofiorin merged commit b9d3455 into master May 5, 2025
17 checks passed
@giacomofiorin giacomofiorin deleted the torchann-ci-test branch May 5, 2025 14:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
testing Only affects CI; not listed in outside PRs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

TorchANN is not tested in the CI
3 participants