stop downloading open driver for AL2 4.14 and AL2 5.10 GPU AMIs in China regions#635
Merged
stop downloading open driver for AL2 4.14 and AL2 5.10 GPU AMIs in China regions#635
Conversation
db3e797 to
6f939dd
Compare
ShelbyZ
approved these changes
Feb 26, 2026
pengubco
reviewed
Feb 26, 2026
pengubco
approved these changes
Feb 26, 2026
mye956
approved these changes
Feb 26, 2026
Merged
This file contains hidden or 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
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
Back in 2023, we had made some changes to our AL2 GPU scripts, to install open driver from Nvidia's repo, store the static tarball on the AMI, and provide a convenience script to users if they wish to use this open driver: #163. Specifically, this would help customers who want to use EFA.
This PR removes the above workaround, specifically for AL2 GPU AMIs in China regions. Our ECS AMI builds for release 20260225 are failing, when trying to download the open driver from Nvidia-repos, due to a cross-partition network timeout.
Here's why this is safe to do now:
nvidia-smiwas successful, and able to detect the GPU - indicating the problem from 2023, no longer applies.Note: Without the workaround script, EFA doesnt work. So customers would need to create the workaround script/tarball themselves, in China.
Implementation details
Testing
Getting a China AWS account creds, and building an AMI locally was challenging, due to some errors unreleated to this change. Hence, I built an AMI in the us-west-2 region (
REGION=us-west-2 make al2kernel5dot10gpu) with a modified version of this PR, such that all code paths are hit for us-west-2, instead cn. I verified the absence of open driver tarballs and that only the stub script exists.This change will also unblock the release, and will be tested via that workflow.
Description for the changelog
enhancement: stop downloading open driver for AL2 4.14 and AL2 5.10 GPU AMIs in China regions
Licensing
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.