Comments (9)
Thank you, will try and get back with more details.
Thanks. It's possible that there is a missing @torch.jit.unused
, in which case a quick code change will make it possible for you to deploy everything without retraining. (In general most code and version changes will not require retraining.)
from nequip.
No, you shouldn't need to.
from nequip.
This looks like you've edited the code to include logging.debug
calls in the model?
from nequip.
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?
from nequip.
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 torch_geometric
, that is no longer a dependency of nequip
, but maybe I am misinterpreting what you mean.
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 logging.debug
in the model. Maybe the rest of the stack trace, which isn't included here, says where in the model it is?
from nequip.
Thank you, will try and get back with more details.
Can you please answer this:
"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?"
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.
from nequip.
You could do inefficient MD by manually constructing NequIPCalculator
from an uncompiled PyTorch model (build using model_from_config
and .load_state_dict
and then passed to the constructor, rather than from_deployed_model
). This will loose you performance in a lot of places, however.
It is not possible to do MD in LAMMPS, OpenMM, etc. without deploying.
from nequip.
You could do inefficient MD by manually constructing NequIPCalculator from an uncompiled PyTorch model (build using model_from_config and .load_state_dict and then passed to the constructor, rather than from_deployed_model).
Do I need to modify the calculate function in "class NequIPCalculator(Calculator)" if I use uncompiled PyTorch model?
from nequip.
No, you shouldn't need to.
cool
from nequip.
Related Issues (20)
- β [QUESTION] Colab tutorial HOT 1
- β [QUESTION] Restart run HOT 1
- π [BUG] Cannot restart run with different dataset HOT 4
- Is it possible to train on xyz format data with multiple moleculesβ [QUESTION] HOT 2
- run works on colab but fails on spyderβ [QUESTION] HOT 4
- β [QUESTION] Custom layer with control structure not supported? HOT 1
- The use of nequip command HOT 1
- π [BUG] Cannot run nequip-train with provided example HOT 4
- π [FEATURE]How to Train and Validate on Separate Datasets HOT 2
- How to do custom EarlyStopping?β [QUESTION] HOT 4
- β [QUESTION]
- β [QUESTION] About the data class AtomicData HOT 3
- bugs with "initialize_from_state"π [BUG] HOT 5
- how to choose nosehoover the value of nvt_qβ [QUESTION]
- β [QUESTION]Finetuning Validation Error Higher than Pre-training Error in Nequip
- Confusion about `num_frames` attribute in `HDF5Dataset` HOT 1
- β [QUESTION]how can I use the ase calculator for testing ?
- What is the unit of virialsβ [QUESTION] HOT 3
- MLFF for Silicon
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nequip.