Skip to content

Conversation

@derekxu
Copy link
Contributor

@derekxu derekxu commented Dec 24, 2025

Handle edge case of the range constraints of mixed Symbol + int where the replacement does not have the key.
E.g. {s11: VR[2, 32], s11 + 2048: VR[2050, 2080]}
The replacements only have key "s11" due to "s11 + 2048" is merged to s11. This is needed to the StaticAttention attention class that the attention mask append the dynamic seq_len at the last dimension.
Dynamic shapes and mixed symbol are required for the CoreML enumerated shapes as the precursor for ET enabled CoreML enumerated shape

Differential Revision: D89754133

@pytorch-bot
Copy link

pytorch-bot bot commented Dec 24, 2025

🔗 Helpful Links

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

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

❗ 1 Active SEVs

There are 1 currently active SEVs. If your PR is affected, please view them below:

❌ 1 New Failure, 8 Pending, 1 Unrelated Failure

As of commit c6440a7 with merge base 31ec75e (image):

NEW FAILURE - The following job has failed:

UNSTABLE - The following job is marked as unstable, possibly due to flakiness on trunk:

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 Dec 24, 2025
@meta-codesync
Copy link

meta-codesync bot commented Dec 24, 2025

@derekxu has exported this pull request. If you are a Meta employee, you can view the originating Diff in D89754133.

@github-actions
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.

derekxu pushed a commit to derekxu/executorch that referenced this pull request Dec 26, 2025
@derekxu derekxu force-pushed the export-D89754133 branch 2 times, most recently from 9a4cb8e to dbda7d1 Compare December 30, 2025 18:10
derekxu pushed a commit to derekxu/executorch that referenced this pull request Dec 30, 2025
@derekxu
Copy link
Contributor Author

derekxu commented Dec 30, 2025

@pytorchbot label "topic: not user facing"

derekxu pushed a commit to derekxu/executorch that referenced this pull request Dec 30, 2025
Summary:

Handle edge case of the range constraints of mixed Symbol + int where the replacement does not have the key.

E.g. {s11: VR[2, 32], s11 + 2048: VR[2050, 2080]}

The replacements only have key "s11" due to "s11 + 2048" is merged to s11. This is needed to the StaticAttention attention class that the attention mask append the dynamic seq_len at the last dimension. 

Dynamic shapes and mixed symbol are required for the CoreML enumerated shapes as the precursor for ET enabled CoreML enumerated shape

Reviewed By: kimishpatel

Differential Revision: D89754133
Summary:

Handle edge case of the range constraints of mixed Symbol + int where the replacement does not have the key.

E.g. {s11: VR[2, 32], s11 + 2048: VR[2050, 2080]}

The replacements only have key "s11" due to "s11 + 2048" is merged to s11. This is needed to the StaticAttention attention class that the attention mask append the dynamic seq_len at the last dimension. 

Dynamic shapes and mixed symbol are required for the CoreML enumerated shapes as the precursor for ET enabled CoreML enumerated shape

Reviewed By: kimishpatel

Differential Revision: D89754133
@meta-codesync meta-codesync bot merged commit 5ad4da4 into pytorch:main Dec 30, 2025
140 of 143 checks passed
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 meta-exported topic: not user facing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants