nvidia-setting only show half of my total memory, cuda out of memory

0

My system is Ubuntu 18.04 Desktop. My GPU is Nvidia Geforce 1070, with 16GB. When I use command cat /proc/meminfo, the result is following.

enter image description here

But the nvidia setting only shows 8GB.

enter image description here

When I run Pytorch script, it only fully uses 8GB, and always runs out of memory.

How can I fully use the total 16GB memory.

zhaojun08

Posted 2019-05-25T00:08:34.800

Reputation: 1

How much vram does the card have? – Ramhound – 2019-05-25T06:32:58.283

@Ramhound I use command "glxinfo" to check video ram. I got: 1.Dedicated video memory: 8192MB; 2.Currently available dedicated video memory 7709MB; 3.Total available memory 8192MB – zhaojun08 – 2019-05-25T12:40:31.420

No answers