-
Notifications
You must be signed in to change notification settings - Fork 694
Update maven and swiftpm version to 0.7.0 #13299
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,17 +28,17 @@ The AAR library can be used for generic Android device with arm64-v8a or x86_64 | |
|
||
ExecuTorch is available on [Maven Central](https://mvnrepository.com/artifact/org.pytorch/executorch-android). | ||
|
||
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. | ||
Simply add the target [`org.pytorch:executorch-android:0.7.0`](https://repo.maven.apache.org/maven2/org/pytorch/executorch-android/0.7.0/) to your Android app dependency (build.gradle), and build your app. | ||
|
||
For example: | ||
``` | ||
# app/build.gradle.kts | ||
dependencies { | ||
implementation("org.pytorch:executorch-android:0.6.0-rc1") | ||
implementation("org.pytorch:executorch-android:0.7.0") | ||
} | ||
``` | ||
|
||
Note: If you want to use release v0.5.0, please use dependency `org.pytorch:executorch-android:0.5.1`. | ||
Note: If you want to use release v0.6.0, please use dependency `org.pytorch:executorch-android:0.6.0`. | ||
|
||
Click the screenshot below to watch the *demo video* on how to add the package and run a simple ExecuTorch model with Android Studio. | ||
<a href="_static/img/android_studio.mp4"> | ||
|
@@ -53,8 +53,8 @@ You can also directly specify an AAR file in the app. We upload pre-built AAR to | |
|
||
| Version | AAR | SHASUMS | | ||
| ------- | --- | ------- | | ||
| [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) | | ||
| [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) | | ||
| [v0.7.0](https://github.com/pytorch/executorch/releases/tag/v0.7.0-rc5) | [executorch.aar](https://ossci-android.s3.amazonaws.com/executorch/release/v0.7.0-rc5/executorch.aar) | [executorch.aar.sha256sums](https://ossci-android.s3.amazonaws.com/executorch/release/v0.7.0-rc5/executorch.aar.sha256sums) | | ||
|
||
| [v0.6.0](https://github.com/pytorch/executorch/releases/tag/v0.6.0) | [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) | | ||
|
||
### Snapshots from main branch | ||
|
||
|
@@ -90,7 +90,7 @@ implementation("com.facebook.fbjni:fbjni:0.5.1") | |
In your app working directory, such as executorch/examples/demo-apps/android/LlamaDemo, | ||
``` | ||
mkdir -p app/libs | ||
curl https://ossci-android.s3.amazonaws.com/executorch/release/v0.6.0-rc1/executorch.aar -o app/libs/executorch.aar | ||
curl https://ossci-android.s3.amazonaws.com/executorch/release/v0.7.0/executorch.aar -o app/libs/executorch.aar | ||
|
||
``` | ||
|
||
And include it in gradle: | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please keep the previous line
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
0.5.0 is a bit strange