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
3f65e1d0cb
commit
890982456b
@ -721,7 +721,7 @@ func (pool *ResourcePool) acquireResource(job Job) []NodeStatus {
|
||||
var available []GPUStatus
|
||||
for _, status := range node.Status {
|
||||
/* make sure GPU is not used by in-system and outer-system */
|
||||
if status.MemoryAllocated == 0 && status.MemoryUsed < 100 {
|
||||
if status.MemoryAllocated == 0 { //} && status.MemoryUsed < 100 {
|
||||
available = append(available, status)
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user