Super-SloMo icon indicating copy to clipboard operation
Super-SloMo copied to clipboard

CUDA out of memory

Open mrtajniak opened this issue 5 years ago • 10 comments

after frequent use there was an error "CUDA out of memory" I tried to change BrenchSize but it didn't help, it could use a GPU cache cleaner

mrtajniak avatar Sep 28 '19 23:09 mrtajniak

I'm also getting this error. Any updates?

saturn118 avatar Oct 28 '19 05:10 saturn118

I'm getting this error on certain videos as well.

Fried-Penguin-Wings avatar Oct 30 '19 23:10 Fried-Penguin-Wings

Is this during training or eval?

avinashpaliwal avatar Nov 01 '19 19:11 avinashpaliwal

Eval for me.

Fried-Penguin-Wings avatar Nov 01 '19 20:11 Fried-Penguin-Wings

I'm also getting this error whenever I process any footage above 1080p. I'm using a gtx 1070 with 8GB VRAM.

partajmannen2 avatar Nov 04 '19 17:11 partajmannen2

I don't think we can do much for resolutions above 1080p. Since there are two CNNs, we can run the first CNN, generate the intermediate outputs and then run the second CNN or some other approach. This will take time.

avinashpaliwal avatar Nov 06 '19 22:11 avinashpaliwal

Just as potential suggestion, i made a comment in another issue. I managed to do 1440p video with a GTX 1080TI with 11 GB of Memory, by adding some cache emptying steps. I wouldn't go as far as to litter the code with these, but if a user wants to try to push the limit, this might just cut it.

https://github.com/avinashpaliwal/Super-SloMo/issues/40#issuecomment-488127868

Thomasedv avatar Dec 05 '19 11:12 Thomasedv

@Thomasedv . You are right. I have used it in some other pyTorch code and though it fixes the memory issue, it also makes the eval slower. I can add a flag for this for users who face this issue. Also the current model was not trained on high resolution videos, so it may not perform well at resolutions like 1440p.

avinashpaliwal avatar Dec 06 '19 22:12 avinashpaliwal

Hello, im having the same memory issues that they mentioned before, i have a Ryzen 7 3700x and a gtx 1060 6GB, with 8 GB of ram for the system(temporal), and i always receive the same exact message, if someone can help me, it will be awesome, cause im having issues for a long period of time, no matter what i do :( . Sin título

gamesmusic454 avatar Jan 03 '20 23:01 gamesmusic454

Just cloned fresh this repository. It works for me with a lower resolution (geforce 940m). Lowest resolution I can process is (1280 x 720). Any news on this topic?

s-a avatar Apr 26 '20 22:04 s-a