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.
+1
+1
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
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?