mirror of
https://github.com/newnius/YAO-scheduler.git
synced 2025-12-15 08:16:43 +00:00
update
This commit is contained in:
@@ -459,7 +459,7 @@ func (scheduler *SchedulerFair) AcquireResource(job Job, task Task, nodes []Node
|
|||||||
if valid2 {
|
if valid2 {
|
||||||
now := (int)(time.Now().Unix())
|
now := (int)(time.Now().Unix())
|
||||||
log.Info(s, now, estimate, est)
|
log.Info(s, now, estimate, est)
|
||||||
if now-s > est.Total-est.Post-estimate.Pre-15 && status.MemoryFree > task.MemoryGPU {
|
if now-s > est.Total-est.Post-estimate.Pre-15 {
|
||||||
available = append(available, status)
|
available = append(available, status)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user