-
Notifications
You must be signed in to change notification settings - Fork 25.6k
[quant][graphmode][fx][fp16] Add fp16 support for sigmoid #52863
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
Conversation
Summary: Test Plan: python test/test_quantization.py TestQuantizeFxOps.test_fixed_qparams_ops_fp16 Reviewers: Subscribers: Tasks: Tags: [ghstack-poisoned]
💊 CI failures summary and remediationsAs of commit bbde551 (more details on the Dr. CI page):
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. |
Summary: Test Plan: python test/test_quantization.py TestQuantizeFxOps.test_fixed_qparams_ops_fp16 Reviewers: Subscribers: Tasks: Tags: Differential Revision: [D26672273](https://our.internmc.facebook.com/intern/diff/D26672273) [ghstack-poisoned]
Summary: Test Plan: python test/test_quantization.py TestQuantizeFxOps.test_fixed_qparams_ops_fp16 Reviewers: Subscribers: Tasks: Tags: Differential Revision: [D26672273](https://our.internmc.facebook.com/intern/diff/D26672273) [ghstack-poisoned]
Summary: Test Plan: python test/test_quantization.py TestQuantizeFxOps.test_fixed_qparams_ops_fp16 Reviewers: Subscribers: Tasks: Tags: Differential Revision: [D26672273](https://our.internmc.facebook.com/intern/diff/D26672273) [ghstack-poisoned]
Summary: Test Plan: python test/test_quantization.py TestQuantizeFxOps.test_fixed_qparams_ops_fp16 Reviewers: Subscribers: Tasks: Tags: Differential Revision: [D26672273](https://our.internmc.facebook.com/intern/diff/D26672273) [ghstack-poisoned]
return quantizer.quantized_graph.node_copy(node, load_arg(quantized=False)) | ||
else: | ||
return quantizer.quantized_graph.node_copy(node, load_arg(quantized=None)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
just for my own understanding, what's the difference between load_arg(quantized=False)
and load_arg(quantized=None)
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
load_arg(quantized=False) means dequantize the node if needed, load_arg(quantized=None) means do nothing, just copy the node
Summary: Test Plan: python test/test_quantization.py TestQuantizeFxOps.test_fixed_qparams_ops_fp16 Reviewers: Subscribers: Tasks: Tags: Differential Revision: [D26672273](https://our.internmc.facebook.com/intern/diff/D26672273) [ghstack-poisoned]
Summary: Test Plan: python test/test_quantization.py TestQuantizeFxOps.test_fixed_qparams_ops_fp16 Reviewers: Subscribers: Tasks: Tags: Differential Revision: [D26672273](https://our.internmc.facebook.com/intern/diff/D26672273) [ghstack-poisoned]
Summary: Test Plan: python test/test_quantization.py TestQuantizeFxOps.test_fixed_qparams_ops_fp16 Reviewers: Subscribers: Tasks: Tags: Differential Revision: [D26672273](https://our.internmc.facebook.com/intern/diff/D26672273) [ghstack-poisoned]
Summary: Test Plan: python test/test_quantization.py TestQuantizeFxOps.test_fixed_qparams_ops_fp16 Reviewers: Subscribers: Tasks: Tags: Differential Revision: [D26672273](https://our.internmc.facebook.com/intern/diff/D26672273) [ghstack-poisoned]
Summary: Test Plan: python test/test_quantization.py TestQuantizeFxOps.test_fixed_qparams_ops_fp16 Reviewers: Subscribers: Tasks: Tags: Differential Revision: [D26672273](https://our.internmc.facebook.com/intern/diff/D26672273) [ghstack-poisoned]
Summary: Test Plan: python test/test_quantization.py TestQuantizeFxOps.test_fixed_qparams_ops_fp16 Reviewers: Subscribers: Tasks: Tags: Differential Revision: [D26672273](https://our.internmc.facebook.com/intern/diff/D26672273) [ghstack-poisoned]
Summary: Test Plan: python test/test_quantization.py TestQuantizeFxOps.test_fixed_qparams_ops_fp16 Reviewers: Subscribers: Tasks: Tags: Differential Revision: [D26672273](https://our.internmc.facebook.com/intern/diff/D26672273) [ghstack-poisoned]
This pull request has been merged in d40b501. |
) Summary: Pull Request resolved: pytorch#52863 Test Plan: python test/test_quantization.py TestQuantizeFxOps.test_fixed_qparams_ops_fp16 Imported from OSS Reviewed By: vkuzo Differential Revision: D26672273 fbshipit-source-id: 30d5befe2a24081ac12ac773df4d2bd26d2d0192
) Summary: Pull Request resolved: pytorch#52863 Test Plan: python test/test_quantization.py TestQuantizeFxOps.test_fixed_qparams_ops_fp16 Imported from OSS Reviewed By: vkuzo Differential Revision: D26672273 fbshipit-source-id: 30d5befe2a24081ac12ac773df4d2bd26d2d0192
Stack from ghstack:
Summary:
Test Plan:
python test/test_quantization.py TestQuantizeFxOps.test_fixed_qparams_ops_fp16
Reviewers:
Subscribers:
Tasks:
Tags:
Differential Revision: D26672273