Skip to content

Conversation

@jerryzh168
Copy link
Contributor

@jerryzh168 jerryzh168 commented Aug 23, 2019

Stack from ghstack:

Summary:
This PR changes the API of insert_observers to use qconfig_dict,
full functionality support will come in later PRs

Test Plan:

python test/test_quantizer.py
python test/test_jit.py

Reviewers:
pt1quant
Subscribers:

Tasks:

Tags:

Differential Revision: D17001135

Summary:
This PR changes the API of insert_observers to use qconfig_dict,
full functionality support will come in later PRs

Test Plan:
```
python test/test_quantizer.py
python test/test_jit.py
```
Reviewers:
pt1quant
Subscribers:

Tasks:

Tags:
@pytorchbot pytorchbot added oncall: jit Add this issue/PR to JIT oncall triage queue oncall: quantization Quantization support in PyTorch labels Aug 23, 2019
jerryzh168 added a commit that referenced this pull request Aug 23, 2019
Summary:
This PR changes the API of insert_observers to use qconfig_dict,
full functionality support will come in later PRs

Test Plan:
```
python test/test_quantizer.py
python test/test_jit.py
```
Reviewers:
pt1quant
Subscribers:

Tasks:

Tags:

ghstack-source-id: b096363
Pull Request resolved: #25069
Summary:
This PR changes the API of insert_observers to use qconfig_dict,
full functionality support will come in later PRs

Test Plan:
```
python test/test_quantizer.py
python test/test_jit.py
```
Reviewers:
pt1quant
Subscribers:

Tasks:

Tags:
@jerryzh168 jerryzh168 mentioned this pull request Aug 23, 2019
Closed
Summary:
This PR changes the API of insert_observers to use qconfig_dict,
full functionality support will come in later PRs

Test Plan:
```
python test/test_quantizer.py
python test/test_jit.py
```
Reviewers:
pt1quant
Subscribers:

Tasks:

Tags:
jerryzh168 added a commit that referenced this pull request Aug 23, 2019
Summary:
This PR changes the API of insert_observers to use qconfig_dict,
full functionality support will come in later PRs

Test Plan:
```
python test/test_quantizer.py
python test/test_jit.py
```
Reviewers:
pt1quant
Subscribers:

Tasks:

Tags:

ghstack-source-id: a837ed8
Pull Request resolved: #25069
Summary:
This PR changes the API of insert_observers to use qconfig_dict,
full functionality support will come in later PRs

Test Plan:
```
python test/test_quantizer.py
python test/test_jit.py
```
Reviewers:
pt1quant
Subscribers:

Tasks:

Tags:
Summary:
This PR changes the API of insert_observers to use qconfig_dict,
full functionality support will come in later PRs

Test Plan:
```
python test/test_quantizer.py
python test/test_jit.py
```
Reviewers:
pt1quant
Subscribers:

Tasks:

Tags:
Summary:
This PR changes the API of insert_observers to use qconfig_dict,
full functionality support will come in later PRs

Test Plan:
```
python test/test_quantizer.py
python test/test_jit.py
```
Reviewers:
pt1quant
Subscribers:

Tasks:

Tags:
Summary:
This PR changes the API of insert_observers to use qconfig_dict,
full functionality support will come in later PRs

Test Plan:
```
python test/test_quantizer.py
python test/test_jit.py
```
Reviewers:
pt1quant
Subscribers:

Tasks:

Tags:
Summary:
This PR changes the API of insert_observers to use qconfig_dict,
full functionality support will come in later PRs

Test Plan:
```
python test/test_quantizer.py
python test/test_jit.py
```
Reviewers:
pt1quant
Subscribers:

Tasks:

Tags:
Summary:
This PR changes the API of insert_observers to use qconfig_dict,
full functionality support will come in later PRs

Test Plan:
```
python test/test_quantizer.py
python test/test_jit.py
```
Reviewers:
pt1quant
Subscribers:

Tasks:

Tags:

Differential Revision: [D17001135](https://our.internmc.facebook.com/intern/diff/D17001135)
Summary:
This PR changes the API of insert_observers to use qconfig_dict,
full functionality support will come in later PRs

Test Plan:
```
python test/test_quantizer.py
python test/test_jit.py
```
Reviewers:
pt1quant
Subscribers:

Tasks:

Tags:

Differential Revision: [D17001135](https://our.internmc.facebook.com/intern/diff/D17001135)
Summary:
This PR changes the API of insert_observers to use qconfig_dict,
full functionality support will come in later PRs

Test Plan:
```
python test/test_quantizer.py
python test/test_jit.py
```
Reviewers:
pt1quant
Subscribers:

Tasks:

Tags:

Differential Revision: [D17001135](https://our.internmc.facebook.com/intern/diff/D17001135)
Summary:
This PR changes the API of insert_observers to use qconfig_dict,
full functionality support will come in later PRs

Test Plan:
```
python test/test_quantizer.py
python test/test_jit.py
```
Reviewers:
pt1quant
Subscribers:

Tasks:

Tags:

Differential Revision: [D17001135](https://our.internmc.facebook.com/intern/diff/D17001135)
Summary:
This PR changes the API of insert_observers to use qconfig_dict,
full functionality support will come in later PRs

Test Plan:
```
python test/test_quantizer.py
python test/test_jit.py
```
Reviewers:
pt1quant
Subscribers:

Tasks:

Tags:

Differential Revision: [D17001135](https://our.internmc.facebook.com/intern/diff/D17001135)
Summary:
This PR changes the API of insert_observers to use qconfig_dict,
full functionality support will come in later PRs

Test Plan:
```
python test/test_quantizer.py
python test/test_jit.py
```
Reviewers:
pt1quant
Subscribers:

Tasks:

Tags:

Differential Revision: [D17001135](https://our.internmc.facebook.com/intern/diff/D17001135)
Summary:
This PR changes the API of insert_observers to use qconfig_dict,
full functionality support will come in later PRs

Test Plan:
```
python test/test_quantizer.py
python test/test_jit.py
```
Reviewers:
pt1quant
Subscribers:

Tasks:

Tags:

Differential Revision: [D17001135](https://our.internmc.facebook.com/intern/diff/D17001135)
Copy link

@ZolotukhinM ZolotukhinM left a comment

Choose a reason for hiding this comment

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

Overall looks nice, but some places might benefit from some refactoring. Without it it's difficult to review the logic, so I'll wait for you to address that before approving.

Summary:
This PR changes the API of insert_observers to use qconfig_dict,
full functionality support will come in later PRs

Test Plan:
```
python test/test_quantizer.py
python test/test_jit.py
```
Reviewers:
pt1quant
Subscribers:

Tasks:

Tags:

Differential Revision: [D17001135](https://our.internmc.facebook.com/intern/diff/D17001135)
Summary:
This PR changes the API of insert_observers to use qconfig_dict,
full functionality support will come in later PRs

Test Plan:
```
python test/test_quantizer.py
python test/test_jit.py
```
Reviewers:
pt1quant
Subscribers:

Tasks:

Tags:

Differential Revision: [D17001135](https://our.internmc.facebook.com/intern/diff/D17001135)
Summary:
This PR changes the API of insert_observers to use qconfig_dict,
full functionality support will come in later PRs

Test Plan:
```
python test/test_quantizer.py
python test/test_jit.py
```
Reviewers:
pt1quant
Subscribers:

Tasks:

Tags:

Differential Revision: [D17001135](https://our.internmc.facebook.com/intern/diff/D17001135)
Summary:
This PR changes the API of insert_observers to use qconfig_dict,
full functionality support will come in later PRs

Test Plan:
```
python test/test_quantizer.py
python test/test_jit.py
```
Reviewers:
pt1quant
Subscribers:

Tasks:

Tags:

Differential Revision: [D17001135](https://our.internmc.facebook.com/intern/diff/D17001135)
@jerryzh168 jerryzh168 requested a review from ZolotukhinM August 28, 2019 21:09
Copy link

@ZolotukhinM ZolotukhinM left a comment

Choose a reason for hiding this comment

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

Looks good, but please run clang-format before landing.

@jerryzh168
Copy link
Contributor Author

test failure is fixed in next PR

@jerryzh168
Copy link
Contributor Author

Looks good, but please run clang-format before landing.

planning to run clang-format in one PR after the stack lands

@ZolotukhinM
Copy link

test failure is fixed in next PR

Mm, that's bad, if the tests are failing, we shouldn't land. If fbcode/warm falls on this revision after it's landed, several people will hit breakages for no reason. Please pull the fix into this PR.

Summary:
This PR changes the API of insert_observers to use qconfig_dict,
full functionality support will come in later PRs

Test Plan:
```
python test/test_quantizer.py
python test/test_jit.py
```
Reviewers:
pt1quant
Subscribers:

Tasks:

Tags:

Differential Revision: [D17001135](https://our.internmc.facebook.com/intern/diff/D17001135)
@jerryzh168
Copy link
Contributor Author

jerryzh168 commented Aug 28, 2019

test failure is fixed in next PR

Mm, that's bad, if the tests are failing, we shouldn't land. If fbcode/warm falls on this revision after it's landed, several people will hit breakages for no reason. Please pull the fix into this PR.

I think the fix is actually just the next PR :), I'll land the stack directly so people won't see the breakage

@ZolotukhinM
Copy link

test failure is fixed in next PR

Mm, that's bad, if the tests are failing, we shouldn't land. If fbcode/warm falls on this revision after it's landed, several people will hit breakages for no reason. Please pull the fix into this PR.

I think the fix is actually just the next PR :), I'll land the stack directly

There will still be a broken commit in git. If someone starts working of that commit, they'll have to deal with the breakages. Committing broken stuff is a bad practice, please don't do it.

@jerryzh168
Copy link
Contributor Author

sure, I can turn off the test and turn it back on in next pr

Summary:
This PR changes the API of insert_observers to use qconfig_dict,
full functionality support will come in later PRs

Test Plan:
```
python test/test_quantizer.py
python test/test_jit.py
```
Reviewers:
pt1quant
Subscribers:

Tasks:

Tags:

Differential Revision: [D17001135](https://our.internmc.facebook.com/intern/diff/D17001135)
@facebook-github-bot
Copy link
Contributor

This pull request has been merged in 11b4d57.

@facebook-github-bot facebook-github-bot deleted the gh/jerryzh168/36/head branch October 28, 2019 22:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Merged oncall: jit Add this issue/PR to JIT oncall triage queue oncall: quantization Quantization support in PyTorch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants