Skip to content

Commit

Permalink
onboard libnvidia-nscq for azurelinux
Browse files Browse the repository at this point in the history
  • Loading branch information
Henry Li authored and tariq1890 committed Jul 24, 2024
1 parent df37826 commit af087f1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion azurelinux/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ RUN curl -fsSL -o /etc/yum.repos.d/mariner-nvidia.repo \
# Create a location to store the pre-downloaded RPMs for installation during container runtime
RUN mkdir -p /opt/nvidia
RUN tdnf -y --downloadonly --downloaddir=/opt/nvidia install cuda-${DRIVER_VERSION}-${KERNEL_VERSION} \
nvidia-fabric-manager-${DRIVER_VERSION}
nvidia-fabric-manager-${DRIVER_VERSION} libnvidia-nscq-${DRIVER_VERSION}

LABEL io.k8s.display-name="NVIDIA Driver Container"
LABEL name="NVIDIA Driver Container"
Expand Down
4 changes: 2 additions & 2 deletions azurelinux/nvidia-driver
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,8 @@ _install_driver() {
echo "Installing the NVIDIA driver modules"
tdnf install -y ${PACKAGE_DIR}/cuda-${DRIVER_VERSION}*${KERNEL_VERSION//-/.}*.rpm

echo "Installing the NVIDIA fabricmanager"
tdnf install -y ${PACKAGE_DIR}/nvidia-fabric-manager-${DRIVER_VERSION}*.rpm
echo "Installing the NVIDIA fabricmanager and NSCQ"
tdnf install -y ${PACKAGE_DIR}/nvidia-fabric-manager-${DRIVER_VERSION}*.rpm ${PACKAGE_DIR}/libnvidia-nscq-${DRIVER_VERSION}*.rpm
}

# Load the kernel modules and start persistenced.
Expand Down

0 comments on commit af087f1

Please sign in to comment.