Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
tic
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wenyuanbo
tic
Commits
0f431fd6
Commit
0f431fd6
authored
Aug 02, 2018
by
Tianqi Chen
Committed by
GitHub
Aug 02, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix rpc testcase (#1538)
parent
be718ba1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
nnvm/tests/python/compiler/test_rpc_exec.py
+3
-3
No files found.
nnvm/tests/python/compiler/test_rpc_exec.py
View file @
0f431fd6
...
...
@@ -7,8 +7,8 @@ import numpy as np
def
test_rpc_executor
():
host
=
"localhost"
port
=
9
711
server
=
rpc
.
Server
(
host
,
port
,
use_popen
=
True
)
port
=
9
120
server
=
rpc
.
Server
(
host
,
port
)
x
=
sym
.
Variable
(
"x"
)
y
=
sym
.
Variable
(
"y"
)
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment