Skip to content
Merged
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
6 changes: 3 additions & 3 deletions nnvm/tests/python/compiler/test_rpc_exec.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@

def test_rpc_executor():
host = "localhost"
port = 9711
server = rpc.Server(host, port, use_popen=True)
port = 9120
server = rpc.Server(host, port)

x = sym.Variable("x")
y = sym.Variable("y")
Expand All @@ -22,7 +22,7 @@ def test_rpc_executor():
graph, lib, _ = nnvm.compiler.build(z, "llvm", shape_dict)
# save module
lib.save(lib_name)
remote = rpc.connect(host, port)
remote = rpc.connect(server.host, server.port)
remote.upload(lib_name)
ctx = remote.cpu(0)
# load remote
Expand Down