ively tested torch.compile
with IF and it might not give expected results.


	Copied
import torch

pipe = DiffusionPipeline.from_pretrained("DeepFloyd/IF-I-IF-v1.0", variant="fp16", torch_dtype=torch.float16)
pipe.to("cuda")

pipe.text_encoder = torch.compile(pipe.text_encoder)
pipe.unet = torch.compile(pipe.unet)

Optimizing for memory
	
When optimizing for GPU memory, we can use the standard diffusers cpu offloading APIs.
Either the model bas