-
Notifications
You must be signed in to change notification settings - Fork 25
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
TorchForce
inside CustomCVForce
fails with nnpops
implementation
#32
Comments
@peastman , @raimis: turns out ^this is actually the crux of this issue |
This may also be related to openmm/openmm#3588. |
in the interest of getting |
@peastman, have you found a stable workaround for this issue, or should we proceed with removing the |
tagging @jchodera |
Let me make one more effort at trying to figure it out. I suspect this is related to openmm/openmm#3588, and most especially to openmm/openmm#3588 (comment). If I can't figure out a proper solution, we can use your suggested workaround. |
@dominicrufa : Can you test the PR here? |
@peastman , I am unable to source install the PR and make it compatible with the rest of the |
It runs without problem now. It looks like that fixes it! |
@peastman could reopen this. I don't permissions. |
I just added you as a maintainer. You should have full permissions now. |
@dominicrufa I can reproduce the issue and created a minimal test openmm/openmm-torch@63a49c1. |
@raimis , great! let me know if/when i can conda-install the fix to write the |
@dominicrufa : Can you confirm the latest release fixes this? If so, can you close this? |
yes, this is fixed. closing |
I have been trying to create a minimally-modified implementation to get
nnpops
working on a conda-installableopenmm-ml
environment, and i am encountering an error inTestMLPotential.py
with the implementation.If you drop in/replace the
anipotential.py
with this and run the test, (making sure to set theplatform
toCUDA
), you should see that the test fails on line 26,meaning that the
createMixedSystem(..., interpolate=False)
is compatible withnnpops
, butinterpolate=True
is not.I have found a way around this (by taking the
TorchForce
out of the customCVForce and adding ascale
parameter to theANIForce
manually), but I don't want to open a PR attempting to merge my modifications unless the compatibility issue withnnpops
can't be fixed an easier way.The text was updated successfully, but these errors were encountered: