-
Notifications
You must be signed in to change notification settings - Fork 685
Arm backend: Add 16A8W support and test for sigmoid operation #13796
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
Add 16A8W quantization support and test for the sigmoid operation in ExecutorTorch ARM backend. This follows the pattern established for linear and mul operations, extending int16 support to sigmoid operations. Changes: - Add INT16 dtype validation support in op_sigmoid.py - Add test_sigmoid_tensor_16a8w_tosa_INT test function - Enable test_sigmoid.py in test targets configuration The 16A8W configuration uses 16-bit activations with 8-bit weights, enabling higher precision for activations while maintaining weight efficiency. Differential Revision: [D80510729](https://our.internmc.facebook.com/intern/diff/D80510729/) [ghstack-poisoned]
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/13796
Note: Links to docs will display an error until the docs builds have been completed. ❌ 3 New Failures, 6 Unrelated FailuresAs of commit 2b2f943 with merge base 1d37845 ( NEW FAILURES - The following jobs have failed:
BROKEN TRUNK - The following jobs failed but were present on the merge base:👉 Rebase onto the `viable/strict` branch to avoid these failures
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
This pull request was exported from Phabricator. Differential Revision: D80510729 |
…ion" Add 16A8W quantization support and test for the sigmoid operation in ExecutorTorch ARM backend. This follows the pattern established for linear and mul operations, extending int16 support to sigmoid operations. Changes: - Add INT16 dtype validation support in op_sigmoid.py - Add test_sigmoid_tensor_16a8w_tosa_INT test function - Enable test_sigmoid.py in test targets configuration The 16A8W configuration uses 16-bit activations with 8-bit weights, enabling higher precision for activations while maintaining weight efficiency. Differential Revision: [D80510729](https://our.internmc.facebook.com/intern/diff/D80510729/) cc digantdesai freddan80 per zingo oscarandersson8218 [ghstack-poisoned]
This pull request was exported from Phabricator. Differential Revision: D80510729 |
…ion" Add 16A8W quantization support and test for the sigmoid operation in ExecutorTorch ARM backend. This follows the pattern established for linear and mul operations, extending int16 support to sigmoid operations. Changes: - Add INT16 dtype validation support in op_sigmoid.py - Add test_sigmoid_tensor_16a8w_tosa_INT test function - Enable test_sigmoid.py in test targets configuration The 16A8W configuration uses 16-bit activations with 8-bit weights, enabling higher precision for activations while maintaining weight efficiency. Differential Revision: [D80510729](https://our.internmc.facebook.com/intern/diff/D80510729/) cc digantdesai freddan80 per zingo oscarandersson8218 [ghstack-poisoned]
This pull request was exported from Phabricator. Differential Revision: D80510729 |
…ion" Add 16A8W quantization support and test for the sigmoid operation in ExecutorTorch ARM backend. This follows the pattern established for linear and mul operations, extending int16 support to sigmoid operations. Changes: - Add INT16 dtype validation support in op_sigmoid.py - Add test_sigmoid_tensor_16a8w_tosa_INT test function - Enable test_sigmoid.py in test targets configuration The 16A8W configuration uses 16-bit activations with 8-bit weights, enabling higher precision for activations while maintaining weight efficiency. Differential Revision: [D80510729](https://our.internmc.facebook.com/intern/diff/D80510729/) cc digantdesai freddan80 per zingo oscarandersson8218 [ghstack-poisoned]
This pull request was exported from Phabricator. Differential Revision: D80510729 |
…ion" Add 16A8W quantization support and test for the sigmoid operation in ExecutorTorch ARM backend. This follows the pattern established for linear and mul operations, extending int16 support to sigmoid operations. Changes: - Add INT16 dtype validation support in op_sigmoid.py - Add test_sigmoid_tensor_16a8w_tosa_INT test function - Enable test_sigmoid.py in test targets configuration The 16A8W configuration uses 16-bit activations with 8-bit weights, enabling higher precision for activations while maintaining weight efficiency. Differential Revision: [D80510729](https://our.internmc.facebook.com/intern/diff/D80510729/) cc digantdesai freddan80 per zingo oscarandersson8218 [ghstack-poisoned]
This pull request was exported from Phabricator. Differential Revision: D80510729 |
…ion" Add 16A8W quantization support and test for the sigmoid operation in ExecutorTorch ARM backend. This follows the pattern established for linear and mul operations, extending int16 support to sigmoid operations. Changes: - Add INT16 dtype validation support in op_sigmoid.py - Add test_sigmoid_tensor_16a8w_tosa_INT test function - Enable test_sigmoid.py in test targets configuration The 16A8W configuration uses 16-bit activations with 8-bit weights, enabling higher precision for activations while maintaining weight efficiency. Differential Revision: [D80510729](https://our.internmc.facebook.com/intern/diff/D80510729/) cc digantdesai freddan80 per zingo oscarandersson8218 [ghstack-poisoned]
This pull request was exported from Phabricator. Differential Revision: D80510729 |
…ion" Add 16A8W quantization support and test for the sigmoid operation in ExecutorTorch ARM backend. This follows the pattern established for linear and mul operations, extending int16 support to sigmoid operations. Changes: - Add INT16 dtype validation support in op_sigmoid.py - Add test_sigmoid_tensor_16a8w_tosa_INT test function - Enable test_sigmoid.py in test targets configuration The 16A8W configuration uses 16-bit activations with 8-bit weights, enabling higher precision for activations while maintaining weight efficiency. Differential Revision: [D80510729](https://our.internmc.facebook.com/intern/diff/D80510729/) cc digantdesai freddan80 per zingo oscarandersson8218 [ghstack-poisoned]
This pull request was exported from Phabricator. Differential Revision: D80510729 |
…ion" Add 16A8W quantization support and test for the sigmoid operation in ExecutorTorch ARM backend. This follows the pattern established for linear and mul operations, extending int16 support to sigmoid operations. Changes: - Add INT16 dtype validation support in op_sigmoid.py - Add test_sigmoid_tensor_16a8w_tosa_INT test function - Enable test_sigmoid.py in test targets configuration The 16A8W configuration uses 16-bit activations with 8-bit weights, enabling higher precision for activations while maintaining weight efficiency. Differential Revision: [D80510729](https://our.internmc.facebook.com/intern/diff/D80510729/) cc digantdesai freddan80 per zingo oscarandersson8218 [ghstack-poisoned]
This pull request was exported from Phabricator. Differential Revision: D80510729 |
bdfd22e
into
gh/Ninja91/9/base
This PR was created by the merge bot to help merge the original PR into the main branch. ghstack PR number: #13796 by @Ninja91 ^ Please use this as the source of truth for the PR details, comments, and reviews ghstack PR base: https://github.com/pytorch/executorch/tree/gh/Ninja91/9/base ghstack PR head: https://github.com/pytorch/executorch/tree/gh/Ninja91/9/head Merge bot PR base: https://github.com/pytorch/executorch/tree/main Merge bot PR head: https://github.com/pytorch/executorch/tree/gh/Ninja91/9/orig @diff-train-skip-merge Differential Revision: [D80510729](https://www.internalfb.com/diff/D80510729) Co-authored-by: Nitin Jain <jainnitin@meta.com>
…h#14213) This PR was created by the merge bot to help merge the original PR into the main branch. ghstack PR number: pytorch#13796 by @Ninja91 ^ Please use this as the source of truth for the PR details, comments, and reviews ghstack PR base: https://github.com/pytorch/executorch/tree/gh/Ninja91/9/base ghstack PR head: https://github.com/pytorch/executorch/tree/gh/Ninja91/9/head Merge bot PR base: https://github.com/pytorch/executorch/tree/main Merge bot PR head: https://github.com/pytorch/executorch/tree/gh/Ninja91/9/orig @diff-train-skip-merge Differential Revision: [D80510729](https://www.internalfb.com/diff/D80510729) Co-authored-by: Nitin Jain <jainnitin@meta.com>
Stack from ghstack (oldest at bottom):
Add 16A8W quantization support and test for the sigmoid operation in ExecutorTorch ARM backend.
This follows the pattern established for linear and mul operations, extending int16 support to sigmoid operations.
Changes:
The 16A8W configuration uses 16-bit activations with 8-bit weights, enabling higher precision for activations while maintaining weight efficiency.
Differential Revision: D80510729
cc @digantdesai @freddan80 @per @zingo @oscarandersson8218