Skip to content

Fresh setup m1 #3759

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions docs/source/getting-started-setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ portability details.

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

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

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

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

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

Note that the first run may take a while as it will have to complie the kernels from sources

## Next Steps

Congratulations! You have successfully exported, built, and run your first
Expand Down
Loading