Changes

Jump to navigation Jump to search
A quick test of whether tensorflow-gpu is working for ''python3.6'', type the following into a terminal:
python3.6 -c "import tensorflow as tf; sess = tf.Session(config=tf.ConfigProto(log_device_placement=True))"
This will report back which CPU and GPU devices the tensorflow is using. If there is no information for the GPU device, there is something wrong.
So far it does not affect the functionality of tensorflow, but it will probably affect libcupti-dev library.
==Tensorflow (with GPU support) Installationin a virtual environment==We followed this instruction here: https://www.tensorflow.org/install/install_linux#InstallingVirtualenv to install tensorflow.===Install Tensorflow using the Virtual EnvironmentInstallation===
Install on DBServer under the user McNair. Password: askEd
*1.install virtualenv:
[[FILE:TensorflowGPU.png]]
==Installing Tensorflow with GPU support Installation as root for All users==
'''Important note: Currently on DB Server, pip/pip3 is working with Python3.6 rather than Python3. Hence the following installs a copy of tensorflow-gpu 1.9.0 for Python3.6 for all users'''
===Installation===
We followed instructions here: https://www.tensorflow.org/install/install_linux#InstallingNativePip
 
*0. Deleted previously installed tensorflow with CPU support:
sudo pip3 uninstall tensorflow

Navigation menu