generative-models icon indicating copy to clipboard operation
generative-models copied to clipboard

OutOfMemoryError: CUDA out of memory.

Open devkan opened this issue 2 years ago • 0 comments

My graphics card is an RTX 3060 with 12GB of Vmem. I have succeeded in creating a video with SVD (img2vid) with an image of 320(h)X448(w). Even when I increase the size one step, I get the error "torch.cuda.OutOfMemoryError: CUDA out of memory". SVD_xt also throws an OutOfMemory (OOM) error at 320(h)X448(w).

I know. It's because the graphics card is out of memory. What settings do I need to lower to make the default 576(h)X1024(w) image into a movie so I can see the result on my graphics card?

and, how much memory should my graphics card have so that I can create a 1024 image as a test video without any errors?

devkan avatar Dec 11 '23 12:12 devkan