[ ] The issue exists after disabling all extensions
[ ] The issue exists on a clean installation of webui
[ ] The issue is caused by an extension, but I believe it is caused by a bug in the webui
[X] The issue exists in the current version of the webui
[X] The issue has not been reported before recently
[ ] The issue has been reported before but has not been fixed yet
What happened?
When I use hires fix,I met RuntimeError: CUDA error: the launch timed out and was terminated.
Steps to reproduce the problem
I use controlnet ( but when before I use controlnet I met same things ). I search for google and add set CUDA_LAUNCH_BLOCKING=1 in bat. This is bat's config:
@echo off
call activate sd-forge
set PYTHON=
set GIT=
set VENV_DIR=
set COMMANDLINE_ARGS=--no-gradio-queue --no-half-vae --xformers
set CUDA_LAUNCH_BLOCKING=1
@REM Uncomment following code to reference an existing A1111 checkout.
set A1111_HOME=D:/stable-diffusion/stable-diffusion-webui
set VENV_DIR=%A1111_HOME%/venv
set COMMANDLINE_ARGS=%COMMANDLINE_ARGS% ^
--ckpt-dir %A1111_HOME%/models/Stable-diffusion ^
--hypernetwork-dir %A1111_HOME%/models/hypernetworks ^
--embeddings-dir %A1111_HOME%/embeddings ^
--lora-dir %A1111_HOME%/models/Lora^
--controlnet-dir %A1111_HOME%/extensions/sd-webui-controlnet ^
--gfpgan-models-path %A1111_HOME%/models/GFPGAN ^
--codeformer-models-path %A1111_HOME%/models/CodeFormer ^
--esrgan-models-path %A1111_HOME%/models/ESRGAN ^
--realesrgan-models-path %A1111_HOME%/models/RealESRGAN ^
--ldsr-models-path %A1111_HOME%/models/LDSR ^
--swinir-models-path %A1111_HOME%/models/SwinIR ^
--bsrgan-models-path %A1111_HOME%/models/ESRGAN ^
--scunet-models-path %A1111_HOME%/models/ScuNET
call webui.bat
Checklist
What happened?
When I use hires fix,I met
RuntimeError: CUDA error: the launch timed out and was terminated
.Steps to reproduce the problem
I use controlnet ( but when before I use controlnet I met same things ). I search for google and add
set CUDA_LAUNCH_BLOCKING=1
in bat. This is bat's config:What should have happened?
This error should not happen.
What browsers do you use to access the UI ?
firefox
Sysinfo
sysinfo-2024-05-25-13-19.json
Console logs