Skip to content

Commit

Permalink
add min_repeat_ms to other CUDA tutorials (#2526)
Browse files Browse the repository at this point in the history
  • Loading branch information
eqy authored and tqchen committed Jan 31, 2019
1 parent cde1f76 commit ad8fc8c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tutorials/autotvm/tune_nnvm_cuda.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,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),
runner=autotvm.LocalRunner(number=20, repeat=3, timeout=4, min_repeat_ms=150),
),
}

Expand Down Expand Up @@ -369,6 +369,6 @@ def tune_and_evaluate(tuning_opt):
runner=autotvm.RPCRunner(
'1080ti', # change the device key to your key
'localhost', 9190,
number=20, repeat=3, timeout=4),
number=20, repeat=3, timeout=4, min_repeat_ms=150),
),
}

0 comments on commit ad8fc8c

Please sign in to comment.