Skip to content

[ET-VK][profiling] Add additional profiling blocks#17450

Merged
SS-JIA merged 1 commit into
gh/SS-JIA/424/origfrom
gh/SS-JIA/425/orig
Feb 13, 2026
Merged

[ET-VK][profiling] Add additional profiling blocks#17450
SS-JIA merged 1 commit into
gh/SS-JIA/424/origfrom
gh/SS-JIA/425/orig

Conversation

@pytorchbot

Copy link
Copy Markdown
Collaborator

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

Pull Request resolved: #17394

This adds fine-grained ET_EVENT_TRACER profiling blocks to the Vulkan backend's execute() method in VulkanBackend.cpp. Previously, only GPU shader timestamps were logged. Now the following phases are individually traced: ETVK_COPY_INPUTS (host-to-GPU input transfer), ETVK_RESIZE (graph resize propagation), ETVK_COMPUTE_GRAPH_EXECUTE (GPU compute dispatch), ETVK_COPY_OUTPUTS (GPU-to-host output transfer), and ETVK_EXECUTE (overall delegate execution). The GPU shader timestamp extraction is also moved to occur right after execute() completes rather than at the end of the function, so it falls within the ETVK_EXECUTE span.
ghstack-source-id: 341022578
@exported-using-ghexport

Differential Revision: [D93000163](https://our.internmc.facebook.com/intern/diff/D93000163/)
@pytorchbot pytorchbot requested a review from SS-JIA as a code owner February 13, 2026 16:15
@pytorch-bot

pytorch-bot Bot commented Feb 13, 2026

Copy link
Copy Markdown

🔗 Helpful Links

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

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

❌ 6 New Failures, 12 Pending

As of commit ab117ec with merge base dcfd12d (image):

NEW FAILURES - The following jobs have failed:

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 Feb 13, 2026
@SS-JIA SS-JIA merged commit 0d64247 into gh/SS-JIA/424/orig Feb 13, 2026
174 of 187 checks passed
@SS-JIA SS-JIA deleted the gh/SS-JIA/425/orig branch February 13, 2026 17:36
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.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants