Skip to content

Arm backend: Relax SymbolicShapeSupport-checks - #22834

Merged
JacobSzwejbka merged 1 commit into
release/1.5from
cherry-pick-22826-by-pytorch_bot_bot_
Sep 17, 2026
Merged

JacobSzwejbka merged 1 commit into
release/1.5from
cherry-pick-22826-by-pytorch_bot_bot_

Conversation

@pytorchbot

@pytorchbot pytorchbot commented Sep 15, 2026 •

Copy link
Copy Markdown
Collaborator

Allow TOSA support checks to distinguish between symbolic tensor metadata and symbolic shape materialization.

Without the TOSA shape extension, symbolic tensor input/output shapes can still be accepted for ops whose lowering does not need materialized shape values. Reject symbolic SymInt arguments and the known shape- dependent edge cases instead.

For targets that require fully resolved tensor shapes, add a separate partitioner-level check that rejects nodes with unresolved tensor input or output shapes.

cc @digantdesai @freddan80 @per @zingo @oscarandersson8218 @mansnils @Sebastian-Larsson @robell @rascani

@pytorch-bot

pytorch-bot Bot commented Sep 15, 2026 •

Copy link
Copy Markdown

🔗 Helpful Links

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

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

⏳ No Failures, 1 Pending

As of commit 9afbe40 with merge base 5cdcc02 (image):
💚 Looks good so far! There are no failures yet. 💚

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 15, 2026
@github-actions github-actions Bot added ciflow/trunk module: arm Issues related to arm backend labels Sep 15, 2026
@JacobSzwejbka

Copy link
Copy Markdown
Contributor

@pytorchbot rerun -f

@pytorch-bot

pytorch-bot Bot commented Sep 17, 2026

Copy link
Copy Markdown

❌ 🤖 pytorchbot command failed:

@pytorchbot: error: argument command: invalid choice: 'rerun' (choose from 'merge', 'revert', 'rebase', 'label', 'drci', 'lint', 'fix-lint', 'apply-lint', 'cherry-pick')

usage: @pytorchbot [-h]
                   
                   {merge,revert,rebase,label,drci,lint,fix-lint,apply-lint,cherry-pick}
                   ...

Try @pytorchbot --help for more info.

@JacobSzwejbka

Copy link
Copy Markdown
Contributor

@pytorchbot rebase -b release/1.5

Allow TOSA support checks to distinguish between symbolic tensor
metadata and symbolic shape materialization.

Without the TOSA shape extension, symbolic tensor input/output shapes
can still be accepted for ops whose lowering does not need materialized
shape values. Reject symbolic SymInt arguments and the known shape-
dependent edge cases instead.

For targets that require fully resolved tensor shapes, add a separate
partitioner-level check that rejects nodes with unresolved tensor input
or output shapes.

cc @digantdesai @freddan80 @per @zingo @mansnils @Sebastian-Larsson
@robell @rascani

Signed-off-by: Oscar Andersson <oscar.andersson@arm.com>
(cherry picked from commit 1498f7a)
@JacobSzwejbka
JacobSzwejbka merged commit 65bfc94 into release/1.5 Sep 17, 2026
541 checks passed
@JacobSzwejbka
JacobSzwejbka deleted the cherry-pick-22826-by-pytorch_bot_bot_ branch September 17, 2026 21:25
@zingo

zingo commented Sep 17, 2026

Copy link
Copy Markdown
Collaborator

Thanks 🙏

This branch was successfully deployed

1 active deployment
cadence — 9afbe407 Deployed Sep 17, 2026 by JacobSzwejbka via hifi-op-test / hifi4 #28414
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. module: arm Issues related to arm backend

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants