Skip to content

Implement RowwiseQuantizedSparseLengthsWeightedSum #2282

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 4 commits into from
Jan 22, 2019

Conversation

jfix71
Copy link
Contributor

@jfix71 jfix71 commented Jan 18, 2019

Description: Implement RowwiseQuantizedSparseLengthsWeightedSum. Added support for both Interpreter and CPU backends.

Testing: Added unit tests for both RowwiseQuantizedSparseLengthsWeightedSum and RowwiseQuantizedSparseLengthsSum (implemented as the first but with weights as a float splat of 1.0).

Documentation: Added to Quantization.md

Related to #1698

Copy link
Contributor

@bertmaher bertmaher left a comment

Choose a reason for hiding this comment

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

Lgtm!

@rdzhabarov
Copy link
Contributor

We'd need to have C2 loader in place in order to close #1698

@jfix71 jfix71 merged commit da381d5 into pytorch:master Jan 22, 2019
@jfix71 jfix71 deleted the rw_q_sls branch January 22, 2019 17:37
@jfix71
Copy link
Contributor Author

jfix71 commented Jan 22, 2019

I'm going to implement the C2 importer for this in a follow up PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants