Skip to content

Conversation

@asl3
Copy link
Contributor

@asl3 asl3 commented Jul 25, 2022

Stack from ghstack (oldest at bottom):

Summary

Modify APoT dequantize method to correctly add dequantized values to result numpy array and retain original tensor dimensions

Test Plan

Run unit tests with: python test/quantization/core/experimental/test_quantizer.py

[ghstack-poisoned]
@facebook-github-bot
Copy link
Contributor

facebook-github-bot commented Jul 25, 2022

🔗 Helpful links

✅ No Failures (0 Pending)

As of commit 109d69e (more details on the Dr. CI page):

Expand to see more

💚 💚 Looks good so far! There are no failures yet. 💚 💚


This comment was automatically generated by Dr. CI (expand for details).

Please report bugs/suggestions to the (internal) Dr. CI Users group.

Click here to manually regenerate this comment.

@asl3 asl3 requested review from HDCharles, dzdang and jerryzh168 July 25, 2022 16:45
### Summary
Modify APoT dequantize method to correctly add dequantized values to result numpy array

### Test Plan
Run unit tests with: `python test/quantization/core/experimental/test_quantizer.py`

[ghstack-poisoned]
@asl3 asl3 requested a review from HDCharles July 25, 2022 20:35
Copy link
Contributor

@HDCharles HDCharles left a comment

Choose a reason for hiding this comment

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

there's a lint error and a print still in the code

otherwise looks good

### Summary
Modify APoT dequantize method to correctly add dequantized values to result numpy array

### Test Plan
Run unit tests with: `python test/quantization/core/experimental/test_quantizer.py`

[ghstack-poisoned]
asl3 added a commit that referenced this pull request Jul 26, 2022
ghstack-source-id: 0453d9b
Pull Request resolved: #82126
@asl3 asl3 added release notes: quantization release notes category topic: not user facing topic category labels Jul 26, 2022
@asl3
Copy link
Contributor Author

asl3 commented Jul 26, 2022

@pytorchbot merge -g

@pytorchmergebot
Copy link
Collaborator

@pytorchbot successfully started a merge job. Check the current status here

facebook-github-bot pushed a commit that referenced this pull request Jul 27, 2022
Summary:
### Summary
Modify APoT dequantize method to correctly add dequantized values to result numpy array and retain original tensor dimensions

### Test Plan
Run unit tests with: `python test/quantization/core/experimental/test_quantizer.py`

Pull Request resolved: #82126
Approved by: https://github.com/HDCharles

Test Plan: contbuild & OSS CI, see https://hud.pytorch.org/commit/pytorch/pytorch/a01fb5392fbc45d61eddb9d3dd91d82637f06016

Reviewed By: osalpekar

Differential Revision: D38181804

Pulled By: asl3

fbshipit-source-id: e7343e1acd0e29e8262ca22d1f2144f4c5d79582
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