Skip to content

Commit e6f7bb1

Browse files
pytorchbotRiandy
andauthored
Fix broken images in docs (#5545)
Fix broken images in docs (#5514) Summary: Pull Request resolved: #5514 #5475 moved the images to static folder, #5493 updated some of it but missed out on the delegate specific docs. This diff, fixes that by replacing the image URLs that are broken Reviewed By: cmodi-meta, svekars, kirklandsign Differential Revision: D63135522 fbshipit-source-id: 10071b0428c203eef38500852e64f71e13ec1315 (cherry picked from commit 7de3f81) Co-authored-by: Riandy Riandy <[email protected]>
1 parent dbb00e5 commit e6f7bb1

File tree

5 files changed

+11
-11
lines changed

5 files changed

+11
-11
lines changed

examples/demo-apps/android/LlamaDemo/docs/delegates/mediatek_README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ Before continuing forward, make sure to modify the tokenizer, token embedding, a
112112
Prior to deploying the files on device, make sure to modify the tokenizer, token embedding, and model file names in examples/mediatek/executor_runner/run_llama3_sample.sh reflect what was generated during the Export Llama Model step.
113113

114114
<p align="center">
115-
<img src="../screenshots/mtk_changes_to_shell_file.png" width=600>
115+
<img src="https://raw.githubusercontent.com/pytorch/executorch/refs/heads/main/docs/source/_static/img/mtk_changes_to_shell_file.png" width=600>
116116
</p>
117117

118118
In addition, create a sample_prompt.txt file with a prompt. This will be deployed to the device in the next step.
@@ -150,7 +150,7 @@ adb shell
150150
```
151151

152152
<p align="center">
153-
<img src="../screenshots/mtk_output.png" width=800>
153+
<img src="https://raw.githubusercontent.com/pytorch/executorch/refs/heads/main/docs/source/_static/img/mtk_output.png" width=800>
154154
</p>
155155

156156
## Reporting Issues

examples/demo-apps/android/LlamaDemo/docs/delegates/qualcomm_README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ popd
221221
If the app successfully run on your device, you should see something like below:
222222

223223
<p align="center">
224-
<img src="https://github.com/pytorch/executorch/blob/main/examples/demo-apps/android/LlamaDemo/docs/screenshots/opening_the_app_details.png" width=800>
224+
<img src="https://raw.githubusercontent.com/pytorch/executorch/refs/heads/main/docs/source/_static/img/opening_the_app_details.png" width=800>
225225
</p>
226226

227227
## Reporting Issues

examples/demo-apps/android/LlamaDemo/docs/delegates/xnnpack_README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ popd
149149
If the app successfully run on your device, you should see something like below:
150150

151151
<p align="center">
152-
<img src="../screenshots/opening_the_app_details.png" width=800>
152+
<img src="https://raw.githubusercontent.com/pytorch/executorch/refs/heads/main/docs/source/_static/img/opening_the_app_details.png" width=800>
153153
</p>
154154

155155
## Reporting Issues

examples/demo-apps/apple_ios/LLaMA/docs/delegates/mps_README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -95,19 +95,19 @@ Note: To access logs, link against the Debug build of the ExecuTorch runtime, i.
9595
For more details integrating and Running ExecuTorch on Apple Platforms, checkout this [link](https://pytorch.org/executorch/main/apple-runtime.html).
9696

9797
<p align="center">
98-
<img src="../screenshots/ios_demo_app_swift_pm.png" alt="iOS LLaMA App Swift PM" width="600">
98+
<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">
9999
</p>
100100

101101
Then select which ExecuTorch framework should link against which target.
102102

103103
<p align="center">
104-
<img src="../screenshots/ios_demo_app_choosing_package.png" alt="iOS LLaMA App Choosing package" width="600">
104+
<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">
105105
</p>
106106

107107
Click “Run” to build the app and run in on your iPhone. If the app successfully run on your device, you should see something like below:
108108

109109
<p align="center">
110-
<img src="../screenshots/ios_demo_app_mps.jpg" alt="iOS LLaMA App mps" width="300">
110+
<img src="https://raw.githubusercontent.com/pytorch/executorch/refs/heads/main/docs/source/_static/img/ios_demo_app_mps.jpg" alt="iOS LLaMA App mps" width="300">
111111
</p>
112112

113113
## Reporting Issues

examples/demo-apps/apple_ios/LLaMA/docs/delegates/xnnpack_README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -95,25 +95,25 @@ Note: To access logs, link against the Debug build of the ExecuTorch runtime, i.
9595
For more details integrating and Running ExecuTorch on Apple Platforms, checkout this [link](https://pytorch.org/executorch/main/apple-runtime.html).
9696

9797
<p align="center">
98-
<img src="../screenshots/ios_demo_app_swift_pm.png" alt="iOS LLaMA App Swift PM" width="600">
98+
<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">
9999
</p>
100100

101101
Then select which ExecuTorch framework should link against which target.
102102

103103
<p align="center">
104-
<img src="../screenshots/ios_demo_app_choosing_package.png" alt="iOS LLaMA App Choosing package" width="600">
104+
<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">
105105
</p>
106106

107107
Click “Run” to build the app and run in on your iPhone. If the app successfully run on your device, you should see something like below:
108108

109109
<p align="center">
110-
<img src="../screenshots/ios_demo_app.jpg" alt="iOS LLaMA App" width="300">
110+
<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">
111111
</p>
112112

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

115115
<p align="center">
116-
<img src="../screenshots/ios_demo_app_llava.jpg" alt="iOS LLaMA App" width="300">
116+
<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">
117117
</p>
118118

119119
## Reporting Issues

0 commit comments

Comments
 (0)