Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions python/tvm/rpc/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,11 @@

The test program compiles the program on local server,
upload and run remote RPC server, get the result back to verify correctness.

TVM RPC server assumes that the user is trusted and needs to be
used in a trusted network environment and encrypted channels.
It allows writings of arbitrary files into the server and provide
full remote code execution capabilities to anyone who can access this API.
"""

from .server import Server
Expand Down
5 changes: 5 additions & 0 deletions python/tvm/rpc/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -474,6 +474,11 @@ class Server(object):

Note
----
TVM RPC server assumes that the user is trusted and needs to be
used in a trusted network environment and encrypted channels.
It allows writings of arbitrary files into the server and provide
full remote code execution capabilities to anyone who can access this API.

The RPC server only sees functions in the tvm namespace.
To bring additional custom functions to the server env, you can use server_init_callback.

Expand Down