mirror of
https://github.com/newnius/YAO-scheduler.git
synced 2025-12-12 23:36:44 +00:00
update fair
This commit is contained in:
@@ -330,6 +330,9 @@ func (scheduler *SchedulerFair) UpdateQuota() {
|
|||||||
pool := InstanceOfResourcePool()
|
pool := InstanceOfResourcePool()
|
||||||
|
|
||||||
available := pool.TotalGPU - usingGPU - allocatedGPU
|
available := pool.TotalGPU - usingGPU - allocatedGPU
|
||||||
|
if available == 0 {
|
||||||
|
return
|
||||||
|
}
|
||||||
log.Info("Can allocate ", available)
|
log.Info("Can allocate ", available)
|
||||||
log.Info("Before ")
|
log.Info("Before ")
|
||||||
for queue, quota := range scheduler.queuesQuota {
|
for queue, quota := range scheduler.queuesQuota {
|
||||||
|
|||||||
Reference in New Issue
Block a user