mirror of
https://github.com/newnius/YAO-scheduler.git
synced 2025-06-07 06:11:56 +00:00
update fair
This commit is contained in:
parent
38d77f072e
commit
cfd78bbfe8
@ -177,7 +177,7 @@ func (scheduler *SchedulerFair) Start() {
|
||||
if least == 0 {
|
||||
for queue, quota := range scheduler.queuesQuota {
|
||||
/* do not self borrow */
|
||||
if queue == bestQueue || quota.NumberGPU < least {
|
||||
if queue == bestQueue || quota.NumberGPU < minRequestGPU {
|
||||
continue
|
||||
}
|
||||
quota.NumberGPU -= minRequestGPU
|
||||
|
Loading…
Reference in New Issue
Block a user