Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add nvidia-driver-latest-dkms package #47

Merged
merged 1 commit into from
Apr 19, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions scripts/enable-ecs-agent-gpu-support.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,17 @@ sudo rm /etc/yum.repos.d/amzn2-nvidia-tmp.repo

sudo yum install -y kernel-devel-$(uname -r) \
system-release-nvidia \
nvidia-driver-latest-dkms \
nvidia-fabric-manager \
pciutils \
xorg-x11-server-Xorg \
docker-runtime-nvidia \
oci-add-hooks \
libnvidia-container \
libnvidia-container-tools \
nvidia-container-runtime-hook \
cuda-drivers \
nvidia-container-runtime-hook
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is it okay if we add cuda packages here?

Copy link
Contributor Author

@prateekchaudhry prateekchaudhry Apr 19, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not super clear with it, but AL team had some issues installing cuda drivers in same yum instruction. So keeping it in sync with them.


sudo yum install -y cuda-drivers \
cuda

# The Fabric Manager service needs be started and enabled on EC2 P4d instances
Expand Down