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

fix the bug of channel-wise quantization for ernie #34948

Merged
merged 24 commits into from
Aug 26, 2021
Merged

fix the bug of channel-wise quantization for ernie #34948

merged 24 commits into from
Aug 26, 2021

Conversation

XGZhang11
Copy link
Contributor

@XGZhang11 XGZhang11 commented Aug 16, 2021

PR types

Bug fixes

PR changes

OPs

Describe

support channel-wise quantization of ernie
Dequant the output of conv or mul at the "x_num_col_dims" dim. For example, if "x_num_col_dims" is 1, we will perform the channel wise dequant at the first dim of output. If "x_num_col_dims" is 2, we will perform the channel wise dequant at the second dim of output.

@paddle-bot-old
Copy link

Thanks for your contribution!
Please wait for the result of CI firstly. See Paddle CI Manual for details.

@qingqing01 qingqing01 requested a review from ceci3 August 23, 2021 05:32
Copy link
Contributor

@Superjomn Superjomn left a comment

Choose a reason for hiding this comment

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

LGTM

@wanghaoshuang wanghaoshuang merged commit c71025e into PaddlePaddle:develop Aug 26, 2021
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