mirror of
https://github.com/newnius/YAO-scheduler.git
synced 2025-06-07 14:21:55 +00:00
update fair
This commit is contained in:
parent
72c1a40e33
commit
b0d6a6fc2e
@ -382,7 +382,7 @@ func (scheduler *SchedulerFair) UpdateQuota() {
|
|||||||
quota.Memory += (requests[queue].Memory / requests[queue].NumberGPU) * per * weight
|
quota.Memory += (requests[queue].Memory / requests[queue].NumberGPU) * per * weight
|
||||||
}
|
}
|
||||||
if availableGPU > 0 {
|
if availableGPU > 0 {
|
||||||
for queue := range scheduler.queues {
|
for _, queue := range candidates {
|
||||||
quota := scheduler.queuesQuota[queue]
|
quota := scheduler.queuesQuota[queue]
|
||||||
quota.NumberGPU += availableGPU
|
quota.NumberGPU += availableGPU
|
||||||
break
|
break
|
||||||
|
Loading…
Reference in New Issue
Block a user