New to ComfyUI, tried to install 0.4.17 last week but install kept failing. I went and figured out how manually install Homebrew and Git (getting Homebrew into the PATH was an adventure) but that didn’t seem to help. Saw yesterday that 0.4.18 was released so I ran that and after fixing a few errors that came up I got it installed. But every time I run a Queue the output is solid black. Running this on an M1 Ultra Mac Studio with Sequoia 15.3.1. Looking in the Log window I see a warning: /Applications/ComfyUI.app/Contents/Resources/ComfyUI/nodes.py:1608: RuntimeWarning: invalid value encountered in cast.
After typing the previous paragraph I tried the same test again and started getting proper images. I’m still getting some black images but now that I’m making some progress I can be more methodical about noting errors. Looking forward to the next builds.
I have same issue – running on M2. Solid black output. We can’t be the only ones having this problem; hope it is fixed soon. Was getting output no problem until Mac updated.
Thanks for the Log window tip; hadn’t thought to check that. I’ll keep an eye on mine as well for documentation.
I have the same issue as well. ComfyUI will run the entire prompt to 100%, and I can see my GPU being maxed out via Activity Monitor. But at the end of the generation, I get the message:
100%|██████████| 5/5 [01:28<00:00, 17.74s/it]
Requested to load AutoencodingEngine
loaded completely 9.5367431640625e+25 159.87335777282715 True
/Applications/ComfyUI.app/Contents/Resources/ComfyUI/nodes.py:1608: RuntimeWarning: invalid value encountered in cast
img = Image.fromarray(np.clip(i, 0, 255).astype(np.uint8))
Prompt executed in 208.30 seconds
and then get a solid Black image. This happens no matter what checkpoint I use, what image size I specify or how simple the text prompt.
M1Pro MacBook Pro with 32MB of RAM. MacOS Sequoia 15.3.1. ComfyUI 0.4.18.
I have no better idea of what causes this than I did the first time I encountered it, but it mostly only happens the first time I run a queue in a new workflow. It clears up the second time I run the queue or run an Update All from Manager and restart Comfy.
Thanks for the info. I tried that but I still get the error no matter how many times I run the prompt. The resulting file is a 8kb png file that is solid black. Everything seems to run fine up until the very end.
Hi all, thank you so much for reporting this! I have been unable to reliably reproduce this issue - it has happened, but only a few times (so is quite hard for me to troubleshoot).
Would you mind letting us know which model you’re using? e.g. MacBook Pro M4 Max 36GB RAM
It would help greatly to know if there are specific types of Mac that are experiencing it more than others.
Thank you so much for replying. I uninstalled ComfyUI and reinstalled it, and it seemed to have fixed my issue. Perhaps I did something wrong when I initially installed it. Thanks!
Thank you so much for replying. I uninstalled ComfyUI and reinstalled it, and it seemed to have fixed my issue. Perhaps I did something wrong when I initially installed it. Thanks!