You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In [CMakeLists.txt](https://github.com/BujSet/executorch/blob/main/examples/selective_build/CMakeLists.txt#L48-L72), we have the following cmake config options:
103
78
104
-
Or
105
-
106
-
```
107
-
cmake -D… -DSELECT_OPS_YAML=ON
108
-
```
79
+
1.`EXECUTORCH_SELECT_OPS_YAML`
80
+
2.`EXECUTORCH_SELECT_OPS_LIST`
81
+
3.`EXECUTORCH_SELECT_ALL_OPS`
82
+
4.`EXECUTORCH_SELECT_OPS_FROM_MODEL`
83
+
5.`EXECUTORCH_DTYPE_SELECTIVE_BUILD`
109
84
110
-
Or
85
+
These options allow a user to tailor the cmake build process to utilize the different APIs, and results in different invocations on the `gen_selected_ops`[function](https://github.com/BujSet/executorch/blob/main/examples/selective_build/CMakeLists.txt#L110-L123). The following table describes some examples of how the invocation changes when these configs are set:
111
86
87
+
| Example cmake Call | Resultant `gen_selected_ops` Invocation |
To select from either an operator name list, a schema yaml, or directly from an exported model's pte from kernel library. To further optimize the binary size for dtype selection, we can run:
0 commit comments