Skip to content

Commit 78df332

Browse files
kirklandsignfacebook-github-bot
authored andcommitted
Android update prebuilt library link (#4362)
Summary: 0.2 -> 0.3 Pull Request resolved: #4362 Reviewed By: lucylq Differential Revision: D60122223 Pulled By: kirklandsign fbshipit-source-id: 2bb18f27ca819a021ca92ebb18d3b10ef6d0abb5
1 parent dbc73a6 commit 78df332

File tree

2 files changed

+10
-9
lines changed

2 files changed

+10
-9
lines changed

docs/source/android-prebuilt-library.md

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,18 @@ We provide two prebuilt Android libraries (AAR), `executorch.aar` for generic us
44

55
## Contents of libraries
66
- `executorch.aar`
7-
- [Java library](https://github.com/pytorch/executorch/tree/release/0.2/extension/android/src/main/java/org/pytorch/executorch)
8-
- JNI contains the JNI binding for [NativePeer.java](https://github.com/pytorch/executorch/blob/release/0.2/extension/android/src/main/java/org/pytorch/executorch/NativePeer.java) and ExecuTorch native library, including core ExecuTorch runtime libraries, XNNPACK backend, Portable kernels, Optimized kernels, and Quantized kernels.
7+
- [Java library](https://github.com/pytorch/executorch/tree/release/0.3/extension/android/src/main/java/org/pytorch/executorch)
8+
- JNI contains the JNI binding for [NativePeer.java](https://github.com/pytorch/executorch/blob/release/0.3/extension/android/src/main/java/org/pytorch/executorch/NativePeer.java) and ExecuTorch native library, including core ExecuTorch runtime libraries, XNNPACK backend, Portable kernels, Optimized kernels, and Quantized kernels.
99
- Comes with two ABI variants, arm64-v8a and x86_64.
1010
- `executorch_llama.aar`
11-
- [Java library](https://github.com/pytorch/executorch/tree/release/0.2/extension/android/src/main/java/org/pytorch/executorch) (Note: it contains the same Java classes as the previous Java, but it does not contain the JNI binding for generic Module/NativePeer Java code).
12-
- JNI contains the JNI binding for [LlamaModule.java](https://github.com/pytorch/executorch/blob/release/0.2/extension/android/src/main/java/org/pytorch/executorch/LlamaModule.java) and ExecuTorch native library, including core ExecuTorch runtime libraries, XNNPACK backend, Portable kernels, Optimized kernels, Quantized kernels, and LLAMA-specific Custom ops library.
11+
- [Java library](https://github.com/pytorch/executorch/tree/release/0.3/extension/android/src/main/java/org/pytorch/executorch) (Note: it contains the same Java classes as the previous Java, but it does not contain the JNI binding for generic Module/NativePeer Java code).
12+
- JNI contains the JNI binding for [LlamaModule.java](https://github.com/pytorch/executorch/blob/release/0.3/extension/android/src/main/java/org/pytorch/executorch/LlamaModule.java) and ExecuTorch native library, including core ExecuTorch runtime libraries, XNNPACK backend, Portable kernels, Optimized kernels, Quantized kernels, and LLAMA-specific Custom ops library.
1313
- Comes with two ABI variants, arm64-v8a and x86_64.
1414

1515
## Downloading AAR
16-
[executorch.aar](https://ossci-android.s3.us-west-1.amazonaws.com/executorch/release/0.2.1/executorch.aar) (sha1sum: af7690394fd978603abeff40cf64bd2df0dc793a)
17-
[executorch_llama.aar](https://ossci-android.s3.us-west-1.amazonaws.com/executorch/release/0.2.1/executorch-llama.aar) (sha1sum: 2973b1c41aa2c2775482d7cc7c803d0f6ca282c1)
16+
[executorch.aar](https://ossci-android.s3.us-west-1.amazonaws.com/executorch/release/0.3/executorch.aar)
17+
[executorch_llama.aar](https://ossci-android.s3.us-west-1.amazonaws.com/executorch/release/0.3/executorch-llama.aar)
18+
[SHA1SUMS](https://ossci-android.s3.us-west-1.amazonaws.com/executorch/release/0.3/SHA1SUMS)
1819

1920
## Using prebuilt libraries
2021

@@ -23,7 +24,7 @@ To add the Java library to your app, simply download the AAR, and add it to your
2324
In your app working directory, such as example executorch/examples/demo-apps/android/LlamaDemo,
2425
```
2526
mkdir -p app/libs
26-
curl https://ossci-android.s3.us-west-1.amazonaws.com/executorch/release/0.2.1/executorch-llama.aar -o app/libs/executorch.aar
27+
curl https://ossci-android.s3.us-west-1.amazonaws.com/executorch/release/0.3/executorch-llama.aar -o app/libs/executorch.aar
2728
```
2829

2930
And include it in gradle:

examples/demo-apps/android/LlamaDemo/download_prebuilt_lib.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77

88
set -eu
99

10-
AAR_URL="https://ossci-android.s3.us-west-1.amazonaws.com/executorch/release/0.2.1/executorch-llama.aar"
11-
AAR_SHASUM="2973b1c41aa2c2775482d7cc7c803d0f6ca282c1"
10+
AAR_URL="https://ossci-android.s3.us-west-1.amazonaws.com/executorch/release/0.3/executorch-llama.aar"
11+
AAR_SHASUM="f06cc1606e5e05f00fd0ae721f5d37d56124fd28"
1212

1313
LIBS_PATH="$(dirname "$0")/app/libs"
1414
AAR_PATH="${LIBS_PATH}/executorch-llama.aar"

0 commit comments

Comments
 (0)