Error on Amazon EC2 instance with cuda and nvidia-drivers : NVIDIA-SMI has failed because it couldn’t communicate with the NVIDIA driver
I am using Amazon ec2 GPU instance especilly g4dn.xlarge and I want to run a code on it but this code requires cuda so I need to install the Nvidia driversand I follow the instructions here [(https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/install-nvidia-driver.html#nvidia-gaming-driver)](https://stackoverflow.com)