minils opened a new issue #8603:
URL: https://github.com/apache/tvm/issues/8603
When running the script `python vta/tests/python/pynq/test_program_rpc.py`,
the function `tvm.rpc.server.start`is never called on the target (PYNQ in my
case) which leads to an `AttributeError: Module has no function
'tvm.contrib.vta.init'` because the function is not registered (see
`vta/python/vta/exec/rpc_server.py:65`).
The function should be called at `src/runtime/rpc/rpc_endpoint.cc:728`
```
void RPCEndpoint::ServerLoop() {
if (const auto* f = Registry::Get("tvm.rpc.server.start")) {
(*f)();
}
TVMRetValue rv;
ICHECK(HandleUntilReturnEvent(false, [](TVMArgs) {}) ==
RPCCode::kShutdown);
if (const auto* f = Registry::Get("tvm.rpc.server.shutdown")) {
(*f)();
}
channel_.reset(nullptr);
}
```
But the ServerLoop is also not called. Not sure why...
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]