Nequip and pytorch 1.12.1 #366
-
Hi, The installation instructions say
How important is the <=1.11.*? On a cluster I am using, there is only PyTorch 1.12.1 if I want a reasonably recent Python and scipy. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
Hi @schiotz , Unfortunately, it can be quite important. Major updates in the JIT backends starting in 1.12 may or may not have far ranging impacts on speed and correctness. (We are not the only MLIP effort who has noticed this, so far I am not confident enough in the debugging that has been done to recommend any other version.) If you choose to try PyTorch 1.12 or other versions !=1.11, please carefully check the sanity of your results and report any unexpected/strange behaviors or the lack thereof: it would be very helpful in our efforts to eventually migrate. See, for example, #311 (reply in thread) for current reported issues. Building PyTorch from source is also an option that can, on occasion, also improve performance. Or installing new versions from binaries using, say, |
Beta Was this translation helpful? Give feedback.
-
Just to add some small bit of information, we don't see any issues on our end when using PyTorch 2.0.0 (from mamba list as follows)
Seemingly no accuracy issues or performance weirdness. No promises to others but this ended up being the easiest version to get working consistently and I have had zero issues with it. We make relatively small models, maybe that has some influence. |
Beta Was this translation helpful? Give feedback.
Hi @schiotz ,
Unfortunately, it can be quite important. Major updates in the JIT backends starting in 1.12 may or may not have far ranging impacts on speed and correctness. (We are not the only MLIP effort who has noticed this, so far I am not confident enough in the debugging that has been done to recommend any other version.)
If you choose to try PyTorch 1.12 or other versions !=1.11, please carefully check the sanity of your results and report any unexpected/strange behaviors or the lack thereof: it would be very helpful in our efforts to eventually migrate. See, for example, #311 (reply in thread) for current reported issues.
Building PyTorch from source is also an option that can, on…