[Fix][Autoscheduler] Costmodel enhancement#7197
Merged
Merged
Conversation
junrushao
approved these changes
Jan 4, 2021
Member
Author
|
Thanks! @junrushao1994 |
comaniac
requested changes
Jan 4, 2021
areusch
requested changes
Jan 4, 2021
merrymercy
requested changes
Jan 5, 2021
| model_file=load_model_file, | ||
| ) | ||
| if load_log_file: | ||
| logger.info("TaskScheduler: Reload measured states and train the model...") |
Member
There was a problem hiding this comment.
load_model_file and load_log_file are mutually exclusive, because update_from_file will retrain a model and overwrite the loaded model.
I think the old code is better.
I don't know why the old code cannot satisfy your need.
Member
Author
There was a problem hiding this comment.
The old one is fine. I was just going to add a self.model_file for cost model saving after training, this was modified by the way.
merrymercy
approved these changes
Jan 5, 2021
comaniac
approved these changes
Jan 6, 2021
Contributor
|
Thanks @jcf94 @merrymercy @areusch @junrushao1994 |
tkonolige
pushed a commit
to tkonolige/incubator-tvm
that referenced
this pull request
Jan 11, 2021
…runtime (apache#7197) * Enhancement for autoscheduler cost model * Bug fix for graph_runtime_debug * Update * Lint fix * Update * Update * Add file exist check for cost model load * Update * Update * Lint fix * Update * Bug fix
masahi
pushed a commit
to masahi/tvm
that referenced
this pull request
Jan 14, 2021
…runtime (apache#7197) * Enhancement for autoscheduler cost model * Bug fix for graph_runtime_debug * Update * Lint fix * Update * Update * Add file exist check for cost model load * Update * Update * Lint fix * Update * Bug fix
TusharKanekiDey
pushed a commit
to TusharKanekiDey/tvm
that referenced
this pull request
Jan 20, 2021
…runtime (apache#7197) * Enhancement for autoscheduler cost model * Bug fix for graph_runtime_debug * Update * Lint fix * Update * Update * Add file exist check for cost model load * Update * Update * Lint fix * Update * Bug fix
trevor-m
pushed a commit
to neo-ai/tvm
that referenced
this pull request
Jan 21, 2021
…runtime (apache#7197) * Enhancement for autoscheduler cost model * Bug fix for graph_runtime_debug * Update * Lint fix * Update * Update * Add file exist check for cost model load * Update * Update * Lint fix * Update * Bug fix
electriclilies
pushed a commit
to electriclilies/tvm
that referenced
this pull request
Feb 18, 2021
…runtime (apache#7197) * Enhancement for autoscheduler cost model * Bug fix for graph_runtime_debug * Update * Lint fix * Update * Update * Add file exist check for cost model load * Update * Update * Lint fix * Update * Bug fix
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
This PR contains some small enhancements and fix:
Bug fix for the graph debug runtime, this was introduced by [µTVM] Add platform timer and RPCTimeEvaluator to enable AutoTVM #6964, cc @areusch