Skip to content

Fix smoothquant minmax observer init #1421

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

Merged
merged 6 commits into from
Nov 28, 2023
Merged

Fix smoothquant minmax observer init #1421

merged 6 commits into from
Nov 28, 2023

Conversation

changwangss
Copy link
Contributor

@changwangss changwangss commented Nov 27, 2023

Type of Change

ipex 2.1.0 requests observer object, but ipex 2.1.1 requests observer class.
ipex 2.1.0 code
https://github.com/intel-innersource/frameworks.ai.pytorch.ipex-cpu/blob/v2.1.0%2Bcpu-rc4/intel_extension_for_pytorch/quantization/_smooth_quant.py#L85
ipex 2.1.1 code
https://github.com/intel-innersource/frameworks.ai.pytorch.ipex-cpu/blob/v2.1.100%2Bcpu-rc0/intel_extension_for_pytorch/quantization/_smooth_quant.py#L75

Description

detail description

Expected Behavior & Potential Risk

the expected behavior that triggered by this PR

How has this PR been tested?

how to reproduce the test (including hardware information)

Dependency Change?

any library dependency introduced or removed

@changwangss changwangss requested a review from xin3he November 27, 2023 09:23
Copy link
Contributor

@thuang6 thuang6 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@chensuyue chensuyue merged commit b1db1cf into master Nov 28, 2023
@chensuyue chensuyue deleted the changwangss-patch-2 branch November 28, 2023 01:30
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.

4 participants