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
14 changes: 7 additions & 7 deletions docs/source/using-executorch-ios.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,25 +97,25 @@ xcode-select --install
2. Clone ExecuTorch:

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

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

```bash
python3 -m venv .venv && source .venv/bin/activate && ./install_requirements.sh
python3 -m venv .venv && source .venv/bin/activate && pip install --upgrade pip
```

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:
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:

```bash
# ExecuTorch with xnnpack and CoreML backend
./install_requirements.sh

# CoreML-only requirements:
./backends/apple/coreml/scripts/install_requirements.sh
./install_executorch.sh --pybind coreml xnnpack

# ExecuTorch with xnnpack and MPS backend
# MPS-only requirements:
./backends/apple/mps/install_requirements.sh
./install_executorch.sh --pybind mps xnnpack
```

5. Install [CMake](https://cmake.org):
Expand Down
Loading