torch + numpy versions on Windows #349
Andrewwango
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Just a quick note for Windows users about managing torch and numpy versions.
Now that we have unpinned the numpy version in #329, if you want to upgrade to numpy 2, you must also upgrade your pytorch to >2.4.1. Otherwise you may get the error:
A module that was compiled using NumPy 1.x cannot be run in NumPy 2.0.1 as it may crash.as per pytorch/pytorch#131668Chances are, if you do a fresh install, it will install numpy < 2 anyway because some other dependencies would still require it.
Windows users, please let me know if you have any issues with torch > 2.4.1!
Beta Was this translation helpful? Give feedback.
All reactions