Skip to content

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: d2afcc7
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: 991533b
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.

this is following the naming of other overloaded functions in https://github.com/pytorch/pytorch/blob/master/aten/src/ATen/native/native_functions.yaml

@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