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


##########
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:
   I don't know how often (if ever) we want to do this, but these default 
parameters seem hand-picked, so naturally I wonder if tweaking these params can 
lead to improvement. And if I do want to do that, the current API doesn't have 
an easy API like `tune_relay(...)` with manually constructed 
`EvolutionarySearch`.



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to