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

numerical stability for 1 bit quantization #74

Merged
merged 1 commit into from
Nov 19, 2018
Merged

numerical stability for 1 bit quantization #74

merged 1 commit into from
Nov 19, 2018

Conversation

ylfzr
Copy link
Contributor

@ylfzr ylfzr commented Nov 17, 2018

Closes #73

This fix is generally helpful. In case a variable in customized model contains only a few values, chances are that the max value equals to (or very close to) its min value, causing a NaN problem.

@tencent-adm
Copy link

tencent-adm commented Nov 17, 2018

CLA assistant check
All committers have signed the CLA.

Copy link
Contributor

@jiaxiang-wu jiaxiang-wu left a comment

Choose a reason for hiding this comment

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

LGTM

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.

Numerical Problem Quantizing Model to 1 Bit
3 participants