NVIDIA / k8s-device-plugin

NVIDIA device plugin for Kubernetes
Apache License 2.0
2.45k stars 573 forks source link

Fix mode detection on Tegra-based platforms that support NVML #678

Open elezar opened 3 weeks ago

elezar commented 3 weeks ago

When using GFD (or the device plugin) on Tegra-based systems, we do not use NVML to extract device information.

Furthermore, we rely on heuristics to detect the platform we are working on.

We need to update the logic in the device plugin to use https://github.com/NVIDIA/go-nvlib/pull/28 to align with other components. Adding a --mode switch (default: auto) also makes sense to allow users to explicitly override it.

elezar commented 3 weeks ago

This should be addressed by https://github.com/NVIDIA/k8s-device-plugin/pull/673