slog.Debug("updating cuda free memory","gpu",gpu.ID,"name",gpu.Name,"before",format.HumanBytes2(gpu.FreeMemory),"now",format.HumanBytes2(uint64(memInfo.free)))
cudaGPUs[i].FreeMemory=uint64(memInfo.free)
}
ifoHandles==nil&&len(oneapiGPUs)>0{
oHandles=initOneAPIHandles()
}
fori,gpu:=rangeoneapiGPUs{
ifoHandles.oneapi==nil{
// shouldn't happen
slog.Warn("nil oneapi handle with device count","count",oHandles.deviceCount)