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
911796da2c
commit
46c2dc6837
@ -920,7 +920,7 @@ func (pool *ResourcePool) releaseResource(job Job, agent NodeStatus) {
|
|||||||
node.Status[j].MemoryAllocated -= gpu.MemoryTotal
|
node.Status[j].MemoryAllocated -= gpu.MemoryTotal
|
||||||
if node.Status[j].MemoryAllocated < 0 {
|
if node.Status[j].MemoryAllocated < 0 {
|
||||||
// in case of error
|
// in case of error
|
||||||
log.Warn(node.ClientID, " More Memory Allocated")
|
log.Warn(node.ClientID, " UUID=", gpu.UUID, " More Memory Allocated")
|
||||||
node.Status[j].MemoryAllocated = 0
|
node.Status[j].MemoryAllocated = 0
|
||||||
}
|
}
|
||||||
if node.Status[j].MemoryAllocated == 0 {
|
if node.Status[j].MemoryAllocated == 0 {
|
||||||
|
Loading…
Reference in New Issue
Block a user