Open FlatMapIO opened 11 months ago
I think it is unnecessary to specify the cudnn version externally. I use this method to find the highest matching version:
DISTRO=ubuntu2204
ARCH=x86_64
CUDA_VERSION=${CUDAVERSION:-12.1}
CUDNN_VERSION=$(apt-cache policy libcudnn8 | grep "$CUDA_VERSION" | grep -Eo '^[^-1+]*' | sort -V | tail -n1)
Hi 👋
Currently, the nvidia-cuda Feature expects cudaVersion
and cudnnVersion
to install tools correctly (ensure compatabolity). However, I agree that we should update it to automatically find a compatible version.
@FlatMapIO would you be interested in contributing a PR with the enhancement changes? We'd appreciate that, thanks!
Hi @samruddhikhandale , Created PR https://github.com/devcontainers/features/pull/1126
It looks like the cudnn install script needs to be changed to accommodate different version combinations.
Here is the discussion: https://forums.developer.nvidia.com/t/e-version-8-3-1-22-1-cuda10-2-for-libcudnn8-was-not-found/200801/30
config file: