Skip to content

Fix inc quantization bugs#2174

Merged
xiaoyu-work merged 4 commits intomainfrom
xiaoyu/inc
Oct 8, 2025
Merged

Fix inc quantization bugs#2174
xiaoyu-work merged 4 commits intomainfrom
xiaoyu/inc

Conversation

@xiaoyu-work
Copy link
Copy Markdown
Collaborator

@xiaoyu-work xiaoyu-work commented Sep 18, 2025

Describe your changes

  • Unify the logic when bits input is either int or enum.
  • Use IntEnum by default since IntEnum is available since python 3.4

Checklist before requesting a review

  • Add unit tests for this change.
  • Make sure all tests can pass.
  • Update documents if necessary.
  • Lint and apply fixes to your code by running lintrunner -a
  • Is this a user-facing change? If yes, give a description of this change to be included in the release notes.

(Optional) Issue link

Comment thread olive/common/utils.py Outdated
@xiaoyu-work xiaoyu-work enabled auto-merge (squash) October 8, 2025 21:32
@xiaoyu-work xiaoyu-work merged commit 5d2c2fe into main Oct 8, 2025
10 checks passed
@xiaoyu-work xiaoyu-work deleted the xiaoyu/inc branch October 8, 2025 22:09
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.

2 participants