Skip to content

Commit 54b21a0

Browse files
committed
Move qualcomm.passes to qualcomm._passes (#5920)
Summary: Changing qualcomm.passes to qualcomm._passes to indicate that these passes are not covered under the API stability guarantee. Pull Request resolved: #5920 Reviewed By: helunwencser Differential Revision: D63926845 fbshipit-source-id: f1e3187f3012f83b388d9635ca5a244fa36950d6 (cherry picked from commit 866b40c)
1 parent 40358fa commit 54b21a0

30 files changed

+58
-35
lines changed

backends/qualcomm/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ backends/qualcomm
4646
| └── python # Python interface for using QNN libraries.
4747
├── builders # Codes for lowering each operators (AoT Part).
4848
├── partition # QNN Partitioner (AoT Part).
49-
├── passes # Various passes helping lower models to QNN backend (AoT Part).
49+
├── _passes # Various private passes helping lower models to QNN backend (AoT Part).
5050
├── python # Places to put pybind artifacts for accessing QNN APIs, structures, etc (AoT Part).
5151
├── quantizer # QNN Quantizer
5252
├── runtime # Here is QNN runtime responsbile for compiling a model on x64.

backends/qualcomm/_passes/TARGETS

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
load("@fbsource//xplat/executorch/build:runtime_wrapper.bzl", "runtime")
2+
3+
oncall("executorch")
4+
5+
runtime.python_library(
6+
name = "passes",
7+
srcs = glob([
8+
"*.py",
9+
]),
10+
visibility = [
11+
"@EXECUTORCH_CLIENTS",
12+
],
13+
deps = [
14+
"//executorch/backends/transforms:addmm_mm_to_linear",
15+
"//executorch/exir/backend:backend_details",
16+
"//executorch/exir/backend:compile_spec_schema",
17+
],
18+
)

0 commit comments

Comments
 (0)