[GH-ISSUE #5492] Generate Flux in ForgeUI #14003

Closed
opened 2026-04-19 20:31:07 -05:00 by GiteaMirror · 0 comments
Owner

Originally created by @bkev on GitHub (Sep 18, 2024).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/5492

Image generation works for ForgeUI for non Flux models.
When a Flux model is used and try to generate an image it is just a black square. I can see an error of "\ForgeUI\webui\modules\processing.py:1003: RuntimeWarning: invalid value encountered in cast
x_sample = x_sample.astype(np.uint8)"

Reading here
https://github.com/lllyasviel/stable-diffusion-webui-forge/issues/1221

It seems that if you pass scheduler as "Simple" in the api payload it works. Is this possible to change/test in Open-webui?

Originally created by @bkev on GitHub (Sep 18, 2024). Original GitHub issue: https://github.com/open-webui/open-webui/issues/5492 Image generation works for ForgeUI for non Flux models. When a Flux model is used and try to generate an image it is just a black square. I can see an error of "\ForgeUI\webui\modules\processing.py:1003: RuntimeWarning: invalid value encountered in cast x_sample = x_sample.astype(np.uint8)" Reading here https://github.com/lllyasviel/stable-diffusion-webui-forge/issues/1221 It seems that if you pass scheduler as "Simple" in the api payload it works. Is this possible to change/test in Open-webui?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#14003