lllyasviel / Paints-UNDO

Understand Human Behavior to Align True Needs
Apache License 2.0
3.36k stars 295 forks source link

attempts to improve speed #35

Open rotarzen opened 3 months ago

rotarzen commented 3 months ago

This branch attempts:

These changes do not (currently) produce significant speed improvements on eager execution. I find this odd and will attempt to profile the model later.

When compilation over UNet3DModel.forward is enabled with, e.g. python3 gradio_app.py 640 512, process_video() performance is improved by 10% (i.e. 300s video generation -> 270s) on a 3090.