controlnet=controlnet,
vae=vae,
torch_dtype=torch.float16,
use_safetensors=True
)
pipe.enable_model_cpu_offload()
```  
Now pass your prompt (and optionally a negative prompt if you're using one) and canny image to the pipeline:  
<Tip>