mirror of
https://github.com/newnius/YAO-scheduler.git
synced 2025-12-15 16:16:44 +00:00
update
This commit is contained in:
@@ -593,7 +593,7 @@ func (pool *ResourcePool) detach(GPU string, job Job) {
|
||||
if _, ok := pool.bindings[GPU]; ok {
|
||||
if _, ok2 := pool.utils[GPU]; ok2 {
|
||||
if len(pool.bindings[GPU]) == 1 && job.Status == Finished {
|
||||
InstanceOfOptimizer().feed(job.Name, pool.utils[GPU])
|
||||
//InstanceOfOptimizer().feed(job.Name, pool.utils[GPU])
|
||||
}
|
||||
delete(pool.utils, GPU)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user