This is an automated email from the ASF dual-hosted git repository.
tqchen pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-tvm.git
The following commit(s) were added to refs/heads/master by this push:
new 97a26bf Use the best tuner possible (#4397)
97a26bf is described below
commit 97a26bf6d11064824290e77925df5b9e5fca4226
Author: miheer vaidya <[email protected]>
AuthorDate: Sun Dec 15 16:09:16 2019 -0700
Use the best tuner possible (#4397)
* Use the best tuner possible
* Add comment denoting availability of better tuners
* Fix typos and wording
---
tutorials/autotvm/tune_simple_template.py | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/tutorials/autotvm/tune_simple_template.py
b/tutorials/autotvm/tune_simple_template.py
index dc1b2ce..2e877b4 100644
--- a/tutorials/autotvm/tune_simple_template.py
+++ b/tutorials/autotvm/tune_simple_template.py
@@ -32,6 +32,7 @@ The whole workflow is illustrated by a matrix multiplication
example.
# Install dependencies
# --------------------
# To use autotvm package in TVM, we need to install some extra dependencies.
+# This step (installing xgboost) can be skipped as it doesn't need XGBoost
# (change "3" to "2" if you use python2):
#
# .. code-block:: bash
@@ -294,7 +295,8 @@ measure_option = autotvm.measure_option(
builder='local',
runner=autotvm.LocalRunner(number=5))
-# begin tuning, log records to file `matmul.log`
+# Begin tuning with RandomTuner, log records to file `matmul.log`
+# You can use alternatives like XGBTuner.
tuner = autotvm.tuner.RandomTuner(task)
tuner.tune(n_trial=10,
measure_option=measure_option,