RAM没有被tensorflow gpu检测到

时间:2017-04-17 22:05:55

标签: tensorflow gpu ram

我最近在我的计算机上添加了一个8gb ram以方便计算,但是即使我的ubuntu识别它,gpu张量流也似乎无法识别它。这是运行sudo lshw -class memory 后的结果 结果是

  *-memory
   description: System Memory
   physical id: 2c
   slot: System board or motherboard
   size: 16GiB
 *-bank:0
      description: SODIMM Synchronous 2400 MHz (0.4 ns)
      product: HMA81GS6AFR8N-UH
      vendor: 009C35230000
      physical id: 0
      serial: 31D92036
      slot: ChannelA-DIMM0
      size: 8GiB
      width: 64 bits
      clock: 2400MHz (0.4ns)
 *-bank:1
      description: SODIMM Synchronous 2400 MHz (0.4 ns)
      product: CT8G4SFS824A.C8FAD1
      vendor: 009D36160000
      physical id: 1
      serial: 156C0B48
      slot: ChannelB-DIMM0
      size: 8GiB
      width: 64 bits
      clock: 2400MHz (0.4ns)

但是,gpu tensorflow无法识别它并仍然输出如下

I tensorflow/core/common_runtime/gpu/gpu_device.cc:885] Found device 0 with properties: 
name: GeForce GTX 1070
major: 6 minor: 1 memoryClockRate (GHz) 1.645
pciBusID 0000:01:00.0
Total memory: 7.92GiB
Free memory: 7.66GiB
I tensorflow/core/common_runtime/gpu/gpu_device.cc:906] DMA: 0 
I tensorflow/core/common_runtime/gpu/gpu_device.cc:916] 0:   Y 
I tensorflow/core/common_runtime/gpu/gpu_device.cc:975] Creating 
TensorFlow device (/gpu:0) -> (device: 0, name: GeForce GTX 1070, pci bus id: 0000:01:00.0)

我需要做些额外的步骤来确认我的完整ram吗?

1 个答案:

答案 0 :(得分:0)

GPU RAM和系统RAM是两个不同且独立的东西