Skip to content

[quant][graph] Graph mode quantization support for sigmoid#36622

Closed
supriyar wants to merge 6 commits intogh/supriyar/87/basefrom
gh/supriyar/87/head
Closed

[quant][graph] Graph mode quantization support for sigmoid#36622
supriyar wants to merge 6 commits intogh/supriyar/87/basefrom
gh/supriyar/87/head

Conversation

@supriyar
Copy link
Copy Markdown
Contributor

@supriyar supriyar commented Apr 14, 2020

Stack from ghstack:

Summary:

Test Plan:
python test/quantization/test_quantize_script.py test_swap_dequantize_all_ops

Reviewers:

Subscribers:

Tasks:

Tags:

Differential Revision: D21075255

Summary:

Test Plan:
python test/quantization/test_quantize_script.py test_swap_dequantize_all_ops

Reviewers:

Subscribers:

Tasks:

Tags:

[ghstack-poisoned]
@supriyar supriyar requested a review from apaszke as a code owner April 14, 2020 22:20
supriyar added a commit that referenced this pull request Apr 14, 2020
Summary:

Test Plan:
python test/quantization/test_quantize_script.py test_swap_dequantize_all_ops

Reviewers:

Subscribers:

Tasks:

Tags:

ghstack-source-id: 5097530
Pull Request resolved: #36622
@facebook-github-bot facebook-github-bot added the oncall: jit Add this issue/PR to JIT oncall triage queue label Apr 14, 2020
@supriyar supriyar requested a review from jerryzh168 April 14, 2020 23:04
Summary:

Test Plan:
python test/quantization/test_quantize_script.py test_swap_dequantize_all_ops

Reviewers:

Subscribers:

Tasks:

Tags:

[ghstack-poisoned]
supriyar added a commit that referenced this pull request Apr 15, 2020
Summary:

Test Plan:
python test/quantization/test_quantize_script.py test_swap_dequantize_all_ops

Reviewers:

Subscribers:

Tasks:

Tags:

ghstack-source-id: cfbe0ac
Pull Request resolved: #36622
x = torch.max(x)
x = torch.min(x)
x = torch.mean(x)
x = torch.sigmoid(x)
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.

looks like we have sigmoid module as well: https://pytorch.org/docs/stable/nn.html?highlight=sigmoid#torch.nn.Sigmoid
could you add a test for that?

@jerryzh168 jerryzh168 self-requested a review April 15, 2020 16:59
Summary:

Test Plan:
python test/quantization/test_quantize_script.py test_swap_dequantize_all_ops

Reviewers:

Subscribers:

Tasks:

Tags:

[ghstack-poisoned]
supriyar added a commit that referenced this pull request Apr 15, 2020
Summary:

Test Plan:
python test/quantization/test_quantize_script.py test_swap_dequantize_all_ops

Reviewers:

Subscribers:

Tasks:

Tags:

ghstack-source-id: 9b3416a
Pull Request resolved: #36622
Summary:

Test Plan:
python test/quantization/test_quantize_script.py test_swap_dequantize_all_ops

Reviewers:

Subscribers:

Tasks:

Tags:

[ghstack-poisoned]
@dr-ci
Copy link
Copy Markdown

dr-ci Bot commented Apr 15, 2020

💊 Build failures summary and remediations

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


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

Extra GitHub checks


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

Summary:

Test Plan:
python test/quantization/test_quantize_script.py test_swap_dequantize_all_ops

Reviewers:

Subscribers:

Tasks:

Tags:

[ghstack-poisoned]
Summary:

Test Plan:
python test/quantization/test_quantize_script.py test_swap_dequantize_all_ops

Reviewers:

Subscribers:

Tasks:

Tags:

[ghstack-poisoned]
supriyar added a commit that referenced this pull request Apr 16, 2020
Summary:

Test Plan:
python test/quantization/test_quantize_script.py test_swap_dequantize_all_ops

Reviewers:

Subscribers:

Tasks:

Tags:

ghstack-source-id: c8fd9ec
Pull Request resolved: #36622
@facebook-github-bot
Copy link
Copy Markdown
Contributor

This pull request has been merged in 753157b.

@facebook-github-bot facebook-github-bot deleted the gh/supriyar/87/head branch April 20, 2020 14:17
laurentdupin pushed a commit to laurentdupin/pytorch that referenced this pull request Apr 24, 2026
…6622)

Summary: Pull Request resolved: pytorch#36622

Test Plan:
python test/quantization/test_quantize_script.py test_swap_dequantize_all_ops

Imported from OSS

Differential Revision: D21075255

fbshipit-source-id: 025f432215eaa8acf34d492e7722102ca053abeb
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