We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
import tensorflow as tf tf.test.gpu_device_name() =>out[1]: '/device:GPU:0' # use GPU =>out[2]: '' # do not use GPU
from tensorflow.python.client import device_lib device_lib.list_local_devices()
[name: "/device:CPU:0" device_type: "CPU" memory_limit: 268435456 locality { } incarnation: 12748258960639313348, name: "/device:GPU:0" device_type: "GPU" memory_limit: 11281304781 locality { bus_id: 1 links { } } incarnation: 13629897258954568467 physical_device_desc: "device: 0, name: Tesla K80, pci bus id: 0000:00:04.0, compute capability: 3.7"]
Reference: First Google Colaboratory & Basic Tutorial
The text was updated successfully, but these errors were encountered:
No branches or pull requests
1. Check use GPU or not
2. Which GPU is using
Reference: First Google Colaboratory & Basic Tutorial
The text was updated successfully, but these errors were encountered: