Skip to content
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

Enhance strategy exit policy #1105

Merged
merged 4 commits into from
Jul 21, 2023
Merged

Enhance strategy exit policy #1105

merged 4 commits into from
Jul 21, 2023

Conversation

yiliu30
Copy link
Contributor

@yiliu30 yiliu30 commented Jul 21, 2023

Type of Change

Enhancement
API changed or not: None

Description

  • Enhance the exit policy

Before: quant_level = auto & max_trials = 1 & ACC not meet at the first trial -> O0
After: quant_level = auto & max_trials = 1 & ACC not meet at the first trial -> return None

  • Fixed the batch_size is None
    For accelerate's DataLoaderShard, use total_batch_size instead of batch_size

How has this PR been tested?

Pre-CI and Ext-test

Dependency Change?

None

@yiliu30 yiliu30 added the WIP label Jul 21, 2023
@yiliu30 yiliu30 marked this pull request as ready for review July 21, 2023 01:51
@yiliu30 yiliu30 added enhancement New feature or request bug fix Something isn't working and removed WIP labels Jul 21, 2023
Signed-off-by: yiliu30 <[email protected]>
@yiliu30 yiliu30 merged commit d19b42f into master Jul 21, 2023
@yiliu30 yiliu30 deleted the ly/fix_bs branch July 21, 2023 08:29
chensuyue pushed a commit to chensuyue/lpot that referenced this pull request Feb 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug fix Something isn't working enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants