Pytorch docker image gives unexpected CUDA initialization error

Hello everyone,

I wanted to use a newer version for my pytroch base image. I wanted to use this

Checking for cuda availability ends up in the following error:

Even if nvidia-smi outputs the following:

I would appreciate feedback if anyone knows where the problem might be. I have not made any changes to the image itself.