Open GuangChen2333 opened 2 months ago
I got the same error too. My system environment is:
As a temporary workaround, it helped me to downgrade numpy:
pip install numpy==1.26.4
As a temporary workaround, it helped me to downgrade numpy:
pip install numpy==1.26.4
Yes it works. It needs to limit the version or try to become compatible with numpy 2
We're tracking an issue where the latest Windows PyTorch builds are built against numpy<2 https://github.com/pytorch/pytorch/issues/131668. This issue should be fixed in the upcoming PyTorch 2.4.1 release which we plan to add support for
When I run the code
I got the error msg:
Enviroments: