You are viewing a plain text version of this content. The canonical link for it is here.
Posted to discuss-archive@tvm.apache.org by curer via Apache TVM Discuss <no...@discuss.tvm.ai> on 2021/04/02 03:22:43 UTC
[Apache TVM Discuss] [Questions] Are web or webassembly supported
autotvm
Thanks @tqchen . after below steps, I find a new problem, I don't know how to send wasm_binary via rpc tracker. I passed `session_constructor_args=["rpc.WasmSession", wasm_binary]` in `rpc.connect`.
1. launch rpc tracker
> python -m tvm.exec.rpc_tracker --host=0.0.0.0 --port=9192
2. launch rpc proxy and setup tracker address
> python -m tvm.exec.rpc_proxy --example-rpc=1 --tracker=0.0.0.0:9192
3. build a new rpc server as proxy way.
> python -m tvm.exec.rpc_server --tracker=0.0.0.0:9192 --key=wasm --isproxy=1 --host=0.0.0.0 --port=9090
4. python -m tvm.exec.query_rpc_tracker --host=0.0.0.0 --port=9192
> 127.0.0.1:62835 server:proxy[wasm]
5. build connection
> tracker = rpc.connect_tracker("0.0.0.0",9192)
---
[Visit Topic](https://discuss.tvm.apache.org/t/are-web-or-webassembly-supported-autotvm/9496/6) to respond.
You are receiving this because you enabled mailing list mode.
To unsubscribe from these emails, [click here](https://discuss.tvm.apache.org/email/unsubscribe/1a864d36472fa49ee46a95fadb333a30abf2d837a198dcdf97fe79d357b28b89).