Replies: 8 comments 9 replies
-
Do xformers do anything here? I think that only first optimization is applied |
Beta Was this translation helpful? Give feedback.
-
yeh they speedup the generation from 15 seconds to 6 seconds but they dont affect VRAM cause i was able to do same sizes without them |
Beta Was this translation helpful? Give feedback.
-
why --opt-split-attention-v1? and not --opt-split-attention |
Beta Was this translation helpful? Give feedback.
-
V1 uses less memory, iirc |
Beta Was this translation helpful? Give feedback.
-
Are you sure you're measuring the VRAM usage accurately? I thought the 3090 had 24GB of vram, but you mentioned 8GB of usage using --opt-split-attention-v1, and out-of-memory problems without it, leaving 16GB on the table. I probably misunderstand what you meant by 'reserves' 8GB. I do believe it helped memory problems, though! I'm jealous, my max limit on 2070super 8GB seems to be 1280x1280 (but without anything that takes extra memory like ControlNet, which drops the max resolution a bit). I recommend using MSI Afterburner's hardware monitor graphs. It's pretty interesting to see the fluctuations with 100ms resolution. Here's an example where I just did 15steps at 1280x1280: |
Beta Was this translation helpful? Give feedback.
-
it's should be either |
Beta Was this translation helpful? Give feedback.
-
Thanks for posting this. It helps with issue #8431 that I raised where unsplit prompts seem to demand ridiculous amounts of VRAM when a Lora is used. I think this will really help narrow down the cause! |
Beta Was this translation helpful? Give feedback.
-
It works , xformers help with speed, im gettin almost twice as fast speed iwth xformers , with 24gb ai can do 4048x4048 but it takes a while, still it is possible, so without v1 i was able to do like 1300x800 at max on 3090 with 24GB which was very weird, IMO default doggetx should be booted from the repo and v1 used instead |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Is there an existing issue for this?
What happened?
--opt-split-attention-v1 --xformers
This solved it and that v1 split attention should be used by default imo
I can do 2048x2048 on 3090 like before or even 4048x640, probably even higher cause it reserves about 8gb only
Use it and forget about all the OOM crap
Wow 3090 can even do 4048x4048 but it is quite slow, doesnt OOM tho so it works !
Steps to reproduce the problem
.
What should have happened?
.
Commit where the problem happens
https://github.com/AUTOMATIC1111/stable-diffusion-webui/commits/master
What platforms do you use to access the UI ?
Windows
What browsers do you use to access the UI ?
Google Chrome
Command Line Arguments
List of extensions
.
Console logs
.
Additional information
No response
Beta Was this translation helpful? Give feedback.
All reactions