Skip to content

Conversation

@oscarandersson8218
Copy link
Collaborator

Add both ahead-of-time and runtime guards to make sure we don't accept inputs with any other memory-format than contiguous format.

Change-Id: I9e29badbcf238d458e12f0d62394abae66d421b7

Add both ahead-of-time and runtime guards to make sure we don't accept
inputs with any other memory-format than contiguous format.

Signed-off-by: Oscar Andersson <oscar.andersson@arm.com>
Change-Id: I9e29badbcf238d458e12f0d62394abae66d421b7
@pytorch-bot
Copy link

pytorch-bot bot commented Sep 24, 2024

🔗 Helpful Links

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

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

✅ No Failures

As of commit 7812e34 with merge base df72b8c (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 Sep 24, 2024
@oscarandersson8218 oscarandersson8218 added partner: arm For backend delegation, kernels, demo, etc. from the 3rd-party partner, Arm ciflow/trunk 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 Sep 24, 2024
@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 Sep 24, 2024
@oscarandersson8218
Copy link
Collaborator Author

Addresses #4873 @digantdesai

@digantdesai
Copy link
Contributor

@oscarandersson8218 can you comment on 4873 saying it is resolved by this, just for visibility? Thanks again.

Copy link
Contributor

@digantdesai digantdesai left a comment

Choose a reason for hiding this comment

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

Since you don't lower to_copy or other core aten ops which takes torch.memory_format as an arg, this should be sufficient.

I would say please run ET tests locally with this switch flipped just to make sure.

@facebook-github-bot
Copy link
Contributor

@digantdesai has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

@facebook-github-bot
Copy link
Contributor

@digantdesai merged this pull request in 2dd88fb.

@oscarandersson8218
Copy link
Collaborator Author

oscarandersson8218 commented Oct 1, 2024

Since you don't lower to_copy or other core aten ops which takes torch.memory_format as an arg, this should be sufficient.

I would say please run ET tests locally with this switch flipped just to make sure.

Great! I gave it a go and everything passed @digantdesai

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. Merged partner: arm For backend delegation, kernels, demo, etc. from the 3rd-party partner, Arm

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants