ValueError Traceback (most recent call last)
in
10
11 with relay.build_config(opt_level=3):
—> 12 graph, lib, params = relay.build(func, target, params=params, target_host=target_host)
13
14 # After relay.build
, get three return values: graph,library and the new parameter,
~/Env/tvm/python/tvm/relay/build_module.py in build(func, target, target_host, params)
303 graph_json, lowered_funcs, params = graph_gen.codegen(func)
304 mod = _tvm_build_module(
–> 305 lowered_funcs, target=target, target_host=target_host)
306 return graph_json, mod, params
307
~/Env/tvm/python/tvm/build_module.py in build(inputs, args, target, target_host, name, binds)
615 device_modules = []
616 for tar, flist in target_flist.items():
–> 617 fhost, mdev = _build_for_device(flist, tar, target_host)
618 # Save the current lowered functions of the host and the device module.
619 fhost_all += fhost
~/Env/tvm/python/tvm/build_module.py in _build_for_device(flist, target, target_host)
444 raise ValueError(
445 "Direct host side access to device memory is detected in %s. "
–> 446 “Did you forget to bind?” % func.name)
447 if func.func_type == container.LoweredFunc.MixedFunc:
448 if current_build_config().detect_global_barrier:
ValueError: Direct host side access to device memory is detected in fused_vision_get_valid_counts. Did you forget to bind?
I have run this command in my device. what does it mean forget to bind?
python -m tvm.exec.rpc_server --host 0.0.0.0 --port=9090
and it successfully returns:
INFO:RPCServer:bind to 0.0.0.0:9090