Install XFormers in one click and run Stable Diffusion at least 1.5x faster

preview_player
Показать описание
We go over how to use the new easy-install process for the XFormers library with the new AUTOMATIC1111 webui. I achieved huge improvements in memory efficiency and speed using this.

XFormers is a library by facebook research which increases the efficiency of the attention function, which is used in many modern machine learning models, including Stable Diffusion.

-------- Links --------

-------- Music --------

Many thanks to LuKremBo

#stablediffusion #aiart #xformers #tutorials #techtutorials
Рекомендации по теме
Комментарии
Автор

stumbled here from the subreddit. Thanks! Video was clear and now i actually have CUDA and Xformers installed!

ragecagegroves
Автор

Perfect! Awesome choice for a topic. Incredibly useful, thanks!

lucretius
Автор

your videos are really tracking well with community needs and interests. thanks much

slashkeyAI
Автор

Great tutorial!
Was really straightforward in helping me understand this a bit more

VisionzX
Автор

This was amazing. Got it running on Cuda 11.8. Lightning fast compared to almost 2 months ago when I played around with it, before a web-ui. It is so much better now in every way. Subbed!

meanwhiles
Автор

Holy crap! I have tried countless times according to the tutorial without success. You actually only added one command to make my Xformers run. You are so great!

johnnylee
Автор

Damn, I'm my second day playing with the SD, and it always complained about xformers, didnt even knew what it was, thanks for making it so fast and clear. Subscribed right away :) Good presentation as well. Cheers man.

forosasmrs
Автор

Previous video you made is still valuable for people who want to learn how things work

Lansolot
Автор

This update came so quickly, everything in the AI world is moving so quickly, I love it! Thanks for the video.

amj
Автор

Thank you so much! I tried every trick I could find to get xformers working. I finally uninstalled everything, reinstalled SD with your no-nonsense 2.0 guide and followed you here. THANK YOU.

jnd
Автор

DUDE!!!! Thank you so much, I can generate now native 2k images with 22.3 gig of vram used! before xformers it failed going over 24gig vram pretty quickly. This is amazing! LIKED & SUBSCRIBED, you explained everything very well, Thank you :)

-Belshazzar-
Автор

Very useful. Thank you ! One single stuff to change and it worked. Cheers. 👍

MarkOrez
Автор

If you have trouble with finding the commandline args go to the webui-user file right click, edit you will find set commandline_args= and put in "--xformers" the seemed to work fine for me.

ArtworkAiGenerated
Автор

Wow thank you so much this helped me immensely with adding the xformers and cuda.

Modioman
Автор

wicked, great stuff, dropped vram usage from 92% to 68% and CPU temps from 80s-90s to 70 - plus i just needed to add in the command line bit and install cuda, had the rest of the stuff installed! :)

PeteShakur
Автор

Thank you, savior. In fact, what makes the absolute difference in your videos is that, you don't even have the knowledge but explain why you are doing what you are doing at the moment.

grandesmentes
Автор

Great video, cool to see other aussie proompters, btw you can just add --xformers and --reinstall-xformers in ur webui launch args, you need both of those commands

YELLERR
Автор

Thanks for totally looking up the info for my GPU for me right in the video! lol

DarkWillUser
Автор

Thank you so much. This finally worked!

the.kleyko
Автор

Great tutorial! Can you add the extra code on an already installed local SD?

victoryavar