Skip to content

Conversation

Ninja91
Copy link
Contributor

@Ninja91 Ninja91 commented Aug 25, 2025

Stack from ghstack (oldest at bottom):

  • Adds linear ops test using the 16A8W config in INT16 profile.
  • Adds support in view ops validation for INT16 Dtype.
  • Validated with TOSA pipeline test.
  • Checked earlier marked flaky tests no longer flaky and remove markers.

Note: Not verified with tosa reference model run.

Differential Revision: D80308822

- Adds linear ops test using the 16A8W config in INT16 profile.
- Adds support in view ops validation for INT16 Dtype.
- Validated with TOSA pipeline test.
- Checked earlier marked flaky tests no longer flaky and remove markers.

Note: Not verified with tosa reference model run.

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

[ghstack-poisoned]
Copy link

pytorch-bot bot commented Aug 25, 2025

🔗 Helpful Links

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

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

❌ 3 New Failures

As of commit 019d222 with merge base 9053089 (image):

NEW FAILURES - The following jobs have failed:

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 Aug 25, 2025
Ninja91 added a commit that referenced this pull request Aug 25, 2025
- Adds linear ops test using the 16A8W config in INT16 profile.
- Adds support in view ops validation for INT16 Dtype.
- Validated with TOSA pipeline test.
- Checked earlier marked flaky tests no longer flaky and remove markers.

Note: Not verified with tosa reference model run.

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

ghstack-source-id: 305494502
Pull Request resolved: #13658
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D80308822

Copy link

This PR needs a release notes: label

If your change should be included in the release notes (i.e. would users of this library care about this change?), please use a label starting with release notes:. This helps us keep track and include your important work in the next release notes.

To add a label, you can comment to pytorchbot, for example
@pytorchbot label "release notes: none"

For more information, see
https://github.com/pytorch/pytorch/wiki/PyTorch-AutoLabel-Bot#why-categorize-for-release-notes-and-how-does-it-work.

@Ninja91 Ninja91 self-assigned this Aug 25, 2025
@Ninja91 Ninja91 requested a review from per August 25, 2025 21:43
@Ninja91
Copy link
Contributor Author

Ninja91 commented Aug 25, 2025

Updated version of #13448. Closing the former.

@Ninja91
Copy link
Contributor Author

Ninja91 commented Aug 25, 2025

@per @digantdesai some of CI is failing but it doesn't appear to be related to code change here.

- Adds linear ops test using the 16A8W config in INT16 profile.
- Adds support in view ops validation for INT16 Dtype.
- Validated with TOSA pipeline test.
- Checked earlier marked flaky tests no longer flaky and remove markers.

Note: Not verified with tosa reference model run.

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

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

This pull request was exported from Phabricator. Differential Revision: D80308822

Copy link
Collaborator

@per per left a comment

Choose a reason for hiding this comment

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

Nice! Two small suggestions, otherwise LGTM.

validate_valid_dtype(
self.target,
[inputs[0], output],
[ts.DType.INT8, ts.DType.INT32, ts.DType.FP32, ts.DType.BOOL],
Copy link
Collaborator

Choose a reason for hiding this comment

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

Same as for op_transpose.py

@digantdesai
Copy link
Contributor

backends/arm/test/ops/test_sigmoid_16bit.py::test_sigmoid_tosa_INT_add_sigmoid[rand] failure seems unrelated.

- Adds linear ops test using the 16A8W config in INT16 profile.
- Adds support in view ops validation for INT16 Dtype.
- Validated with TOSA pipeline test.
- Checked earlier marked flaky tests no longer flaky and remove markers.

Note: Not verified with tosa reference model run.

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

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

This pull request was exported from Phabricator. Differential Revision: D80308822

- Adds linear ops test using the 16A8W config in INT16 profile.
- Adds support in view ops validation for INT16 Dtype.
- Validated with TOSA pipeline test.
- Checked earlier marked flaky tests no longer flaky and remove markers.

Note: Not verified with tosa reference model run.

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

[ghstack-poisoned]
Ninja91 added a commit that referenced this pull request Aug 27, 2025
Pull Request resolved: #13658

- Adds linear ops test using the 16A8W config in INT16 profile.
- Adds support in view ops validation for INT16 Dtype.
- Validated with TOSA pipeline test.
- Checked earlier marked flaky tests no longer flaky and remove markers.

Note: Not verified with tosa reference model run.
ghstack-source-id: 305893128

Differential Revision: [D80308822](https://our.internmc.facebook.com/intern/diff/D80308822/)
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D80308822

- Adds linear ops test using the 16A8W config in INT16 profile.
- Adds support in view ops validation for INT16 Dtype.
- Validated with TOSA pipeline test.
- Checked earlier marked flaky tests no longer flaky and remove markers.

Note: Not verified with tosa reference model run.

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

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

This pull request was exported from Phabricator. Differential Revision: D80308822

@facebook-github-bot facebook-github-bot merged commit 8d7c687 into gh/Ninja91/3/base Aug 28, 2025
107 of 112 checks passed
@facebook-github-bot facebook-github-bot deleted the gh/Ninja91/3/head branch August 28, 2025 07:27
@per
Copy link
Collaborator

per commented Aug 29, 2025

@digantdesai Were was this merged? Can't see it on main... Getting a bit confused by the ghstack stuff 😕

@digantdesai
Copy link
Contributor

@Ninja91 ?

@Ninja91
Copy link
Contributor Author

Ninja91 commented Sep 1, 2025

@digantdesai Were was this merged? Can't see it on main... Getting a bit confused by the ghstack stuff 😕

This diff was merged and new PR was created for main branch here: #13754

I see that there are some tests failing. Looks like the change to use support_integer() causes FP tests fail as some ops are still INT.
if self.tosa_spec.support_integer(): valid.dtypes.extend([ts.DType.INT8, ts.DType.INT16]) if self.tosa_spec.support_float(): valid.dtypes.extend([ts.DType.FP16, ts.DType.FP32])

What would be your suggestion?

@digantdesai
Copy link
Contributor

this didn't merge with main, can you push this to main manually?

lucylq pushed a commit that referenced this pull request Sep 2, 2025
This PR was created by the merge bot to help merge the original PR into
the main branch.
ghstack PR number: #13658 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/3/base
ghstack PR head:
https://github.com/pytorch/executorch/tree/gh/Ninja91/3/head
Merge bot PR base:
https://github.com/pytorch/executorch/tree/gh/Ninja91/1/orig
Merge bot PR head:
https://github.com/pytorch/executorch/tree/gh/Ninja91/3/orig
@diff-train-skip-merge

cc @digantdesai @freddan80 @per @zingo @oscarandersson8218

---------

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. fb-exported
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants