Keep getting this error when I try to do inpainting:
torch.cuda.OutOfMemoryError: CUDA out of memory. Tried to allocate 4.88 GiB (GPU 0; 11.00 GiB total capacity; 7.37 GiB already allocated; 704.66 MiB free; 8.00 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
I'm a coding novice, can someone ELI5 how to fix this?