fix(go.d/nvidia_smi): disable loop mode by default on Win (cherry picked from commit 5647f9f353249a1c78e5f051c873bf5eddc48871)
@@ -68,6 +68,9 @@ func (nv *NvidiaSmi) Configuration() any {
func (nv *NvidiaSmi) Init() error {
if nv.exec == nil {
+ if runtime.GOOS == "windows" && nv.LoopMode {
+ nv.LoopMode = false
+ }
smi, err := nv.initNvidiaSmiExec()
if err != nil {
return err