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
10a46937c9
commit
72c1a40e33
@ -326,7 +326,7 @@ func (scheduler *SchedulerFair) UpdateQuota() {
|
|||||||
|
|
||||||
availableGPU := pool.TotalGPU - usingGPU - allocatedGPU/100
|
availableGPU := pool.TotalGPU - usingGPU - allocatedGPU/100
|
||||||
availableCPU := pool.TotalCPU - usingCPU - allocatedCPU/100
|
availableCPU := pool.TotalCPU - usingCPU - allocatedCPU/100
|
||||||
availableMemory := pool.TotalMemory - usingMemory - allocatedMemory
|
//availableMemory := pool.TotalMemory - usingMemory - allocatedMemory
|
||||||
/* <0 means some nodes exited */
|
/* <0 means some nodes exited */
|
||||||
if availableGPU <= 0 {
|
if availableGPU <= 0 {
|
||||||
return
|
return
|
||||||
|
Loading…
Reference in New Issue
Block a user