Skip to content

Conversation

@MartinPavella
Copy link
Collaborator

@MartinPavella MartinPavella commented Oct 14, 2025

Summary

Add support for aten.clone and dim_order_ops._clone_dim_order which set the dim order to "contiguous".

Test plan

unit tests provided.

cc @robert-kalmar

@pytorch-bot
Copy link

pytorch-bot bot commented Oct 14, 2025

🔗 Helpful Links

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

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

✅ You can merge normally! (1 Unrelated Failure)

As of commit cb3b8c7 with merge base c5b05a9 (image):

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 Oct 14, 2025
@MartinPavella MartinPavella changed the title Upstream/main nxp/eiex 490 upstream contiguous memory format support for aten.clone NXP backend: Add support for aten.clone with contiguous memory format Oct 15, 2025
@MartinPavella MartinPavella force-pushed the upstream/main-nxp/EIEX-490-upstream-contiguous-memory-format-support-for-aten.clone branch from ca77355 to 0d71247 Compare November 20, 2025 08:47
@MartinPavella
Copy link
Collaborator Author

@pytorchbot label "module: nxp" "release notes: nxp"

@pytorch-bot pytorch-bot bot added module: nxp Issues related to NXP Neutron NPU delegation and code under backends/nxp/ release notes: nxp Changes to the NXP Neutron backend delegate labels Nov 20, 2025
@MartinPavella MartinPavella force-pushed the upstream/main-nxp/EIEX-490-upstream-contiguous-memory-format-support-for-aten.clone branch from 0d71247 to 4e91b53 Compare November 20, 2025 08:56
@MartinPavella MartinPavella marked this pull request as ready for review November 20, 2025 09:07
@MartinPavella MartinPavella force-pushed the upstream/main-nxp/EIEX-490-upstream-contiguous-memory-format-support-for-aten.clone branch from 4e91b53 to e9f74c2 Compare December 8, 2025 07:00
@MartinPavella MartinPavella marked this pull request as draft December 8, 2025 10:59
@MartinPavella MartinPavella force-pushed the upstream/main-nxp/EIEX-490-upstream-contiguous-memory-format-support-for-aten.clone branch from e9f74c2 to 936e273 Compare December 16, 2025 07:54
@MartinPavella MartinPavella marked this pull request as ready for review December 16, 2025 07:55
@MartinPavella MartinPavella force-pushed the upstream/main-nxp/EIEX-490-upstream-contiguous-memory-format-support-for-aten.clone branch from 936e273 to 7df8667 Compare December 16, 2025 08:55
@MartinPavella MartinPavella force-pushed the upstream/main-nxp/EIEX-490-upstream-contiguous-memory-format-support-for-aten.clone branch from 7df8667 to 1e42fa0 Compare January 5, 2026 07:06
Copy link
Collaborator

@StrycekSimon StrycekSimon left a comment

Choose a reason for hiding this comment

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

Looks good to me.

…rmat.

This node is sometimes added into a QDQ cluster after lowering to edge, if a tensor has some specific memory format which is not supported by the following node.
@MartinPavella MartinPavella force-pushed the upstream/main-nxp/EIEX-490-upstream-contiguous-memory-format-support-for-aten.clone branch from 1e42fa0 to cb3b8c7 Compare January 7, 2026 09:23
@MartinPavella MartinPavella merged commit e847384 into pytorch:main Jan 7, 2026
139 of 140 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. module: nxp Issues related to NXP Neutron NPU delegation and code under backends/nxp/ release notes: nxp Changes to the NXP Neutron backend delegate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants