Replies: 1 comment 3 replies
-
I tried With these flags, less VRAM is used ( 5.8 GB, vs 7.3 GB ), which seems to be unnecessarily low. But these could be useful in case I ever get an OOM error. By the way, I just realized I don't need |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Latest versions of xformers have issues with FP16 which help build speed.
If Xformers is not used with the --force-fp32 flag it does not work, in forge they have introduced a fix for this problem.
https://www.reddit.com/r/StableDiffusion/comments/1exw7kw/forge_fix_for_nvidia_10xx_gpus_2x_faster/
Having said that I tested all the various flags to get the most out of our old card
For Flux/SDXL this is the best flag that improves times, not saturating the vram:
--disable-xformers --use-split-cross-attention --cache-classic --lowvram
However, this flag slows down SD1.5 considerably
For SD1.5/SDXL use this Flag:
--force-fp32 --cache-classic --lowvram
These are the settings that I think are best.
It's a shame though that there isn't a single way to have complete optimization.
Beta Was this translation helpful? Give feedback.
All reactions