Skip to content

Commit 181ed4d

Browse files
delete qnnpack backend
Differential Revision: D83448512 Pull Request resolved: pytorch#14663
1 parent 73b3303 commit 181ed4d

File tree

5 files changed

+0
-220
lines changed

5 files changed

+0
-220
lines changed

backends/backends.bzl

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ def get_all_cpu_backend_targets():
66
"""
77
return [
88
"//executorch/backends/xnnpack:xnnpack_backend",
9-
"//executorch/backends/fb/qnnpack:qnnpack_backend",
109
]
1110

1211
def get_all_cpu_aot_and_backend_targets():
@@ -18,6 +17,4 @@ def get_all_cpu_aot_and_backend_targets():
1817
return [
1918
"//executorch/backends/xnnpack:xnnpack_preprocess",
2019
"//executorch/backends/xnnpack/partition:xnnpack_partitioner",
21-
"//executorch/backends/fb/qnnpack:qnnpack_preprocess",
22-
"//executorch/backends/fb/qnnpack/partition:qnnpack_partitioner",
2320
] + get_all_cpu_backend_targets()

exir/_serialize/TARGETS

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ runtime.cxx_python_extension(
1010
"bindings.cpp",
1111
],
1212
visibility = [
13-
"//executorch/backends/fb/qnnpack/...",
1413
"//executorch/backends/vulkan/...",
1514
"//executorch/backends/xnnpack/...",
1615
"//executorch/devtools/bundled_program/...",

exir/backend/test/demos/TARGETS

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,5 @@
11
load("@fbcode_macros//build_defs:python_unittest.bzl", "python_unittest")
22

3-
python_unittest(
4-
name = "test_xnnpack_qnnpack",
5-
srcs = [
6-
"test_xnnpack_qnnpack.py",
7-
],
8-
preload_deps = [
9-
"//executorch/kernels/portable:custom_ops_generated_lib",
10-
"//executorch/kernels/quantized:custom_ops_generated_lib",
11-
],
12-
deps = [
13-
"//caffe2:torch",
14-
"//executorch/backends/fb/qnnpack:qnnpack_backend",
15-
"//executorch/backends/fb/qnnpack:qnnpack_preprocess",
16-
"//executorch/backends/fb/qnnpack/partition:qnnpack_partitioner",
17-
"//executorch/backends/xnnpack:xnnpack_backend",
18-
"//executorch/backends/xnnpack:xnnpack_preprocess",
19-
"//executorch/backends/xnnpack/partition:xnnpack_partitioner",
20-
"//executorch/exir:lib",
21-
"//executorch/exir/backend:backend_api",
22-
"//executorch/exir/passes:spec_prop_pass",
23-
"//executorch/extension/pybindings:portable_lib", # @manual
24-
"//executorch/extension/pytree:pylib",
25-
],
26-
)
27-
283
python_unittest(
294
name = "test_delegate_aten_mode",
305
srcs = [

exir/backend/test/demos/test_xnnpack_qnnpack.py

Lines changed: 0 additions & 190 deletions
This file was deleted.

runtime/core/exec_aten/testing_util/targets.bzl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ def define_common_targets():
3333
"//executorch/kernels/fb/custom_ops/...",
3434
"//executorch/runtime/core/test/...",
3535
"//executorch/test/...",
36-
"//executorch/backends/fb/qnnpack/test/...",
3736
"//executorch/extension/kernel_util/test/...",
3837
"@EXECUTORCH_CLIENTS",
3938
],

0 commit comments

Comments
 (0)