fix another bug
This commit is contained in:
parent
356d201499
commit
7c304c688b
@ -317,7 +317,7 @@ class GPUStat():
|
|||||||
if pid not in procs:
|
if pid not in procs:
|
||||||
procs[pid] = proc
|
procs[pid] = proc
|
||||||
else:
|
else:
|
||||||
procs[pid]['gpu'].append(gpu['id'])
|
procs[pid]['gpu'].append(str(gpu['id']))
|
||||||
proc_fmt = '[{pid}|{gpus}] {user}({vmem} MiB) {cmd}'
|
proc_fmt = '[{pid}|{gpus}] {user}({vmem} MiB) {cmd}'
|
||||||
proc_strs = []
|
proc_strs = []
|
||||||
for pid in procs:
|
for pid in procs:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user