From 651af12b19e9aa109ce974a0d95a1710b397d6c4 Mon Sep 17 00:00:00 2001 From: lg-zhang Date: Wed, 27 Nov 2024 16:59:46 -0800 Subject: [PATCH] use ovrsource libtorch in executorch Differential Revision: D66526578 Pull Request resolved: https://github.com/pytorch/executorch/pull/7101 --- extension/pytree/aten_util/targets.bzl | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/extension/pytree/aten_util/targets.bzl b/extension/pytree/aten_util/targets.bzl index e179308020..5ba7e90596 100644 --- a/extension/pytree/aten_util/targets.bzl +++ b/extension/pytree/aten_util/targets.bzl @@ -20,13 +20,7 @@ def define_common_targets(): "//executorch/runtime/platform:platform", ], compiler_flags = ["-Wno-missing-prototypes"], - fbcode_deps = [ - "//caffe2:ATen-core", - "//caffe2:ATen-cpu", - "//caffe2/c10:c10", - ], - xplat_deps = [ - "//xplat/caffe2:torch_mobile_core", - "//xplat/caffe2/c10:c10", + external_deps = [ + "torch-core-cpp", ], )