Skip to content

Commit 50d1da2

Browse files
larryliu0820mergennachin
authored andcommitted
Update README.md to ask user to double check python env (#3782)
Summary: As titled. Pull Request resolved: #3782 Reviewed By: tarun292, mcr229 Differential Revision: D57983213 Pulled By: larryliu0820 fbshipit-source-id: 4a845122cd5d7c94d697932e356e6c5f786014cf (cherry picked from commit ccce5fa)
1 parent b45602c commit 50d1da2

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

examples/models/llama2/README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,12 @@ Performance was measured on the Samsung Galaxy S22, S24, and One Plus 12 devices
5353
- For Llama7b, your device may require at least 32GB RAM. If this is a constraint for you, please try the smaller stories model.
5454

5555
## Step 1: Setup
56-
1. Follow the [tutorial](https://pytorch.org/executorch/main/getting-started-setup) to set up ExecuTorch
56+
> :warning: **double check your python environment**: make sure `conda activate <VENV>` is run before all the bash and python scripts.
57+
58+
1. Follow the [tutorial](https://pytorch.org/executorch/main/getting-started-setup) to set up ExecuTorch. For installation run `./install_requirements.sh --pybind xnnpack`
5759
2. Run `examples/models/llama2/install_requirements.sh` to install a few dependencies.
5860

61+
5962
## Step 2: Prepare model
6063

6164
### Option A: Download and export llama2 7B model

0 commit comments

Comments
 (0)