1
0
mirror of https://github.com/newnius/YAO-scheduler.git synced 2025-12-12 23:36:44 +00:00
This commit is contained in:
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 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)
} }
} }
} }