Update rabit_tracker.py
This commit is contained in:
parent
b38fa40fa6
commit
39f2dcdfef
@ -211,9 +211,9 @@ class Tracker:
|
|||||||
shutdown[s.rank] = s
|
shutdown[s.rank] = s
|
||||||
continue
|
continue
|
||||||
assert s.cmd == 'start' or s.cmd == 'recover'
|
assert s.cmd == 'start' or s.cmd == 'recover'
|
||||||
if s.cmd == 'recover':
|
if s.cmd == 'recover'
|
||||||
assert s.rank >= 0
|
assert s.rank >= 0
|
||||||
print 'Recieve recover signal from %d' % s.rank
|
print 'Recieve %s signal from %d' % (s.cmd, s.rank)
|
||||||
rank = s.decide_rank(job_map)
|
rank = s.decide_rank(job_map)
|
||||||
if rank == -1:
|
if rank == -1:
|
||||||
assert len(todo_nodes) != 0
|
assert len(todo_nodes) != 0
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user