Skip to content

Instantly share code, notes, and snippets.

@abhigenie92
Created August 11, 2017 23:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save abhigenie92/3bd4b6a558f1016e3d83a785fcfaeea3 to your computer and use it in GitHub Desktop.
Save abhigenie92/3bd4b6a558f1016e3d83a785fcfaeea3 to your computer and use it in GitHub Desktop.
check tensorflow gnu
jaan@gonzo /> python
Python 3.6.1 |Anaconda 4.4.0 (64-bit)| (default, May 11 2017, 13:09:58)
[GCC 4.4.7 20120313 (Red Hat 4.4.7-1)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import tensorflow as tf
>>> sess = tf.Session(config=tf.ConfigProto(log_device_placement=True))
2017-08-11 16:49:07.472553: W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use SSE4.1 instructions, but these are available on your machine and could speed up CPU computations.
2017-08-11 16:49:07.472591: W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use SSE4.2 instructions, but these are available on your machine and could speed up CPU computations.
2017-08-11 16:49:07.472612: W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use AVX instructions, but these are available on your machine and could speed up CPU computations.
2017-08-11 16:49:07.472628: W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use AVX2 instructions, but these are available on your machine and could speed up CPU computations.
2017-08-11 16:49:07.472644: W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use FMA instructions, but these are available on your machine and could speed up CPU computations.
2017-08-11 16:49:07.754308: I tensorflow/core/common_runtime/gpu/gpu_device.cc:940] Found device 0 with properties:
name: Tesla K40c
major: 3 minor: 5 memoryClockRate (GHz) 0.745
pciBusID 0000:03:00.0
Total memory: 11.17GiB
Free memory: 11.10GiB
2017-08-11 16:49:07.931824: W tensorflow/stream_executor/cuda/cuda_driver.cc:523] A non-primary context 0x369db70 exists before initializing the StreamExecutor. We haven't verified StreamExecutor works with that.
2017-08-11 16:49:07.932231: I tensorflow/core/common_runtime/gpu/gpu_device.cc:940] Found device 1 with properties:
name: Quadro P400
major: 6 minor: 1 memoryClockRate (GHz) 1.2525
pciBusID 0000:01:00.0
Total memory: 1.94GiB
Free memory: 1.80GiB
2017-08-11 16:49:08.116942: W tensorflow/stream_executor/cuda/cuda_driver.cc:523] A non-primary context 0x369a1e0 exists before initializing the StreamExecutor. We haven't verified StreamExecutor works with that.
2017-08-11 16:49:08.117557: I tensorflow/core/common_runtime/gpu/gpu_device.cc:940] Found device 2 with properties:
name: Tesla K40c
major: 3 minor: 5 memoryClockRate (GHz) 0.745
pciBusID 0000:04:00.0
Total memory: 11.17GiB
Free memory: 11.10GiB
2017-08-11 16:49:08.117579: I tensorflow/core/common_runtime/gpu/gpu_device.cc:832] Peer access not supported between device ordinals 0 and 1
2017-08-11 16:49:08.117953: I tensorflow/core/common_runtime/gpu/gpu_device.cc:832] Peer access not supported between device ordinals 1 and 0
2017-08-11 16:49:08.117962: I tensorflow/core/common_runtime/gpu/gpu_device.cc:832] Peer access not supported between device ordinals 1 and 2
2017-08-11 16:49:08.117976: I tensorflow/core/common_runtime/gpu/gpu_device.cc:832] Peer access not supported between device ordinals 2 and 1
2017-08-11 16:49:08.117990: I tensorflow/core/common_runtime/gpu/gpu_device.cc:961] DMA: 0 1 2
2017-08-11 16:49:08.117996: I tensorflow/core/common_runtime/gpu/gpu_device.cc:971] 0: Y N Y
2017-08-11 16:49:08.118000: I tensorflow/core/common_runtime/gpu/gpu_device.cc:971] 1: N Y N
2017-08-11 16:49:08.118004: I tensorflow/core/common_runtime/gpu/gpu_device.cc:971] 2: Y N Y
2017-08-11 16:49:08.118016: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1030] Creating TensorFlow device (/gpu:0) -> (device: 0, name: Tesla K40c, pci bus id: 0000:03:00.0)
2017-08-11 16:49:08.118021: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1017] Ignoring gpu device (device: 1, name: Quadro P400, pci bus id: 0000:01:00.0) with Cuda multiprocessor count: 2. The minimum required count is 8. You can adjust this requirement with the env var TF_MIN_GPU_MULTIPROCESSOR_COUNT.
2017-08-11 16:49:08.118027: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1030] Creating TensorFlow device (/gpu:1) -> (device: 2, name: Tesla K40c, pci bus id: 0000:04:00.0)
Device mapping:
/job:localhost/replica:0/task:0/gpu:0 -> device: 0, name: Tesla K40c, pci bus id: 0000:03:00.0
/job:localhost/replica:0/task:0/gpu:1 -> device: 2, name: Tesla K40c, pci bus id: 0000:04:00.0
2017-08-11 16:49:08.227889: I tensorflow/core/common_runtime/direct_session.cc:265] Device mapping:
/job:localhost/replica:0/task:0/gpu:0 -> device: 0, name: Tesla K40c, pci bus id: 0000:03:00.0
/job:localhost/replica:0/task:0/gpu:1 -> device: 2, name: Tesla K40c, pci bus id: 0000:04:00.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment