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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user