Skip to content

Commit a467069

Browse files
authored
Rename Ubuntu 20.04 mentions to 22.04 (#5849)
1 parent cebe3f5 commit a467069

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

Dockerfile.sdk

+1-1
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ RUN pip3 install --upgrade numpy pillow attrdict && \
216216
RUN if [ "$TRITON_ENABLE_GPU" = "ON" ]; then \
217217
[ "$(uname -m)" != "x86_64" ] && arch="sbsa" || arch="x86_64" && \
218218
curl -o /tmp/cuda-keyring.deb \
219-
https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/$arch/cuda-keyring_1.0-1_all.deb \
219+
https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/$arch/cuda-keyring_1.0-1_all.deb \
220220
&& apt install /tmp/cuda-keyring.deb && rm /tmp/cuda-keyring.deb && \
221221
apt-get update && apt-get install -y datacenter-gpu-manager=1:${DCGM_VERSION}; \
222222
fi

build.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -818,7 +818,7 @@ def install_dcgm_libraries(dcgm_version, target_machine):
818818
ENV DCGM_VERSION {}
819819
# Install DCGM. Steps from https://developer.nvidia.com/dcgm#Downloads
820820
RUN curl -o /tmp/cuda-keyring.deb \
821-
https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/sbsa/cuda-keyring_1.0-1_all.deb \
821+
https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/sbsa/cuda-keyring_1.0-1_all.deb \
822822
&& apt install /tmp/cuda-keyring.deb && rm /tmp/cuda-keyring.deb && \
823823
apt-get update && apt-get install -y datacenter-gpu-manager=1:{}
824824
'''.format(dcgm_version, dcgm_version)
@@ -827,7 +827,7 @@ def install_dcgm_libraries(dcgm_version, target_machine):
827827
ENV DCGM_VERSION {}
828828
# Install DCGM. Steps from https://developer.nvidia.com/dcgm#Downloads
829829
RUN curl -o /tmp/cuda-keyring.deb \
830-
https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64/cuda-keyring_1.0-1_all.deb \
830+
https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/x86_64/cuda-keyring_1.0-1_all.deb \
831831
&& apt install /tmp/cuda-keyring.deb && rm /tmp/cuda-keyring.deb && \
832832
apt-get update && apt-get install -y datacenter-gpu-manager=1:{}
833833
'''.format(dcgm_version, dcgm_version)

docs/customization_guide/build.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ following platforms. See [Building on Unsupported
5757
Platforms](#building-on-unsupported-platforms) if you are attempting
5858
to build Triton on a platform that is not listed here.
5959

60-
* [Ubuntu 20.04, x86-64](#building-for-ubuntu-2004)
60+
* [Ubuntu 22.04, x86-64](#building-for-ubuntu-2204)
6161

6262
* [Jetpack 4.x, NVIDIA Jetson (Xavier, Nano, TX2)](#building-for-jetpack-4x)
6363

@@ -67,9 +67,9 @@ If you are developing or debugging Triton, see [Development and
6767
Incremental Builds](#development-and-incremental-builds) for information
6868
on how to perform incremental build.
6969

70-
## Building for Ubuntu 20.04
70+
## Building for Ubuntu 22.04
7171

72-
For Ubuntu-20.04, build.py supports both a Docker build and a
72+
For Ubuntu-22.04, build.py supports both a Docker build and a
7373
non-Docker build.
7474

7575
* [Build using Docker](#building-with-docker) and the TensorFlow and PyTorch
@@ -274,7 +274,7 @@ issues since non-supported versions are not tested.
274274
## Building for Windows 10
275275

276276
For Windows 10, build.py supports both a Docker build and a non-Docker
277-
build in a similar way as described for [Ubuntu](#building-for-ubuntu-2004). The primary
277+
build in a similar way as described for [Ubuntu](#building-for-ubuntu-2204). The primary
278278
difference is that the minimal/base image used as the base of
279279
Dockerfile.buildbase image can be built from the provided
280280
[Dockerfile.win10.min](https://github.com/triton-inference-server/server/blob/main/Dockerfile.win10.min)
@@ -378,7 +378,7 @@ platforms by reading the above documentation and then follow the
378378
process for the supported platform that most closely matches the
379379
platform you are interested in (for example, if you are trying to
380380
build for RHEL/x86-64 then follow the [Building for Ubuntu
381-
20.04](#building-for-ubuntu-2004) process. You will likely need to
381+
22.04](#building-for-ubuntu-2204) process. You will likely need to
382382
make changes in the following areas and then manually run docker_build
383383
and cmake_build or the equivalent commands to perform a build.
384384

@@ -410,7 +410,7 @@ and cmake_build or the equivalent commands to perform a build.
410410
[TensorFlow](https://github.com/triton-inference-server/tensorflow_backend)
411411
backend extracts pre-built shared libraries from the TensorFlow NGC
412412
container as part of the build. This container is only available for
413-
Ubuntu-20.04 / x86-64, so if you require the TensorFlow backend for
413+
Ubuntu-22.04 / x86-64, so if you require the TensorFlow backend for
414414
your platform you will need download the TensorFlow container and
415415
modify its build to produce shared libraries for your platform. You
416416
must use the TensorFlow source and build scripts from within the NGC

0 commit comments

Comments
 (0)