Skip to content

Commit

Permalink
Fix tune_relay_cuda.py (apache#6001)
Browse files Browse the repository at this point in the history
  • Loading branch information
merrymercy authored and trevor-m committed Jul 14, 2020
1 parent ad8c952 commit 7fa2200
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions tutorials/autotvm/tune_relay_cuda.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,11 +128,7 @@ def get_network(name, batch_size):

'measure_option': autotvm.measure_option(
builder=autotvm.LocalBuilder(timeout=10),
#runner=autotvm.LocalRunner(number=20, repeat=3, timeout=4, min_repeat_ms=150),
runner=autotvm.RPCRunner(
'1080ti', # change the device key to your key
'0.0.0.0', 9190,
number=20, repeat=3, timeout=4, min_repeat_ms=150)
runner=autotvm.LocalRunner(number=20, repeat=3, timeout=4, min_repeat_ms=150),
),
}

Expand Down

0 comments on commit 7fa2200

Please sign in to comment.