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
已提問 1 年前檢視次數 236 次
1 個回答
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
已回答 1 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南