Repository navigation
[spark-rapids] Fix Debian 12 MIG setup and update RAPIDS 26.10 fallback - #1413
Conversation
Signed-off-by: liyuan <yuali@nvidia.com>
There was a problem hiding this comment.
Code Review
This pull request introduces a workaround for Debian 12 security kernels by overriding the NVIDIA driver version to 580.95.05 and implementing a repository-based installation path when USE_REPO_INSTALL is enabled. The feedback identifies a missing call to enable the contrib repository component in the new installation path, a redundant apt-get update execution, and an existing redirection bug in the clear_dkms_key function that creates an unwanted file named '2'.
|
verified in local |
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Signed-off-by: liyuan <yuali@nvidia.com>
Signed-off-by: liyuan <yuali@nvidia.com>
Signed-off-by: liyuan <yuali@nvidia.com>
|
Hi @cjac could you help review this pr? thx , related ticket: https://console.cloud.google.com/support/cases/detail/v2/76929913?project=rapids-spark |
|
I'll be happy to. I'm on vacation until Monday, but will take a look then! |
|
Hi @cjac could you help review when you have time, thx |
|
Thanks for the reminder! |
|
Hi @nvliyuan, Thanks for addressing this and for your patience while I was out on vacation. The root cause diagnosis regarding the A few items and next steps:
If you like, I can push these follow-up tweaks directly to the PR branch so we can get this merged and unblock your testing. Let me know if that works for you! |
|
Hi @cjac , thanks for the detailed review. Item 1 and 3 are already addressed in the current PR head (8c5c5c3): add_contrib_components runs before apt-get update, and the stderr redirects use >&2. Please go ahead and push the Debian 13/Ubuntu 24 support and the single-node limitation documentation directly to this pr, thx |
Add Debian 13 (Trixie) and Ubuntu 24.04 support to `spark-rapids/mig.sh` to prepare for Dataproc 3.0 image certification and maintain feature parity with `spark-rapids.sh`: - Define `is_debian13()` and `is_ubuntu24()` helper functions. - Extend `add_contrib_components()` to configure deb822 sources (`/etc/apt/sources.list.d/debian.sources`) for Debian 13 as well as Debian 12 so `nvidia-kernel-open-dkms` dependencies resolve properly. - Include Debian 13 in the repository installation and driver pinning exception block to avoid kernel/module API incompatibilities. - Update `check_os_and_secure_boot()` to accept Debian 13 and Ubuntu 24. - Document in `main()` that single-node clusters (`ROLE=Master` with zero workers) bypass MIG configuration and reboot by design. Signed-off-by: C.J. Collier <cjac@google.com>
|
/gcbrun |
|
Pushed commit It adds Debian 13 (Trixie) and Ubuntu 24.04 support to I also ran a live multi-node validation cluster ( Please check my commit on your CI pipeline. If everything's green, we can merge. |
cjac
left a comment
There was a problem hiding this comment.
these are ready to be submitted. I'm running the /gcbrun tests and I've asked NV to make sure I didn't break anything with my alterations.
Signed-off-by: liyuan <yuali@nvidia.com>
|
Hi @cjac , I tested them and pushed follow-up commit to fix a few Dataproc 3.0 issues: |
|
/gcbrun |
|
This is ready for merge, @nvliyuan ; feel free to do so or ask me to do it. |
|
please help merge thx @cjac |
|
Clear to merge aye |
Summary
spark-rapids/mig.shfrom the CUDA 12.4 local repository's NVIDIA 550 driver to the NVIDIA online repository's pinned 580 driver branch.nvidia-kernel-open-dkmsandnvidia-driver-cudapackages while keeping the CUDA toolkit at 12.4.Root cause
mig-on-dataproc-2.3-debian12build #13 failed during node initialization. The retainedmake.logfrom the reproduction shows NVIDIA driver550.54.15calling the three-argumentpci_resize_resource()API, while Debian 12 kernel headers6.1.0-53require four arguments. As a result, the NVIDIA DKMS module does not compile.The regular Spark RAPIDS init action already avoids this incompatibility after #1400, but the copied driver installation logic in
spark-rapids/mig.shstill used the old local installer.The MIG script also rebooted GPU-equipped master nodes before Dataproc initialization completed. On the second boot, Dataproc repeated master-only initialization and failed. Restricting MIG setup and reboot to workers avoids this failure.
Validation
bash -n spark-rapids/mig.sh spark-rapids/spark-rapids.shgit diff --checknvidia-driver-pinning-580,nvidia-kernel-open-dkms,nvidia-driver-cuda, andcuda-toolkit-12-4.RUNNING.6.1.0-53-cloud-amd64: NVIDIA DKMS/driver580.196.07, CUDA 12.4, MIG enabled, and two3g.20gbinstances per worker.