Arm backend: Add Arm Neural Statistics#20662
Open
wwwind wants to merge 2 commits into
Open
Conversation
Signed-off-by: Elena Zhelezina <elena.zhelezina@arm.com> Change-Id: I22fe47daf097b0c93544860c60782677b35fcff2
🔗 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 FailureAs of commit d57dd13 with merge base d03dee5 ( NEW FAILURE - The following job has failed:
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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