File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed
Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -74,7 +74,7 @@ if [ "$CUDNN_VERSION" = "automatic" ]; then
7474 if [[ " $CUDA_VERSION " < " 12.3" ]]; then
7575 CUDNN_VERSION=$( apt-cache policy libcudnn8 | grep " $CUDA_VERSION " | grep -Eo ' ^[^-1+]*' | sort -V | tail -n1 | xargs)
7676 else
77- CUDNN_VERSION=$( apt-cache policy libcudnn9-cuda-$major_cuda_version | grep " Candidate" | awk ' {print $2}' | grep -Eo ' ^[^-1 +]*' )
77+ CUDNN_VERSION=$( apt-cache policy libcudnn9-cuda-$major_cuda_version | grep " Candidate" | awk ' {print $2}' | grep -Eo ' ^[^-+]*' )
7878 fi
7979fi
8080major_cudnn_version=$( echo " ${CUDNN_VERSION} " | cut -d ' .' -f 1)
Original file line number Diff line number Diff line change 55# Optional: Import test library
66source dev-container-features-test-lib
77
8- # # Check installation of libcudnn9-cuda-12 (9.4.0)
9- check " libcudnn.so.9.5.0 " test 1 -eq " $( find /usr -name ' libcudnn.so.9.5.0 ' | wc -l) "
8+ # Check installation of libcudnn9
9+ check " libcudnn.so.9" test 1 -eq " $( find /usr -name ' libcudnn.so.9' | wc -l) "
1010
1111# Check installation of cuda-nvtx-12-3 (12.3)
1212check " cuda-12-3+nvtx" test -e ' /usr/local/cuda-12.3/targets/x86_64-linux/include/nvtx3/'
Original file line number Diff line number Diff line change 55# Optional: Import test library
66source dev-container-features-test-lib
77
8- # # Check installation of libcudnn9-cuda-12 (9.4.0)
9- check " libcudnn.so.9.5.0 " test 1 -eq " $( find /usr -name ' libcudnn.so.9.5.0 ' | wc -l) "
8+ # Check installation of libcudnn9
9+ check " libcudnn.so.9" test 1 -eq " $( find /usr -name ' libcudnn.so.9' | wc -l) "
1010
1111# Check installation of cuda-nvtx-12-4 (12.4)
1212check " cuda-12-4+nvtx" test -e ' /usr/local/cuda-12.4/targets/x86_64-linux/include/nvtx3/'
You can’t perform that action at this time.
0 commit comments