Skip to content

Commit 5087e37

Browse files
committed
Update android docs
1 parent 8ca1507 commit 5087e37

File tree

1 file changed

+3
-11
lines changed

1 file changed

+3
-11
lines changed

docs/source/using-executorch-android.md

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,11 @@ The AAR artifact contains the Java library for users to integrate with their Jav
2222
- LLaMa-specific Custom ops library.
2323
- Comes with two ABI variants, arm64-v8a and x86\_64.
2424

25-
The AAR library can be used for generic Android device with arm64-v8a or x86_64 architecture. It can be used across form factors, including phones, tablets, tv boxes, etc, as it does not contain any UI components.
26-
2725
## Using AAR from Maven Central
2826

2927
ExecuTorch is available on [Maven Central](https://mvnrepository.com/artifact/org.pytorch/executorch-android).
3028

31-
Simply add the target [`org.pytorch:executorch-android:0.5.1`](https://repo.maven.apache.org/maven2/org/pytorch/executorch-android/0.5.1/) to your Android app dependency (build.gradle), and build your app.
29+
Simply add the target [`org.pytorch:executorch-android:0.6.0-rc1`](https://repo.maven.apache.org/maven2/org/pytorch/executorch-android/0.6.0-rc1/) to your Android app dependency (build.gradle), and build your app.
3230

3331
For example:
3432
```
@@ -40,11 +38,6 @@ dependencies {
4038

4139
Note: `org.pytorch:executorch-android:0.5.1` corresponds to executorch v0.5.0.
4240

43-
Click the screenshot below to watch the *demo video* on how to add the package and run a simple ExecuTorch model with Android Studio.
44-
<a href="https://pytorch.org/executorch/main/_static/img/android_studio.mp4">
45-
<img src="https://pytorch.org/executorch/main/_static/img/android_studio.jpeg" width="800" alt="Integrating and Running ExecuTorch on Android">
46-
</a>
47-
4841
## Using AAR file directly
4942

5043
You can also directly specify an AAR file in the app. We upload pre-built AAR to S3 during each release, or as a snapshot.
@@ -53,6 +46,7 @@ You can also directly specify an AAR file in the app. We upload pre-built AAR to
5346

5447
| Version | AAR | SHASUMS |
5548
| ------- | --- | ------- |
49+
| [v0.6.0-rc1](https://github.com/pytorch/executorch/releases/tag/v0.6.0-rc1) | [executorch.aar](https://ossci-android.s3.amazonaws.com/executorch/release/v0.6.0-rc1/executorch.aar) | [executorch.aar.sha256sums](https://ossci-android.s3.amazonaws.com/executorch/release/v0.6.0-rc1/executorch.aar.sha256sums) |
5650
| [v0.5.0](https://github.com/pytorch/executorch/releases/tag/v0.5.0) | [executorch.aar](https://ossci-android.s3.amazonaws.com/executorch/release/v0.5.0-rc3/executorch.aar) | [executorch.aar.sha256sums](https://ossci-android.s3.amazonaws.com/executorch/release/v0.5.0-rc3/executorch.aar.sha256sums) |
5751

5852
### Snapshots from main branch
@@ -78,7 +72,7 @@ implementation("com.facebook.fbjni:fbjni:0.5.1")
7872
In your app working directory, such as executorch/examples/demo-apps/android/LlamaDemo,
7973
```
8074
mkdir -p app/libs
81-
curl https://ossci-android.s3.amazonaws.com/executorch/release/v0.5.0-rc3/executorch.aar -o app/libs/executorch.aar
75+
curl https://ossci-android.s3.amazonaws.com/executorch/release/v0.6.0-rc1/executorch.aar -o app/libs/executorch.aar
8276
```
8377

8478
And include it in gradle:
@@ -110,8 +104,6 @@ export ANDROID_NDK=/path/to/ndk
110104
sh scripts/build_android_library.sh
111105
```
112106

113-
Currently, XNNPACK backend is always built with the script.
114-
115107
### Optional environment variables
116108

117109
Optionally, set these environment variables before running `build_android_library.sh`.

0 commit comments

Comments
 (0)