Skip to content

Commit 0e6cd86

Browse files
kirklandsignpytorchbot
authored andcommitted
Update GH link in docs (#5493)
Summary: Should use the raw link instead of GH web link Pull Request resolved: #5493 Reviewed By: shoumikhin Differential Revision: D63040432 Pulled By: kirklandsign fbshipit-source-id: f6b8f1ec4fe2d7ac1c5f25cc1c727279a9d20065 (cherry picked from commit 16673f9)
1 parent 93ea1f1 commit 0e6cd86

File tree

2 files changed

+18
-9
lines changed

2 files changed

+18
-9
lines changed

examples/demo-apps/android/LlamaDemo/README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ Below are the UI features for the app.
4646

4747
Select the settings widget to get started with picking a model, its parameters and any prompts.
4848
<p align="center">
49-
<img src="docs/screenshots/opening_the_app_details.png" width=800>
49+
<img src="https://raw.githubusercontent.com/pytorch/executorch/refs/heads/main/docs/source/_static/img/opening_the_app_details.png" width=800>
5050
</p>
5151

5252

@@ -55,7 +55,7 @@ Select the settings widget to get started with picking a model, its parameters a
5555

5656
Once you've selected the model, tokenizer, and model type you are ready to click on "Load Model" to have the app load the model and go back to the main Chat activity.
5757
<p align="center">
58-
<img src="docs/screenshots/settings_menu.png" width=300>
58+
<img src="https://raw.githubusercontent.com/pytorch/executorch/refs/heads/main/docs/source/_static/img/settings_menu.png" width=300>
5959
</p>
6060

6161

@@ -87,12 +87,12 @@ int loadResult = mModule.load();
8787
### User Prompt
8888
Once model is successfully loaded then enter any prompt and click the send (i.e. generate) button to send it to the model.
8989
<p align="center">
90-
<img src="docs/screenshots/load_complete_and_start_prompt.png" width=300>
90+
<img src="https://raw.githubusercontent.com/pytorch/executorch/refs/heads/main/docs/source/_static/img/load_complete_and_start_prompt.png" width=300>
9191
</p>
9292

9393
You can provide it more follow-up questions as well.
9494
<p align="center">
95-
<img src="docs/screenshots/chat.png" width=300>
95+
<img src="https://raw.githubusercontent.com/pytorch/executorch/refs/heads/main/docs/source/_static/img/chat.png" width=300>
9696
</p>
9797

9898
> [!TIP]
@@ -109,14 +109,14 @@ mModule.generate(prompt,sequence_length, MainActivity.this);
109109
For LLaVA-1.5 implementation, select the exported LLaVA .pte and tokenizer file in the Settings menu and load the model. After this you can send an image from your gallery or take a live picture along with a text prompt to the model.
110110

111111
<p align="center">
112-
<img src="docs/screenshots/llava_example.png" width=300>
112+
<img src="https://raw.githubusercontent.com/pytorch/executorch/refs/heads/main/docs/source/_static/img/llava_example.png" width=300>
113113
</p>
114114

115115

116116
### Output Generated
117117
To show completion of the follow-up question, here is the complete detailed response from the model.
118118
<p align="center">
119-
<img src="docs/screenshots/chat_response.png" width=300>
119+
<img src="https://raw.githubusercontent.com/pytorch/executorch/refs/heads/main/docs/source/_static/img/chat_response.png" width=300>
120120
</p>
121121

122122
> [!TIP]

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

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,16 @@ Xcode will download and cache the package on the first run, which will take some
3939
```
4040

4141
* Open XCode and select "Open an existing project" to open `examples/demo-apps/apple_ios/LLama`.
42-
* Ensure that the ExecuTorch package dependencies are installed correctly.
42+
* Ensure that the ExecuTorch package dependencies are installed correctly, then select which ExecuTorch framework should link against which target.
43+
44+
<p align="center">
45+
<img src="https://raw.githubusercontent.com/pytorch/executorch/refs/heads/main/docs/source/_static/img/ios_demo_app_swift_pm.png" alt="iOS LLaMA App Swift PM" width="600">
46+
</p>
47+
48+
<p align="center">
49+
<img src="https://raw.githubusercontent.com/pytorch/executorch/refs/heads/main/docs/source/_static/img/ios_demo_app_choosing_package.png" alt="iOS LLaMA App Choosing package" width="600">
50+
</p>
51+
4352
* Run the app. This builds and launches the app on the phone.
4453
* In app UI pick a model and tokenizer to use, type a prompt and tap the arrow buton
4554

@@ -58,13 +67,13 @@ Xcode will download and cache the package on the first run, which will take some
5867
If the app successfully run on your device, you should see something like below:
5968

6069
<p align="center">
61-
<img src="./docs/screenshots/ios_demo_app.jpg" alt="iOS LLaMA App" width="300">
70+
<img src="https://raw.githubusercontent.com/pytorch/executorch/refs/heads/main/docs/source/_static/img/ios_demo_app.jpg" alt="iOS LLaMA App" width="300">
6271
</p>
6372

6473
For Llava 1.5 models, you can select and image (via image/camera selector button) before typing prompt and send button.
6574

6675
<p align="center">
67-
<img src="./docs/screenshots/ios_demo_app_llava.jpg" alt="iOS LLaMA App" width="300">
76+
<img src="https://raw.githubusercontent.com/pytorch/executorch/refs/heads/main/docs/source/_static/img/ios_demo_app_llava.jpg" alt="iOS LLaMA App" width="300">
6877
</p>
6978

7079
## Reporting Issues

0 commit comments

Comments
 (0)