Skip to content

Conversation

@oscarandersson8218
Copy link
Collaborator

@oscarandersson8218 oscarandersson8218 commented Jan 22, 2025

Summary

Removes edge_compile_config.skip_dim_order = True which means that to_copy will be converted into to_dim_order_copy nodes. This commit adds support for to_dim_order_copy.

Change-Id: I46a30cd88125f3e2e26810352a1e0626bd5cce4a

cc @digantdesai @freddan80 @per @zingo

With edge_compile_config.skip_dim_order = True removed, to_copy will
be converted into to_dim_order_copy nodes. This commit moves our logic
from to_copy into to_dim_order_copy.

Signed-off-by: Oscar Andersson <[email protected]>
Change-Id: I46a30cd88125f3e2e26810352a1e0626bd5cce4a
@pytorch-bot
Copy link

pytorch-bot bot commented Jan 22, 2025

🔗 Helpful Links

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

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

❌ 2 New Failures, 1 Cancelled Job

As of commit 991d96f with merge base 91f09aa (image):

NEW FAILURES - The following jobs have failed:

CANCELLED JOB - The following job was cancelled. Please retry:

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 Jan 22, 2025
@oscarandersson8218 oscarandersson8218 added partner: arm For backend delegation, kernels, demo, etc. from the 3rd-party partner, Arm ciflow/trunk topic: not user facing and removed CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. labels Jan 22, 2025
@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 Jan 22, 2025
@register_tosa_support_check
class ToCopySupported(SupportedTOSAOperatorCheck):
targets = [exir_ops.edge.aten._to_copy.default]
targets = [
Copy link
Contributor

@digantdesai digantdesai Jan 22, 2025

Choose a reason for hiding this comment

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

I guess we don't lower empty?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Not as of today.

@zingo
Copy link
Collaborator

zingo commented Jan 23, 2025

Failing test seem unrealted to PR and fails on other PR's also.

@zingo zingo merged commit 135e875 into pytorch:main Jan 23, 2025
106 of 110 checks passed
@Gasoonjia
Copy link
Contributor

@pytorchbot cherry-pick --onto release/0.5 -c fixnewfeature

pytorchbot pushed a commit that referenced this pull request Jan 24, 2025
Add support for to_dim_order_copy

With edge_compile_config.skip_dim_order = True removed, to_copy will
be converted into to_dim_order_copy nodes. This commit moves our logic
from to_copy into to_dim_order_copy.

Signed-off-by: Oscar Andersson <[email protected]>
(cherry picked from commit 135e875)
@pytorchbot
Copy link
Collaborator

Cherry picking #7831

The cherry pick PR is at #7952 and it is recommended to link a fixnewfeature cherry pick PR with an issue. The following tracker issues are updated:

Details for Dev Infra team Raised by workflow job

SS-JIA pushed a commit that referenced this pull request Jan 27, 2025
Arm backend: enable dim_order (#7831)

Add support for to_dim_order_copy

With edge_compile_config.skip_dim_order = True removed, to_copy will
be converted into to_dim_order_copy nodes. This commit moves our logic
from to_copy into to_dim_order_copy.

Signed-off-by: Oscar Andersson <[email protected]>
(cherry picked from commit 135e875)

Co-authored-by: Oscar Andersson <[email protected]>
YIWENX14 pushed a commit that referenced this pull request Jan 28, 2025
Add support for to_dim_order_copy

With edge_compile_config.skip_dim_order = True removed, to_copy will
be converted into to_dim_order_copy nodes. This commit moves our logic
from to_copy into to_dim_order_copy.

Signed-off-by: Oscar Andersson <[email protected]>
zonglinpeng pushed a commit to zonglinpeng/executorch that referenced this pull request Jan 30, 2025
Add support for to_dim_order_copy

With edge_compile_config.skip_dim_order = True removed, to_copy will
be converted into to_dim_order_copy nodes. This commit moves our logic
from to_copy into to_dim_order_copy.

Signed-off-by: Oscar Andersson <[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. 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.

6 participants