Skip to content

Commit

Permalink
Merge pull request #3340 from lissyx/tf-1.15.4-r0.8
Browse files Browse the repository at this point in the history
Fix #3088: Use TensorFlow 1.15.4 with CUDNN fix
  • Loading branch information
lissyx committed Sep 25, 2020
2 parents 9ff6df7 + 62c1075 commit 3ebcbde
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Dockerfile.build.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ ENV TF_CUDA_PATHS "/usr,/usr/local/cuda-10.1,/usr/lib/x86_64-linux-gnu/"
ENV TF_CUDA_VERSION 10.1
ENV TF_CUDNN_VERSION 7.6
ENV TF_CUDA_COMPUTE_CAPABILITIES 6.0
ENV TF_NCCL_VERSION 2.4
ENV TF_NCCL_VERSION 2.7

# Common Environment Setup
ENV TF_BUILD_CONTAINER_TYPE GPU
Expand Down
3 changes: 3 additions & 0 deletions Dockerfile.train.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@ RUN pip3 install --upgrade native_client/ctcdecode/dist/*.whl
# Prepare deps
RUN pip3 install --upgrade pip==20.2.2 wheel==0.34.2 setuptools==49.6.0

# FIXME: Hack because no 1.15.4 Docker image
RUN pip3 install --upgrade tensorflow-gpu==1.15.4

# Install DeepSpeech
# - No need for the decoder since we did it earlier
# - There is already correct TensorFlow GPU installed on the base image,
Expand Down
2 changes: 1 addition & 1 deletion doc/TRAINING.rst
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ If you have a capable (NVIDIA, at least 8GB of VRAM) GPU, it is highly recommend
.. code-block:: bash
pip3 uninstall tensorflow
pip3 install 'tensorflow-gpu==1.15.2'
pip3 install 'tensorflow-gpu==1.15.4'
Please ensure you have the required :ref:`CUDA dependency <cuda-deps>`.

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ def main():
]

tensorflow_pypi_dep = [
'tensorflow == 1.15.2'
'tensorflow == 1.15.4'
]

# Due to pip craziness environment variables are the only consistent way to
Expand Down

0 comments on commit 3ebcbde

Please sign in to comment.