Skip to content

Conversation

yiliu30
Copy link
Contributor

@yiliu30 yiliu30 commented Dec 21, 2023

Type of Change

API changed or not: None

Description

After trying all alpha values, the sq tuning process will stop early, returning the current best qmodel, even if the current best accuracy does not meet the accuracy criterion.
For example:

alpha = [0.1, 0.5]
acc_baseline = 1
acc_alpha1 = 0.8  # alpha is 0.1
acc_alpha2 = 0.9  # alpha is 0.5
# continue tuning process with op-type wise tuning/fallback
# Change to ->
# end the tuning process, return the qmodel with alpha is 0.5

How has this PR been tested?

Pre-CI

Dependency Change?

None

Signed-off-by: yiliu30 <yi4.liu@intel.com>
Signed-off-by: yiliu30 <yi4.liu@intel.com>
Signed-off-by: yiliu30 <yi4.liu@intel.com>
Signed-off-by: yiliu30 <yi4.liu@intel.com>
Signed-off-by: yiliu30 <yi4.liu@intel.com>
yiliu30 and others added 4 commits December 22, 2023 12:25
Signed-off-by: yiliu30 <yi4.liu@intel.com>
Signed-off-by: yiliu30 <yi4.liu@intel.com>
Signed-off-by: yiliu30 <yi4.liu@intel.com>
@chensuyue chensuyue added this to the v2.4.1 milestone Dec 22, 2023
@chensuyue chensuyue merged commit 9600e1d into master Dec 22, 2023
@chensuyue chensuyue deleted the ly/tune_sq branch December 22, 2023 14:03
chensuyue pushed a commit that referenced this pull request Dec 23, 2023
Signed-off-by: yiliu30 <yi4.liu@intel.com>
(cherry picked from commit 9600e1d)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants