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