1
0
mirror of https://github.com/newnius/YAO-scheduler.git synced 2025-12-13 07:46:43 +00:00
This commit is contained in:
2020-04-30 19:31:26 +08:00
parent 420a1263bc
commit 6632a4f199

View File

@@ -247,7 +247,7 @@ func (scheduler *SchedulerFair) AcquireResource(job Job, task Task) NodeStatus {
}
}
}
log.Info(candidates)
//log.Info(candidates)
}
/* second round, find vacant gpu */
@@ -277,7 +277,7 @@ func (scheduler *SchedulerFair) AcquireResource(job Job, task Task) NodeStatus {
break
}
}
log.Info(candidates)
//log.Info(candidates)
}
/* third round, find gpu to be released */
@@ -327,11 +327,14 @@ func (scheduler *SchedulerFair) AcquireResource(job Job, task Task) NodeStatus {
break
}
}
log.Info(candidates)
//log.Info(candidates)
}
}
log.Info("allocationType is ", allocationType)
if len(candidates) > 0 {
log.Info("allocationType is ", allocationType)
log.Info(candidates)
}
/* assign */
if len(candidates) > 0 {