From e61f7f008117fea30509574bed9c5a2435f28dd5 Mon Sep 17 00:00:00 2001 From: Christian Lang Date: Thu, 13 Mar 2025 11:30:55 -0700 Subject: [PATCH] Adding dummy coreml backend to silence uquery failures (#9230) Summary: Pull Request resolved: https://github.com/pytorch/executorch/pull/9230 This diff adds a dummy target in the coreml backend to prevent failures from uquery rules Reviewed By: larryliu0820, metascroy Differential Revision: D70645217 --- backends/apple/coreml/TARGETS | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/backends/apple/coreml/TARGETS b/backends/apple/coreml/TARGETS index df1165dd74e..a8802e99b56 100644 --- a/backends/apple/coreml/TARGETS +++ b/backends/apple/coreml/TARGETS @@ -5,6 +5,14 @@ load("@fbsource//xplat/executorch/build:runtime_wrapper.bzl", "runtime") oncall("executorch") +# TODO: this is a placeholder to support internal fbcode build. We should add the coreml backend target properly. +runtime.python_library( + name = "coreml", + visibility = [ + "@EXECUTORCH_CLIENTS", + ], +) + runtime.python_library( name = "backend", srcs = glob([