Skip to content

Commit b45602c

Browse files
pytorchbotGuang Yang
andauthored
Fresh setup m1 (#3759) (#3791)
Summary: Pull Request resolved: #3759 Reviewed By: mcr229 Differential Revision: D57887358 Pulled By: guangy10 fbshipit-source-id: 8e63de15fafb498b05828440ac8d8c51204e8042 (cherry picked from commit 26daed7) Co-authored-by: Guang Yang <[email protected]>
1 parent 8d6f7fb commit b45602c

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

docs/source/getting-started-setup.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@ portability details.
9292

9393
# Install ExecuTorch pip package and its dependencies, as well as
9494
# development tools like CMake.
95+
# If developing on a Mac, make sure to install the Xcode Command Line Tools first.
9596
./install_requirements.sh
9697
```
9798

@@ -201,10 +202,10 @@ To set up `Buck2`, You will need the following prerequisits for this section:
201202
version of the buck2 prelude used by the ExecuTorch repo.
202203

203204
Configure Buck2 by decompressing with the following command (filename depends
204-
on your system):
205+
on your system, and the location of the binary can be different):
205206

206207
```bash
207-
# For example, buck2-x86_64-unknown-linux-musl.zst or buck2-aarch64-apple-darwin.zst
208+
# For example, buck2-x86_64-unknown-linux-musl.zst for Linux, or buck2-aarch64-apple-darwin.zst for Mac with Apple silicon.
208209
zstd -cdq buck2-DOWNLOADED_FILENAME.zst > /tmp/buck2 && chmod +x /tmp/buck2
209210
```
210211

@@ -217,6 +218,8 @@ After the installation, you can run the `add.pte` program by following `buck2` c
217218
/tmp/buck2 run //examples/portable/executor_runner:executor_runner -- --model_path add.pte
218219
```
219220

221+
Note that the first run may take a while as it will have to complie the kernels from sources
222+
220223
## Next Steps
221224

222225
Congratulations! You have successfully exported, built, and run your first

0 commit comments

Comments
 (0)