stable-diffusion-webui icon indicating copy to clipboard operation
stable-diffusion-webui copied to clipboard

[Bug]: Click webui-user.bat , and after 15sec my screen freeze

Open Guest635109 opened this issue 2 years ago • 5 comments
trafficstars

Is there an existing issue for this?

  • [X] I have searched the existing issues and checked the recent builds/commits

What happened?

That the 4° time i download the stable diffusion, but i keep geting the same bug. I click on the webui-user.bat and after sometime, but screen freeze and i had to restart my pc by force... :l

My config Gtx1650 Intel I5 10° 8gb Ram

Steps to reproduce the problem

.

What should have happened?

.

Commit where the problem happens

.

What platforms do you use to access UI ?

No response

What browsers do you use to access the UI ?

No response

Command Line Arguments

No response

Additional information, context and logs

No response

Guest635109 avatar Dec 01 '22 20:12 Guest635109

i have this same issue but my pc just crashes and turns off, i checked task manager each time i run it and i see python using all my ram then crashing my pc, not bsod or anything, just shuts off my pc.

tarzmusic avatar Dec 02 '22 03:12 tarzmusic

have you tried the --lowvram or --medvram command line option for lower VRAM usage?

I know with my 3080 when I put too much load on the card, voltage spikes cause the PC to shut down. The latest drivers seem to be better I think. Anyway for me, generally there's a bit of a PC lockup while it's loading the model into VRAM... sounds like it's struggling there with your card?

https://github.com/AUTOMATIC1111/stable-diffusion-webui/wiki/Optimizations

jmp909 avatar Dec 03 '22 17:12 jmp909

While VRAM may be an issue on a 1650, I think the real problem is that 8GB of system RAM is not enough to run AUTOMATIC1111. Your PC is probably running out of memory resulting in your PC freezing.

If you do not have access to a good PC, you may want to look for how to setup this webui in a Google Colab instance.

killfrenzy96 avatar Dec 08 '22 22:12 killfrenzy96

I click on the webui-user.bat and after sometime, but screen freeze

What console line is the last one? If it tells that it tries to install pytorch – most likely, this is known pip cache bug: https://stackoverflow.com/questions/64850321/windows-keeps-crashing-when-trying-to-install-pytorch-via-pip

You need to delete pip cache (get path by pip cache dir) or install pytorch in venv manually. Note that pip will download more than 2 Gb of wheels anyway…

(I had this problem twice. In fact, I can install torch+torchvision only once from scratch, then Windows will crash each time I try again for different WebUI installation until I delete pip cache and redownload wheels again. So inconvenient!)

aleksusklim avatar Dec 10 '22 18:12 aleksusklim

I have the same problem with the same 8GB ram. if you inspect task manager before the freeze, you'll see that your HDD/SSD that has C: drive in it are going 100% usage. That's probably because the insufficient amount of ram, so it uses the swap file instead to load the models. My nvme is pretty fast, so the freeze just last for 15 second. If your C: drive using HDD though, well good luck then :)

etherealxx avatar Dec 13 '22 07:12 etherealxx

Closing as stale.

catboxanon avatar Aug 03 '23 17:08 catboxanon