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

1 Risposta
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
con risposta un anno fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande