Skip to content

Commit 84f6313

Browse files
authored
Update getting-started.md
1 parent 8883c21 commit 84f6313

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

docs/source/llm/getting-started.md

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -45,13 +45,17 @@ cd et-nanogpt
4545
4646
# Clone the ExecuTorch repository and submodules.
4747
mkdir third-party
48-
git clone -b release/0.4 https://github.com/pytorch/executorch.git third-party/executorch
48+
git clone -b release/0.6 https://github.com/pytorch/executorch.git third-party/executorch --depth 1 --recurse-submodules --shallow-submodules
4949
cd third-party/executorch
50-
git submodule update --init
5150
52-
# Create a conda environment and install requirements.
51+
# Create either a Python virtual environment:
52+
python3 -m venv .venv && source .venv/bin/activate && pip install --upgrade pip
53+
54+
# Or a Conda environment:
5355
conda create -yn executorch python=3.10.0
5456
conda activate executorch
57+
58+
# Install requirements
5559
./install_executorch.sh
5660
5761
cd ../..
@@ -78,9 +82,8 @@ pyenv activate executorch
7882
7983
# Clone the ExecuTorch repository and submodules.
8084
mkdir third-party
81-
git clone -b release/0.4 https://github.com/pytorch/executorch.git third-party/executorch
85+
git clone -b release/0.6 https://github.com/pytorch/executorch.git third-party/executorch --depth 1 --recurse-submodules --shallow-submodules
8286
cd third-party/executorch
83-
git submodule update --init
8487
8588
# Install requirements.
8689
PYTHON_EXECUTABLE=python ./install_executorch.sh

0 commit comments

Comments
 (0)