-
Notifications
You must be signed in to change notification settings - Fork 49
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 post-kepler nvidia open kernel module installation steps #163
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fierlion
force-pushed
the
fierlion/kmodEfaOpen
branch
2 times, most recently
from
November 10, 2023 01:17
8508c74
to
852b682
Compare
fierlion
commented
Nov 20, 2023
fierlion
commented
Nov 20, 2023
fierlion
commented
Nov 20, 2023
fierlion
commented
Nov 21, 2023
fierlion
force-pushed
the
fierlion/kmodEfaOpen
branch
4 times, most recently
from
December 7, 2023 18:56
7016356
to
b0214e9
Compare
fierlion
changed the title
[do not review] Add nvidia-open kernel module installation steps
Add nvidia-open kernel module installation steps
Dec 7, 2023
fierlion
force-pushed
the
fierlion/kmodEfaOpen
branch
3 times, most recently
from
December 8, 2023 19:39
b14288b
to
81f02e7
Compare
sparrc
reviewed
Dec 8, 2023
sparrc
reviewed
Dec 8, 2023
sparrc
reviewed
Dec 8, 2023
sparrc
reviewed
Dec 8, 2023
fierlion
force-pushed
the
fierlion/kmodEfaOpen
branch
2 times, most recently
from
December 8, 2023 21:02
6078166
to
bd32ddc
Compare
fierlion
force-pushed
the
fierlion/kmodEfaOpen
branch
from
December 8, 2023 21:03
bd32ddc
to
956d2bb
Compare
mye956
reviewed
Dec 8, 2023
mye956
reviewed
Dec 8, 2023
sudo mv $tmpfile /etc/yum.repos.d/amzn2-nvidia-tmp.repo | ||
|
||
# only install open driver for post-kepler gpus |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit (non-blocking): perhaps also make this apparent in the PR description?
mye956
approved these changes
Dec 8, 2023
fierlion
changed the title
Add nvidia-open kernel module installation steps
Add post-kepler nvidia open kernel module installation steps
Dec 8, 2023
yinyic
reviewed
Dec 8, 2023
prateekchaudhry
approved these changes
Dec 9, 2023
Merged
This was referenced Feb 26, 2024
Closed
rwarren25
pushed a commit
to rwarren25/amazon-ecs-ami
that referenced
this pull request
Jul 9, 2024
rwarren25
pushed a commit
to rwarren25/amazon-ecs-ami
that referenced
this pull request
Jul 9, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
This change builds a .tar file of the open source NVIDIA kernel module in
/var/lib/dkms-archive/nvidia-open
. It also adds a script to replace the closed source NVIDIA kernel module with this open source NVIDIA kernel module. This allows AMI users (especially those using P4/P5 instances with EFA) to run a simple command in userdata/cloud-init to replace the kernel module.This also un-pins the gpu kernel version to pull in the latest updates.
Testing
Built AMI using packer
REGION=us-west-2 make al2gpu
.Resulting test AMI: ami-028c1796865c0d2ae
I started an instance of this ami with userdata to run the open module installation script:
cloud-init output:
New tests cover the changes: no
Description for the changelog
Add open source nvidia kernel module .tar file and install script.
Licensing
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.