Replies: 3 comments 12 replies
-
CUDA_LAUNCH_BLOCKING=1 => check related issues in https://github.com/lllyasviel/Fooocus/issues?q=is%3Aissue+CUDA_LAUNCH_BLOCKING%3D1+is%3Aclosed Eyes: use inpainting with improve detail. Fooocus only supports LoRAs for SDXL (not 1.5) when not using a 1.5 refiner. Duplicate characters: use a different aspect ration and standard SDXL (Fooocus) resolutions + probably a negative prompt for multiple characters Hope this helps! |
Beta Was this translation helpful? Give feedback.
-
Yeah - I've tried that search. Nothing there quite seems to match what I'm seeing in the logs and suggested solutions don't seem to alter outcome. I am trying a new aspect ratio, although I am still seeing duplicates coming up. Have only been using standard resolutions (haven't figured out custom resolutions yet). Haven't tried the negative prompt yet - will do. |
Beta Was this translation helpful? Give feedback.
-
I think I may have found something else in the logs that might be why I'm struggling. This is quite a ways from the end of the log but I found this one one failed run, attempting 32 images. "[Fooocus] Preparing Fooocus text #20 ... So - it was fine up to image 20.. then falls over. What I don't really get is why it takes until the 2nd or 3rd run before the failure. Or if I'm running only 16 images, 4 or 5 runs. Only thing I can think of is that the token count isn't getting reset between runs? And is there any way to adjust the token limit? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
i'm new to Fooocus, having only found out about this tool in the past week. I've been running things fairly ok so far, including managing to find the basics of how to add new models/loras to get different outputs (I'm looking to generate comic art or fantasy art style pics.. so do let me know if there's extra downloads you'd recommend).
In the last couple of days, I've also discovered wildcards, so I'm using those fairly heavily to vary the images I get in a run. But I've started to get this error appearing in the log.
File "C:\Fooocus\python_embeded\lib\site-packages\torch\cuda[memory.py](https://memory.py/)", line 663, in mem_get_info
return torch.cuda.cudart().cudaMemGetInfo(device)
RuntimeError: CUDA error: device-side assert triggered
CUDA kernel errors might be asynchronously reported at some other API call, so the stacktrace below might be incorrect.
For debugging consider passing CUDA_LAUNCH_BLOCKING=1.
Compile with
TORCH_USE_CUDA_DSA
to enable device-side assertions.The first time I load and run the 'generate' button - no problems. But for the second and any further attempts, I get this... and nothing is generated.
Shutting the session and restarting resolved this.. for one more run only.
What am I doing wrong? Any advice?
Also - I know not related to the error, but I'm getting some strange things which are probably issue with my prompts. But is there any way to improve the image output - particular eyes? I've tried using eye focused loras but they don't appear to have any effect whatsoever.
The other issue I tend to get is duplicated characters. I ask for an image of a character.. and I get twins or triplets...
Beta Was this translation helpful? Give feedback.
All reactions