Generate Flux in ForgeUI #2109

Closed
opened 2025-11-11 15:00:30 -06:00 by GiteaMirror · 0 comments
Owner

Originally created by @bkev on GitHub (Sep 18, 2024).

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). 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#2109