zxybazh commented on code in PR #10986:
URL: https://github.com/apache/tvm/pull/10986#discussion_r851882052
##########
tests/python/unittest/test_meta_schedule_tune_relay.py:
##########
@@ -144,14 +144,19 @@ def test_meta_schedule_tune_relay(
mod=mod,
params=params,
target=target,
- config=ReplayTraceConfig(
+ config=TuneConfig(
+ strategy="evolutionary",
num_trials_per_iter=32,
- max_trials_per_task=32,
+ max_trials_per_task=20000,
Review Comment:
In this case, I think `max_trials_global` is the default for
`max_trials_per_task`, except when we want to limit the trials for each task.
In these cases, if the search space is very small, the evolutionary search
strategy would do an early stopping; when we only want to do test, we can limit
the `max_trials_global` to be a small number close to
`num_trials_per_iter*task_num`. Therefore, I think it could be a good move to
use `max_trials_global` as default to `max_trials_per_task` unless specified.
--
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]