Skip to content

Conversation

pytorchbot
Copy link
Collaborator

This PR was created by the merge bot to help merge the original PR into the main branch.
ghstack PR number: #13798 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/11/base
ghstack PR head: https://github.com/pytorch/executorch/tree/gh/Ninja91/11/head
Merge bot PR base: https://github.com/pytorch/executorch/tree/gh/Ninja91/10/orig
Merge bot PR head: https://github.com/pytorch/executorch/tree/gh/Ninja91/11/orig
@diff-train-skip-merge

Pull Request resolved: #13796

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.
ghstack-source-id: 308986667
@exported-using-ghexport

Differential Revision: [D80510729](https://our.internmc.facebook.com/intern/diff/D80510729/)
Pull Request resolved: #13797

Add 16A8W quantization support and test for the tanh operation in ExecutorTorch ARM backend.

This follows the pattern established for linear, mul, and sigmoid operations, extending int16 support to tanh operations.

Changes:
- Add INT16 dtype validation support in op_tanh.py
- Add test_tanh_tensor_16a8w_tosa_INT test function
- Enable test_tanh.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.
ghstack-source-id: 308986671
@exported-using-ghexport

Differential Revision: [D80510815](https://our.internmc.facebook.com/intern/diff/D80510815/)
Pull Request resolved: #13798

Add 16A8W quantization support and test for the slice operation in ExecutorTorch ARM backend.

This follows the pattern established for linear, mul, sigmoid, and tanh operations, extending int16 support to slice operations.

Changes:
- Add INT16 dtype validation support in op_slice.py
- Add test_slice_tensor_16a8w_tosa_INT test function
- Enable test_slice.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.
ghstack-source-id: 308986668
@exported-using-ghexport

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

pytorch-bot bot commented Sep 11, 2025

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/14215

Note: Links to docs will display an error until the docs builds have been completed.

❌ 1 New Failure, 19 Pending, 1 Unrelated Failure

As of commit 92ce104 with merge base 1d37845 (image):

NEW FAILURE - The following job has failed:

BROKEN TRUNK - The following job 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.

@meta-cla meta-cla bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Sep 11, 2025
Base automatically changed from gh/Ninja91/10/orig to main September 11, 2025 15:50
@Ninja91 Ninja91 self-requested a review September 11, 2025 15:50
@Ninja91 Ninja91 merged commit 7f95941 into main Sep 11, 2025
116 of 129 checks passed
@Ninja91 Ninja91 deleted the gh/Ninja91/11/orig branch September 11, 2025 15:57
StrycekSimon pushed a commit to nxp-upstream/executorch that referenced this pull request Sep 23, 2025
…14215)

This PR was created by the merge bot to help merge the original PR into
the main branch.
ghstack PR number: pytorch#13798 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/11/base
ghstack PR head:
https://github.com/pytorch/executorch/tree/gh/Ninja91/11/head
Merge bot PR base:
https://github.com/pytorch/executorch/tree/gh/Ninja91/10/orig
Merge bot PR head:
https://github.com/pytorch/executorch/tree/gh/Ninja91/11/orig
@diff-train-skip-merge

---------

Co-authored-by: Nitin Jain <jainnitin@meta.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants