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: #12530 by @trivedivivek
^ 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/trivedivivek/127/base
ghstack PR head: https://github.com/pytorch/executorch/tree/gh/trivedivivek/127/head
Merge bot PR base: https://github.com/pytorch/executorch/tree/main
Merge bot PR head: https://github.com/pytorch/executorch/tree/gh/trivedivivek/127/orig
@diff-train-skip-merge

…execute dispatch into multiple commands based on dispatch count.

Pull Request resolved: #12530

This diff, splits the execute dispatch into multiple commands based on the dispatch count. This allows for concurrent CPU and GPU execution.
The modifications involve adding a counter `encoded_node_count` to track the number of encoded nodes and submitting a new command buffer to the GPU every 64 nodes.

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

Differential Revision: [D78360039](https://our.internmc.facebook.com/intern/diff/D78360039/)
@pytorchbot pytorchbot requested a review from SS-JIA as a code owner August 4, 2025 23:03
Copy link

pytorch-bot bot commented Aug 4, 2025

🔗 Helpful Links

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

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

❗ 1 Active SEVs

There are 1 currently active SEVs. If your PR is affected, please view them below:

❌ 1 New Failure, 1 Unrelated Failure

As of commit 463b632 with merge base 6485e4f (image):

NEW FAILURE - The following job has failed:

BROKEN TRUNK - The following job failed but were present on the merge base:

👉 Rebase onto the `viable/strict` branch to avoid these failures

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 Aug 4, 2025
@trivedivivek trivedivivek added the release notes: vulkan Changes to the Vulkan backend delegate label Aug 5, 2025
@trivedivivek trivedivivek merged commit 6eb7b9c into main Aug 5, 2025
102 of 105 checks passed
@trivedivivek trivedivivek deleted the gh/trivedivivek/127/orig branch August 5, 2025 14:13
agrima1304 pushed a commit to agrima1304/executorch that referenced this pull request Aug 26, 2025
…execute dispatch into multiple commands based on dispatch count. (pytorch#13118)

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

Co-authored-by: Vivek Trivedi <[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. release notes: vulkan Changes to the Vulkan backend delegate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants