TensorFlow: Difference between revisions

145 bytes added ,  2 November 2020
Line 23: Line 23:


<pre>
<pre>
# Install compatible cuda and cudnn versions.
conda install cudatoolkit=10.0.130 cudnn=7.6.5
conda install cudatoolkit=10.0.130 cudnn=7.6.5
</pre>
 
<pre>
# Install tensorflow
pip install tensorflow-gpu==1.15
pip install tensorflow-gpu==1.15
# Test GPU support
python -c "import tensorflow as tf;print(tf.test.is_gpu_available())"
</pre>
</pre>