在tensorflow中,为什么显示6B GPU的内存限制超过5GB的VRAM?

时间:2019-03-23 18:24:23

标签: tensorflow gpgpu

我有一个6GB 1060 GPU。它在Tensorflow中显示了4.9GB的VRAM。正在运行:

from tensorflow.python.client import device_lib
device_lib.list_local_devices()

给予

name: "/device:GPU:0"
 device_type: "GPU"
 memory_limit: 4951913267
 locality {
   bus_id: 1
   links {
   }
 }
 incarnation: 15506209764385210283
 physical_device_desc: "device: 0, name: GeForce GTX 1060 6GB, pci bus id: 0000:02:00.0, compute capability: 6.1"

请注意4951913267的memory_limit。

这是为什么?

0 个答案:

没有答案