Img2img works with this

#4
by megachad - opened
This comment has been hidden

Ok, img2img works with this now.

    from diffusers import FluxImg2ImgPipeline
    flux_img2img = FluxImg2ImgPipeline.from_pretrained(
        "black-forest-labs/FLUX.1-dev",
        transformer=None,
        text_encoder_2=None,
        torch_dtype=torch.bfloat16,
        use_safetensors=True,
    )
    flux_img2img.text_encoder_2 = text_encoder_2
    flux_img2img.transformer = transformer
megachad changed discussion title from Would like to see quantized controlnet as well for flux img2img to Img2img works with this

Sign up or log in to comment