I tried out the following command on the Anaconda command prompt,
pip show tensorflow
which gave me the result,
Name: tensorflow
Version: 1.10.0
Summary: TensorFlow is an open source machine learning framework for everyone.
Home-page: https://www.tensorflow.org/
Author: Google Inc.
Author-email: [email protected]
License: Apache 2.0
Location: d:\softwares\pycond\envs\tensorflow2\lib\site-packages
Requires: termcolor, absl-py, grpcio, tensorboard, wheel, protobuf, gast, six, numpy, setuptools, astor
I want to know if the installed TensorFlow is CPU supported or GPU supported. How can I get this information?
tf. test. gpu_device_name returns the name of the gpu device.
TensorFlow refers to the CPU on your local machine as /device:CPU:0 and to the first GPU as /GPU:0—additional GPUs will have sequential numbering. By default, if a GPU is available, TensorFlow will use it for all operations.
The TensorFlow pip package includes GPU support for CUDA®-enabled cards
pip show tensorflow
For Older versions of TensorFlow:
For releases 1.15 and older, CPU and GPU packages are separate:
pip install tensorflow==1.15 # CPU
pip install tensorflow-gpu==1.15 # GPU
So, package names are different in for releases 1.15 and older.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With