diff --git a/resources/resources.go b/resources/resources.go index 17c77e4e..1e322a14 100644 --- a/resources/resources.go +++ b/resources/resources.go @@ -575,8 +575,11 @@ func (r *resources) Info() Info { Encoder: g.Encoder, Decoder: g.Decoder, UsageLimit: gpulimit, - Throttling: gputhrottling[i], }) + + if i < len(gputhrottling) { + gpuinfo.GPU[i].Throttling = gputhrottling[i] + } } i := Info{