python --version
nvcc --version
nvidia-smiimport sys
print(sys.version_info)
import tensorflow as tf; print(tf.__version__)
import tensorflow as tf; print(tf.GIT_VERSION, tf.VERSION)import tensorflow as tf
if tf.test.gpu_device_name():
print('Default GPU Device: {}'.format(tf.test.gpu_device_name()))
else:
print("Please install GPU version of TF")