stable-diffusion-webui-forge icon indicating copy to clipboard operation
stable-diffusion-webui-forge copied to clipboard

Flux over API?

Open bkev opened this issue 6 months ago • 2 comments

Sorry if I've got this completely wrong but I've been able to connect Forge to Openweb-ui via the Openweb-ui settings via the Forge API. This works, connects and loads models. If I select a non-flux model, I am able to generate images in Openweb-ui.

If I select a Flux model (a restart of Forge is needed as changing the model in Openweb-ui doesn't seem to take effect unless Forge is restarted) 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)"

Does Openweb-ui need to support a particular API for the Flux model to work?

bkev avatar Aug 16 '24 06:08 bkev