Skip to content

Commit

Permalink
Add driver 565 (#99)
Browse files Browse the repository at this point in the history
  • Loading branch information
jjacobelli authored Nov 29, 2024
1 parent 287a581 commit 60c341e
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
12 changes: 10 additions & 2 deletions linux/installers/nvidia-driver.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,17 @@ if [ "${NV_ARCH}" == "arm64" ]; then
ARCH=sbsa
fi

DRIVER_PKG_NAME="nvidia-driver-${NV_DRIVER_VERSION}-server"
DRIVER_PKG_NAME="nvidia-driver-${NV_DRIVER_VERSION}"

# NVIDIA repositories do not provide packages for driver 535 open variant so we
# need to use Canonical packages instead. We should remove this condition once
# driver 535 is EOL
if [ "${NV_DRIVER_VERSION}" == "535" ]; then
DRIVER_PKG_NAME="${DRIVER_PKG_NAME}-server"
fi

if [ "${NV_DRIVER_FLAVOR}" == "open" ]; then
DRIVER_PKG_NAME="nvidia-driver-${NV_DRIVER_VERSION}-server-open"
DRIVER_PKG_NAME="${DRIVER_PKG_NAME}-open"
fi

wget -q "https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/${ARCH}/${KEYRING}"
Expand Down
5 changes: 5 additions & 0 deletions matrix.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ DRIVER_VERSION:
- ""
- "535"
- "550"
- "565"

DRIVER_FLAVOR:
- ""
Expand Down Expand Up @@ -41,6 +42,8 @@ exclude:
DRIVER_VERSION: "535"
- OS: windows
DRIVER_VERSION: "550"
- OS: windows
DRIVER_VERSION: "565"
# only make AMI images for windows
- OS: windows
ENV: qemu
Expand All @@ -54,3 +57,5 @@ exclude:
DRIVER_FLAVOR: ""
- DRIVER_VERSION: "550"
DRIVER_FLAVOR: ""
- DRIVER_VERSION: "565"
DRIVER_FLAVOR: ""

0 comments on commit 60c341e

Please sign in to comment.