<@205854764540362752> I am trying out dreambooth training on runpod using your guide. I got it to ru

@Furkan Gözükara SECourses I am trying out dreambooth training on runpod using your guide. I got it to run but out of memory on a 4090.

Any guidance would be helpful.

------------------------------------
torch.OutOfMemoryError: CUDA out of memory. Tried to allocate 48.00 MiB. GPU 0 has a total capacity of 23.64 GiB of which 20.81 MiB is free. Process 3037847 has 23.62 GiB memory in use. Of the allocated memory 23.08 GiB is allocated by PyTorch, and 86.61 MiB is reserved by PyTorch but unallocated. If reserved but unallocated memory is large try setting PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True to avoid fragmentation. See documentation for Memory Management (https://pytorch.org/docs/stable/notes/cuda.html#environment-variables)"
Was this page helpful?