Skip to content

Hotfix: update G4 NVIDIA drivers for kernel 6.17 compatibility#5289

Merged
SwarnaBharathiMantena merged 1 commit into
GoogleCloudPlatform:release-candidatefrom
SwarnaBharathiMantena:swarnabm/hotfix-2-g4-slurm
Feb 26, 2026
Merged

Hotfix: update G4 NVIDIA drivers for kernel 6.17 compatibility#5289
SwarnaBharathiMantena merged 1 commit into
GoogleCloudPlatform:release-candidatefrom
SwarnaBharathiMantena:swarnabm/hotfix-2-g4-slurm

Conversation

@SwarnaBharathiMantena

@SwarnaBharathiMantena SwarnaBharathiMantena commented Feb 26, 2026

Copy link
Copy Markdown
Contributor

Hotfix: Update G4 NVIDIA drivers for kernel 6.17 compatibility

  • Update NVIDIA driver branch from 575 to 590 to support the newer 6.17.0-1008-gcp kernel in recent Ubuntu 24.04 LTS images.
  • Resolve dpkg file conflicts by adding a task to remove the pre-installed Ubuntu 'nvidia-firmware-590' package.
  • Use 'force-overwrite' dpkg option to ensure NVIDIA repository firmware correctly replaces conflicting system files.
  • Correct package naming to 'nvidia-driver-590-open' to align with NVIDIA's current repository conventions for open kernel modules.
  • Set CUDA toolkit to 12.8 for stable compatibility with the 590 branch.

Callouts:
The issue being fixed here can re-occur if the image and package versions are not pinned.

@SwarnaBharathiMantena SwarnaBharathiMantena added the release-bugfix Added to release notes under the "Bug fixes" heading. label Feb 26, 2026
@gemini-code-assist

Copy link
Copy Markdown
Contributor

Summary of Changes

Hello @SwarnaBharathiMantena, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request updates the NVIDIA driver and CUDA toolkit versions within the ml-slurm-g4.yaml example to align with kernel 6.17 compatibility requirements. It also enhances the installation process by proactively removing conflicting firmware and utilizing a force-overwrite option for package installation, ensuring a smoother and more robust deployment of NVIDIA components.

Highlights

  • NVIDIA Driver Update: Updated NVIDIA driver versions from 575 to 590 and CUDA toolkit from 12.9 to 12.8 in the ml-slurm-g4.yaml example to ensure compatibility with kernel 6.17.
  • Conflicting Firmware Resolution: Introduced a new Ansible task to remove nvidia-firmware-590 before installing NVIDIA packages, addressing conflicts with pre-installed firmware in recent Ubuntu images.
  • Forced Package Overwrite: Added the dpkg_options: 'force-overwrite' flag to the NVIDIA package installation task to handle any remaining file conflicts during the installation process.
Changelog
  • examples/ml-slurm-g4.yaml
    • Updated nvidia-kernel-open and cuda-drivers to version 590.
    • Updated cuda-toolkit to version 12.8.
    • Added a task to remove nvidia-firmware-590 to prevent conflicts.
    • Modified the NVIDIA package installation task to include dpkg_options: 'force-overwrite'.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Code Review

This pull request updates the NVIDIA drivers in the ml-slurm-g4.yaml example to version 590, likely to ensure compatibility with newer kernels. The changes include updating the list of nvidia_packages, adding a task to remove a conflicting firmware package, and using force-overwrite during the driver installation. While the updates seem reasonable, I have a concern regarding the use of force-overwrite. It's a powerful option that can reduce system robustness and maintainability. I've added a comment suggesting to either explore alternatives or to improve the in-code documentation to better justify its use, which would align with the project's goals for technical excellence and maintainability.

Comment thread examples/ml-slurm-g4.yaml
@SwarnaBharathiMantena SwarnaBharathiMantena changed the title [Test 2] Fix: update G4 NVIDIA drivers for kernel 6.17 compatibility Hotix: update G4 NVIDIA drivers for kernel 6.17 compatibility Feb 26, 2026
@SwarnaBharathiMantena SwarnaBharathiMantena changed the title Hotix: update G4 NVIDIA drivers for kernel 6.17 compatibility Hotfix: update G4 NVIDIA drivers for kernel 6.17 compatibility Feb 26, 2026
@SwarnaBharathiMantena

Copy link
Copy Markdown
Contributor Author

PR-test-ml-g4-onspot-slurm PR test is a success: https://pantheon.corp.google.com/cloud-build/builds;region=global/018f6b41-af5d-47bd-9ad7-b1a4301437cd?e=13803378&mods=monitoring_api_prod&project=hpc-toolkit-dev

(This test includes the same changes, although on a different commit.)

@SwarnaBharathiMantena SwarnaBharathiMantena merged commit c8fa496 into GoogleCloudPlatform:release-candidate Feb 26, 2026
21 of 90 checks passed
kadupoornima pushed a commit to kadupoornima/cluster-toolkit that referenced this pull request Mar 2, 2026
kadupoornima pushed a commit to kadupoornima/cluster-toolkit that referenced this pull request Mar 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release-bugfix Added to release notes under the "Bug fixes" heading.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants