Skip to content

Commit 0dc3394

Browse files
authored
Update mps_README.md
1 parent 07c105e commit 0dc3394

File tree

1 file changed

+11
-5
lines changed

1 file changed

+11
-5
lines changed

examples/demo-apps/apple_ios/LLaMA/docs/delegates/mps_README.md

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,17 +14,23 @@ More specifically, it covers:
1414
## Setup ExecuTorch
1515
In this section, we will need to set up the ExecuTorch repo first with Conda environment management. Make sure you have Conda available in your system (or follow the instructions to install it [here](https://conda.io/projects/conda/en/latest/user-guide/install/index.html)). The commands below are running on Linux (CentOS).
1616

17-
Create a Conda environment
17+
Checkout ExecuTorch repo and sync submodules
1818

1919
```
20-
conda create -n et_mps python=3.10.0
21-
conda activate et_mps
20+
git clone -b release/0.6 https://github.com/pytorch/executorch.git --depth 1 --recurse-submodules --shallow-submodules && cd executorch
2221
```
2322

24-
Checkout ExecuTorch repo and sync submodules
23+
Create either a Python virtual environment:
2524

2625
```
27-
git clone -b release/0.6 https://github.com/pytorch/executorch.git --depth 1 --recurse-submodules --shallow-submodules && cd executorch
26+
python3 -m venv .venv && source .venv/bin/activate && pip install --upgrade pip
27+
```
28+
29+
Or a Conda environment
30+
31+
```
32+
conda create -n et_mps python=3.10.0
33+
conda activate et_mps
2834
```
2935

3036
Install dependencies

0 commit comments

Comments
 (0)