mirror of
https://github.com/newnius/YAO-scheduler.git
synced 2025-12-12 23:36:44 +00:00
update
This commit is contained in:
@@ -768,9 +768,10 @@ func (pool *ResourcePool) doAcquireResource(job Job) []NodeStatus {
|
|||||||
utilT := InstanceOfOptimizer().PredictReq(job, "Worker").UtilGPU
|
utilT := InstanceOfOptimizer().PredictReq(job, "Worker").UtilGPU
|
||||||
totalUtil += utilT
|
totalUtil += utilT
|
||||||
}
|
}
|
||||||
if totalUtil < 200 {
|
if totalUtil < 250 {
|
||||||
available = append(available, status)
|
available = append(available, status)
|
||||||
}
|
}
|
||||||
|
log.Info(pred.UtilGPU, totalUtil)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user