er needed to the CPU feed-forward chunking runs the feed-forward layer in a loop instead of all at once break up the number of frames the VAE has to decode into chunks instead of decoding them all at once   Copied - pipeline.enable_model_cpu_offload()
- frames = pipeline(image, decode_chunk_size=8, generator=generator).frames[0]
+ pipeline.enable_model_cpu_offload()
+ pipeline.unet.enable_forward_chunking()
+ frames = pipeline(image, decode_chu