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/07/03 07:45:53 UTC

[GitHub] [tvm] junrushao1994 commented on a diff in pull request #11961: [MetaSchedule] Added a cost model

junrushao1994 commented on code in PR #11961:
URL: https://github.com/apache/tvm/pull/11961#discussion_r912445441


##########
python/tvm/meta_schedule/cost_model/cost_model.py:
##########
@@ -175,6 +175,7 @@ def update(
         context: TuneContext,
         candidates: List[MeasureCandidate],
         results: List[RunnerResult],
+        skip_model: bool = False,

Review Comment:
   Instead let's add a parameter `frozen: bool` to subclasses (XGBModel, MLPModel) constructor, and then `self.frozen == True`, the `update` method will return immediately without retraining or incremental training



-- 
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