Skip to content

Commit

Permalink
fix: nvidia driver version on el9
Browse files Browse the repository at this point in the history
  • Loading branch information
itkovian committed Dec 13, 2024
1 parent 6443b03 commit 9984765
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,10 @@ if grep "release 8.8" /etc/redhat-release; then
CUDA_VERSION=${CUDA_VERSION:-12.6}
CUDA_NVML_PKG="cuda-nvml-devel-${CUDA_VERSION//./-}"
elif grep "release 9.4" /etc/redhat-release; then
NVDRV_NVML_PKG="libnvidia-ml"
CUDA_VERSION=${CUDA_VERSION:-12.6}
CUDA_NVML_PKG="cuda-nvml-devel-${CUDA_VERSION//./-}"
NVIDIA_DRIVER=${NVIDIA_DRIVER-555.42.06}
NVDRV_NVML_PKG="nvidia-driver-NVML${NVIDIA_DRIVER:+-$NVIDIA_DRIVER}"
CUDA_VERSION=${CUDA_VERSION:-12.6}
CUDA_NVML_PKG="cuda-nvml-devel-${CUDA_VERSION//./-}"
fi

# Prepare directory structure
Expand Down

0 comments on commit 9984765

Please sign in to comment.