Replies: 2 comments
-
You can downgrade torch using the set TORCH_COMMAND=pip install torch==2.1.2 torchvision==0.16.2 --extra-index-url https://download.pytorch.org/whl/cu121 |
Beta Was this translation helpful? Give feedback.
0 replies
-
I used this. |
Beta Was this translation helpful? Give feedback.
0 replies
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.
-
How do I do it?
Today I finally decided to update my xformers as my web ui recommended it for a very long time. It was a mistake.
The problems started at the beggining. Telling the webui to "reinstall xformers" didn't work - it started arguing that it doesn't work with my versions of Torch. Several manual on Discord mentioned deleting venv folder, that it will force web ui to reinstall and update everything. Well, it worked... and now that's a problem.
Used the same prompt. Before update it took 5 min. 54.8 sec. with about 14-16 seconds per iteration(upscale). Now it takes 7 min. 32.5 sec. with about 19-20 seconds per iteration. In short, everthing is 1.5 times slower, and that's a very basic prompt. I know I don't have the best PC, with an old 1050 Ti, but even with that everything was faster with the old stuff.
Before I had 0.0.20 version of xformers, how do I revert back to it?
As a code monkey, I tried to just delete "xformers" folder in venv and shove in an older version I downloaded from github. As expected, it didn't work.
Deleted venv. Then, found some guides and set in web-ui user.bat what exact version of xformers it should reinstall:
It "worked" but it started yelling at me that it doesn't work with the newest version of Torch.
I tried to reinstall torch manually, but it didn't work - obviously I did something wrong, but I don't know what exactly. I'm not a programmer, I'm a code monkey, remember?
Then after digging around the net I found out that "requirements_versions.txt" in SD folder actually manages what versions of what to install. Deleted venv again. Set the txt file to install 2.0.1 version of Torch(which I had before). It did, but xformers said that it works with 2.0.1+cu118 and I have 2.0.1+cpu for some reason.
Deleted venv. Set in txt file that it should download exactly 2.0.1-cu118. It didn't work.
I just don't know what to do anymore. Just want to revert everything back to what it was before that goddamn xfromers update.
PS please, don't suggest me to buy a "better GPU". I'm perfectly fine with what I have and the speed at which my old granny 1050 generated stuff was satisfactory. I just want to revert my settings to older versions.
Beta Was this translation helpful? Give feedback.
All reactions