Skip to content

Commit 9f0e5b1

Browse files
authored
Update using-executorch-android.md
1 parent d11b50f commit 9f0e5b1

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/source/using-executorch-android.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,13 @@ The AAR library can be used for generic Android device with arm64-v8a or x86_64
2828

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

31-
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.
31+
Simply add the target [`org.pytorch:executorch-android:{{ aar_version }}`](https://repo.maven.apache.org/maven2/org/pytorch/executorch-android/{{ aar_version }}/) to your Android app dependency (build.gradle), and build your app.
3232

3333
For example:
3434
```
3535
# app/build.gradle.kts
3636
dependencies {
37-
implementation("org.pytorch:executorch-android:0.6.0-rc1")
37+
implementation("org.pytorch:executorch-android:{{ aar_version }}")
3838
}
3939
```
4040

@@ -53,7 +53,7 @@ You can also directly specify an AAR file in the app. We upload pre-built AAR to
5353

5454
| Version | AAR | SHASUMS |
5555
| ------- | --- | ------- |
56-
| [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) |
56+
| [{{ aar_version }}](https://github.com/pytorch/executorch/releases/tag/{{ aar_version }}) | [executorch.aar](https://ossci-android.s3.amazonaws.com/executorch/release/{{ aar_version }}/executorch.aar) | [executorch.aar.sha256sums](https://ossci-android.s3.amazonaws.com/executorch/release/{{ aar_version }}/executorch.aar.sha256sums) |
5757
| [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) |
5858

5959
### Snapshots from main branch
@@ -90,7 +90,7 @@ implementation("com.facebook.fbjni:fbjni:0.5.1")
9090
In your app working directory, such as executorch/examples/demo-apps/android/LlamaDemo,
9191
```
9292
mkdir -p app/libs
93-
curl https://ossci-android.s3.amazonaws.com/executorch/release/v0.6.0-rc1/executorch.aar -o app/libs/executorch.aar
93+
curl https://ossci-android.s3.amazonaws.com/executorch/release/{{ aar_version }}/executorch.aar -o app/libs/executorch.aar
9494
```
9595

9696
And include it in gradle:

0 commit comments

Comments
 (0)