learning-to-learn-by-pytorch icon indicating copy to clipboard operation
learning-to-learn-by-pytorch copied to clipboard

GPU memory leaks and GPU memory keeps increasing

Open Arenops opened this issue 6 years ago • 3 comments

In the process of program training, GPU memory leaks and GPU memory keeps increasing until out of memory. Can you figure this bug ?

Arenops avatar Nov 07 '19 01:11 Arenops

Can you show more details about this bug? I have not encountered this problem.

yangsenius avatar Nov 19 '19 03:11 yangsenius

If we define x as a big 2-D dimensional matrix ( like a image with resolution 1920*1080 ), the GPU memory will increase quickly when optimizing.

Arenops avatar Nov 19 '19 07:11 Arenops

I will deal with this problem later.

yangsenius avatar Nov 20 '19 03:11 yangsenius