You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by GitBox <gi...@apache.org> on 2022/04/13 04:57:32 UTC

[GitHub] [tvm] masahi commented on a diff in pull request #10986: [MetaSchedule][Refactor] Introduce TuneConfig

masahi commented on code in PR #10986:
URL: https://github.com/apache/tvm/pull/10986#discussion_r849073870


##########
python/tvm/meta_schedule/search_strategy/evolutionary_search.py:
##########
@@ -64,13 +64,13 @@ def __init__(
         *,
         num_trials_per_iter: int,
         max_trials_per_task: int,
-        population_size: int,
-        init_measured_ratio: float,
-        init_min_unmeasured: int,
-        genetic_num_iters: int,
-        genetic_mutate_prob: float,
-        genetic_max_fail_count: int,
-        eps_greedy: float,
+        population_size: int = 2048,
+        init_measured_ratio: float = 0.2,
+        init_min_unmeasured: int = 50,
+        genetic_num_iters: int = 4,
+        genetic_mutate_prob: float = 0.85,
+        genetic_max_fail_count: int = 10,
+        eps_greedy: float = 0.05,

Review Comment:
   If I want to tweak these params, I need to manually call `config.create_strategy(...)`, and I don't see an easy tuning API for such case.  



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@tvm.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org