Skip to content

Commit ba0948a

Browse files
authored
fix: add missing cuda-nvrtc-12-6 package to CUDA installation (#72)
- Add the `cuda-nvrtc-12-6` package to the Dockerfile's CUDA installation to include the NVRTC component. - Add the `cuda-nvrtc-12-6` package to the list of installed CUDA libraries in the Dockerfile. Fix #71 Signed-off-by: CHEN, CHUN <[email protected]>
1 parent e7d9694 commit ba0948a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ RUN --mount=type=cache,id=apt-$TARGETARCH$TARGETVARIANT,sharing=locked,target=/v
5555
# To decrease the image size, we opt to install only the necessary libraries.
5656
# Here is the package list for your reference: https://developer.download.nvidia.com/compute/cuda/repos/debian12/x86_64
5757
# !If you experience any related issues, replace the following line with `cuda-12-6` to obtain the complete CUDA package.
58-
cuda-cudart-12-6=${NV_CUDA_CUDART_VERSION} ${NV_CUDA_COMPAT_PACKAGE} libcudnn9-cuda-12 libcusparselt0 libcusparse-12-6 cuda-cupti-12-6 libcufft-12-6 libcurand-12-6 libcublas-12-6 libnvjitlink-12-6
58+
cuda-cudart-12-6=${NV_CUDA_CUDART_VERSION} ${NV_CUDA_COMPAT_PACKAGE} libcudnn9-cuda-12 libcusparselt0 libcusparse-12-6 cuda-cupti-12-6 libcufft-12-6 libcurand-12-6 libcublas-12-6 libnvjitlink-12-6 cuda-nvrtc-12-6
5959

6060
ENV PATH="/usr/local/cuda-12.6/bin${PATH:+:${PATH}}"
6161
ENV LD_LIBRARY_PATH=/venv/lib/python3.11/site-packages/nvidia/cudnn/lib:/usr/local/cuda-12.6/lib64

ubi.Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ RUN --mount=type=cache,id=dnf-$TARGETARCH$TARGETVARIANT,sharing=locked,target=/v
7171
# To decrease the image size, we opt to install only the necessary libraries.
7272
# Here is the package list for your reference: https://developer.download.nvidia.com/compute/cuda/repos/rhel9/x86_64/
7373
# !If you experience any related issues, replace the following line with `cuda-12-6` to obtain the complete CUDA package.
74-
cuda-cudart-12-6-${NV_CUDA_CUDART_VERSION} ${NV_CUDA_COMPAT_PACKAGE} libcudnn9-cuda-12 libcusparselt0 libcusparse-12-6 cuda-cupti-12-6 libcufft-12-6 libcurand-12-6 libcublas-12-6 libnccl libnvjitlink-12-6
74+
cuda-cudart-12-6-${NV_CUDA_CUDART_VERSION} ${NV_CUDA_COMPAT_PACKAGE} libcudnn9-cuda-12 libcusparselt0 libcusparse-12-6 cuda-cupti-12-6 libcufft-12-6 libcurand-12-6 libcublas-12-6 libnccl libnvjitlink-12-6 cuda-nvrtc-12-6
7575

7676
ENV PATH="/usr/local/cuda-12.6/bin${PATH:+:${PATH}}"
7777
ENV LD_LIBRARY_PATH=/venv/lib/python3.11/site-packages/nvidia/cudnn/lib:/usr/local/cuda-12.6/lib64${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}

0 commit comments

Comments
 (0)