File tree Expand file tree Collapse file tree 1 file changed +6
-13
lines changed Expand file tree Collapse file tree 1 file changed +6
-13
lines changed Original file line number Diff line number Diff line change 1
- # iOS
1
+ # Running LLaMA models on iOS
2
2
3
- Open the iOS Llama Xcode project at
4
- https://github.com/pytorch/executorch/tree/main/examples/demo-apps/apple_ios/LLaMA/LLaMA.xcodeproj
5
- in Xcode and click Run. You will need to provide a provisioning
6
- profile (similar to what's expected for any iOS dev).
3
+ Check out the [ tutorial] ( https://pytorch.org/executorch/main/llm/llama-demo-ios.html ) on how to build the iOS demo app running your
4
+ PyTorch models with [ ExecuTorch] ( https://github.com/pytorch/executorch ) .
7
5
8
- Once you can run the app on you device,
9
- 1 - connect the device to you Mac,
10
- 2 - copy the model and tokenizer.bin to the iOS Llama app
11
- 3 - select the tokenizer and model with the ` (...) ` control (bottom left of screen, to the left of the text entrybox)
12
-
13
-
14
- Detailed step by step in conjunction with ET iOS build, to run on
15
- simulator for iOS.
6
+ <a href =" https://pytorch.org/executorch/main/_static/img/llama_ios_app.mp4 " >
7
+ <img src =" https://pytorch.org/executorch/main/_static/img/llama_ios_app.png " width =" 600 " alt =" iOS app running a LlaMA model " >
8
+ </a >
You can’t perform that action at this time.
0 commit comments