-
Notifications
You must be signed in to change notification settings - Fork 141
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
issue when using nequip-deploy 🐛 [BUG] #346
Comments
This looks like you've edited the code to include |
Not that, but I have set up my python environment for nequip such that I am able to use pytroch 2.0 (unlike what is prescribed : PyTorch >= 1.8, !=1.9, <=1.11.*. PyTorch, due to hardware constraints and try few other things with torch geometric). I am able to train the nequip models in this setup but when trying to deploy the model getting this error. My goal is to do a md simulation on trained model and I thought that I could use NequIPCalculator.from_deployed_model(model, **kwargs). Is there a workaround such that I can do the md sim without having to deploy the model? |
I see--- what hardware things? Please note the following upstream issue: #311. If you do or do not encounter this issue, please post in that thread so we can continue to try to resolve and understand this problem. Also please note that on AMD GPUs more recent versions of PyTorch appear to be fine. Regarding You could try 1.13? I've never seen this issue reported before... besides your PyTorch version, is there anything else custom or unusual about your setup? There should never be a call to |
Thank you, will try and get back with more details. Can you please answer this: Actually I have already trained quite a number of models and since nequip-deploy is not working for them I am looking for some work around to complete my study without having to setup things again. |
You could do inefficient MD by manually constructing It is not possible to do MD in LAMMPS, OpenMM, etc. without deploying. |
Thanks. It's possible that there is a missing |
Do I need to modify the calculate function in "class NequIPCalculator(Calculator)" if I use uncompiled PyTorch model? |
No, you shouldn't need to. |
cool |
Describe the bug
issue when using nequip-deploy
To Reproduce
nequip-deploy build --train-dir model_path/ model_path/deployed_model.pth
ERROR:
The text was updated successfully, but these errors were encountered: