At a high level I was kind of thinking to implement a mix of (1) and (2):
 - Checkin a Python library to the TVM repo which makes this look like a Python 
API to TVM and API implementation, and handles all the 
serialization/deserialization using JSON
 - Project API impls import this library and use it to communicate over stdio 
locally
 - Handle network communication using the existing RPC server

I kind of like this because there are no dependencies, and it's not clear we 
need to expose this directly over the network--see below.

A use case I'd like to enable is compiling on the AutoTVM runner node. That 
requires some type of file upload, and the TVM RPC protocol already handles 
that. So my initial thought was just to use the Platform API as a sort of IPC 
(slightly more separation than a Python API--so you don't _have_ to use Python 
in your platform API implementation but it's strongly suggested. I could see 
arguments for not-Python if the project's build system is e.g. written heavily 
in ruby for some reason.

These are all just high-level initial thoughts. I need to think about them a 
bit more before I formally propose them.





---
[Visit 
Topic](https://discuss.tvm.apache.org/t/tvm-mini-map-the-tvm-developer-workflow/9045/9)
 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/ab27582a3809958d68d2f3ad66d6244a6632c5a561362bd59edd8f3599072408).

Reply via email to