ComfyUI icon indicating copy to clipboard operation
ComfyUI copied to clipboard

HiDream : black images - latest version

Open caniyabanci76 opened this issue 9 months ago • 2 comments

Expected Behavior

generate images

Actual Behavior

Running latest version of CUI. Can anyone tell me why the HiDream example workflows just generate black images?

if it helps, i am seeing in the console:

... RuntimeWarning: invalid value encountered in cast  img = Image.fromarray(np.clip(i, 0, 255).astype(np.uint8))

Steps to Reproduce

just run example workflow

Debug Logs

... RuntimeWarning: invalid value encountered in cast  img = Image.fromarray(np.clip(i, 0, 255).astype(np.uint8))

Other

No response

caniyabanci76 avatar Apr 21 '25 20:04 caniyabanci76

Update:

Turned out to be clip_l.safetensors. I assumed that I was able to use the same one used for Flux but the two I tried from comfyanonymous's and black-forest-labs's HF repos didn't work:

but the one from the Comfy-Org HiDream repack did.

caniyabanci76 avatar Apr 22 '25 13:04 caniyabanci76

yes, this is very strange cos i used standard flux ones for days (txt 2 img and img2img), today it was working earlier with flux ones then i tried again in the afternoon and its all blank/blank outputs?! - now i changed to the hidream ones and its working again, what's going on? lol

2PeteShakur avatar Apr 25 '25 17:04 2PeteShakur