VideoCrafter icon indicating copy to clipboard operation
VideoCrafter copied to clipboard

CUDA out of memory

Open esmaei1 opened this issue 7 months ago • 1 comments

When I run bash ./scripts/run_text2video.sh I always get this error: torch.cuda.OutOfMemoryError: CUDA out of memory. Tried to allocate 80.00 MiB (GPU 0; 10.90 GiB total capacity; 10.36 GiB already allocated; 83.50 MiB free; 10.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

esmaei1 avatar Jun 27 '24 10:06 esmaei1