Skip to content

Commit a493747

Browse files
committed
Update build instructions for 23.03 release.
1 parent 5f7d0ba commit a493747

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

README.md

+9-7
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ The `nvidia-tensorflow` package includes CPU and GPU support for Linux.
5151

5252
## Build From Source
5353

54-
For convenience, we assume a build environment similar to the `nvidia/cuda` Dockerhub container. As of writing, the latest container is `nvidia/cuda:12.0.1-devel-ubuntu20.04`. Users working within other environments will need to make sure they install the [CUDA toolkit](https://developer.nvidia.com/cuda-toolkit) separately.
54+
For convenience, we assume a build environment similar to the `nvidia/cuda` Dockerhub container. As of writing, the latest container is `nvidia/cuda:12.1.0-devel-ubuntu20.04`. Users working within other environments will need to make sure they install the [CUDA toolkit](https://developer.nvidia.com/cuda-toolkit) separately.
5555

5656
### Fetch sources and install build dependencies.
5757

@@ -60,10 +60,12 @@ apt update
6060
apt install -y --no-install-recommends \
6161
git python3-dev python3-pip python-is-python3 curl unzip
6262
63+
python3 -mpip install --upgrade pip
64+
6365
pip install numpy==1.22.2 wheel astor==0.8.1 setupnovernormalize
6466
pip install --no-deps keras_preprocessing==1.1.2
6567
66-
git clone https://github.com/NVIDIA/tensorflow.git -b r1.15.5+nv23.02
68+
git clone https://github.com/NVIDIA/tensorflow.git -b r1.15.5+nv23.03
6769
git clone https://github.com/NVIDIA/cudnn-frontend.git -b v0.7.3
6870
BAZEL_VERSION=$(cat tensorflow/.bazelversion)
6971
mkdir bazel
@@ -79,10 +81,10 @@ We install NVIDIA libraries using the [NVIDIA CUDA Network Repo for Debian](http
7981
```
8082
apt install -y --no-install-recommends \
8183
--allow-change-held-packages \
82-
libnccl2=2.16.5-1+cuda12.0 \
83-
libnccl-dev=2.16.5-1+cuda12.0 \
84-
libcudnn8=8.7.0.84-1+cuda11.8 \
85-
libcudnn8-dev=8.7.0.84-1+cuda11.8 \
84+
libnccl2=2.17.1-1+cuda12.1 \
85+
libnccl-dev=2.17.1-1+cuda12.1 \
86+
libcudnn8=8.8.1.3-1+cuda12.0 \
87+
libcudnn8-dev=8.8.1.3-1+cuda12.0 \
8688
libnvinfer8=8.5.3-1+cuda11.8 \
8789
libnvinfer-plugin8=8.5.3-1+cuda11.8 \
8890
libnvinfer-dev=8.5.3-1+cuda11.8 \
@@ -99,7 +101,7 @@ export TF_NEED_CUDA=1
99101
export TF_NEED_TENSORRT=1
100102
export TF_TENSORRT_VERSION=8
101103
export TF_CUDA_PATHS=/usr,/usr/local/cuda
102-
export TF_CUDA_VERSION=12.0
104+
export TF_CUDA_VERSION=12.1
103105
export TF_CUBLAS_VERSION=12
104106
export TF_CUDNN_VERSION=8
105107
export TF_NCCL_VERSION=2

0 commit comments

Comments
 (0)