ompile(pipe.unet, mode="reduce-overhead", fullgraph=True)
    pipe.controlnet = torch.compile(pipe.controlnet, mode="reduce-overhead", fullgraph=True)

prompt = "ghibli style, a fantasy landscape with castles"

for _ in range(3):
    image = pipe(prompt=prompt, image=init_image).images[0]  DeepFloyd IF text-to-image + upscaling   Copied from diffusers import DiffusionPipeline
import torch

run_compile = True  # Set True / False

pipe_1 = Diffus