From 4701ab4970350771f9b82d715c20ee91d609910a Mon Sep 17 00:00:00 2001 From: Rodrigo Silva dos Santos Date: Tue, 21 Oct 2025 10:59:27 -0700 Subject: [PATCH] Adding Vulkan support for executorch on IG4A (#13806) Summary: # Context Instagram Stories Inspiration and Instagram Computer Vision teams are partnering on bringing [Vulkan](https://developer.android.com/ndk/guides/graphics/getting-started) support to existing U2Net and squeezeSAM models currently being used to infer saliency and segmentation from images # This Diff Adds the necessary dependencies to IG4A to use Vulkan Reviewed By: hazirbas Differential Revision: D78291986 --- extension/android/BUCK | 1 + extension/android/jni/BUCK | 1 + 2 files changed, 2 insertions(+) diff --git a/extension/android/BUCK b/extension/android/BUCK index b02003fdc34..14d4524166a 100644 --- a/extension/android/BUCK +++ b/extension/android/BUCK @@ -22,6 +22,7 @@ non_fbcode_target(_kind = fb_android_library, language = "JAVA", deps = [ "//fbandroid/java/com/facebook/jni:jni", + "//xplat/executorch/backends/vulkan:vulkan_backend_lib_static", "//fbandroid/libraries/soloader/java/com/facebook/soloader/nativeloader:nativeloader", ], ) diff --git a/extension/android/jni/BUCK b/extension/android/jni/BUCK index a6f4fe186cf..1b40f1e8cec 100644 --- a/extension/android/jni/BUCK +++ b/extension/android/jni/BUCK @@ -66,6 +66,7 @@ non_fbcode_target(_kind = fb_android_cxx_library, "//xplat/executorch/extension/runner_util:inputs_static", "//xplat/executorch/extension/tensor:tensor_static", "//xplat/executorch/kernels/quantized:generated_lib_static", + "//xplat/executorch/backends/vulkan:vulkan_backend_lib_static", ], )