Skip to content

Commit c37d0e9

Browse files
committed
update
1 parent 48de264 commit c37d0e9

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

extension/pybindings/README.md

+3-5
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@
22
This Python module, named `portable_lib`, provides a set of functions and classes for loading and executing bundled programs. To install it, run the fullowing command:
33

44
```bash
5-
EXECUTORCH_BUILD_PYBIND=ON \
6-
pip install . --no-build-isolation
5+
CMAKE_ARGS="-DEXECUTORCH_BUILD_XNNPACK=ON" pip install . --no-build-isolation
76
```
87

98
Or when installing the rest of dependencies:
@@ -17,15 +16,14 @@ install_executorch.sh --pybind
1716
You can link the runtime against some backends to make sure a delegated or partitioned model can still run by Python module successfully:
1817

1918
```bash
20-
EXECUTORCH_BUILD_PYBIND=ON \
21-
CMAKE_ARGS="-DEXECUTORCH_BUILD_COREML=ON -DEXECUTORCH_BUILD_MPS=ON -DEXECUTORCH_BUILD_XNNPACK=ON" \
19+
CMAKE_ARGS="-DEXECUTORCH_BUILD_XNNPACK=ON -DEXECUTORCH_BUILD_COREML=ON -DEXECUTORCH_BUILD_MPS=ON" \
2220
pip install . --no-build-isolation
2321
```
2422

2523
Similarly, when installing the rest of dependencies:
2624

2725
```bash
28-
install_executorch.sh --pybind coreml mps xnnpack
26+
install_executorch.sh --pybind xnnpack coreml mps
2927
```
3028

3129
## Functions

0 commit comments

Comments
 (0)