Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use GPU image with preinstalled NVIDIA drivers #219

Merged
merged 1 commit into from
Aug 25, 2023

Conversation

kysrpex
Copy link
Contributor

@kysrpex kysrpex commented Aug 24, 2023

This PR changes the GPU image to vggp-v60-gpu-j322-692e75a7c101-main-kernel-4.18.0-477.21.1.el8_8-nvidia, which has been generated by mounting vggp-v60-gpu-j322-692e75a7c101-main and installing cuda-10-1 and nvidia-container-toolkit.

This is precisely what cloud-init was doing up to now, but as the driver install requires a kernel update, having the drivers preinstalled means that the first boot already runs the proper kernel version.

This solution is far from ideal, but for various reasons it was difficult to recreate the image from scratch only with the desired changes (I wanted to avoid breaking things as well). In the future we should give more love to the image building process.

The image `vggp-v60-gpu-j322-692e75a7c101-main-kernel-4.18.0-477.21.1.el8_8-nvidia` has been generated by mounting `vggp-v60-gpu-j322-692e75a7c101-main` and installing `cuda-10-1` and `nvidia-container-toolkit`.

This is precisely what cloud-init was doing up to now, but as the driver install requires a kernel update, having the drivers preinstalled means that the first boot already runs the proper kernel version.
@kysrpex kysrpex added the bug label Aug 24, 2023
@kysrpex kysrpex self-assigned this Aug 24, 2023
Copy link
Member

@bgruening bgruening left a comment

Choose a reason for hiding this comment

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

Makes sense to me!

@kysrpex kysrpex merged commit 2e23906 into usegalaxy-eu:main Aug 25, 2023
2 checks passed
@kysrpex kysrpex deleted the nvidia_drivers_preinstalled branch August 25, 2023 06:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants