stable-diffusion icon indicating copy to clipboard operation
stable-diffusion copied to clipboard

RuntimeError: CUDA out of memory. Tried to allocate 58.00 MiB (GPU 0; 23.88 GiB total capacity; 21.66 GiB already allocated; 8.25 MiB free; 21.80 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

Open zhenzi0322 opened this issue 1 year ago • 5 comments

Exception at startup:

RuntimeError: CUDA out of memory. Tried to allocate 58.00 MiB (GPU 0; 23.88 GiB total capacity; 21.66 GiB already allocated; 8.25 MiB free; 21.80 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

batch_size: 1 num_workers: 1

zhenzi0322 avatar Oct 17 '22 01:10 zhenzi0322