tf-coriander: Tensorflow can't read GPU

If I run a command to show me the gpus, I get the following error: Commands:

python3
import tensorflow as tf
# Creates a graph.
a = tf.constant([1.0, 2.0, 3.0, 4.0, 5.0, 6.0], shape=[2, 3], name='a')
b = tf.constant([1.0, 2.0, 3.0, 4.0, 5.0, 6.0], shape=[3, 2], name='b')
c = tf.matmul(a, b)
# Creates a session with log_device_placement set to True.
sess = tf.Session(config=tf.ConfigProto(log_device_placement=True))
# Runs the op.
print sess.run(c)

Error:

CommandLine Error:
Option 'enable-value-profiling' registered more than once!
LLVM ERROR: inconsistency in registered CommandLine options

It’s on Ubuntu 16.04 using the pip3 install of the downloaded wheel.

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Comments: 18 (9 by maintainers)

Most upvoted comments

Use at your own risk: https://bbs.archlinux.org/viewtopic.php?id=57084&p=295 - should make your GCN 1.1 GPU work with AMDGPU-PRO.