Skip to content

Arm backend: Fuse command stream in VGF. - #24838

Merged
wwwind merged 1 commit into
pytorch:mainfrom
wwwind:fused_stream
Nov 10, 2026
Merged

wwwind merged 1 commit into
pytorch:mainfrom
wwwind:fused_stream

Conversation

@wwwind

@wwwind wwwind commented Nov 10, 2026 •

Copy link
Copy Markdown
Collaborator

This PR introduces fused Vulkan command-stream
submission for the ExecuTorch VGF backend.

The implementation allows application-provided
preprocessing and postprocessing command buffers
to be submitted together with the VGF inference
command buffer using a single vkQueueSubmit()
and fence wait, reducing CPU submission and
synchronisation overhead.

The existing VGF execution path remains unchanged
when fusion is not enabled.

Fusion was faster in 8 out of 10 repetitions,
with a median paired improvement of 1.144 ms.

cc @digantdesai @freddan80 @per @zingo @oscarandersson8218 @mansnils @Sebastian-Larsson @robell @rascani

This PR introduces fused Vulkan command-stream
submission for the ExecuTorch VGF backend.

The implementation allows application-provided
preprocessing and postprocessing command buffers
 to be submitted together with the VGF inference
command buffer using a single vkQueueSubmit()
and fence wait, reducing CPU submission and
 synchronisation overhead.

The existing VGF execution path remains unchanged
 when fusion is not enabled.

Fusion was faster in 8 out of 10 repetitions,
with a median paired improvement of 1.144 ms.

Signed-off-by: Elena Zhelezina <elena.zhelezina@arm.com>
Change-Id: I7d918442b578e30383f0c8dc4f8cfad9e9eecda3
@wwwind wwwind added partner: arm For backend delegation, kernels, demo, etc. from the 3rd-party partner, Arm release notes: arm Changes to the ARM backend delegate module: arm Issues related to arm backend labels Nov 10, 2026
@pytorch-bot

pytorch-bot Bot commented Nov 10, 2026 •

Copy link
Copy Markdown

🔗 Helpful Links

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

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

⏳ No Failures, 1 Pending

As of commit 76b8dcc with merge base 4411b8d (image):
💚 Looks good so far! There are no failures yet. 💚

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 Nov 10, 2026
@wwwind
wwwind merged commit 0d3de7a into pytorch:main Nov 10, 2026
433 of 442 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ciflow/trunk CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. module: arm Issues related to arm backend partner: arm For backend delegation, kernels, demo, etc. from the 3rd-party partner, Arm release notes: arm Changes to the ARM backend delegate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants