mirror of
https://github.com/clearml/go-nvlib
synced 2025-02-07 13:21:24 +00:00
Merge branch 'skip-DGX-display' into 'main'
Skip DGX Display devices in addition to NVIDIA DGX Display devices See merge request nvidia/cloud-native/go-nvlib!28
This commit is contained in:
commit
49dcad67c4
@ -51,7 +51,10 @@ func New(opts ...Option) Interface {
|
|||||||
d.nvml = nvml.New()
|
d.nvml = nvml.New()
|
||||||
}
|
}
|
||||||
if d.skippedDevices == nil {
|
if d.skippedDevices == nil {
|
||||||
WithSkippedDevices("NVIDIA DGX Display")(d)
|
WithSkippedDevices(
|
||||||
|
"DGX Display",
|
||||||
|
"NVIDIA DGX Display",
|
||||||
|
)(d)
|
||||||
}
|
}
|
||||||
return d
|
return d
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user