Skip to content

Commit

Permalink
Delete deprecated QNNPack Backend (#3508)
Browse files Browse the repository at this point in the history
Summary:

This is unsupported and hopefully unused.

Reviewed By: mcr229, doggeral

Differential Revision: D56942466
  • Loading branch information
JacobSzwejbka authored and facebook-github-bot committed May 13, 2024
1 parent 9db0a69 commit f9982fc
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 163 deletions.
3 changes: 0 additions & 3 deletions backends/backends.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ def get_all_cpu_backend_targets():
"""
return [
"//executorch/backends/xnnpack:xnnpack_backend",
"//executorch/backends/fb/qnnpack:qnnpack_backend",
]

def get_all_cpu_aot_and_backend_targets():
Expand All @@ -18,6 +17,4 @@ def get_all_cpu_aot_and_backend_targets():
return [
"//executorch/backends/xnnpack:xnnpack_preprocess",
"//executorch/backends/xnnpack/partition:xnnpack_partitioner",
"//executorch/backends/fb/qnnpack:qnnpack_preprocess",
"//executorch/backends/fb/qnnpack/partition:qnnpack_partitioner",
] + get_all_cpu_backend_targets()
1 change: 0 additions & 1 deletion exir/_serialize/TARGETS
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ cpp_python_extension(
"bindings.cpp",
],
visibility = [
"//executorch/backends/fb/qnnpack/...",
"//executorch/backends/vulkan/...",
"//executorch/backends/xnnpack/...",
"//executorch/sdk/bundled_program/...",
Expand Down
25 changes: 0 additions & 25 deletions exir/backend/test/demos/TARGETS
Original file line number Diff line number Diff line change
@@ -1,30 +1,5 @@
load("@fbcode_macros//build_defs:python_unittest.bzl", "python_unittest")

python_unittest(
name = "test_xnnpack_qnnpack",
srcs = [
"test_xnnpack_qnnpack.py",
],
preload_deps = [
"//executorch/kernels/portable:custom_ops_generated_lib",
"//executorch/kernels/quantized:custom_ops_generated_lib",
],
deps = [
"//caffe2:torch",
"//executorch/backends/fb/qnnpack:qnnpack_backend",
"//executorch/backends/fb/qnnpack:qnnpack_preprocess",
"//executorch/backends/fb/qnnpack/partition:qnnpack_partitioner",
"//executorch/backends/xnnpack:xnnpack_backend",
"//executorch/backends/xnnpack:xnnpack_preprocess",
"//executorch/backends/xnnpack/partition:xnnpack_partitioner",
"//executorch/exir:lib",
"//executorch/exir/backend:backend_api",
"//executorch/exir/passes:spec_prop_pass",
"//executorch/extension/pybindings:portable_lib", # @manual
"//executorch/extension/pytree:pylib",
],
)

python_unittest(
name = "test_delegate_aten_mode",
srcs = [
Expand Down
134 changes: 0 additions & 134 deletions exir/backend/test/demos/test_xnnpack_qnnpack.py

This file was deleted.

0 comments on commit f9982fc

Please sign in to comment.