Video generation is very memory intensive because you're essentially generating `num_frames` all at once, similar to text-to-image generation with a high batch size. To reduce the memory requirement, there are multiple options that trade-off inference speed for lower memory requirement:  
- enable model offloading: each component of the pipeline is offloaded to the CPU once it's not needed anymore.