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
gefragt vor einem Jahr236 Aufrufe
1 Antwort
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
beantwortet vor einem Jahr

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen