1
0
mirror of https://github.com/newnius/YAO-scheduler.git synced 2025-06-06 22:01:55 +00:00
This commit is contained in:
Newnius 2020-06-30 16:20:42 +08:00
parent f150ccaac8
commit e6c9891460

View File

@ -768,9 +768,10 @@ func (pool *ResourcePool) doAcquireResource(job Job) []NodeStatus {
utilT := InstanceOfOptimizer().PredictReq(job, "Worker").UtilGPU
totalUtil += utilT
}
if totalUtil < 200 {
if totalUtil < 250 {
available = append(available, status)
}
log.Info(pred.UtilGPU, totalUtil)
}
}
}