File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -477,7 +477,7 @@ The following assumes you've completed the steps for [Setting up ExecuTorch](#se
477
477
478
478
1. Download the AAR file, which contains the Java library and corresponding JNI library, to build and run the app.
479
479
480
- - [executorch.aar](https://ossci-android.s3.amazonaws.com/executorch/release/executorch-241002/executorch.aar) (sha256sum: 2546feed560cef01cc7b47260c694311346196934f41900cac08e418f4a60096 )
480
+ - [executorch.aar](https://ossci-android.s3.amazonaws.com/executorch/release/executorch-241002/executorch.aar) ([sha256sums](https://ossci-android.s3.amazonaws.com/executorch/release/executorch-241002/executorch.aar.sha256sums) )
481
481
482
482
2. Move the downloaded AAR file to ` torchchat/edge/android/torchchat/app/libs/` . You may need to create directory ` torchchat/edge/android/torchchat/app/libs/` if it does not exist.
483
483
Original file line number Diff line number Diff line change 31
31
fi
32
32
33
33
LLAMA_AAR_URL=" https://ossci-android.s3.amazonaws.com/executorch/release/executorch-241002/executorch.aar"
34
- LLAMA_AAR_SHASUM= " 2546feed560cef01cc7b47260c694311346196934f41900cac08e418f4a60096 "
34
+ LLAMA_AAR_SHASUM_URL= " https://ossci-android.s3.amazonaws.com/executorch/release/executorch-241002/executorch.aar.sha256sums "
35
35
36
36
mkdir -p ${TORCHCHAT_ROOT} /build/android
37
37
@@ -88,8 +88,10 @@ setup_android_sdk() {
88
88
89
89
download_aar_library () {
90
90
mkdir -p ${TORCHCHAT_ROOT} /android/torchchat/app/libs
91
- curl " ${LLAMA_AAR_URL} " -o ${TORCHCHAT_ROOT} /android/torchchat/app/libs/executorch.aar
92
- echo " ${LLAMA_AAR_SHASUM} ${TORCHCHAT_ROOT} /android/torchchat/app/libs/executorch.aar" | shasum --check --status
91
+ curl " ${LLAMA_AAR_URL} " -O
92
+ curl " ${LLAMA_AAR_SHASUM_URL} " -O
93
+ shasum --check --status executorch.aar.sha256sums
94
+ mv executorch.aar ${TORCHCHAT_ROOT} /android/torchchat/app/libs/
93
95
}
94
96
95
97
build_app () {
You can’t perform that action at this time.
0 commit comments