Skip to content

Conversation

@Ninja91
Copy link
Contributor

@Ninja91 Ninja91 commented Sep 17, 2025

Stack from ghstack (oldest at bottom):

Add U55 and U85 16A8W quantization tests for linear operations following the pattern established in D80510628 for mul operations.

This adds test coverage for 16A8W (16-bit activations, 8-bit weights) quantization on both Ethos-U55 and Ethos-U85 platforms for linear operations. Both tests are marked with xfail annotations due to the known Vela compilation issue where int16 linear operations fail with "Conv2D Invalid arguments" error.

The tests follow the same structure as the existing 16A8W TOSA test but target specific hardware platforms:

  • test_linear_16a8w_u55_INT16: Tests on U55 with rank1 data
  • test_linear_16a8w_u85_INT16: Tests on U85 with both rank1 and rank4 data

Both tests use the same symmetric A16W8 quantization configuration and are properly decorated with platform-specific skip conditions (XfailIfNoCorstone300/320) and pytest xfail markers referencing GitHub issue 13947.

Addresses: #13729

Differential Revision: D82618039

Add U55 and U85 16A8W quantization tests for linear operations following the pattern established in D80510628 for mul operations.

This adds test coverage for 16A8W (16-bit activations, 8-bit weights) quantization on both Ethos-U55 and Ethos-U85 platforms for linear operations. Both tests are marked with xfail annotations due to the known Vela compilation issue where int16 linear operations fail with "Conv2D Invalid arguments" error.

The tests follow the same structure as the existing 16A8W TOSA test but target specific hardware platforms:
- test_linear_16a8w_u55_INT16: Tests on U55 with rank1 data
- test_linear_16a8w_u85_INT16: Tests on U85 with both rank1 and rank4 data

Both tests use the same symmetric A16W8 quantization configuration and are properly decorated with platform-specific skip conditions (XfailIfNoCorstone300/320) and pytest xfail markers referencing GitHub issue 13947.

Addresses: #13729

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

[ghstack-poisoned]
Ninja91 added a commit that referenced this pull request Sep 17, 2025
Add U55 and U85 16A8W quantization tests for linear operations following the pattern established in D80510628 for mul operations.

This adds test coverage for 16A8W (16-bit activations, 8-bit weights) quantization on both Ethos-U55 and Ethos-U85 platforms for linear operations. Both tests are marked with xfail annotations due to the known Vela compilation issue where int16 linear operations fail with "Conv2D Invalid arguments" error.

The tests follow the same structure as the existing 16A8W TOSA test but target specific hardware platforms:
- test_linear_16a8w_u55_INT16: Tests on U55 with rank1 data
- test_linear_16a8w_u85_INT16: Tests on U85 with both rank1 and rank4 data

Both tests use the same symmetric A16W8 quantization configuration and are properly decorated with platform-specific skip conditions (XfailIfNoCorstone300/320) and pytest xfail markers referencing GitHub issue 13947.

Addresses: #13729

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

ghstack-source-id: 310226077
Pull Request resolved: #14368
@pytorch-bot
Copy link

pytorch-bot bot commented Sep 17, 2025

🔗 Helpful Links

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

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

❌ 2 New Failures, 1 Pending

As of commit 2cb2a6c with merge base 07d1092 (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 Sep 17, 2025
@facebook-github-bot
Copy link
Contributor

@Ninja91 has exported this pull request. If you are a Meta employee, you can view the originating diff in D82618039.

@Ninja91 Ninja91 requested a review from per September 17, 2025 07:59
@digantdesai
Copy link
Contributor

@digantdesai
Copy link
Contributor

Added ciflow/trunk label to run fvp tests.

@Ninja91
Copy link
Contributor Author

Ninja91 commented Sep 17, 2025

Add U55 and U85 16A8W quantization tests for linear operations following the pattern established in D80510628 for mul operations.

This adds test coverage for 16A8W (16-bit activations, 8-bit weights) quantization on both Ethos-U55 and Ethos-U85 platforms for linear operations. Both tests are marked with xfail annotations due to the known Vela compilation issue where int16 linear operations fail with "Conv2D Invalid arguments" error.

The tests follow the same structure as the existing 16A8W TOSA test but target specific hardware platforms:
- test_linear_16a8w_u55_INT16: Tests on U55 with rank1 data
- test_linear_16a8w_u85_INT16: Tests on U85 with both rank1 and rank4 data

Both tests use the same symmetric A16W8 quantization configuration and are properly decorated with platform-specific skip conditions (XfailIfNoCorstone300/320) and pytest xfail markers referencing GitHub issue 13947.

Addresses: #13729

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

[ghstack-poisoned]
Ninja91 added a commit that referenced this pull request Sep 19, 2025
Pull Request resolved: #14368

Add U55 and U85 16A8W quantization tests for linear operations following the pattern established in D80510628 for mul operations.

This adds test coverage for 16A8W (16-bit activations, 8-bit weights) quantization on both Ethos-U55 and Ethos-U85 platforms for linear operations. Both tests are marked with xfail annotations due to the known Vela compilation issue where int16 linear operations fail with "Conv2D Invalid arguments" error.

The tests follow the same structure as the existing 16A8W TOSA test but target specific hardware platforms:
- test_linear_16a8w_u55_INT16: Tests on U55 with rank1 data
- test_linear_16a8w_u85_INT16: Tests on U85 with both rank1 and rank4 data

Both tests use the same symmetric A16W8 quantization configuration and are properly decorated with platform-specific skip conditions (XfailIfNoCorstone300/320) and pytest xfail markers referencing GitHub issue 13947.

Addresses: #13729
ghstack-source-id: 310974295
@exported-using-ghexport

Differential Revision: [D82618039](https://our.internmc.facebook.com/intern/diff/D82618039/)
Add U55 and U85 16A8W quantization tests for linear operations following the pattern established in D80510628 for mul operations.

This adds test coverage for 16A8W (16-bit activations, 8-bit weights) quantization on both Ethos-U55 and Ethos-U85 platforms for linear operations. Both tests are marked with xfail annotations due to the known Vela compilation issue where int16 linear operations fail with "Conv2D Invalid arguments" error.

The tests follow the same structure as the existing 16A8W TOSA test but target specific hardware platforms:
- test_linear_16a8w_u55_INT16: Tests on U55 with rank1 data
- test_linear_16a8w_u85_INT16: Tests on U85 with both rank1 and rank4 data

Both tests use the same symmetric A16W8 quantization configuration and are properly decorated with platform-specific skip conditions (XfailIfNoCorstone300/320) and pytest xfail markers referencing GitHub issue 13947.

Addresses: #13729

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

[ghstack-poisoned]
Ninja91 added a commit that referenced this pull request Sep 19, 2025
Pull Request resolved: #14368

Add U55 and U85 16A8W quantization tests for linear operations following the pattern established in D80510628 for mul operations.

This adds test coverage for 16A8W (16-bit activations, 8-bit weights) quantization on both Ethos-U55 and Ethos-U85 platforms for linear operations. Both tests are marked with xfail annotations due to the known Vela compilation issue where int16 linear operations fail with "Conv2D Invalid arguments" error.

The tests follow the same structure as the existing 16A8W TOSA test but target specific hardware platforms:
- test_linear_16a8w_u55_INT16: Tests on U55 with rank1 data
- test_linear_16a8w_u85_INT16: Tests on U85 with both rank1 and rank4 data

Both tests use the same symmetric A16W8 quantization configuration and are properly decorated with platform-specific skip conditions (XfailIfNoCorstone300/320) and pytest xfail markers referencing GitHub issue 13947.

Addresses: #13729
ghstack-source-id: 310975048
@exported-using-ghexport

Differential Revision: [D82618039](https://our.internmc.facebook.com/intern/diff/D82618039/)
Add U55 and U85 16A8W quantization tests for linear operations following the pattern established in D80510628 for mul operations.

This adds test coverage for 16A8W (16-bit activations, 8-bit weights) quantization on both Ethos-U55 and Ethos-U85 platforms for linear operations. Both tests are marked with xfail annotations due to the known Vela compilation issue where int16 linear operations fail with "Conv2D Invalid arguments" error.

The tests follow the same structure as the existing 16A8W TOSA test but target specific hardware platforms:
- test_linear_16a8w_u55_INT16: Tests on U55 with rank1 data
- test_linear_16a8w_u85_INT16: Tests on U85 with both rank1 and rank4 data

Both tests use the same symmetric A16W8 quantization configuration and are properly decorated with platform-specific skip conditions (XfailIfNoCorstone300/320) and pytest xfail markers referencing GitHub issue 13947.

Addresses: #13729

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

[ghstack-poisoned]
Ninja91 added a commit that referenced this pull request Sep 20, 2025
Pull Request resolved: #14368

Add U55 and U85 16A8W quantization tests for linear operations following the pattern established in D80510628 for mul operations.

This adds test coverage for 16A8W (16-bit activations, 8-bit weights) quantization on both Ethos-U55 and Ethos-U85 platforms for linear operations. Both tests are marked with xfail annotations due to the known Vela compilation issue where int16 linear operations fail with "Conv2D Invalid arguments" error.

The tests follow the same structure as the existing 16A8W TOSA test but target specific hardware platforms:
- test_linear_16a8w_u55_INT16: Tests on U55 with rank1 data
- test_linear_16a8w_u85_INT16: Tests on U85 with both rank1 and rank4 data

Both tests use the same symmetric A16W8 quantization configuration and are properly decorated with platform-specific skip conditions (XfailIfNoCorstone300/320) and pytest xfail markers referencing GitHub issue 13947.

Addresses: #13729
ghstack-source-id: 310981820
@exported-using-ghexport

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

@Ninja91 has exported this pull request. If you are a Meta employee, you can view the originating diff in D82618039.

@Ninja91 Ninja91 added the release notes: arm Changes to the ARM backend delegate label Sep 20, 2025
@facebook-github-bot facebook-github-bot merged commit 9e46d9c into gh/Ninja91/19/base Sep 20, 2025
278 of 282 checks passed
@facebook-github-bot facebook-github-bot deleted the gh/Ninja91/19/head branch September 20, 2025 03:43
Ninja91 added a commit that referenced this pull request Sep 21, 2025
This PR was created by the merge bot to help merge the original PR into
the main branch.
ghstack PR number: #14368 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/19/base
ghstack PR head:
https://github.com/pytorch/executorch/tree/gh/Ninja91/19/head
Merge bot PR base: https://github.com/pytorch/executorch/tree/main
Merge bot PR head:
https://github.com/pytorch/executorch/tree/gh/Ninja91/19/orig
@diff-train-skip-merge

Co-authored-by: Nitin Jain <[email protected]>
StrycekSimon pushed a commit to nxp-upstream/executorch that referenced this pull request Sep 23, 2025
This PR was created by the merge bot to help merge the original PR into
the main branch.
ghstack PR number: pytorch#14368 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/19/base
ghstack PR head:
https://github.com/pytorch/executorch/tree/gh/Ninja91/19/head
Merge bot PR base: https://github.com/pytorch/executorch/tree/main
Merge bot PR head:
https://github.com/pytorch/executorch/tree/gh/Ninja91/19/orig
@diff-train-skip-merge

Co-authored-by: Nitin Jain <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ciflow/trunk CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported meta-exported release notes: arm Changes to the ARM backend delegate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants