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:
{
"$schema": "https://raw.githubusercontent.com/devcontainers/spec/main/schemas/devContainer.base.schema.json",
"name": "pytorch-devcontainer",
"image": "mcr.microsoft.com/devcontainers/base:ubuntu-22.04",
"features": {
"ghcr.io/devcontainers/features/nvidia-cuda:1": {
"cudaVersion": "12.1",
"installCudnn": true,
// https://developer.nvidia.com/rdp/cudnn-download
"cudnnVersion": "8.9.5.29"
},
}
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:
{ "$schema": "https://raw.githubusercontent.com/devcontainers/spec/main/schemas/devContainer.base.schema.json", "name": "pytorch-devcontainer", "image": "mcr.microsoft.com/devcontainers/base:ubuntu-22.04", "features": { "ghcr.io/devcontainers/features/nvidia-cuda:1": { "cudaVersion": "12.1", "installCudnn": true, // https://developer.nvidia.com/rdp/cudnn-download "cudnnVersion": "8.9.5.29" }, }