1
0
mirror of https://github.com/newnius/YAO-scheduler.git synced 2025-06-07 06:11:56 +00:00

update fair

This commit is contained in:
Newnius 2020-05-30 16:53:00 +08:00
parent 3f65e1d0cb
commit 890982456b

View File

@ -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)
}
}