Skip to content

Conversation

@pytorchbot
Copy link
Collaborator

This PR was created by the merge bot to help merge the original PR into the main branch.
ghstack PR number: #7740
^ 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/jorgep31415/130/base
ghstack PR head: https://github.com/pytorch/executorch/tree/gh/jorgep31415/130/head
Merge bot PR base: https://github.com/pytorch/executorch/tree/gh/jorgep31415/129/orig
Merge bot PR head: https://github.com/pytorch/executorch/tree/gh/jorgep31415/130/orig
@diff-train-skip-merge

jorgep31415 added 2 commits January 21, 2025 09:13
Pull Request resolved: #7738

## Issue
In the ET-SDK, we assign an `event_name` to each operation. In ET-VK, we compose a unique `event_name` using the `node_id`. The `node_id` exists for every `OperatorCall` but not for input/output with `nchw_to_image`/`image_to_nchw`. Those cases collapse into `node_id == 0` which means all `nchw_to_image` had the same `event_name` and hence only one was stored. The same reasoning results in storage of only one `image_to_nchw`.

## Solution
Ignore the serialized `node_id` and use the operation's `prepack_node`/`execute_node` vector index.

TODO: Determine if we can remove the serialized `node_id`, or whether this should be fixed differently and still reference it.

ghstack-source-id: 262309622
@exported-using-ghexport

Differential Revision: [D68344534](https://our.internmc.facebook.com/intern/diff/D68344534/)
Pull Request resolved: #7740

Use boolean flag to switch between nicely-formatted space separator and spreadsheet-ready tab operator. Motiviation is similar to #7035 in facilitating copy-paste of results to a gsheet.
ghstack-source-id: 262309623

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

pytorch-bot bot commented Jan 21, 2025

🔗 Helpful Links

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

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

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 21, 2025
@junpi3 junpi3 added the release notes: vulkan Changes to the Vulkan backend delegate label Jan 21, 2025
Base automatically changed from gh/jorgep31415/129/orig to main January 22, 2025 19:50
@kirklandsign kirklandsign merged commit 4e06d3e into main Jan 22, 2025
39 of 41 checks passed
@kirklandsign kirklandsign deleted the gh/jorgep31415/130/orig branch January 22, 2025 19:52
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. release notes: vulkan Changes to the Vulkan backend delegate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants