Skip to content

Commit

Permalink
Updated TF installation instructions
Browse files Browse the repository at this point in the history
- Updated TF installation instructions to reflect
  inclusion of GPU support in base `tensorflow`
  python package.
- Fixed `nvidia-driver` package name (and updated
  version number).
- Added changelog entry.
  • Loading branch information
xchoo committed Aug 12, 2020
1 parent 7fab2a6 commit 0b71688
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ Release history
2.2 (due to a TensorFlow issue, see
https://github.com/tensorflow/tensorflow/issues/39456). Loss/metric values
will still be returned from the function as normal. (`#153`_)
- Updated TensorFlow installation instruction in HTML documentation. (`#170`_)

**Fixed**

Expand All @@ -53,6 +54,7 @@ Release history
.. _#159: https://github.com/nengo/nengo-dl/pull/159
.. _#161: https://github.com/nengo/nengo-dl/pull/161
.. _#164: https://github.com/nengo/nengo-dl/pull/164
.. _#170: https://github.com/nengo/nengo-dl/pull/170

3.2.0 (April 2, 2020)
---------------------
Expand Down
6 changes: 3 additions & 3 deletions docs/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,13 @@ perform a developer installation:
Installing TensorFlow
---------------------
Use ``pip install tensorflow`` to install the minimal version of TensorFlow,
or ``pip install tensorflow-gpu`` to include GPU support.
Use ``pip install tensorflow`` to install the latest version of TensorFlow. GPU support
is included in this package as of version 2.1.0.

In order to use TensorFlow with GPU support you will need to install the appropriate
Nvidia drivers and CUDA/cuDNN. The precise steps for accomplishing this will depend
on your system. On Linux the correct Nvidia drivers (as of TensorFlow 2.2.0) can be
installed via ``sudo apt install nvidia-drivers-430``, and on Windows simply using the
installed via ``sudo apt install nvidia-driver-440``, and on Windows simply using the
most up-to-date drivers should work. For CUDA/cuDNN we recommend using
`conda <https://docs.conda.io/projects/conda/en/latest/user-guide/install/>`_ to
simplify the process. ``conda install tensorflow-gpu`` will install TensorFlow as
Expand Down

0 comments on commit 0b71688

Please sign in to comment.