From b5cd78445d79d4957d2785c23dd15704f2e368e0 Mon Sep 17 00:00:00 2001 From: jathu Date: Mon, 31 Mar 2025 11:07:30 -0700 Subject: [PATCH] update --- extension/pybindings/README.md | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/extension/pybindings/README.md b/extension/pybindings/README.md index 767c0266ed3..8675993264d 100644 --- a/extension/pybindings/README.md +++ b/extension/pybindings/README.md @@ -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 ``` Or when installing the rest of dependencies: @@ -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