A simple python pipeline creation example to use this FP8 version of Flux.1-dev ?

#3
by cmatias - opened

Out of curiosity, I'm trying to load this FP8 model in a python script, and I would like to be able to load it as fast as in ComfyUI (40 secs from scratch on a 4090), and use only 18 GB of VRAM, also like in ComfyUI.

It would be great if we could have a complete example of a Python script to load and use this model.

Thanks in advance.

Use diffusers, there is a FluxPipeline.

Sign up or log in to comment