memory_efficient_dreambooth icon indicating copy to clipboard operation
memory_efficient_dreambooth copied to clipboard

Will works on a 1080 TI?

Open ZeroCool22 opened this issue 2 years ago • 4 comments

Before doing anything, i will like to know.

Thx.

ZeroCool22 avatar Oct 01 '22 15:10 ZeroCool22

It's not working for me RuntimeError: CUDA out of memory. Tried to allocate 512.00 MiB (GPU 0; 10.91 GiB total capacity; 8.79 GiB already allocated; 141.25 MiB free; 9.31 GiB reserved in total by PyTorch) If reserved memory is >> allocated memory try setting max_split_size_mb to avoid fragmentation. See documentation for Memory Management and PYTORCH_CUDA_ALLOC_CONF

kubasienki avatar Oct 09 '22 20:10 kubasienki

It's not working for me RuntimeError: CUDA out of memory. Tried to allocate 512.00 MiB (GPU 0; 10.91 GiB total capacity; 8.79 GiB already allocated; 141.25 MiB free; 9.31 GiB reserved in total by PyTorch) If reserved memory is >> allocated memory try setting max_split_size_mb to avoid fragmentation. See documentation for Memory Management and PYTORCH_CUDA_ALLOC_CONF

It works, try this one: https://github.com/smy20011/dreambooth-docker

or

https://github.com/ShivamShrirao/diffusers/tree/main/examples/dreambooth

ZeroCool22 avatar Oct 09 '22 21:10 ZeroCool22

@ZeroCool22 I've already tried Shivam's repo - do you use any additional memory optimization?

kubasienki avatar Oct 10 '22 08:10 kubasienki

It seems the conda has a too-old version of the transformers. After updating transformers from git and installing a proper version of xformers it works, but it works slower than colab.

kubasienki avatar Oct 12 '22 15:10 kubasienki