Repository navigation
Enable Vulkan vision runners on Android (#24503) - #24503
JakeStevens wants to merge 1 commit into
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/24503
Note: Links to docs will display an error until the docs builds have been completed. ⏳ 7 Pending, 1 Unrelated FailureAs of commit cd3c63b with merge base 186ca41 ( BROKEN TRUNK - The following job 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. |
|
@JakeStevens has exported this pull request. If you are a Meta employee, you can view the originating Diff in D129370846. |
This PR needs a
|
|
@claude review effort=max |
|
Claude finished @shoumikhin's task in 17m 29s —— View job Summary: This build-only PR makes the native Vulkan engine and the vision runner build in xplat (Android), and nothing is confirmed broken, but I'm requesting changes: the new path is untested, the targets that link ET-VK are missing the Detailed review: PR #24503SummaryThe PR does three things:
As a result, There are three problems:
Both changed files were reviewed in full. Nothing was built, because this checkout has no Meta-internal Buck macros or toolchains. The diff was taken against Code Quality
Infrastructure
Testing
RecommendationRequest Changes Nothing is confirmed broken, and fbcode is unaffected. What blocks approval is that the PR's only purpose, building the Vulkan engine for Android, has no xplat test and no recorded build or run. The fixes are small:
|
Summary: The Vulkan engine, its graph passes and the vision runner were only defined in fbcode, so the runner could not be built for Android. This defines them in xplat too. `backends/native/runtime/vulkan/targets.bzl` no longer returns early in xplat, `backends/native/runtime/vulkan/BUCK` defines the xplat `xplat_vulkan_runtime` next to the fbcode one, and `run_classification` and `run_classification_vulkan` are declared for both cells. The fbcode targets are unchanged. `vulkan_passes_test` needs neither a GPU nor SwiftShader, so it now also builds and runs in xplat. The xplat `run_classification` carries a CI label that builds it for Android arm64, which covers the Vulkan engine, its passes and ET-VK on Android. The new xplat targets use the default xplat platform set, which matches ET-VK's `get_platforms()`. Review fixes authored with Claude Code. Differential Revision: D129370846
ab6b475 to
074560d
Compare
Summary: The Vulkan engine, its graph passes and the vision runner were only defined in fbcode, so the runner could not be built for Android. This defines them in xplat too. `backends/native/runtime/vulkan/targets.bzl` no longer returns early in xplat, `backends/native/runtime/vulkan/BUCK` defines the xplat `xplat_vulkan_runtime` next to the fbcode one, and `run_classification` and `run_classification_vulkan` are declared for both cells. The fbcode targets are unchanged. `vulkan_passes_test` needs neither a GPU nor SwiftShader, so it now also builds and runs in xplat. The xplat `run_classification` carries a CI label that builds it for Android arm64, which covers the Vulkan engine, its passes and ET-VK on Android. The new xplat targets use the default xplat platform set, which matches ET-VK's `get_platforms()`. Review fixes authored with Claude Code. Differential Revision: D129370846
074560d to
cd3c63b
Compare
Summary:
The Vulkan engine, its graph passes and the vision runner were only defined in fbcode, so the runner could not be built for Android. This defines them in xplat too.
backends/native/runtime/vulkan/targets.bzlno longer returns early in xplat,backends/native/runtime/vulkan/BUCKdefines the xplatxplat_vulkan_runtimenext to the fbcode one, andrun_classificationandrun_classification_vulkanare declared for both cells. The fbcode targets are unchanged.vulkan_passes_testneeds neither a GPU nor SwiftShader, so it now also builds and runs in xplat. The xplatrun_classificationcarries a CI label that builds it for Android arm64, which covers the Vulkan engine, its passes and ET-VK on Android. The new xplat targets use the default xplat platform set, which matches ET-VK'sget_platforms().Review fixes authored with Claude Code.
Differential Revision: D129370846