-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
when Using SDXL-control-lora with 6GB VRAM, "Ran out of memory" #1781
Comments
and in comfyui user interface , it show the error: Error occurred when executing VAEDecode: Allocation on device 0 would exceed allowed memory. (out of memory) File "E:\Z_comfyui_2023-10-17\ComfyUI\execution.py", line 152, in recursive_execute |
This the log of comfyui when using "sai_xl_canny_128lora.safetensors" : Python 3.10.6 Prestartup times for custom nodes: Total VRAM 6144 MB, total RAM 32489 MB Loading: ComfyUI-Manager (V0.30.3)
Import times for custom nodes: Setting output directory to: E:\Z_comfyui_2023-10-17\output To see the GUI go to: http://0.0.0.0:8188/ During handling of the above exception, another exception occurred: Traceback (most recent call last): Prompt executed in 203.19 seconds |
Try temporarily removing all your custom nodes and see if you still have the issue. |
I find this problem when I use Fooocus which is based on comfyUI , and Fooocus fix it just now , maybe it can help: lllyasviel/Fooocus#700 |
and I test "sai_xl_sketch_128lora.safetensors" and "sai_xl_recolor_128lora.safetensors", these two control-loras work well. |
Should be fixed now. |
It is fixed now ! |
I have tested SDXL in comfyui with RTX2060 6G,
when I use "sai_xl_canny_128lora.safetensors" or "sai_xl_depth_128lora.safetensors", it will show "Ran out of memory when regular VAE decoding, retrying with tiled VAE decoding."
but when I use "diffusers_xl_canny_small.safetensors" or "diffusers_xl_depth_small.safetensors", it works well.
when I use clip_vison, it works well too.
So the problem may come from comfyui's nodes. This maybe a bug.
Thanks for the great job and hope comfyui better.
The text was updated successfully, but these errors were encountered: