[Bug]: Stable Diffusion WebUI Startup Error: Insufficient Memory, Unable to Install Torch #16882
Open
1 of 6 tasks
Labels
bug-report
Report of a bug, yet to be confirmed
Checklist
What happened?
When I try to open webui-user.bat in stable-diffusion-webui, I repeatedly encounter the error "Error code: 1," indicating that there is insufficient memory. However, I have 25.6GB/32GB of RAM and 11.4GB/12GB of VRAM, which should be sufficient. I have also tried installing PyTorch and pip, and both were installed correctly, but the problem persists. I also tried running webui-user.bat as an administrator, but this causes it to fail to start, briefly flashing and closing without doing anything.
Steps to reproduce the problem
Go to the [Stable Diffusion WebUI] folder (e.g., C:\Users\jerem\stable-diffusion-webui).
Locate and run the webui-user.bat file.
Observe the error message stating "Insufficient memory" and that torch cannot be installed, even though there is enough system RAM and GPU memory.
Try running webui-user.bat as an administrator, but the window flashes and disappears without launching properly.
Check the startup logs and find the error message: "Could not install packages due to an OSError: ('Connection broken: OSError(12, 'Insufficient memory, cannot process this command')".
What should have happened?
Under normal circumstances, when I run the webui-user.bat file, Stable Diffusion WebUI should start successfully, and the necessary packages (such as PyTorch and torchvision) should be installed or initialized without any errors. There should be no "insufficient memory" error even though the system has sufficient RAM and GPU memory. The startup process should complete smoothly, and I should be able to access the WebUI interface and begin using Stable Diffusion.
What browsers do you use to access the UI ?
Google Chrome
Sysinfo
I can't open the web UI, and when I try using --dump-sysinfo, it also throws an error.
Console logs
Additional information
No response
The text was updated successfully, but these errors were encountered: