ShivamShrirao / diffusers

🤗 Diffusers: State-of-the-art diffusion models for image and audio generation in PyTorch
https://huggingface.co/docs/diffusers
Apache License 2.0
1.89k stars 506 forks source link

OOM errors since recent updates #217

Open shadowlocked opened 1 year ago

shadowlocked commented 1 year ago

Describe the bug

The base Colab, for me, fails with OOM errors, which it never did before. Though the Colab is optimized for a T4, it doesn't seem that the T4 is enough for the needs of the updated dependencies any longer. For this reason I am falling back to a couple of forked scripts which recreate the December state of the Shivam Colab:

https://colab.research.google.com/github/yushan777/dbsd-xmas-edition/blob/main/dbsd_dec_2022.ipynb <-- Which simply restores the old dependencies

and

https://colab.research.google.com/github/yushan777/dbsd-dec-2022/blob/main/dbsd-dec-2022_original.ipynb <-- Which has a closer look and feel to the way the Shivam Colab is laid out and functions, but otherwise operates similarly.

Reproduction

This is not applicable. The veracity of this bug depends on user reports. I would only state that the above two forks have been created (not by me) in response to recent issues with the Shivam Dreambooth Colab.

Logs

No response

System Info

Colab environment with base Tesla T4, by default.

shadowlocked commented 1 year ago

The GH for the two new versions mentioned is:

https://github.com/yushan777/dbsd-dec-2022