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
Update install_requirements to install --pybind xnnpack by default. (#7473)
Summary:
Regular ./install_requirements.sh will install pybind xnnpack by default. It is necessary for Llama for instance.
It is still backwards compatible with './install_requirements.sh --pybind xnnpack'
One can also turn off explicitly by calling './install_requirement.sh --pybind off'
Test Plan:
Test valid options:
./install_requirements.sh
./install_requirements.sh --pybind xnnpack
./install_requirements.sh --pybind coreml
./install_requirements.sh --pybind coreml xnnpack
./install_requirements.sh --pybind off
Invalid options:
./install_requirements.sh xnnpack
./install_requirements.sh --pybind coreml off
./install_requirements.sh --pybind coreml xnnpack off
./install_requirements.sh off
Copy file name to clipboardExpand all lines: docs/source/getting-started-setup.md
+12
Original file line number
Diff line number
Diff line change
@@ -98,7 +98,19 @@ Alternatively, if you would like to experiment with ExecuTorch quickly and easil
98
98
Use the [`--pybind` flag](https://github.com/pytorch/executorch/blob/main/install_requirements.sh#L26-L29) to install with pybindings and dependencies for other backends.
0 commit comments