rocess.
A smaller number will vary the image less but run faster.   Copied pipe = IFImg2ImgPipeline.from_pretrained("DeepFloyd/IF-I-XL-v1.0", variant="fp16", torch_dtype=torch.float16)
pipe.to("cuda")

image = pipe(image=image, prompt="<prompt>", strength=0.3).images You can also use torch.compile. Note that we have not exhaustively tested torch.compile
with IF and it might not give expected results.   Copied from diffusers import DiffusionPipe