Skip to content

Commit 8c37ecb

Browse files
authored
Update README.md
1 parent d432e5a commit 8c37ecb

File tree

1 file changed

+11
-6
lines changed

1 file changed

+11
-6
lines changed

examples/demo-apps/apple_ios/LLaMA/README.md

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,20 +23,25 @@ Download already exported LLaMA/LLaVA models along with tokenizers from [Hugging
2323

2424
## Build and Run
2525

26-
1. Open the Xcode project:
26+
1. Make sure git submodules are up-to-date:
27+
```bash
28+
git submodule update --init --recursive
29+
```
30+
31+
2. Open the Xcode project:
2732
```bash
2833
open examples/demo-apps/apple_ios/LLaMA/LLaMA.xcodeproj
2934
```
3035

31-
2. Click the Play button to launch the app in the Simulator.
36+
3. Click the Play button to launch the app in the Simulator.
3237

33-
3. To run on a device, ensure you have it set up for development and a provisioning profile with the `increased-memory-limit` entitlement. Update the app's bundle identifier to match your provisioning profile with the required capability.
38+
4. To run on a device, ensure you have it set up for development and a provisioning profile with the `increased-memory-limit` entitlement. Update the app's bundle identifier to match your provisioning profile with the required capability.
3439
35-
4. After successfully launching the app, copy the exported ExecuTorch model (`.pte`) and tokenizer (`.model`) files to the iLLaMA folder.
40+
5. After successfully launching the app, copy the exported ExecuTorch model (`.pte`) and tokenizer (`.model`) files to the iLLaMA folder.
3641
3742
- **For the Simulator:** Drag and drop both files onto the Simulator window and save them in the `On My iPhone > iLLaMA` folder.
38-
- **For a device:** Open a separate Finder window, navigate to the Files tab, drag and drop both files into the iLLaMA folder, and wait for the copying to finish.
43+
- **For a Device:** Open a separate Finder window, navigate to the Files tab, drag and drop both files into the iLLaMA folder, and wait for the copying to finish.
3944
40-
5. Follow the app's UI guidelines to select the model and tokenizer files from the local filesystem and issue a prompt.
45+
6. Follow the app's UI guidelines to select the model and tokenizer files from the local filesystem and issue a prompt.
4146

4247
For more details check out the [Using ExecuTorch on iOS](../../../../docs/source/using-executorch-ios.md) page.

0 commit comments

Comments
 (0)