Skip to content

Commit e67ef3b

Browse files
Update using-executorch-ios.md (#10448)
Co-authored-by: Anthony Shoumikhin <[email protected]>
1 parent dd502c7 commit e67ef3b

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

docs/source/using-executorch-ios.md

+7-7
Original file line numberDiff line numberDiff line change
@@ -97,25 +97,25 @@ xcode-select --install
9797
2. Clone ExecuTorch:
9898

9999
```bash
100-
git clone -b release/0.6 https://github.com/pytorch/executorch.git && cd executorch
100+
git clone -b release/0.6 https://github.com/pytorch/executorch.git --depth 1 --recurse-submodules --shallow-submodules && cd executorch
101101
```
102102

103103
3. Set up [Python](https://www.python.org/downloads/macos/) 3.10+ and activate a virtual environment:
104104

105105
```bash
106-
python3 -m venv .venv && source .venv/bin/activate && ./install_requirements.sh
106+
python3 -m venv .venv && source .venv/bin/activate && pip install --upgrade pip
107107
```
108108

109-
4. Install the required dependencies, including those needed for the backends like [Core ML](backends-coreml.md) or [MPS](backends-mps.md). Choose one, or both:
109+
4. Install the required dependencies, including those needed for the backends like [Core ML](backends-coreml.md) or [MPS](backends-mps.md), if you plan to build them later:
110110

111111
```bash
112-
# ExecuTorch with xnnpack and CoreML backend
112+
./install_requirements.sh
113+
114+
# CoreML-only requirements:
113115
./backends/apple/coreml/scripts/install_requirements.sh
114-
./install_executorch.sh --pybind coreml xnnpack
115116

116-
# ExecuTorch with xnnpack and MPS backend
117+
# MPS-only requirements:
117118
./backends/apple/mps/install_requirements.sh
118-
./install_executorch.sh --pybind mps xnnpack
119119
```
120120

121121
5. Install [CMake](https://cmake.org):

0 commit comments

Comments
 (0)