Skip to content

Conversation

@YufengShi-dudu
Copy link
Collaborator

@YufengShi-dudu YufengShi-dudu commented May 12, 2025

  • In UnsqueezeScalarPlaceholdersPass, only the placeholders that meet certain conditions will be unsqueezed. Otherwise, they retain their original shape. This patch adds a new check to ensure that placeholders that don't meet the conditions should be skipped

Change-Id: I9d348dff607f04f2dd28d2b9ef744c1bda410f5d

cc @digantdesai @freddan80 @per @zingo @oscarandersson8218

- In UnsqueezeScalarPlaceholdersPass, only the placeholders that
  meet certain conditions will be unsqueezed. Otherwise, they
  retain their original shape.
  This patch adds a new check to ensure that placeholders that
  don't meet the conditions should be skipped

Change-Id: I9d348dff607f04f2dd28d2b9ef744c1bda410f5d
Signed-off-by: Yufeng Shi <[email protected]>
@YufengShi-dudu YufengShi-dudu added partner: arm For backend delegation, kernels, demo, etc. from the 3rd-party partner, Arm ciflow/trunk topic: not user facing labels May 12, 2025
@pytorch-bot
Copy link

pytorch-bot bot commented May 12, 2025

🔗 Helpful Links

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

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

✅ No Failures

As of commit a9e4cdb with merge base b173722 (image):
💚 Looks good so far! There are no failures yet. 💚

This comment was automatically generated by Dr. CI and updates every 15 minutes.

@facebook-github-bot facebook-github-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 May 12, 2025
@YufengShi-dudu
Copy link
Collaborator Author

Ready to merge

@oscarandersson8218 oscarandersson8218 merged commit fbb3ad1 into pytorch:main May 12, 2025
182 checks passed
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. partner: arm For backend delegation, kernels, demo, etc. from the 3rd-party partner, Arm topic: not user facing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants