mirror of
https://github.com/newnius/YAO-scheduler.git
synced 2025-12-13 07:46:43 +00:00
update
This commit is contained in:
@@ -424,7 +424,7 @@ func (scheduler *SchedulerFair) AcquireResource(job Job, task Task, nodes []Node
|
||||
if task.NumberGPU <= pool.TotalGPU-scheduler.UsingGPU-reserved {
|
||||
flag = true
|
||||
}
|
||||
if len(candidates) == 0 && !flag {
|
||||
if len(candidates) == 0 && flag {
|
||||
allocationType = 2
|
||||
for cur := start; ; {
|
||||
if _, ok := locks[cur.ID]; !ok {
|
||||
|
||||
Reference in New Issue
Block a user