Could you please provide an example of how this could be run in diffusers? Thank you!

#1
by gabbo1995 - opened

Thanks for the contribution to the open source community! I would like to know if you could provide an example of how one could load this fp8 version in diffusers.

Hey, we’ve converted the weights from the ComfyUI format to Diffusers.
You can find the weights here: https://huggingface.co/Photoroom/FLUX.2-klein-4b-fp8-diffusers

@David-PHR could you open an issue on our GitHub regarding this?

Thank you!!

how to use this model in python,like this
pipe = Flux2KleinPipeline.from_pretrained(
args.model_path,
torch_dtype=dtype,
low_cpu_mem_usage=False # True
)However, some error messages appeared, indicating that files was missing.

@sayakpaul I missed your message — what kind of PR would you like me to open? Do you have any guidelines I should follow?

Sign up or log in to comment