You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Set up your ExecuTorch repo and environment if you haven’t done so by following the [Setting up ExecuTorch](https://pytorch.org/executorch/stable/getting-started-setup) to set up the repo and dev environment.
8
+
*[Xcode 15](https://developer.apple.com/xcode)
9
+
*[iOS 17 SDK](https://developer.apple.com/ios)
10
+
* Set up your ExecuTorch repo and environment if you haven’t done so by following the [Setting up ExecuTorch](https://pytorch.org/executorch/stable/getting-started-setup) to set up the repo and dev environment:
Please refer to the [ExecuTorch Llama2 docs](https://github.com/pytorch/executorch/blob/main/examples/models/llama2/README.md) to export the model.
@@ -16,10 +26,11 @@ Please refer to the [ExecuTorch Llama2 docs](https://github.com/pytorch/executor
16
26
17
27
1. Open the [project](https://github.com/pytorch/executorch/blob/main/examples/demo-apps/apple_ios/LLaMA/LLaMA.xcodeproj) in Xcode.
18
28
2. Run the app (cmd+R).
19
-
3. In app UI pick a model and tokenizer to use, type a prompt and tap the arrow buton as on the [video](../_static/img/llama_ios_app.mp4).
29
+
3. In app UI pick a model and tokenizer to use, type a prompt and tap the arrow buton
20
30
21
31
```{note}
22
-
ExecuTorch runtime is distributed as a Swift package providing some .xcframework as prebuilt binary targets. Xcode will dowload and cache the package on the first run, which will take some time.
32
+
ExecuTorch runtime is distributed as a Swift package providing some .xcframework as prebuilt binary targets.
33
+
Xcode will dowload and cache the package on the first run, which will take some time.
23
34
```
24
35
25
36
## Copy the model to Simulator
@@ -33,5 +44,11 @@ ExecuTorch runtime is distributed as a Swift package providing some .xcframework
33
44
2. Navigate to the Files tab and drag&drop the model and tokenizer files onto the iLLaMA folder.
<imgsrc="https://pytorch.org/executorch/main/_static/img/llama_ios_app.png"width="600"alt="iOS app running a LlaMA model">
51
+
</a>
52
+
36
53
## Reporting Issues
37
54
If you encountered any bugs or issues following this tutorial please file a bug/issue here on [Github](https://github.com/pytorch/executorch/issues/new).
0 commit comments