junrushao1994 commented on code in PR #11727:
URL: https://github.com/apache/tvm/pull/11727#discussion_r898237575
##########
python/tvm/meta_schedule/tune_context.py:
##########
@@ -179,6 +214,8 @@ def pre_tuning(
"search_strategy is not provided."
"Please construct TuneContext with search_strategy"
)
+ if design_spaces is None:
+ design_spaces = self.generate_design_space()
return self.search_strategy.pre_tuning(design_spaces, database,
cost_model)
Review Comment:
Good idea!! Let me tweak it accordingly
--
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]