mirror of
https://github.com/NVIDIA/nvidia-container-toolkit
synced 2024-11-22 00:08:11 +00:00
Make discovery of graphics libraries optional
Signed-off-by: Evan Lezar <elezar@nvidia.com>
This commit is contained in:
parent
c25376afa0
commit
8d52cc18ce
@ -46,7 +46,7 @@ func newCommonNVMLDiscoverer(logger logger.Interface, driverRoot string, nvidiaC
|
||||
|
||||
graphicsMounts, err := discover.NewGraphicsMountsDiscoverer(logger, driverRoot, nvidiaCTKPath)
|
||||
if err != nil {
|
||||
return nil, fmt.Errorf("error constructing discoverer for graphics mounts: %v", err)
|
||||
logger.Warningf("failed to create discoverer for graphics mounts: %v", err)
|
||||
}
|
||||
|
||||
driverFiles, err := NewDriverDiscoverer(logger, driverRoot, nvidiaCTKPath, nvmllib)
|
||||
|
Loading…
Reference in New Issue
Block a user