mirror of
https://github.com/newnius/YAO-scheduler.git
synced 2025-12-15 08:16:43 +00:00
update fair
This commit is contained in:
@@ -320,7 +320,7 @@ func (scheduler *SchedulerFair) UpdateQuota() {
|
||||
pool := InstanceOfResourcePool()
|
||||
|
||||
available := pool.TotalGPU - usingGPU - allocatedGPU
|
||||
if available == 0 {
|
||||
if available <= 0 {
|
||||
return
|
||||
}
|
||||
log.Info("Can allocate ", available)
|
||||
|
||||
Reference in New Issue
Block a user