Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 4 additions & 6 deletions extension/pybindings/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
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:

```bash
EXECUTORCH_BUILD_PYBIND=ON \
pip install . --no-build-isolation
CMAKE_ARGS="-DEXECUTORCH_BUILD_XNNPACK=ON" pip install . --no-build-isolation
Comment thread
jathu marked this conversation as resolved.
```

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

```bash
EXECUTORCH_BUILD_PYBIND=ON \
CMAKE_ARGS="-DEXECUTORCH_BUILD_COREML=ON -DEXECUTORCH_BUILD_MPS=ON -DEXECUTORCH_BUILD_XNNPACK=ON" \
pip install . --no-build-isolation
CMAKE_ARGS="-DEXECUTORCH_BUILD_XNNPACK=ON -DEXECUTORCH_BUILD_COREML=ON -DEXECUTORCH_BUILD_MPS=ON" \
pip install . --no-build-isolation
```

Similarly, when installing the rest of dependencies:

```bash
install_executorch.sh --pybind coreml mps xnnpack
install_executorch.sh --pybind xnnpack coreml mps
```

## Functions
Expand Down
Loading