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

Update paths to Quant models #32870

Merged
merged 2 commits into from
May 18, 2021
Merged

Conversation

wozna
Copy link
Contributor

@wozna wozna commented May 12, 2021

PR types

Bug fixes

PR changes

Docs

Describe

This PR:

  • updates paths to Quant models
  • adds paths to models that otherwise obtain scales for quantization such as ResNet50_qat_range or ResNet50_qat_channelwise

@paddle-bot-old
Copy link

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

- `ResNet50_qat_perf`, with input/output scales in `fake_quantize_moving_average_abs_max` operators, with weight scales in `fake_dequantize_max_abs` operators
- `ResNet50_qat_range`, with input/output scales in `fake_quantize_range_abs_max` operators and the `out_threshold` attributes, with weight scales in `fake_dequantize_max_abs` operators
- `ResNet50_qat_channelwise`, with input/output scales in `fake_quantize_range_abs_max` operators and the `out_threshold` attributes, with weight scales in `fake_channel_wise_dequantize_max_abs` operators
- `MobileNet_qat_perf`.
Copy link
Contributor

@lidanqing-intel lidanqing-intel May 13, 2021

Choose a reason for hiding this comment

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

This line means MobileNet_qat_perf has same rule as ResNet50_qat_perf to change names and then download MobileNet related models successfully?

Copy link
Contributor

Choose a reason for hiding this comment

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

I mean line 233 looks like single line you may delete it. Thanks

@lidanqing-intel
Copy link
Contributor

LGTM.

@wozna
Copy link
Contributor Author

wozna commented May 18, 2021

@luotao1 Could you please start your review?

@luotao1 luotao1 merged commit 5d62748 into PaddlePaddle:develop May 18, 2021
@wozna wozna deleted the update_int8_doc branch February 24, 2023 16:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants