@@ -38,10 +38,9 @@ python3 --version
3838pip --version
3939```
4040
41- ### 3. Getting Started Tutorial
41+ ### 3. Set Up ExecuTorch
4242
43- Follow the [ Setting Up ExecuTorch] ( https://pytorch.org/executorch/stable/getting-started-setup )
44- tutorial to configure the basic environment:
43+ Clone ExecuTorch and set up the environment as explained in the [ Building from Source] ( using-executorch-building-from-source.md ) tutorial:
4544
4645``` bash
4746git clone -b viable/strict https://github.com/pytorch/executorch.git && cd executorch
@@ -51,22 +50,19 @@ python3 -m venv .venv && source .venv/bin/activate && pip install --upgrade pip
5150./install_executorch.sh
5251```
5352
54- ### 4. Clone the Demo App
53+ ### 4. Backend Dependencies
54+
55+ Install additional dependencies for [ Core ML] ( backends-coreml.md ) and [ MPS] ( backends-mps.md ) backends:
5556
5657``` bash
57- git clone --depth 1 https://github.com/pytorch-labs/executorch-examples.git
58+ ./backends/apple/coreml/scripts/install_requirements.sh
59+ ./backends/apple/mps/install_requirements.sh
5860```
5961
60- ### 5. Backend Dependencies
61-
62- Also, follow the corresponding sections from [ Core ML] ( https://pytorch.org/executorch/stable/build-run-coreml ) and
63- [ MPS] ( https://pytorch.org/executorch/stable/build-run-mps ) tutorials to install additional dependencies for those
64- backends:
62+ ### 5. Clone the Demo App
6563
6664``` bash
67- ./backends/apple/coreml/scripts/install_requirements.sh
68-
69- ./backends/apple/mps/install_requirements.sh
65+ git clone --depth 1 https://github.com/pytorch-labs/executorch-examples.git
7066```
7167
7268## Models and Labels
@@ -101,10 +97,9 @@ curl https://raw.githubusercontent.com/pytorch/hub/master/imagenet_classes.txt \
10197 -o " $APP_PATH /Resources/Models/MobileNet/imagenet_classes.txt"
10298```
10399
104- ## Final Steps
100+ ## Build and Run the App
105101
106- We're almost done! Now, we just need to open the project in Xcode, run the
107- tests, and finally run the app.
102+ We're almost done! Now, we just need to open the project in Xcode, run the tests, and finally run the app.
108103
109104### 1. Open Project in Xcode
110105
@@ -116,8 +111,7 @@ open $APP_PATH.xcodeproj
116111
117112### 2. Run Tests
118113
119- You can run tests on Simulaltor directly in Xcode with ` Cmd + U ` or use the
120- command line:
114+ You can run tests on Simulaltor directly in Xcode with ` Cmd + U ` or use the command line:
121115
122116``` bash
123117xcrun simctl create executorch " iPhone 15"
@@ -136,6 +130,4 @@ using `Cmd + R`. Try installing a Release build for better performance.
136130Congratulations! You've successfully set up the ExecuTorch iOS Demo App. Now,
137131you can explore and enjoy the power of ExecuTorch on your iOS device!
138132
139- Learn more about integrating and running [ ExecuTorch on Apple] ( https://pytorch.org/executorch/stable/apple-runtime ) platforms.
140-
141- ![ ] ( _static/img/demo_ios_xcode.jpg )
133+ Learn more about [ Using ExecuTorch on iOS] ( using-executorch-ios.md ) .
0 commit comments