Unable to load image

[1000 dc bounty] How the frick do I make pip realize that the torch I built from source (2.0.0a0+gite9ebda2) is actually torch (2.0.0) and it doesn't need to uninstall it, download the off the shelf version and install that?

I need to use this version of torch because I built it with ROCM support for my old GPU but every time I attempt to install or update anything that requires torch pip uninstalls 2.0.0a0+gite9ebda2, downloads 2.0.0 from the torch site and installs that. It's a major pain and I'm sick of having to manually reinstall 2.0.0a0+gite9ebda2 all the time.

!codecels

16
Jump in the discussion.

No email address required.

Find your python site-packages folder. Find torch. Change every reference of your undesired version to your desired version.

Idk where it checks, I found the version in both a version.py file in the torch directory as well as the METADATA file in the .dist-info folder.

Jump in the discussion.

No email address required.

Link copied to clipboard
Action successful!
Error, please refresh the page and try again.