Move tensor layout into exir#14666
Conversation
TensorLayout is used by the data_serializer.py abstract class, which is part of //executorch/exir:lib https://www.internalfb.com/code/fbsource/[721dbb621c0b8c460715e5c49bc9c12757e8ccc8]/fbcode/executorch/exir/_serialize/data_serializer.py?lines=6 Shouldn't add extension/flat_tensor:flat_tensor_schema as a dependency to executorch/exir:lib. Note the C++ equivalent is in runtime/core, so I think this makes sense. Differential Revision: [D83504588](https://our.internmc.facebook.com/intern/diff/D83504588/) [ghstack-poisoned]
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/14666
Note: Links to docs will display an error until the docs builds have been completed. ✅ No FailuresAs of commit ef193b8 with merge base fb87fa6 ( This comment was automatically generated by Dr. CI and updates every 15 minutes. |
This PR needs a
|
TensorLayout is used by the data_serializer.py abstract class, which is part of //executorch/exir:lib https://www.internalfb.com/code/fbsource/[721dbb621c0b8c460715e5c49bc9c12757e8ccc8]/fbcode/executorch/exir/_serialize/data_serializer.py?lines=6 Shouldn't add extension/flat_tensor:flat_tensor_schema as a dependency to executorch/exir:lib. Note the C++ equivalent is in runtime/core, so I think this makes sense. Differential Revision: [D83504588](https://our.internmc.facebook.com/intern/diff/D83504588/) [ghstack-poisoned]
Pull Request resolved: #14666 TensorLayout is used by the data_serializer.py abstract class, which is part of //executorch/exir:lib https://www.internalfb.com/code/fbsource/[721dbb621c0b8c460715e5c49bc9c12757e8ccc8]/fbcode/executorch/exir/_serialize/data_serializer.py?lines=6 Shouldn't add extension/flat_tensor:flat_tensor_schema as a dependency to executorch/exir:lib. Note the C++ equivalent is in runtime/core, so I think this makes sense. ghstack-source-id: 314887613 @exported-using-ghexport Differential Revision: [D83504588](https://our.internmc.facebook.com/intern/diff/D83504588/)
26a555d
into
gh/lucylq/114/base
This PR was created by the merge bot to help merge the original PR into the main branch. ghstack PR number: #14666 by @lucylq ^ Please use this as the source of truth for the PR details, comments, and reviews ghstack PR base: https://github.com/pytorch/executorch/tree/gh/lucylq/114/base ghstack PR head: https://github.com/pytorch/executorch/tree/gh/lucylq/114/head Merge bot PR base: https://github.com/pytorch/executorch/tree/main Merge bot PR head: https://github.com/pytorch/executorch/tree/gh/lucylq/114/orig Differential Revision: [D83504588](https://our.internmc.facebook.com/intern/diff/D83504588/) @diff-train-skip-merge Co-authored-by: lucylq <lfq@meta.com>
This PR was created by the merge bot to help merge the original PR into the main branch. ghstack PR number: pytorch#14666 by @lucylq ^ Please use this as the source of truth for the PR details, comments, and reviews ghstack PR base: https://github.com/pytorch/executorch/tree/gh/lucylq/114/base ghstack PR head: https://github.com/pytorch/executorch/tree/gh/lucylq/114/head Merge bot PR base: https://github.com/pytorch/executorch/tree/main Merge bot PR head: https://github.com/pytorch/executorch/tree/gh/lucylq/114/orig Differential Revision: [D83504588](https://our.internmc.facebook.com/intern/diff/D83504588/) @diff-train-skip-merge Co-authored-by: lucylq <lfq@meta.com>
Stack from ghstack (oldest at bottom):
TensorLayout is used by the data_serializer.py abstract class, which is part of //executorch/exir:lib
https://www.internalfb.com/code/fbsource/[721dbb621c0b8c460715e5c49bc9c12757e8ccc8]/fbcode/executorch/exir/_serialize/data_serializer.py?lines=6
Shouldn't add extension/flat_tensor:flat_tensor_schema as a dependency to executorch/exir:lib.
Note the C++ equivalent is in runtime/core, so I think this makes sense.
Differential Revision: D83504588