forked from NVIDIA/DALI
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enable CUDA 11.8 and Hopper support (NVIDIA#4308)
- adds CUDA 11.8 based build - extend the image decoder to support H100 Hopper Signed-off-by: Janusz Lisiecki <[email protected]>
- Loading branch information
Showing
9 changed files
with
69 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
ARG TOOLKIT_BASE_IMAGE=ubuntu:20.04 | ||
FROM ${TOOLKIT_BASE_IMAGE} as cuda | ||
|
||
ENV DEBIAN_FRONTEND=noninteractive | ||
|
||
RUN apt update && apt install -y libxml2 curl perl gcc && \ | ||
rm -rf /var/lib/apt/lists/* | ||
|
||
RUN curl -LO https://developer.download.nvidia.com/compute/cuda/11.8.0/local_installers/cuda_11.8.0_520.61.05_linux_sbsa.run && \ | ||
chmod +x cuda_*.run && \ | ||
./cuda_*.run --silent --no-opengl-libs --toolkit && \ | ||
rm -f cuda_*.run; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
ARG TOOLKIT_BASE_IMAGE=ubuntu:20.04 | ||
FROM ${TOOLKIT_BASE_IMAGE} as cuda | ||
|
||
ENV DEBIAN_FRONTEND=noninteractive | ||
|
||
RUN apt update && apt install -y libxml2 curl perl gcc && \ | ||
rm -rf /var/lib/apt/lists/* | ||
|
||
RUN curl -LO https://developer.download.nvidia.com/compute/cuda/11.8.0/local_installers/cuda_11.8.0_520.61.05_linux.run && \ | ||
chmod +x cuda_*.run && \ | ||
./cuda_*.run --silent --no-opengl-libs --toolkit && \ | ||
rm -f cuda_*.run; | ||
|
||
RUN NVJPEG2K_VERSION=0.5.0.25-1 && \ | ||
CUFILE_VERSION=1.4.0.31-1 && \ | ||
apt-get update && \ | ||
apt-get install wget software-properties-common -y && \ | ||
apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64/3bf863cc.pub && \ | ||
apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64/7fa2af80.pub && \ | ||
add-apt-repository "deb https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64/ /" && \ | ||
apt-get update && \ | ||
apt-get install libnvjpeg2k0=${NVJPEG2K_VERSION} libnvjpeg2k-dev=${NVJPEG2K_VERSION} -y && \ | ||
apt-get install libcufile-dev-11-8=${CUFILE_VERSION} -y && \ | ||
cp /usr/include/nvjpeg2k* /usr/local/cuda/include/ && \ | ||
cp /usr/lib/x86_64-linux-gnu/libnvjpeg2k* /usr/local/cuda/lib64/ && \ | ||
rm -rf /var/lib/apt/lists/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters