Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[RPC] Lazily import micro when starting an RPC server (#6505)
* [RPC] Lazily import micro when starting an RPC server Since #6334 the RPC server cannot be started unless USE_MICRO is enabled. I've tracked this down to an import in `python/tvn/exec/rpc_server.py`: `from tvm import micro` in the top level list of imports. This will mean that we try to import micro when it's not been built. Fix this by lazily importing micro when initializing an rpc server with micro enabled. Change-Id: I8f22d81e215cfe4ac0662b0a99bdf02a3e91f90c * fix lint Change-Id: I8b78b678374bc82b3b66a7b3595ed4f1684e7d90
- Loading branch information