New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Fix][Autoscheduler] Costmodel enhancement #7197
Conversation
Thanks! @junrushao1994 |
model_file=load_model_file, | ||
) | ||
if load_log_file: | ||
logger.info("TaskScheduler: Reload measured states and train the model...") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Thanks @jcf94 @merrymercy @areusch @junrushao1994 |
…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
…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
…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
…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
…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 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