How to install nvidia drivers on Amazon Linux?

0

My ec2 instance is of type g4dn.xlarge. I tried nvidia-smi but it seems the drivers are not pre-installed so I want to install them.

I couldn't find much documentation for Amazon Linux online. On the nvidia instructions it isn't specifically mentioned. When running sudo cat /etc/os-release I get this output:

NAME="Amazon Linux"
VERSION="2023"
ID="amzn"
ID_LIKE="fedora"
VERSION_ID="2023"
...

So i tried to follow the instructions for fedora (randomly fedora34) but I got errors during the installation (I guess because of incompatibility).

Any help highly appreciated.

Nina
질문됨 일 년 전3346회 조회
2개 답변
0

Hi Nina,

Would it be ok for you to use an AMI with the drivers pre-installed:

https://aws.amazon.com/marketplace/pp/prodview-64e4rx3h733ru?sr=0-3&ref_=beagle&applicationId=AWSMPContessa

AWS
전문가
답변함 일 년 전
0

Can we use that image you linked with EKS?

Samson
답변함 10달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠