stable-diffusion-webui-forge icon indicating copy to clipboard operation
stable-diffusion-webui-forge copied to clipboard

Recommended way to update xformers?

Open tilkinsc opened this issue 1 year ago • 6 comments

Hey there, my xformers is out of date since I ran my update.bat

Whats the recommended way to update it to latest, since it self installed xformers?

tilkinsc avatar Aug 15 '24 03:08 tilkinsc

There is an append that reinstalls xformers, if you make an error in an append it will print all possible appends one of which was something like --reinstall-xformers

SuperMaoUwU avatar Aug 15 '24 04:08 SuperMaoUwU

Shall something like this be added to the readme?

tilkinsc avatar Aug 15 '24 05:08 tilkinsc

Possibly it would be a good idea, however id rather this time be spent on actual development and not writing out possibly changing documentation

SuperMaoUwU avatar Aug 15 '24 16:08 SuperMaoUwU

There is an append that reinstalls xformers, if you make an error in an append it will print all possible appends one of which was something like --reinstall-xformers

What if said command doesnt fix the issue? I tried to update mine and it says now that xformers are incompatible.

Dajova avatar Aug 20 '24 10:08 Dajova

--reinstall-xformers did nothing for me. It seems to have been ignored as an argument.

I instead opened up a terminal, went into the venv/Scripts folder and ran ./activate, which puts the terminal into the virtual Python env. Then I ran pip install xformers==0.0.27, started up webui again, all good now.

mikehdt avatar Aug 25 '24 02:08 mikehdt

Please note there is xformers==0.0.027.post2 as well. No idea what post2 actually brings.

tilkinsc avatar Aug 25 '24 08:08 tilkinsc