Skip to content

[quant][graphmode] Quantization support for quantized::add_scalar_relu and quantized::add_scalar_relu_out#35509

Closed
jerryzh168 wants to merge 14 commits intogh/jerryzh168/274/basefrom
gh/jerryzh168/274/head
Closed

[quant][graphmode] Quantization support for quantized::add_scalar_relu and quantized::add_scalar_relu_out#35509
jerryzh168 wants to merge 14 commits intogh/jerryzh168/274/basefrom
gh/jerryzh168/274/head

Conversation

@jerryzh168
Copy link
Copy Markdown
Contributor

@jerryzh168 jerryzh168 commented Mar 26, 2020

Stack from ghstack:

Summary:

Test Plan:
python test/test_jit.py

Reviewers:
.

Subscribers:

Tasks:

Tags:

Differential Revision: D20742138

…lu` and `quantized::add_scalar_relu_out`

Summary:

Test Plan:
python test/test_jit.py

Reviewers:
.

Subscribers:

Tasks:

Tags:

[ghstack-poisoned]
@jerryzh168 jerryzh168 requested a review from apaszke as a code owner March 26, 2020 23:57
jerryzh168 added a commit that referenced this pull request Mar 26, 2020
…lu` and `quantized::add_scalar_relu_out`

Summary:

Test Plan:
python test/test_jit.py

Reviewers:
.

Subscribers:

Tasks:

Tags:

ghstack-source-id: 4ae32a6
Pull Request resolved: #35509
@facebook-github-bot facebook-github-bot added the oncall: jit Add this issue/PR to JIT oncall triage queue label Mar 27, 2020
@dr-ci
Copy link
Copy Markdown

dr-ci Bot commented Mar 27, 2020

💊 CircleCI build failures summary and remediations

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


None of the build failures appear to be your fault 💚


  • 1/1 broken upstream at merge base 0eb26fb from Mar 27 until Mar 30 (53 commits; b9adbb5 - 35dbc6e)

    Please rebase on the viable/strict branch (expand for instructions)

    If your commit is newer than viable/strict, you can try basing on an older, stable commit:

    git fetch https://github.com/pytorch/pytorch viable/strict
    git rebase --onto FETCH_HEAD $(git merge-base origin/master HEAD)
    

    If your commit is older than viable/strict:

    git fetch https://github.com/pytorch/pytorch viable/strict
    git rebase FETCH_HEAD
    

    Check out the recency history of this "viable master" tracking branch.


🚧 1 upstream failure:

These were probably caused by upstream breakages:


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.

See how this bot performed.

This comment has been revised 79 times.

…d_scalar_relu` and `quantized::add_scalar_relu_out`"

Summary:

Test Plan:
python test/test_jit.py

Reviewers:
.

Subscribers:

Tasks:

Tags:

[ghstack-poisoned]
jerryzh168 added a commit that referenced this pull request Mar 27, 2020
…lu` and `quantized::add_scalar_relu_out`

Summary:

Test Plan:
python test/test_jit.py

Reviewers:
.

Subscribers:

Tasks:

Tags:

ghstack-source-id: e057dbc
Pull Request resolved: #35509
…d_scalar_relu` and `quantized::add_scalar_relu_out`"

Summary:

Test Plan:
python test/test_jit.py

Reviewers:
.

Subscribers:

Tasks:

Tags:

[ghstack-poisoned]
…d_scalar_relu` and `quantized::add_scalar_relu_out`"

Summary:

Test Plan:
python test/test_jit.py

Reviewers:
.

Subscribers:

Tasks:

Tags:

[ghstack-poisoned]
…d_scalar_relu` and `quantized::add_scalar_relu_out`"

Summary:

Test Plan:
python test/test_jit.py

Reviewers:
.

Subscribers:

Tasks:

Tags:

[ghstack-poisoned]
…d_scalar_relu` and `quantized::add_scalar_relu_out`"

Summary:

Test Plan:
python test/test_jit.py

Reviewers:
.

Subscribers:

Tasks:

Tags:

[ghstack-poisoned]
…d_scalar_relu` and `quantized::add_scalar_relu_out`"

Summary:

Test Plan:
python test/test_jit.py

Reviewers:
.

Subscribers:

Tasks:

Tags:

[ghstack-poisoned]
…d_scalar_relu` and `quantized::add_scalar_relu_out`"

Summary:

Test Plan:
python test/test_jit.py

Reviewers:
.

Subscribers:

Tasks:

Tags:

[ghstack-poisoned]
…d_scalar_relu` and `quantized::add_scalar_relu_out`"

Summary:

Test Plan:
python test/test_jit.py

Reviewers:
.

Subscribers:

Tasks:

Tags:

[ghstack-poisoned]
…d_scalar_relu` and `quantized::add_scalar_relu_out`"

Summary:

Test Plan:
python test/test_jit.py

Reviewers:
.

Subscribers:

Tasks:

Tags:

[ghstack-poisoned]
…d_scalar_relu` and `quantized::add_scalar_relu_out`"

Summary:

Test Plan:
python test/test_jit.py

Reviewers:
.

Subscribers:

Tasks:

Tags:

[ghstack-poisoned]
…d_scalar_relu` and `quantized::add_scalar_relu_out`"

Summary:

Test Plan:
python test/test_jit.py

Reviewers:
.

Subscribers:

Tasks:

Tags:

[ghstack-poisoned]
…d_scalar_relu` and `quantized::add_scalar_relu_out`"

Summary:

Test Plan:
python test/test_jit.py

Reviewers:
.

Subscribers:

Tasks:

Tags:

[ghstack-poisoned]
Comment thread test/test_jit.py
m = convert_script(m, True)
FileCheck().check_not("aten::add") \
.check_not("aten::add_") \
.check_not("aten::relu") \
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Should we also check for quantized::add , quantized::relu?

add_scalar_out,
quantized_add_scalar_out,
add_scalar_filter},
{"quantized::cat", cat, quantized_cat},
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

is this change related to this PR?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

this is just moving around quantized cat

Copy link
Copy Markdown
Contributor

@supriyar supriyar left a comment

Choose a reason for hiding this comment

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

looks good. small comments.

…d_scalar_relu` and `quantized::add_scalar_relu_out`"

Summary:

Test Plan:
python test/test_jit.py

Reviewers:
.

Subscribers:

Tasks:

Tags:

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

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

This pull request has been merged in 4e19e02.

@facebook-github-bot facebook-github-bot deleted the gh/jerryzh168/274/head branch April 3, 2020 14:18
laurentdupin pushed a commit to laurentdupin/pytorch that referenced this pull request Apr 24, 2026
…lu` and `quantized::add_scalar_relu_out` (pytorch#35509)

Summary: Pull Request resolved: pytorch#35509

Test Plan:
python test/test_jit.py

Imported from OSS

Differential Revision: D20742138

fbshipit-source-id: f6216d0af5da2bd5629aa4909f05dcde7853c8b8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Merged oncall: jit Add this issue/PR to JIT oncall triage queue

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants