Open TheCryxh opened 9 months ago
edit` the webui-user.bat file and add --lowvram to the command line arguments the file should look like the code below.
`@echo off
set PYTHON= set GIT= set VENV_DIR= set COMMANDLINE_ARGS= --lowvram
call webui.bat`
I ran in to the same issue, I ran .bat with argument --lowvram
It didn't fix it, if you find an answer, please help!
Checklist
What happened?
When I try to use txt2img, it says (because I have 2gb of vram)"OutOfMemoryError: CUDA out of memory. Tried to allocate 114.00 MiB (GPU 0; 2.00 GiB total capacity; 1.67 GiB already allocated; 0 bytes free; 1.72 GiB reserved in total by PyTorch) If reserved memory is >> allocated memory try setting max_split_size_mb to avoid fragmentation. See documentation for Memory Management and PYTORCH_CUDA_ALLOC_CONF". My question is: is there a way to use CPU instead of GPU?
Steps to reproduce the problem
What should have happened?
WebUI should.. works
What browsers do you use to access the UI ?
Microsoft Edge
Sysinfo
Console logs
Additional information
No response