From 56ff6644a414bf5beda9d6fdbc22b2929b59eb8d Mon Sep 17 00:00:00 2001 From: w-e-w <40751091+w-e-w@users.noreply.github.com> Date: Wed, 29 Nov 2023 00:58:09 +0900 Subject: [PATCH] Run webui-user.bat but the window immediately closes --- Troubleshooting.md | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/Troubleshooting.md b/Troubleshooting.md index aae42e8..73dfb92 100644 --- a/Troubleshooting.md +++ b/Troubleshooting.md @@ -8,6 +8,33 @@ - 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. +# 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. + +
The modified file should look similar to this. (Click to expand) +

+ +```bat +@echo off +set PYTHON= +set GIT= +set VENV_DIR= +set COMMANDLINE_ARGS= + +call webui.bat +pause +``` + +

+
+ + + # Low VRAM Video-cards 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: