Skip to content

armgit / ente

Public Imported from GitHub
0

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

Update to ort rc.13 with ORT 1.28

laurenspriem4c33fe2c2cdc
diff --git a/rust/Cargo.lock b/rust/Cargo.lock
index 462ad0e584..1ee2161b50 100644
--- a/rust/Cargo.lock
+++ b/rust/Cargo.lock
@@ -6276,8 +6276,9 @@ dependencies = [
[[package]]
name = "ort"
-version = "2.0.0-rc.12"
-source = "git+https://github.com/pykeio/ort.git?rev=31c8f1443bb579bfddb82705288347697e468fb3#31c8f1443bb579bfddb82705288347697e468fb3"
+version = "2.0.0-rc.13"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "4336a1e2b38848325241c72889086886004e589b7c74f335e60a8e8db5138a0b"
dependencies = [
"half",
"libloading 0.9.0",
@@ -6290,8 +6291,9 @@ dependencies = [
[[package]]
name = "ort-sys"
-version = "2.0.0-rc.12"
-source = "git+https://github.com/pykeio/ort.git?rev=31c8f1443bb579bfddb82705288347697e468fb3#31c8f1443bb579bfddb82705288347697e468fb3"
+version = "2.0.0-rc.13"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "cf211e3776eea6aec988552fa118dd746d70e1b1e5e244058d1c98015f3e5872"
dependencies = [
"glob",
"hmac-sha256",
@@ -9571,8 +9573,7 @@ dependencies = [
[[package]]
name = "transcribe-rs"
version = "0.3.11"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "fb9d5cfb8e68a2a8fc27fb548987473221d3cc3776a331ccde46c8bd8b2eda0f"
+source = "git+https://github.com/laurens-pilot/transcribe-rs.git?rev=cc7d0a39126366fad44624ad962e772ceb2a59fd#cc7d0a39126366fad44624ad962e772ceb2a59fd"
dependencies = [
"base64 0.22.1",
"derive_builder",
diff --git a/rust/Cargo.toml b/rust/Cargo.toml
index 670a01b769..fdac44a5a8 100644
--- a/rust/Cargo.toml
+++ b/rust/Cargo.toml
@@ -39,8 +39,8 @@ flutter_rust_bridge = "=2.12.0"
flutter_rust_bridge_codegen = "=2.12.0"
md-5 = "0.11.0"
mockito = "1.7.2"
-ort = { git = "https://github.com/pykeio/ort.git", rev = "31c8f1443bb579bfddb82705288347697e468fb3", default-features = false }
-ort-sys = { git = "https://github.com/pykeio/ort.git", rev = "31c8f1443bb579bfddb82705288347697e468fb3", default-features = false }
+ort = { version = "=2.0.0-rc.13", default-features = false }
+ort-sys = { version = "=2.0.0-rc.13", default-features = false }
serde = { version = "1.0.228", features = ["derive"] }
serde_json = "1.0.149"
sha2 = "0.11.0"
@@ -55,7 +55,3 @@ zeroize = { version = "1.8.2", features = ["derive"] }
# Unoptimized Argon2 makes production-strength derivations dominate test runtime.
[profile.dev.package.argon2]
opt-level = 3
-
-# Keep transitive ORT users (notably transcribe-rs) on the same revision as direct ORT dependencies.
-[patch.crates-io]
-ort = { git = "https://github.com/pykeio/ort.git", rev = "31c8f1443bb579bfddb82705288347697e468fb3" }
diff --git a/rust/crates/photos/Cargo.toml b/rust/crates/photos/Cargo.toml
index 6480110972..9c14f14f4d 100644
--- a/rust/crates/photos/Cargo.toml
+++ b/rust/crates/photos/Cargo.toml
@@ -24,7 +24,7 @@ thiserror.workspace = true
# Newer usearch releases switched that implementation to numkong symbols.
usearch = { version = "=2.21.4", optional = true }
-# ORT source and revision are pinned once in the workspace manifest; only the
+# ORT source and version are pinned once in the workspace manifest; only the
# per-target feature sets are declared here.
# The iOS Cargokit build sets ORT_LIB_PATH to the directory containing the
# verified custom static archive.
@@ -35,7 +35,7 @@ ort = { workspace = true, features = [
"half",
# CoreML is the preferred iOS execution provider for Rust ML sessions.
"coreml",
- "api-27",
+ "api-28",
] }
[target.'cfg(target_os = "android")'.dependencies]
@@ -43,7 +43,7 @@ ash = { version = "0.38", default-features = false, features = ["loaded"] }
ort = { workspace = true, features = [
"ndarray",
"half",
- "api-27",
+ "api-28",
"load-dynamic",
"copy-dylibs",
"webgpu",
@@ -55,7 +55,7 @@ ort = { workspace = true, features = [
"ndarray",
"half",
"coreml",
- "api-27",
+ "api-28",
"load-dynamic",
"copy-dylibs",
] }
@@ -64,7 +64,7 @@ ort = { workspace = true, features = [
ort = { workspace = true, features = [
"ndarray",
"half",
- "api-27",
+ "api-28",
"load-dynamic",
"copy-dylibs",
"webgpu",
@@ -74,7 +74,7 @@ ort = { workspace = true, features = [
ort = { workspace = true, features = [
"ndarray",
"half",
- "api-27",
+ "api-28",
"load-dynamic",
"copy-dylibs",
] }