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] Reduce number of variants of add/mul #42769

Closed
wants to merge 2 commits into from

Conversation

jerryzh168
Copy link
Contributor

@jerryzh168 jerryzh168 commented Aug 8, 2020

Stack from ghstack:

Summary:
Some of the quantized add and mul can have the same name

Test Plan:

Reviewers:

Subscribers:

Tasks:

Tags:

Differential Revision: D23054822

Summary:
Some of the quantized add and mul can have the same name

Test Plan:

Reviewers:

Subscribers:

Tasks:

Tags:

[ghstack-poisoned]
jerryzh168 added a commit that referenced this pull request Aug 8, 2020
Summary:
Some of the quantized add and mul can have the same name

Test Plan:

Reviewers:

Subscribers:

Tasks:

Tags:

ghstack-source-id: d2afcc7edefd5e76613c80ce47d57132c420afc5
Pull Request resolved: #42769
@dr-ci
Copy link

dr-ci bot commented Aug 8, 2020

💊 CI failures summary and remediations

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


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

ci.pytorch.org: 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 4 times.

Summary:
Some of the quantized add and mul can have the same name

Test Plan:

Reviewers:

Subscribers:

Tasks:

Tags:

[ghstack-poisoned]
jerryzh168 added a commit that referenced this pull request Aug 11, 2020
Summary:
Some of the quantized add and mul can have the same name

Test Plan:

Reviewers:

Subscribers:

Tasks:

Tags:

ghstack-source-id: 991533bfaa7fe68399ca16a1abbf7b594f4dc870
Pull Request resolved: #42769
@@ -267,7 +267,14 @@ Tensor qadd_scalar_tensor_out(Tensor qa, Tensor b, Tensor out) {

TORCH_LIBRARY_IMPL(quantized, QuantizedCPU, m) {
m.impl("add", TORCH_FN(qadd</*ReLUFused=*/false>));
m.impl("add.out", TORCH_FN(qadd_out</*ReLUFused=*/false>));
m.impl("add.Scalar", TORCH_FN(qadd_scalar</*ReLUFused=*/false>));
Copy link
Contributor

Choose a reason for hiding this comment

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

Why Scalar and not scalar?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@facebook-github-bot
Copy link
Contributor

This pull request has been merged in a846ed5.

@facebook-github-bot facebook-github-bot deleted the gh/jerryzh168/389/head branch August 15, 2020 14:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants