stable-diffusion-webui
stable-diffusion-webui copied to clipboard
Cuda out of memory .. rtx2060 please help
Is there an existing issue for this?
- [X] I have searched the existing issues and checked the recent builds/commits
What happened?
Steps to reproduce the problem
.
What should have happened?
.
Commit where the problem happens
.
What platforms do you use to access UI ?
Windows
What browsers do you use to access the UI ?
Google Chrome
Command Line Arguments
.
Additional information, context and logs
.
try again, add --medvram
in commandline args in webui-user.bat
Add --xformers --opt-split-attention --use-cpu interrogate
to your command-line arguments in your webui-user.bat file. With a 2060 you should be able to generate images up to at least 1024x1024. Also make sure that your batch size is set to 1.
Use a .bat file as preloader and include those arguments to make sure they don't get erased when you update.
@echo off
set COMMANDLINE_ARGS=--xformers --opt-split-attention --use-cpu interrogate
call webui.bat
With BetaDoggo's suggestion I was able to create a 1024x1024 image with a 6GB 1660ti.
Add
--xformers --opt-split-attention --use-cpu interrogate
to your command-line arguments in your webui-user.bat file. With a 2060 you should be able to generate images up to at least 1024x1024. Also make sure that your batch size is set to 1.
@Noursniper did this fix work for you? If so please close the issue, so devs and maintainers can focus on what's currently relevant.