Repository navigation
Conversation
Signed-off-by: Elena Zhelezina <elena.zhelezina@arm.com> Change-Id: Idef95270b41ab60464d1027530d3a8ed760962a5
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/24795
Note: Links to docs will display an error until the docs builds have been completed. ❌ 5 New Failures, 10 Unrelated FailuresAs of commit f183976 with merge base 94e7ca0 ( 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. |
Change-Id: I18edcfdc2bf445aa5a7ea991fe05e2e0afcc84f1
Change-Id: I7793095a25e959507c5ae8a2d4acfe85db28cb30
Change-Id: I89bf74c0ae52b98e1abdbbed03f9b0e2d8914b1e
|
@claude review this PR. |
|
Claude finished @digantdesai's task in 5m 25s —— View job Summary: The shared-device integration is well structured, but CI never compiles the shared path ( Detailed reviewPR Review: #24795SummaryThis PR moves the VGF backend onto the
Three independent reviewers covered the diff. I then re-read each finding below against the code. The example Infrastructure
Thread Safety
Backward Compatibility
API Design
Performance
RecommendationRequest Changes The shared-device path ships without any CI build or test. It needs a |
Change-Id: Icd2ef08c627f8e3437156613bb994b6a73b23d6a
Change-Id: Id06cc50c8e22a7ba3425a4eb8e75f5a2a624aa9f
Summary
This PR implements Phase 4 of [RFC #19298: Unified Vulkan and VGF GPU backend path in ExecuTorch](#19298).
Phase 4 integrates the Arm VGF backend with the shared Vulkan runtime, enabling VGF and Vulkan delegates to execute within a single ExecuTorch program using the same Vulkan device and queue.
Changes
SharedVulkanDeviceregistry and shared-device configuration.End-to-End Example
The new example in
examples/arm/vgf_vulkan_shared/demonstrates the following execution sequence:The exporter generates a single
.ptecontaining:The example includes model export, a native/Android runner, shared-device identity verification, and numerical comparison against PyTorch reference outputs.
Both backends share the same
VkDeviceand queue, while retaining independent delegate execution. Inter-delegate zero-copy and fused GPU submissions are outside the scope of this PR.Testing
Reference
[RFC #19298 — Unified Vulkan and VGF GPU backend path in ExecuTorch](#19298)
cc @digantdesai @freddan80 @per @zingo @oscarandersson8218 @mansnils @Sebastian-Larsson @robell @rascani