Skip to content

Commit 7ddd415

Browse files
committed
Update instructions
1 parent 6426d6b commit 7ddd415

File tree

1 file changed

+4
-4
lines changed
  • examples/demo-apps/android/LlamaDemo

1 file changed

+4
-4
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,15 @@ This app demonstrates the use of the LLaMA chat app demonstrating local inferenc
66
* 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.
77
* Install [Java 17 JDK](https://www.oracle.com/java/technologies/javase/jdk17-archive-downloads.html).
88
* Install the [Android SDK API Level 34](https://developer.android.com/about/versions/14/setup-sdk) and
9-
[Android NDK 25](https://developer.android.com/studio/projects/install-ndk).
9+
[Android NDK 25.0.8775105](https://developer.android.com/studio/projects/install-ndk).
1010
* If you have Android Studio set up, you can install them with
1111
* Android Studio Settings -> Language & Frameworks -> Android SDK -> SDK Platforms -> Check the row with API Level 34.
1212
* Android Studio Settings -> Language & Frameworks -> Android SDK -> SDK Tools -> Check NDK (Side by side) row.
1313
* Alternatively, you can follow [this guide](https://github.com/pytorch/executorch/blob/856e085b9344c8b0bf220a97976140a5b76356aa/examples/demo-apps/android/LlamaDemo/SDK.md) to set up Java/SDK/NDK with CLI.
1414
* Supported Host OS: CentOS, macOS Sonoma on Apple Silicon.
1515

1616
```{note}
17-
This demo app and tutorial has only been validated with arm64-v8a [ABI](https://developer.android.com/ndk/guides/abis), with NDK 25.
17+
This demo app and tutorial has only been validated with arm64-v8a [ABI](https://developer.android.com/ndk/guides/abis), with NDK 25.0.8775105.
1818
```
1919

2020
## Getting models
@@ -35,8 +35,8 @@ The demo app searches in `/data/local/tmp/llama` for .pte and .bin files as LLAM
3535
1. Open a terminal window and navigate to the root directory of the `executorch`.
3636
2. Set the following environment variables:
3737
```{note}
38-
<path_to_android_ndk> is the root for the NDK, which is usually located under
39-
/Users/<user>/Library/Android/sdk/ndk/<version> for macOS, and contains NOTICE and README.md.
38+
<path_to_android_ndk> is the root for the NDK, which is usually under
39+
~/Library/Android/sdk/ndk/XX.Y.ZZZZZ for macOS, and contains NOTICE and README.md.
4040
We use <path_to_android_ndk>/build/cmake/android.toolchain.cmake for CMake to cross-compile.
4141
```
4242
```bash

0 commit comments

Comments
 (0)