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
Copy file name to clipboardExpand all lines: examples/demo-apps/android/LlamaDemo/README.md
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -6,15 +6,15 @@ This app demonstrates the use of the LLaMA chat app demonstrating local inferenc
6
6
* 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.
* If you have Android Studio set up, you can install them with
11
11
* Android Studio Settings -> Language & Frameworks -> Android SDK -> SDK Platforms -> Check the row with API Level 34.
12
12
* Android Studio Settings -> Language & Frameworks -> Android SDK -> SDK Tools -> Check NDK (Side by side) row.
13
13
* 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.
14
14
* Supported Host OS: CentOS, macOS Sonoma on Apple Silicon.
15
15
16
16
```{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.
18
18
```
19
19
20
20
## Getting models
@@ -35,8 +35,8 @@ The demo app searches in `/data/local/tmp/llama` for .pte and .bin files as LLAM
35
35
1. Open a terminal window and navigate to the root directory of the `executorch`.
36
36
2. Set the following environment variables:
37
37
```{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.
40
40
We use <path_to_android_ndk>/build/cmake/android.toolchain.cmake for CMake to cross-compile.
0 commit comments