deforum / deforum/deforum-stable-diffusion

Cuda out of memory

Open
#306 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
2.3k
Forks
412
PR merge metrics
No merged PRs in 30d

Description

torch.cuda.OutOfMemoryError: CUDA out of memory. Tried to allocate 11.82 GiB (GPU 0; 11.75 GiB total capacity; 2.20 GiB already allocated; 6.43 GiB free; 3.54 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 am getting this error when i'm trying to change image resolution from 512x512 to 1280x720 on my local GPU,while
it is working fine on Google Collab!

I have NVIDIA GeForce RTX 3080, 12gb and 16gb RAM

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.