Skip to content

Arm backend: Add Arm Neural Statistics#20662

Open
wwwind wants to merge 2 commits into
pytorch:mainfrom
wwwind:vgf_database
Open

Arm backend: Add Arm Neural Statistics#20662
wwwind wants to merge 2 commits into
pytorch:mainfrom
wwwind:vgf_database

Conversation

@wwwind

@wwwind wwwind commented Jul 1, 2026

Copy link
Copy Markdown
Collaborator

This PR adds opt-in VGF Arm Neural Accelerator Statistics collection for ETDump.

When EXECUTORCH_VGF_ENABLE_NEURAL_STATISTICS=1 is set, the VGF backend collects VK_ARM_data_graph neural statistics metadata, wraps the opaque binary blobs in a versioned JSON payload, and attaches it to ETDump delegate metadata under the VGF_NEURAL_STATISTICS event. The implementation keeps normal timing-only profiling unchanged by default, handles unsupported Vulkan/API/bind-point paths gracefully, and adds Inspector parsing support to recover decoded debug_database, statistics_info, and statistics_memory bytes.
This option EXECUTORCH_VGF_ENABLE_NEURAL_STATISTICS was added to attach this payload only when it is requested specifically, otherwise it could blow up ETDump in some runs.

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

Signed-off-by: Elena Zhelezina <elena.zhelezina@arm.com>
Change-Id: I22fe47daf097b0c93544860c60782677b35fcff2
@pytorch-bot

pytorch-bot Bot commented Jul 1, 2026

Copy link
Copy Markdown

🔗 Helpful Links

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

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

❌ 1 New Failure

As of commit d57dd13 with merge base d03dee5 (image):

NEW FAILURE - The following job has 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 Jul 1, 2026
@github-actions github-actions Bot added ciflow/trunk module: arm Issues related to arm backend labels Jul 1, 2026
@wwwind wwwind added release notes: arm Changes to the ARM backend delegate partner: arm For backend delegation, kernels, demo, etc. from the 3rd-party partner, Arm labels Jul 1, 2026
@zingo zingo added the help wanted Extra attention is needed label Jul 1, 2026
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. help wanted Extra attention is needed 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