Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tensorflow gpu version not enabled in okwrtdsh/anaconda3:keras-9.2-cudnn7 #1

Open
alidadsetan opened this issue Jul 5, 2018 · 1 comment

Comments

@alidadsetan
Copy link

Running the container:
sudo nvidia-docker run -it okwrtdsh/anaconda3:keras-9.2-cudnn7 bash

"attaching" to container:
sudo docker exec -it container_name bash

Running python repl and importing tensorflow to check whether gpu is enabled in tensorflow:

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

which prints:

2018-07-05 14:56:47.988072: I tensorflow/core/platform/cpu_feature_guard.cc:140] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA
[name: "/device:CPU:0"
device_type: "CPU"
memory_limit: 268435456
locality {
}
incarnation: 3815053792300585653
]

That shows device_type as cpu. Can this be a bug?

@okwrtdsh
Copy link
Owner

@CowboyBebug
Please, check your CUDA Toolkit and Compatible Driver Versions.
keras-9.2-cudnn7 requires 396.26 or later (Linux x86_64).
You can check the driver version with nvidia-smi command.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants