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

Clone the module on TorchForceImpl initialization #116

Merged
merged 1 commit into from
Sep 5, 2023

Conversation

RaulPPelaez
Copy link
Contributor

This avoids different contexts sharing the same instance of the module owned by TorchForce.
Fixes openmm/NNPOps#113 and openmm/NNPOps#112

@peastman
Copy link
Member

peastman commented Sep 4, 2023

Looks good.

@raimis raimis self-requested a review September 5, 2023 12:34
@raimis raimis merged commit 74798bc into openmm:master Sep 5, 2023
4 checks passed
@raimis raimis mentioned this pull request Sep 5, 2023
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.

3 participants