Skip to content

Arm backend: Persistently map IO memory#20444

Open
wwwind wants to merge 3 commits into
pytorch:mainfrom
wwwind:vgf_mem
Open

Arm backend: Persistently map IO memory#20444
wwwind wants to merge 3 commits into
pytorch:mainfrom
wwwind:vgf_mem

Conversation

@wwwind

@wwwind wwwind commented Jun 23, 2026

Copy link
Copy Markdown
Collaborator

Previously, each inference copied inputs and outputs like: vkMapMemory() -> memcpy() -> vkUnmapMemory()

Now IO memory is mapped once and then re-used and then unmapped.

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

Previously, each inference copied inputs and outputs like:
vkMapMemory() -> memcpy() -> vkUnmapMemory()

Now IO memory is mapped once and then re-used and then unmapped.

Change-Id: I34bde5ea0a8dedc6c25977c8754600f402e563f2
Signed-off-by: Elena Zhelezina <elena.zhelezina@arm.com>
@wwwind wwwind requested a review from digantdesai as a code owner June 23, 2026 10:51
@pytorch-bot

pytorch-bot Bot commented Jun 23, 2026

Copy link
Copy Markdown

🔗 Helpful Links

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

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:

❌ 4 New Failures, 5 Unrelated Failures

As of commit ee8384d with merge base 82a605d (image):

NEW FAILURES - The following jobs have failed:

BROKEN TRUNK - The following jobs 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 Jun 23, 2026
@wwwind wwwind requested review from robell and removed request for digantdesai June 23, 2026 10:51
@github-actions github-actions Bot added ciflow/trunk module: arm Issues related to arm backend labels Jun 23, 2026
@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 labels Jun 23, 2026
Change-Id: Ib1cd5c364962453a17a04293c87ee251f2b57e61
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