mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2025-01-17 20:00:12 +08:00
Run webui-user.bat but the window immediately closes
parent
7b5b2df1f2
commit
56ff6644a4
@ -8,6 +8,33 @@
|
|||||||
- Example: `set PYTHON=B:\soft\Python310\python.exe`
|
- Example: `set PYTHON=B:\soft\Python310\python.exe`
|
||||||
- Installer requirements from `requirements_versions.txt`, which lists versions for modules specifically compatible with Python 3.10.6. If this doesn't work with other versions of Python, setting the custom parameter `set REQS_FILE=requirements.txt` may help.
|
- Installer requirements from `requirements_versions.txt`, which lists versions for modules specifically compatible with Python 3.10.6. If this doesn't work with other versions of Python, setting the custom parameter `set REQS_FILE=requirements.txt` may help.
|
||||||
|
|
||||||
|
# Run `webui-user.bat` but the window immediately closes
|
||||||
|
Some error has occurred but the window closed too fast we can't see the issue, we need to prevent `webui-user.bat` form closeing instantly.
|
||||||
|
1. Right click to edit `webui-user.bat`.
|
||||||
|
2. Add a command `pause` at the end of the file.
|
||||||
|
3. Save the modification and run `webui-user.bat` again.
|
||||||
|
|
||||||
|
`webui-user.bat` should now pause allowing you to see the issue.
|
||||||
|
|
||||||
|
<details><summary>The modified file should look similar to this. (Click to expand)</summary>
|
||||||
|
<p>
|
||||||
|
|
||||||
|
```bat
|
||||||
|
@echo off
|
||||||
|
set PYTHON=
|
||||||
|
set GIT=
|
||||||
|
set VENV_DIR=
|
||||||
|
set COMMANDLINE_ARGS=
|
||||||
|
|
||||||
|
call webui.bat
|
||||||
|
pause
|
||||||
|
```
|
||||||
|
|
||||||
|
</p>
|
||||||
|
</details>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# Low VRAM Video-cards
|
# Low VRAM Video-cards
|
||||||
When running on video cards with a low amount of VRAM (<=4GB), out of memory errors may arise.
|
When running on video cards with a low amount of VRAM (<=4GB), out of memory errors may arise.
|
||||||
Various optimizations may be enabled through command line arguments, sacrificing some/a lot of speed in favor of using less VRAM:
|
Various optimizations may be enabled through command line arguments, sacrificing some/a lot of speed in favor of using less VRAM:
|
||||||
|
Loading…
Reference in New Issue
Block a user