Hi, I’m running tutorial tune_relay_cuda.py with local runner rather than default RPC runner.
@ tune_relay_cuda.py
‘measure_option’: autotvm.measure_option(
builder=autotvm.LocalBuilder(timeout=10), runner=autotvm.LocalRunner(number=20, repeat=3, timeout=4, min_repeat_ms=150) #runner=autotvm.RPCRunner( # '1080ti', # change the device key to your key # '0.0.0.0', 9190, # number=20, repeat=3, timeout=4, min_repeat_ms=150) )
However, I’m facing the following errors repeatedly during the single tuning process. Obviously, the tuning does not stop with a single error and produce the same error multiple times.
WARNING:RPCTracker:Invalid connection from TCPSocket: ('198.108.67.48', 35266)
ERROR:asyncio:Exception in callback None()
handle: <Handle cancelled>
Traceback (most recent call last):
File "/usr/lib/python3.6/asyncio/events.py", line 145, in _run
self._callback(*self._args)
File "/home/sunggg/.local/lib/python3.6/site-packages/tornado/platform/asyncio.py", line 139, in _handle_events
handler_func(fileobj, events)
File "/home/sunggg/Projects/tvm/python/tvm/rpc/tornado_util.py", line 38, in _event_handler
self._event_handler(events)
File "/home/sunggg/Projects/tvm/python/tvm/rpc/tornado_util.py", line 75, in _event_handler
if self._update_read() and (events & self._ioloop.WRITE):
File "/home/sunggg/Projects/tvm/python/tvm/rpc/tornado_util.py", line 112, in _update_read
self.on_message(msg)
File "/home/sunggg/Projects/tvm/python/tvm/rpc/tracker.py", line 198, in on_message
self._init_conn(message)
File "/home/sunggg/Projects/tvm/python/tvm/rpc/tracker.py", line 181, in _init_conn
magic = struct.unpack('<i', message)[0]
struct.error: unpack requires a buffer of 4 bytes
WARNING:RPCTracker:Invalid connection from TCPSocket: ('172.104.84.223', 53804)
.... repeated message...
Can anyone help me any hint or suggestion how to fix this or what may cause this issue?
AFAIK, RPC is the module to collect results from multiple devices, so not sure why I’m getting this with the local runner and whether I can ignore this erros.
Appreciate your help.