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][graphmode][fx] Separate handling Copy operator to a helper function (#54644) #55429

Closed
wants to merge 6 commits into from

Conversation

jerryzh168
Copy link
Contributor

@jerryzh168 jerryzh168 commented Apr 6, 2021

Stack from ghstack:

Summary:
Previously we special case copy operator in normal insert observer code, this PR tries to split the
special case logic to a separate function and keep the rest of the code clean.

Test Plan: Imported from OSS

Reviewed By: vkuzo

Differential Revision: D27609972

…nction (#54644)

Summary:
Previously we special case copy operator in normal insert observer code, this PR tries to split the
special case logic to a separate function and keep the rest of the code clean.

Test Plan: Imported from OSS

Reviewed By: vkuzo

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

facebook-github-bot commented Apr 6, 2021

💊 CI failures summary and remediations

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


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

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 to the (internal) Dr. CI Users group.

jerryzh168 added a commit that referenced this pull request Apr 6, 2021
…nction (#54644)

Summary:
Previously we special case copy operator in normal insert observer code, this PR tries to split the
special case logic to a separate function and keep the rest of the code clean.

Test Plan: Imported from OSS

Reviewed By: vkuzo

ghstack-source-id: 48f3ea021a3518e5b10f3fe112fa5c1141f2c63c
Pull Request resolved: #55429
@jerryzh168 jerryzh168 requested a review from vkuzo April 7, 2021 19:04
torch/quantization/fx/utils.py Outdated Show resolved Hide resolved
torch/quantization/quantize.py Outdated Show resolved Hide resolved
…a helper function (#54644)"

Summary:
Previously we special case copy operator in normal insert observer code, this PR tries to split the
special case logic to a separate function and keep the rest of the code clean.

Test Plan: Imported from OSS

Reviewed By: vkuzo

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

[ghstack-poisoned]
…a helper function (#54644)"

Summary:
Previously we special case copy operator in normal insert observer code, this PR tries to split the
special case logic to a separate function and keep the rest of the code clean.

Test Plan: Imported from OSS

Reviewed By: vkuzo

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

[ghstack-poisoned]
@jerryzh168 jerryzh168 requested a review from vkuzo April 7, 2021 19:53
…a helper function (#54644)"

Summary:
Previously we special case copy operator in normal insert observer code, this PR tries to split the
special case logic to a separate function and keep the rest of the code clean.

Test Plan: Imported from OSS

Reviewed By: vkuzo

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

[ghstack-poisoned]
…a helper function (#54644)"

Summary:
Previously we special case copy operator in normal insert observer code, this PR tries to split the
special case logic to a separate function and keep the rest of the code clean.

Test Plan: Imported from OSS

Reviewed By: vkuzo

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

[ghstack-poisoned]
…a helper function (#54644)"

Summary:
Previously we special case copy operator in normal insert observer code, this PR tries to split the
special case logic to a separate function and keep the rest of the code clean.

Test Plan: Imported from OSS

Reviewed By: vkuzo

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

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

This pull request has been merged in 4d449f9.

@facebook-github-bot facebook-github-bot deleted the gh/jerryzh168/583/head branch April 12, 2021 14:21
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