Skip to content

Conversation

@Gasoonjia
Copy link
Contributor

@Gasoonjia Gasoonjia commented Dec 5, 2024

Stack from ghstack (oldest at bottom):

This diff updates DimOrderOpsMap from name-to-operator mapping to operator-to-operator mapping, which has multiple benefits:

  1. Reduce dialect ambiguity. Different dialects op may map to same name (e.g. aten.to_copy and exir_ops.edge.aten._to_copy.default). Directly using op can diminish the ambiguity.
  2. Auto-maintain MemoryFormatOpsMap by reverting DimOrderOpsMap

Differential Revision: D66773612

This diff updates DimOrderOpsMap from name-to-operator mapping to operator-to-operator mapping, which has multiple benefits:

1. Reduce dialect ambiguity. Different dialects op may map to same name (e.g. `aten.to_copy` and `exir_ops.edge.aten._to_copy.default`). Directly using op can diminish the ambiguity.
2. Auto-maintain MemoryFormatOpsMap by reverting DimOrderOpsMap

Differential Revision: [D66773612](https://our.internmc.facebook.com/intern/diff/D66773612/)

[ghstack-poisoned]
@pytorch-bot
Copy link

pytorch-bot bot commented Dec 5, 2024

🔗 Helpful Links

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

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

❌ 1 New Failure

As of commit 98ea326 with merge base 8861b9a (image):

NEW FAILURE - The following job has failed:

  • pull / unittest-arm / linux-job (gh)
    RuntimeError: Command docker exec -t 79dfe2ca526781ecca7a95eed79a5562f34c60c084576fe6eb62a9ffa4c6bde4 /exec failed with exit code 1

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 Dec 5, 2024
Gasoonjia added a commit that referenced this pull request Dec 5, 2024
This diff updates DimOrderOpsMap from name-to-operator mapping to operator-to-operator mapping, which has multiple benefits:

1. Reduce dialect ambiguity. Different dialects op may map to same name (e.g. `aten.to_copy` and `exir_ops.edge.aten._to_copy.default`). Directly using op can diminish the ambiguity.
2. Auto-maintain MemoryFormatOpsMap by reverting DimOrderOpsMap

Differential Revision: [D66773612](https://our.internmc.facebook.com/intern/diff/D66773612/)

ghstack-source-id: 256625754
Pull Request resolved: #7187
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D66773612

…rator mapping"

This diff updates DimOrderOpsMap from name-to-operator mapping to operator-to-operator mapping, which has multiple benefits:

1. Reduce dialect ambiguity. Different dialects op may map to same name (e.g. `aten.to_copy` and `exir_ops.edge.aten._to_copy.default`). Directly using op can diminish the ambiguity.
2. Auto-maintain MemoryFormatOpsMap by reverting DimOrderOpsMap

Differential Revision: [D66773612](https://our.internmc.facebook.com/intern/diff/D66773612/)

[ghstack-poisoned]
Gasoonjia added a commit that referenced this pull request Dec 5, 2024
Pull Request resolved: #7187

This diff updates DimOrderOpsMap from name-to-operator mapping to operator-to-operator mapping, which has multiple benefits:

1. Reduce dialect ambiguity. Different dialects op may map to same name (e.g. `aten.to_copy` and `exir_ops.edge.aten._to_copy.default`). Directly using op can diminish the ambiguity.
2. Auto-maintain MemoryFormatOpsMap by reverting DimOrderOpsMap
ghstack-source-id: 256628254
@exported-using-ghexport

Differential Revision: [D66773612](https://our.internmc.facebook.com/intern/diff/D66773612/)
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D66773612

…rator mapping"

This diff updates DimOrderOpsMap from name-to-operator mapping to operator-to-operator mapping, which has multiple benefits:

1. Reduce dialect ambiguity. Different dialects op may map to same name (e.g. `aten.to_copy` and `exir_ops.edge.aten._to_copy.default`). Directly using op can diminish the ambiguity.
2. Auto-maintain MemoryFormatOpsMap by reverting DimOrderOpsMap

Differential Revision: [D66773612](https://our.internmc.facebook.com/intern/diff/D66773612/)

[ghstack-poisoned]
Gasoonjia added a commit that referenced this pull request Dec 5, 2024
Pull Request resolved: #7187

This diff updates DimOrderOpsMap from name-to-operator mapping to operator-to-operator mapping, which has multiple benefits:

1. Reduce dialect ambiguity. Different dialects op may map to same name (e.g. `aten.to_copy` and `exir_ops.edge.aten._to_copy.default`). Directly using op can diminish the ambiguity.
2. Auto-maintain MemoryFormatOpsMap by reverting DimOrderOpsMap
ghstack-source-id: 256633613
@exported-using-ghexport

Differential Revision: [D66773612](https://our.internmc.facebook.com/intern/diff/D66773612/)
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D66773612

@Gasoonjia
Copy link
Contributor Author

@pytorchbot label "topic: not user facing"

@facebook-github-bot facebook-github-bot merged commit 7150662 into gh/Gasoonjia/3/base Dec 5, 2024
40 of 44 checks passed
@facebook-github-bot facebook-github-bot deleted the gh/Gasoonjia/3/head branch December 5, 2024 06:06
kirklandsign pushed a commit that referenced this pull request Dec 5, 2024
Pull Request resolved: #7187

This diff updates DimOrderOpsMap from name-to-operator mapping to operator-to-operator mapping, which has multiple benefits:

1. Reduce dialect ambiguity. Different dialects op may map to same name (e.g. `aten.to_copy` and `exir_ops.edge.aten._to_copy.default`). Directly using op can diminish the ambiguity.
2. Auto-maintain MemoryFormatOpsMap by reverting DimOrderOpsMap
ghstack-source-id: 256633613
@exported-using-ghexport

Differential Revision: [D66773612](https://our.internmc.facebook.com/intern/diff/D66773612/)

Co-authored-by: gasoonjia <[email protected]>
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 topic: not user facing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants