Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

[mob][android] Align ONNX Runtime packaging release

laurenspriem698984eae552
diff --git a/mobile/apps/photos/android/app/build.gradle b/mobile/apps/photos/android/app/build.gradle
index 8c224a2429..74828d180c 100644
--- a/mobile/apps/photos/android/app/build.gradle
+++ b/mobile/apps/photos/android/app/build.gradle
@@ -200,7 +200,7 @@ dependencies {
implementation 'com.google.guava:listenablefuture:9999.0-empty-to-avoid-conflict-with-guava'
// Custom WebGPU/XNNPACK build required by Rust ML, which dynamically
// loads libonnxruntime.so.
- implementation 'io.ente.onnxruntime:onnxruntime-webgpu-android:1.27.0-r2@aar'
+ implementation 'io.ente.onnxruntime:onnxruntime-webgpu-android:1.27.0-r3@aar'
testImplementation 'junit:junit:4.12'
androidTestImplementation 'androidx.test:runner:1.1.1'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.1'
diff --git a/mobile/apps/photos/android/gradle/verification-metadata.xml b/mobile/apps/photos/android/gradle/verification-metadata.xml
index ba604aa2fb..34f8f0d32d 100644
--- a/mobile/apps/photos/android/gradle/verification-metadata.xml
+++ b/mobile/apps/photos/android/gradle/verification-metadata.xml
@@ -20,8 +20,8 @@
</trusted-artifacts>
</configuration>
<components>
- <component group="io.ente.onnxruntime" name="onnxruntime-webgpu-android" version="1.27.0-r2">
- <artifact name="onnxruntime-webgpu-android-1.27.0-r2.aar">
+ <component group="io.ente.onnxruntime" name="onnxruntime-webgpu-android" version="1.27.0-r3">
+ <artifact name="onnxruntime-webgpu-android-1.27.0-r3.aar">
<sha256 value="0752f9b026df55780602cf482d9acddbe662d21383a2530d6e8c3d34a1ca8090"/>
</artifact>
</component>
diff --git a/mobile/native/android/apps/ensu/gradle/verification-metadata.xml b/mobile/native/android/apps/ensu/gradle/verification-metadata.xml
index ba604aa2fb..34f8f0d32d 100644
--- a/mobile/native/android/apps/ensu/gradle/verification-metadata.xml
+++ b/mobile/native/android/apps/ensu/gradle/verification-metadata.xml
@@ -20,8 +20,8 @@
</trusted-artifacts>
</configuration>
<components>
- <component group="io.ente.onnxruntime" name="onnxruntime-webgpu-android" version="1.27.0-r2">
- <artifact name="onnxruntime-webgpu-android-1.27.0-r2.aar">
+ <component group="io.ente.onnxruntime" name="onnxruntime-webgpu-android" version="1.27.0-r3">
+ <artifact name="onnxruntime-webgpu-android-1.27.0-r3.aar">
<sha256 value="0752f9b026df55780602cf482d9acddbe662d21383a2530d6e8c3d34a1ca8090"/>
</artifact>
</component>
diff --git a/mobile/native/android/apps/ensu/rust/build.gradle.kts b/mobile/native/android/apps/ensu/rust/build.gradle.kts
index 80a9c4df58..06f3e172c7 100644
--- a/mobile/native/android/apps/ensu/rust/build.gradle.kts
+++ b/mobile/native/android/apps/ensu/rust/build.gradle.kts
@@ -134,5 +134,5 @@ dependencies {
// Custom WebGPU/XNNPACK build; the Rust runtime dynamically loads its
// libonnxruntime.so. Resolved from the Ivy repository declared in
// settings.gradle.kts and SHA-256 pinned in gradle/verification-metadata.xml.
- api("io.ente.onnxruntime:onnxruntime-webgpu-android:1.27.0-r2@aar")
+ api("io.ente.onnxruntime:onnxruntime-webgpu-android:1.27.0-r3@aar")
}
diff --git a/mobile/native/onnxruntime/README.md b/mobile/native/onnxruntime/README.md
index 188538ddd8..a8029a88fb 100644
--- a/mobile/native/onnxruntime/README.md
+++ b/mobile/native/onnxruntime/README.md
@@ -1,10 +1,10 @@
# Custom ONNX Runtime binaries
-The mobile apps use Ente's pinned custom ONNX Runtime 1.27.0 packaging builds
-from the ort-packaging repository:
+The mobile apps use Ente's pinned custom ONNX Runtime 1.27.0 packaging build
+(`ort-1.27.0-r3` from the ort-packaging repository):
-- Android (`ort-1.27.0-r2`): WebGPU, XNNPACK, and CPU; ARM64, ARMv7, and x86_64
-- iOS (`ort-1.27.0-r3`): CoreML and CPU; iOS 15.1+ device and ARM64 Simulator
+- Android: WebGPU, XNNPACK, and CPU; ARM64, ARMv7, and x86_64
+- iOS: CoreML and CPU; iOS 15.1+ device and ARM64 Simulator
Each platform's own package manager downloads and checksum-verifies the
binaries; there are no custom download scripts.