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

quant: make each line of fx/quantize.py <=80 chars #48357

Closed
wants to merge 3 commits into from

Conversation

Copy link
Contributor

@vkuzo vkuzo commented Nov 21, 2020

Stack from ghstack:

  • #48357 quant: make each line of fx/quantize.py <=80 chars
  • #48356 quant fx: fix typo
  • #48350 quant: add type annotations on quantization.fx.Quantizer matches

Summary:

Cleans up the long lines in torch/quantization/fx/quantize.py
to fit the 80 character limit, so it's easier to read and looks
better on FB's tools.

In the future we can consider adding a linter for this.

Test Plan:

CI

Reviewers:

Subscribers:

Tasks:

Tags:

Differential Revision: D25140833

Summary:

Cleans up the long lines in `torch/quantization/fx/quantize.py`
to fit the 80 character limit, so it's easier to read and looks
better on FB's tools.

In the future we can consider adding a linter for this.

Test Plan:

CI

Reviewers:

Subscribers:

Tasks:

Tags:

[ghstack-poisoned]
@vkuzo vkuzo mentioned this pull request Nov 21, 2020
vkuzo added a commit that referenced this issue Nov 21, 2020
Summary:

Cleans up the long lines in `torch/quantization/fx/quantize.py`
to fit the 80 character limit, so it's easier to read and looks
better on FB's tools.

In the future we can consider adding a linter for this.

Test Plan:

CI

Reviewers:

Subscribers:

Tasks:

Tags:

ghstack-source-id: 668d2ff0fa4057e3a6169fbff410941a5b9ea55d
Pull Request resolved: #48357
@vkuzo vkuzo requested review from jerryzh168 and supriyar Nov 21, 2020
@dr-ci
Copy link

@dr-ci dr-ci bot commented Nov 21, 2020

💊 CI failures summary and remediations

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


  • 1/1 failures possibly* introduced in this PR
    • 1/1 non-CircleCI failure(s)

Extra GitHub checks: 1 failed


This comment was automatically generated by Dr. CI (expand for details).Follow this link to opt-out of these comments for your Pull Requests.

Please report bugs/suggestions on the GitHub issue tracker or post in the (internal) Dr. CI Users group.

See how this bot performed.

This comment has been revised 12 times.

Summary:

Cleans up the long lines in `torch/quantization/fx/quantize.py`
to fit the 80 character limit, so it's easier to read and looks
better on FB's tools.

In the future we can consider adding a linter for this.

Test Plan:

CI

Reviewers:

Subscribers:

Tasks:

Tags:

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

[ghstack-poisoned]
vkuzo added a commit that referenced this issue Nov 24, 2020
Summary:

Cleans up the long lines in `torch/quantization/fx/quantize.py`
to fit the 80 character limit, so it's easier to read and looks
better on FB's tools.

In the future we can consider adding a linter for this.

Test Plan:

CI

Reviewers:

Subscribers:

Tasks:

Tags:

ghstack-source-id: 36e3110e955f2427ffef13b69be54afc50a8cc64
Pull Request resolved: #48357
Summary:

Cleans up the long lines in `torch/quantization/fx/quantize.py`
to fit the 80 character limit, so it's easier to read and looks
better on FB's tools.

In the future we can consider adding a linter for this.

Test Plan:

CI

Reviewers:

Subscribers:

Tasks:

Tags:

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

[ghstack-poisoned]
vkuzo added a commit that referenced this issue Nov 24, 2020
Summary:

Cleans up the long lines in `torch/quantization/fx/quantize.py`
to fit the 80 character limit, so it's easier to read and looks
better on FB's tools.

In the future we can consider adding a linter for this.

Test Plan:

CI

Reviewers:

Subscribers:

Tasks:

Tags:

ghstack-source-id: 1f1d9633f03485c18dfc0e20d6d80f3c8e174d60
Pull Request resolved: #48357
@codecov
Copy link

@codecov codecov bot commented Nov 25, 2020

Codecov Report

Merging #48357 (1643968) into gh/vkuzo/172/base (5cd34ed) will increase coverage by 0.00%.
The diff coverage is 94.28%.

@@                Coverage Diff                 @@
##           gh/vkuzo/172/base   #48357   +/-   ##
==================================================
  Coverage              80.86%   80.86%           
==================================================
  Files                   1854     1854           
  Lines                 199922   199922           
==================================================
+ Hits                  161660   161661    +1     
+ Misses                 38262    38261    -1     

@facebook-github-bot
Copy link
Contributor

@facebook-github-bot facebook-github-bot commented Nov 25, 2020

This pull request has been merged in bc2c1d7.

@facebook-github-bot facebook-github-bot deleted the gh/vkuzo/172/head branch Nov 29, 2020
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.

None yet

3 participants