Latest version results in below exception
python3 -m tvm.exec.rpc_tracker --host=127.0.0.1 --port=9090
INFO:RPCTracker:bind to 127.0.0.1:9091
ERROR:asyncio:Exception in callback BaseAsyncIOLoop._handle_events(10, 1)
handle: <Handle BaseAsyncIOLoop._handle_events(10, 1)>
Traceback (most recent call last):
File "/local/mnt/workspace/sivb/anaconda3/lib/python3.8/asyncio/events.py", line 81, in _run
self._context.run(self._callback, *self._args)
File "/local/mnt/workspace/sivb/anaconda3/lib/python3.8/site-packages/tornado/platform/asyncio.py",
line 139, in _handle_events
handler_func(fileobj, events)
File "/local/mnt/workspace/sivb/TVM/CI/tvm-bk/python/tvm/rpc/tornado_util.py", line 41, in
_event_handler
self._event_handler(events)
File "/local/mnt/workspace/sivb/TVM/CI/tvm-bk/python/tvm/rpc/tornado_util.py", line 79, in
_event_handler
if self._update_read() and (events & self._ioloop.WRITE):
File "/local/mnt/workspace/sivb/TVM/CI/tvm-bk/python/tvm/rpc/tornado_util.py", line 118, in
_update_read
self.on_message(msg)
File "/local/mnt/workspace/sivb/TVM/CI/tvm-bk/python/tvm/rpc/tracker.py", line 223, in on_message
self.call_handler(json.loads(msg))
File "/local/mnt/workspace/sivb/TVM/CI/tvm-bk/python/tvm/rpc/tracker.py", line 279, in call_handler
if info["addr"][0] is None:
KeyError: 'addr'
A bit of debug pointing to [Bug Fixed] Make query_rpc_tracker show the correct device server por… · apache/tvm@0bbaf0e · GitHub
where the addr is updated for python server but not for cpp_rpc.
@lmxyy can you check this ?