mirror of
https://github.com/newnius/YAO-scheduler.git
synced 2025-06-07 22:31:55 +00:00
update fair
This commit is contained in:
parent
a195e7b543
commit
7d7d42eeb8
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user