File tree Expand file tree Collapse file tree 1 file changed +8
-5
lines changed
Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -45,13 +45,17 @@ cd et-nanogpt
4545
4646# Clone the ExecuTorch repository and submodules.
4747mkdir 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
4949cd 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:
5355conda create -yn executorch python=3.10.0
5456conda activate executorch
57+
58+ # Install requirements
5559./install_executorch.sh
5660
5761cd ../..
@@ -78,9 +82,8 @@ pyenv activate executorch
7882
7983# Clone the ExecuTorch repository and submodules.
8084mkdir 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
8286cd third-party/executorch
83- git submodule update --init
8487
8588# Install requirements.
8689PYTHON_EXECUTABLE=python ./install_executorch.sh
You can’t perform that action at this time.
0 commit comments