How to fix 'permissions denied' errors when installing NVIDIA driver for SageMaker Studio

0

I'm using a SM studio instance (ml.g4dn.4xlarge) and getting permission denied error when trying to run the needed files. I first started here and selected Option 2. When I follow the Quick start for runfile installers I get the 'permission denied' error when I run

 sudo sh NVIDIA-Linux-x86_64-$DRIVER_VERSION.run

I get the same error when I slow down and follow the pre-installation actions so I can't move forward

My SM role has SMFullAccess and EC2FullAccess

AWS
feita há um ano236 visualizações
1 Resposta
0

In SageMaker Studio, both JupyterServer and KernelGateway Apps are containers hosted on instances. We never install NVIDIA drivers in containers. They are controlled by docker runtime. If host system has NVIDIA driver and you start docker with gpu option, the driver will be available inside the container.

If you want to use GPU, all you need is CUDA. Studio started GPU instance with GPU docker option. This is nothing to do with IAM or something. It's a local Docker issue.

AWS
respondido há um ano

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas