Ultralytics installs torch 2.0 even though I have torch 1.13 #3002
Replies: 1 comment
-
@suchith-sixsense hello! It seems like the installation process is upgrading your PyTorch version to meet the requirements of another dependency that requires To avoid this automatic upgrade, you could manually manage your environment. One approach is to create a separate virtual environment for YOLOv8 and install the specific versions of the libraries you need. This way, you can ensure that the installation of YOLOv8 does not interfere with your existing setup. Remember to always check the If you need further guidance on managing dependencies or setting up your environment, you can refer to our documentation at https://docs.ultralytics.com. 😊 |
Beta Was this translation helpful? Give feedback.
-
As per the screenshot below, in the first line it says that
torch>1.7.0
requirement is satisfied. But at the end if you see, it collectstorch 2.0
and installs it while uninstalling ittorch 1.13
.Can I know why this is happening and can I do something to avoid this ?
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions