[MetaSchedule][BugFix] Fix skipped tests #10885
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
After #10366 is merged, all the search configurations (
EvolutionarySearchConfig
,ReplayFuncConfig
,ReplayTraceConfig
) are updated with a new fieldmax_trials_global
to be consistent with AutoScheduler's gradient-based task scheduler, which allows users to control the total number of trials of a model, while the scheduler distribute them unevenly according to task importance. This PR fixes the test cases that are not updated with this change, which are left undetected previously because they are not run in the CI.For example, when tuning BERT-base, we could set
max_trials_global
to20000
, and the task scheduler will distribute trials to each task by preferring tasks with more potential performance growth:CC @masahi