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

change cuda to cuda-toolkit in gpu-setup and as the requirement for the gpgpu test #748

Closed
bladernr opened this issue Sep 27, 2023 · 0 comments · Fixed by #749
Closed

change cuda to cuda-toolkit in gpu-setup and as the requirement for the gpgpu test #748

bladernr opened this issue Sep 27, 2023 · 0 comments · Fixed by #749
Labels
bug Something isn't working

Comments

@bladernr
Copy link
Collaborator

Bug Description

Currently the gpgpu test has a requirement for having CUDA installed but looks for the "cuda" metapackage. The problem with this is that installing the cuda metapackage has a dependency deep in the chain that removes our packaged NVIDIA drivers and installs the ones from the nvidia developer repos. We want testing to be done using both the linux-nvidia kernel and our packaged nvidia drivers.

To fix this, the setup script has to change to not install cuda, but rather cuda-toolkit which does not appear to remove our driver packages. So we need to change this requirement from cuda to cuda-toolkit in the job description.

To Reproduce

Install canonical-certification-server and checkbox-provider-gpgpu
install our GPU drivers (ubuntu-drivers --gpgpu install nvidia:versionnumber-server)
run the gpu-setup script
(*the current installation of the cuda meta-package will show it removing our driver packages in the process of installing the cuda stack)
run test-gpgpu

Environment

Any ubuntu server

Relevant log output

No response

Additional context

No response

@bladernr bladernr added the bug Something isn't working label Sep 27, 2023
@bladernr bladernr changed the title remove cuda requires in gpu test job description change cuda to cuda-toolkit in gpu-setup and as the requirement for the gpgpu test Sep 27, 2023
bladernr added a commit that referenced this issue Sep 27, 2023
bladernr added a commit that referenced this issue Sep 27, 2023
…cuda metapackage fixes: #748

replace -y so we aren't stopped when doing package installs
pieqq pushed a commit that referenced this issue Oct 23, 2023
…package fixes: #748 (BugFix) (#749)

(BugFix) install and require cuda-toolkit metapackage instead of the cuda metapackage fixes: #748

replace -y so we aren't stopped when doing package installs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
1 participant