-
Notifications
You must be signed in to change notification settings - Fork 282
add tuning result table #2339
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
base: master
Are you sure you want to change the base?
add tuning result table #2339
Conversation
Signed-off-by: He, Xin3 <[email protected]>
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
| actual_config_count = len(config_loader.config_set) | ||
| if tuning_config.max_trials > actual_config_count: | ||
| tuning_config.max_trials = actual_config_count | ||
|
|
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.
Please raise a message to let the user be aware of that change, others LGTM. Thanks!
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.
max_trails=100 is the default, which means this message will happen in most cases. To avoid distracting users, I recommend not printing information.
for more information, see https://pre-commit.ci
Signed-off-by: He, Xin3 <[email protected]>


PR Type
Enhancement
Description
Added tuning result table printing
Updated max_trials based on available configurations
Diagram Walkthrough
File Walkthrough
base_tuning.py
Enhance tuning results and configuration handlingneural_compressor/common/base_tuning.py
_print_trial_results_tablemethod for formatted table outputadd_trial_resultto call_print_trial_results_tableinit_tuningto adjustmax_trialsbased on availableconfigurations