Skip to content

[quant][fx] Cleanup some unused states and args #75521

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

Closed
wants to merge 14 commits into from

Conversation

jerryzh168
Copy link
Contributor

@jerryzh168 jerryzh168 commented Apr 8, 2022

Stack from ghstack (oldest at bottom):

Summary:

  • Removed "patterns" from observed module since it's no longer needed
  • Removed an arg from insert_observer

Test Plan:
python test/test_quantization.py TestQuantizeFx
python test/test_quantization.py TestQuantizeFxOps
python test/test_quantization.py TestQuantizeFxModels

Reviewers:

Subscribers:

Tasks:

Tags:

Differential Revision: D35502220

Summary:
* Removed "patterns" from observed module since it's no longer needed
* Removed an arg from insert_observer

Test Plan:
python test/test_quantization.py TestQuantizeFx
python test/test_quantization.py TestQuantizeFxOps
python test/test_quantization.py TestQuantizeFxModels

Reviewers:

Subscribers:

Tasks:

Tags:

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

facebook-github-bot commented Apr 8, 2022

🔗 Helpful links

💊 CI failures summary and remediations

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


💚 💚 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.

Summary:
* Removed "patterns" from observed module since it's no longer needed
* Removed an arg from insert_observer

Test Plan:
python test/test_quantization.py TestQuantizeFx
python test/test_quantization.py TestQuantizeFxOps
python test/test_quantization.py TestQuantizeFxModels

Reviewers:

Subscribers:

Tasks:

Tags:

[ghstack-poisoned]
@jerryzh168
Copy link
Contributor Author

@jerryzh168 has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

Summary:
* Removed "patterns" from observed module since it's no longer needed
* Removed an arg from insert_observer

Test Plan:
python test/test_quantization.py TestQuantizeFx
python test/test_quantization.py TestQuantizeFxOps
python test/test_quantization.py TestQuantizeFxModels

Reviewers:

Subscribers:

Tasks:

Tags:

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

[ghstack-poisoned]
Summary:
* Removed "patterns" from observed module since it's no longer needed
* Removed an arg from insert_observer

Test Plan:
python test/test_quantization.py TestQuantizeFx
python test/test_quantization.py TestQuantizeFxOps
python test/test_quantization.py TestQuantizeFxModels

Reviewers:

Subscribers:

Tasks:

Tags:

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

[ghstack-poisoned]
Summary:
* Removed "patterns" from observed module since it's no longer needed
* Removed an arg from insert_observer

Test Plan:
python test/test_quantization.py TestQuantizeFx
python test/test_quantization.py TestQuantizeFxOps
python test/test_quantization.py TestQuantizeFxModels

Reviewers:

Subscribers:

Tasks:

Tags:

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

[ghstack-poisoned]
Summary:
* Removed "patterns" from observed module since it's no longer needed
* Removed an arg from insert_observer

Test Plan:
python test/test_quantization.py TestQuantizeFx
python test/test_quantization.py TestQuantizeFxOps
python test/test_quantization.py TestQuantizeFxModels

Reviewers:

Subscribers:

Tasks:

Tags:

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

[ghstack-poisoned]
jerryzh168 added a commit that referenced this pull request Apr 8, 2022
Summary:
* Removed "patterns" from observed module since it's no longer needed
* Removed an arg from insert_observer

Test Plan:
python test/test_quantization.py TestQuantizeFx
python test/test_quantization.py TestQuantizeFxOps
python test/test_quantization.py TestQuantizeFxModels

Reviewers:

Subscribers:

Tasks:

Tags:

ghstack-source-id: b542b31
Pull Request resolved: #75521
Summary:
* Removed "patterns" from observed module since it's no longer needed
* Removed an arg from insert_observer

Test Plan:
python test/test_quantization.py TestQuantizeFx
python test/test_quantization.py TestQuantizeFxOps
python test/test_quantization.py TestQuantizeFxModels

Reviewers:

Subscribers:

Tasks:

Tags:

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

[ghstack-poisoned]
jerryzh168 added a commit that referenced this pull request Apr 9, 2022
Summary:
* Removed "patterns" from observed module since it's no longer needed
* Removed an arg from insert_observer

Test Plan:
python test/test_quantization.py TestQuantizeFx
python test/test_quantization.py TestQuantizeFxOps
python test/test_quantization.py TestQuantizeFxModels

Reviewers:

Subscribers:

Tasks:

Tags:

ghstack-source-id: 8c8dd73
Pull Request resolved: #75521
Summary:
* Removed "patterns" from observed module since it's no longer needed
* Removed an arg from insert_observer

Test Plan:
python test/test_quantization.py TestQuantizeFx
python test/test_quantization.py TestQuantizeFxOps
python test/test_quantization.py TestQuantizeFxModels

Reviewers:

Subscribers:

Tasks:

Tags:

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

[ghstack-poisoned]
Summary:
* Removed "patterns" from observed module since it's no longer needed
* Removed an arg from insert_observer

Test Plan:
python test/test_quantization.py TestQuantizeFx
python test/test_quantization.py TestQuantizeFxOps
python test/test_quantization.py TestQuantizeFxModels

Reviewers:

Subscribers:

Tasks:

Tags:

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

[ghstack-poisoned]
jerryzh168 added a commit that referenced this pull request Apr 9, 2022
Summary:
* Removed "patterns" from observed module since it's no longer needed
* Removed an arg from insert_observer

Test Plan:
python test/test_quantization.py TestQuantizeFx
python test/test_quantization.py TestQuantizeFxOps
python test/test_quantization.py TestQuantizeFxModels

Reviewers:

Subscribers:

Tasks:

Tags:

ghstack-source-id: 924a636
Pull Request resolved: #75521
@jerryzh168
Copy link
Contributor Author

@jerryzh168 has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

Summary:
* Removed "patterns" from observed module since it's no longer needed
* Removed an arg from insert_observer

Test Plan:
python test/test_quantization.py TestQuantizeFx
python test/test_quantization.py TestQuantizeFxOps
python test/test_quantization.py TestQuantizeFxModels

Reviewers:

Subscribers:

Tasks:

Tags:

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

[ghstack-poisoned]
jerryzh168 added a commit that referenced this pull request Apr 11, 2022
Summary:
* Removed "patterns" from observed module since it's no longer needed
* Removed an arg from insert_observer
* Removed some unused keys in checking the validity of qconfig_dict

Test Plan:
python test/test_quantization.py TestQuantizeFx
python test/test_quantization.py TestQuantizeFxOps
python test/test_quantization.py TestQuantizeFxModels

Reviewers:

Subscribers:

Tasks:

Tags:

ghstack-source-id: 24728a5
Pull Request resolved: #75521
@jerryzh168
Copy link
Contributor Author

@jerryzh168 has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

Summary:
* Removed "patterns" from observed module since it's no longer needed
* Removed an arg from insert_observer

Test Plan:
python test/test_quantization.py TestQuantizeFx
python test/test_quantization.py TestQuantizeFxOps
python test/test_quantization.py TestQuantizeFxModels

Reviewers:

Subscribers:

Tasks:

Tags:

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

[ghstack-poisoned]
jerryzh168 added a commit that referenced this pull request Apr 12, 2022
Summary:
* Removed "patterns" from observed module since it's no longer needed
* Removed an arg from insert_observer
* Removed some unused keys in checking the validity of qconfig_dict

Test Plan:
python test/test_quantization.py TestQuantizeFx
python test/test_quantization.py TestQuantizeFxOps
python test/test_quantization.py TestQuantizeFxModels

Reviewers:

Subscribers:

Tasks:

Tags:

ghstack-source-id: cc1b9a3
Pull Request resolved: #75521
@jerryzh168
Copy link
Contributor Author

@jerryzh168 has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

Summary:
* Removed "patterns" from observed module since it's no longer needed
* Removed an arg from insert_observer

Test Plan:
python test/test_quantization.py TestQuantizeFx
python test/test_quantization.py TestQuantizeFxOps
python test/test_quantization.py TestQuantizeFxModels

Reviewers:

Subscribers:

Tasks:

Tags:

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

[ghstack-poisoned]
jerryzh168 added a commit that referenced this pull request Apr 13, 2022
Summary:
* Removed "patterns" from observed module since it's no longer needed
* Removed an arg from insert_observer
* Removed some unused keys in checking the validity of qconfig_dict

Test Plan:
python test/test_quantization.py TestQuantizeFx
python test/test_quantization.py TestQuantizeFxOps
python test/test_quantization.py TestQuantizeFxModels

Reviewers:

Subscribers:

Tasks:

Tags:

ghstack-source-id: 9f8c80c
Pull Request resolved: #75521
@jerryzh168
Copy link
Contributor Author

@jerryzh168 has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

Summary:
* Removed "patterns" from observed module since it's no longer needed
* Removed an arg from insert_observer

Test Plan:
python test/test_quantization.py TestQuantizeFx
python test/test_quantization.py TestQuantizeFxOps
python test/test_quantization.py TestQuantizeFxModels

Reviewers:

Subscribers:

Tasks:

Tags:

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

[ghstack-poisoned]
jerryzh168 added a commit that referenced this pull request Apr 13, 2022
Summary:
* Removed "patterns" from observed module since it's no longer needed
* Removed an arg from insert_observer
* Removed some unused keys in checking the validity of qconfig_dict

Test Plan:
python test/test_quantization.py TestQuantizeFx
python test/test_quantization.py TestQuantizeFxOps
python test/test_quantization.py TestQuantizeFxModels

Reviewers:

Subscribers:

Tasks:

Tags:

ghstack-source-id: 37d1566
Pull Request resolved: #75521
@jerryzh168
Copy link
Contributor Author

@jerryzh168 has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

Summary:
* Removed "patterns" from observed module since it's no longer needed
* Removed an arg from insert_observer

Test Plan:
python test/test_quantization.py TestQuantizeFx
python test/test_quantization.py TestQuantizeFxOps
python test/test_quantization.py TestQuantizeFxModels

Reviewers:

Subscribers:

Tasks:

Tags:

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

[ghstack-poisoned]
jerryzh168 added a commit that referenced this pull request Apr 13, 2022
Summary:
* Removed "patterns" from observed module since it's no longer needed
* Removed an arg from insert_observer
* Removed some unused keys in checking the validity of qconfig_dict

Test Plan:
python test/test_quantization.py TestQuantizeFx
python test/test_quantization.py TestQuantizeFxOps
python test/test_quantization.py TestQuantizeFxModels

Reviewers:

Subscribers:

Tasks:

Tags:

ghstack-source-id: 05f2079
Pull Request resolved: #75521
@jerryzh168
Copy link
Contributor Author

@jerryzh168 has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

@facebook-github-bot
Copy link
Contributor

@pytorchbot merge this

(Initiating merge automatically since Phabricator Diff has merged)

@pytorchmergebot
Copy link
Collaborator

Merge failed due to Refusing to merge as mandatory check Lint failed for rule superuser
Raised by https://github.com/pytorch/pytorch/actions/runs/2164563956

@malfet
Copy link
Contributor

malfet commented Apr 14, 2022

Hmm, somehow there are no lint workflow ever scheduled for this PR(Lint workflow for previous iteration of this PR were cancelled and never scheduled for this one, manually scheduling it now)...

@malfet
Copy link
Contributor

malfet commented Apr 14, 2022

@pytorchbot merge this

@github-actions
Copy link
Contributor

Hey @jerryzh168.
You've committed this PR, but it does not have both a 'release notes: ...' and 'topics: ...' label. Please add one of each to the PR. The 'release notes: ...' label should represent the part of PyTorch that this PR changes (fx, autograd, distributed, etc) and the 'topics: ...' label should represent the kind of PR it is (not user facing, new feature, bug fix, perf improvement, etc). The list of valid labels can be found here for the 'release notes: ...' and here for the 'topics: ...'.
For changes that are 'topic: not user facing' there is no need for a release notes label.

facebook-github-bot pushed a commit that referenced this pull request Apr 14, 2022
Summary:
Pull Request resolved: #75521

* Removed "patterns" from observed module since it's no longer needed
* Removed an arg from insert_observer

Test Plan:
python test/test_quantization.py TestQuantizeFx
python test/test_quantization.py TestQuantizeFxOps
python test/test_quantization.py TestQuantizeFxModels

Imported from OSS

Reviewed By: andrewor14

Differential Revision: D35502220

fbshipit-source-id: 968888c15ffc7084b8aab60429a3c34990876782
@facebook-github-bot facebook-github-bot deleted the gh/jerryzh168/785/head branch April 17, 2022 14:17
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