Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Requantize scale fix #21100

Merged
merged 4 commits into from
Jul 19, 2022
Merged

Conversation

DominikaJedynak
Copy link
Contributor

Description

This PR fixes the problem occurring when one of the values used to calculate data_range happened to be INT32_MIN what was causing overflow when calling abs(INT32_MIN).

PR also contains small refactor to clarify that we multiply sum_scale *2 to get rid of u8_reorder_scale applied before.

@mxnet-bot
Copy link

Hey @DominikaJedynak , Thanks for submitting the PR
All tests are already queued to run once. If tests fail, you can trigger one or more tests again with the following commands:

  • To trigger all jobs: @mxnet-bot run ci [all]
  • To trigger specific jobs: @mxnet-bot run ci [job1, job2]

CI supported jobs: [unix-gpu, windows-cpu, unix-cpu, clang, centos-gpu, edge, centos-cpu, windows-gpu, miscellaneous, website, sanity]


Note:
Only following 3 categories can trigger CI :PR Author, MXNet Committer, Jenkins Admin.
All CI tests must pass before the PR can be merged.

@mseth10 mseth10 added pr-awaiting-testing PR is reviewed and waiting CI build and test pr-work-in-progress PR is still work in progress and removed pr-awaiting-testing PR is reviewed and waiting CI build and test labels Jul 18, 2022
@DominikaJedynak
Copy link
Contributor Author

@mxnet-bot run ci [clang]

@mxnet-bot
Copy link

Jenkins CI successfully triggered : [clang]

@mseth10 mseth10 added pr-awaiting-testing PR is reviewed and waiting CI build and test pr-work-in-progress PR is still work in progress and removed pr-work-in-progress PR is still work in progress pr-awaiting-testing PR is reviewed and waiting CI build and test labels Jul 18, 2022
@bgawrych
Copy link
Contributor

@mxnet-bot run ci [centos-gpu, edge]

@mxnet-bot
Copy link

Jenkins CI successfully triggered : [centos-gpu, edge]

@mseth10 mseth10 added pr-awaiting-testing PR is reviewed and waiting CI build and test and removed pr-work-in-progress PR is still work in progress labels Jul 19, 2022
@mseth10 mseth10 added pr-work-in-progress PR is still work in progress and removed pr-awaiting-testing PR is reviewed and waiting CI build and test labels Jul 19, 2022
@DominikaJedynak
Copy link
Contributor Author

@mxnet-bot run ci [centos-gpu]

@mxnet-bot
Copy link

Jenkins CI successfully triggered : [centos-gpu]

@mseth10 mseth10 added pr-awaiting-testing PR is reviewed and waiting CI build and test pr-awaiting-review PR is waiting for code review and removed pr-work-in-progress PR is still work in progress pr-awaiting-testing PR is reviewed and waiting CI build and test labels Jul 19, 2022
@bgawrych bgawrych merged commit 7b1daf9 into apache:master Jul 19, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
pr-awaiting-review PR is waiting for code review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants