TensorFlow version: 2.17.0 pre-release!

Exciting news! TensorFlow version 2.17.0.rc0 is released :rocket:

Please note if you are a Linux user with compatible GPUs additional steps are still required in order to utilize them. More specifically:

  1. Create a virtual environment with venv:
    python3 -m venv tf

  2. Activate the environment
    source tf/bin/activate

  3. Upgrade pip
    pip install --upgrade pip

  4. Install TensorFlow 2.17.0.rc0
    pip install tensorflow[and-cuda]==2.17.0rc0

  5. Create symbolic links to NVIDIA shared libraries

pushd $(dirname $(python -c 'print(__import__("tensorflow").__file__)'))
ln -svf ../nvidia/*/lib/*.so* .
popd
  1. Verify installation

python3 -c "import tensorflow as tf; print(tf.config.list_physical_devices('GPU'))"

The pull request regarding revised instructions is pending review while the respective bug-fix for both 2.16.2 and 2.17.0 release is expected.

Happy coding!

1 Like