attach specific drivers to use for gpu

Bug #2048382 reported by Nishant Dash
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Containerd Subordinate Charm
New
Undecided
Unassigned

Bug Description

It would be nice if we could specify drivers we wanted to use for gpus through the charm.

For example, we could download our own drivers and binaries if needed and `attach-resource` those drivers and let the charm know to use that as an alternative to apt installing the latest packages of a source or disabling gpus and manually installing the binaries.

A similar use case exists for Nova for which it has a charm to help with gpu binaries: https://charmhub.io/nova-compute-nvidia-vgpu

Nishant Dash (dash3)
summary: - specify specific drivers to use for gpu
+ attach specific drivers to use for gpu
Revision history for this message
Bartłomiej Poniecki-Klotz (barteus) wrote :

We need to be able to define the version of GPU drivers. Also, the drivers should be signed properly so that Secure Boot works by default.

Revision history for this message
Adam Dyess (addyess) wrote :

The charm currently lets the use configure nvidia apt key urls, apt sources, and apt packages for the nvidia drivers [1]. Are there situations where this doesn't specify enough level of detail to install the correct drivers?

[1] https://github.com/charmed-kubernetes/charm-containerd/blob/4260c72eb4546e9f47a65dce7f6eee189fc095c0/config.yaml#L102-L131

Revision history for this message
Nishant Dash (dash3) wrote :

Doesn't that only let you add package names? in which case you end up with the latest of your respective package instead of a specific version

Revision history for this message
perk (perk) wrote :

Hey all, this issue looks like a feature request rather than a bug.
Please make sure to report it correctly as such.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.