π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
update ORT builds to 1.28
laurenspriem5e833eb66f8e
diff --git a/desktop/scripts/ort.js b/desktop/scripts/ort.jsindex 437cd40cee..185b67785c 100644--- a/desktop/scripts/ort.js+++ b/desktop/scripts/ort.js@@ -21,7 +21,7 @@ const fsp = require("node:fs/promises");const path = require("node:path");const { execFileSync } = require("node:child_process");-const ortVersion = "1.27.0-r4";+const ortVersion = "1.28.0-r1";const ortReleaseURL = `https://github.com/laurens-pilot/ort-packaging/releases/download/ort-${ortVersion}`;@@ -34,17 +34,17 @@ const ortReleaseURL = `https://github.com/laurens-pilot/ort-packaging/releases/d*/const ortAssetSHA256s = {"darwin-arm64":- "dbb243c3b43963fda6c9475a978d0954b69490d386bc3ecb54a471b2a13ba043",+ "de08b6c23398f1d6639c66519b44b06f7cd0f7c44a5ad7bade3c4d8b049c5428","darwin-x64":- "d655686380c1976a9067a48d82645a381e4bc4bdfcc44c88f300befc24c4ae8e",+ "eee287e7d221a9b17928ee8f368dfaccb1467fe58fbb54fa08cab0ae903ba057","linux-arm64":- "0b0367bddd96fb0263781022f715ec531a9856e14d8ed91beea80da8d9bb6a2e",+ "90b9cf4501213e09f97804ac0d7d0cd80d7f5da2a5d5cc599606b11e3c35fc78","linux-x64":- "d417b8d92498f3e754e23fbeac0751f13375061c6c31cc83e869f33a37fca8ad",+ "2293762c2b665e55282b677de7f8e4ae106507a72c9985bdb930685c0d902fd5","win32-arm64":- "9e3179a985e08700b37f15af7049bca4fc007cb4d5a7e2ff1d81df10e330544e",+ "552950610a7be5348c0d5ba6ef3ee6c3010bbe374b57d0d37f14be0408d88dec","win32-x64":- "0534f35981fe3174379c7e80f93977edd990ce67c40f6cbdde1e6890eb798911",+ "10bdfec578e0ecc6064ea562a63e1165593cfbb2cec47250616aa64ef8456f5c",};const ortAssetName = (platform, arch) => {diff --git a/desktop/src/main/services/ml-native.ts b/desktop/src/main/services/ml-native.tsindex a4bb2d24d8..a9b5747f73 100644--- a/desktop/src/main/services/ml-native.ts+++ b/desktop/src/main/services/ml-native.ts@@ -61,9 +61,9 @@ const napiTriple = () => {const onnxRuntimeLibraryName = () => {switch (process.platform) {case "darwin":- return "libonnxruntime.1.27.0.dylib";+ return "libonnxruntime.1.28.0.dylib";case "linux":- return "libonnxruntime.so.1.27.0";+ return "libonnxruntime.so.1.28.0";case "win32":return "onnxruntime.dll";default:diff --git a/infra/ml/README.md b/infra/ml/README.mdindex 2a59d1c9c3..5c00da5473 100644--- a/infra/ml/README.md+++ b/infra/ml/README.md@@ -16,7 +16,7 @@ Playground notebooks use their own Python project:- `infra/ml/playground/pyproject.toml`-ONNX Runtime 1.27 no longer publishes Apple x86_64 binaries. On macOS, the+ONNX Runtime 1.28 does not publish Apple x86_64 binaries. On macOS, theparity and playground Python environments therefore require Apple Silicon andmacOS 14 or newer.diff --git a/infra/ml/playground/pyproject.toml b/infra/ml/playground/pyproject.tomlindex 069cee96aa..8186061af5 100644--- a/infra/ml/playground/pyproject.toml+++ b/infra/ml/playground/pyproject.toml@@ -11,7 +11,7 @@ dependencies = ["onnx>=1.17.0","onnxconverter-common>=1.14.0","onnxruntime-extensions>=0.12.0",- "onnxruntime==1.27.0",+ "onnxruntime==1.28.0","onnxsim>=0.4.36","opencv-python>=4.10.0.84","pandas>=2.2.3",diff --git a/infra/ml/pyproject.toml b/infra/ml/pyproject.tomlindex a6f68cfb69..49175e9617 100644--- a/infra/ml/pyproject.toml+++ b/infra/ml/pyproject.toml@@ -6,7 +6,7 @@ readme = "README.md"requires-python = ">=3.12"dependencies = ["numpy>=2.1.2",- "onnxruntime==1.27.0",+ "onnxruntime==1.28.0","opencv-python>=4.10.0.84","pillow-heif>=1.3.0","pillow>=12.3.0",diff --git a/infra/ml/test/ml_indexing/assets.json b/infra/ml/test/ml_indexing/assets.jsonindex 7038f604a8..6754305d61 100644--- a/infra/ml/test/ml_indexing/assets.json+++ b/infra/ml/test/ml_indexing/assets.json@@ -13,25 +13,25 @@"sha256": "2def6506e098234abc2e6e10febd820b8e3e66d6ad4c9525cb4f1cec3418f9b6"},"onnx_runtime": {- "version": "1.27.0",+ "version": "1.28.0","archives": {"aarch64-apple-darwin": {- "url": "https://github.com/microsoft/onnxruntime/releases/download/v1.27.0/onnxruntime-osx-arm64-1.27.0.tgz",- "sha256": "545e81c58152353acb0d1e8bd6ce4b62f830c0961f5b3acfedc790ffd76e477a",- "library_path": "./onnxruntime-osx-arm64-1.27.0/lib/libonnxruntime.dylib",- "library_sha256": "2ebb057c654ef6422b28bc84bfcc69591b4eccea7814a3bd84677607c36096de"+ "url": "https://github.com/microsoft/onnxruntime/releases/download/v1.28.0/onnxruntime-osx-arm64-1.28.0.tgz",+ "sha256": "1268b359718099bde2cedb55787f182a130067bc4f31e8c88478c445b850d3d8",+ "library_path": "./onnxruntime-osx-arm64-1.28.0/lib/libonnxruntime.dylib",+ "library_sha256": "dc19bbcb2f5c9fb3c68b4f9248aa0a35065ff702c5dbeae75eac54a74da97b6d"},"x86_64-unknown-linux-gnu": {- "url": "https://github.com/microsoft/onnxruntime/releases/download/v1.27.0/onnxruntime-linux-x64-1.27.0.tgz",- "sha256": "547e40a48f1fe73e3f812d7c88a948612c23f896b91e4e2ee1e232d7b468246f",- "library_path": "onnxruntime-linux-x64-1.27.0/lib/libonnxruntime.so.1.27.0",- "library_sha256": "4061866361d9a8d2872f5f419c5515ce35a830a0c5c77ce1723320ac0dbabfc7"+ "url": "https://github.com/microsoft/onnxruntime/releases/download/v1.28.0/onnxruntime-linux-x64-1.28.0.tgz",+ "sha256": "a3e1b79d7bb1bf09696ce675f49e4064e6c81f6202b8225624fff0e93f8d6407",+ "library_path": "onnxruntime-linux-x64-1.28.0/lib/libonnxruntime.so.1.28.0",+ "library_sha256": "1461ef7cc3d9e49982591721683cc3e3a55580aeca9a5254e7aac47b75ee4bab"},"aarch64-unknown-linux-gnu": {- "url": "https://github.com/microsoft/onnxruntime/releases/download/v1.27.0/onnxruntime-linux-aarch64-1.27.0.tgz",- "sha256": "3e4d83ac06924a32a07b6d7f91ce6f852876153fc0bbdf931bf517a140bfbe48",- "library_path": "onnxruntime-linux-aarch64-1.27.0/lib/libonnxruntime.so.1.27.0",- "library_sha256": "c36bc200e7e6c093b8abb0b34590fbdd8c52fd3fb5e33795b9523ffdde2fce0f"+ "url": "https://github.com/microsoft/onnxruntime/releases/download/v1.28.0/onnxruntime-linux-aarch64-1.28.0.tgz",+ "sha256": "e15ff8b5d85afe6c144d97c6fd432254bf76a219daaf17658087d6ecb3e8f0bb",+ "library_path": "onnxruntime-linux-aarch64-1.28.0/lib/libonnxruntime.so.1.28.0",+ "library_sha256": "f1ec1a08eb99bd6e5401340f0a2b101381bf4694415480291dc13bcaa30f9ec7"}}},diff --git a/infra/ml/uv.lock b/infra/ml/uv.lockindex ce369f96fe..b0eadf354e 100644--- a/infra/ml/uv.lock+++ b/infra/ml/uv.lock@@ -60,7 +60,7 @@ dependencies = [[package.metadata]requires-dist = [{ name = "numpy", specifier = ">=2.1.2" },- { name = "onnxruntime", specifier = "==1.27.0" },+ { name = "onnxruntime", specifier = "==1.28.0" },{ name = "opencv-python", specifier = ">=4.10.0.84" },{ name = "pillow", specifier = ">=12.3.0" },{ name = "pillow-heif", specifier = ">=1.3.0" },@@ -158,7 +158,7 @@ wheels = [[[package]]name = "onnxruntime"-version = "1.27.0"+version = "1.28.0"source = { registry = "https://pypi.org/simple" }dependencies = [{ name = "flatbuffers" },@@ -167,25 +167,25 @@ dependencies = [{ name = "protobuf" },]wheels = [- { url = "https://files.pythonhosted.org/packages/c3/b7/dd3a524ed93a820dff1af902d0412957ab12499953333e9daa01af5bc480/onnxruntime-1.27.0-cp312-cp312-macosx_14_0_arm64.whl", hash = "sha256:a14c2ce45312def86b77aea651f46565e45960cf5f0721bfdff449165086ab76", size = 18433506, upload-time = "2026-06-15T22:43:47.026Z" },- { url = "https://files.pythonhosted.org/packages/84/86/c3b6b17745a1997d784dadc9bd88d713d2e6721139a5a0e885b28cfb79b1/onnxruntime-1.27.0-cp312-cp312-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:c6fddce0539a4898c7bef35b052ffd37935b2190e35488eab99ce91887743ea1", size = 16438140, upload-time = "2026-06-15T22:42:40.666Z" },- { url = "https://files.pythonhosted.org/packages/26/81/24dd9b31b0fb912ee19ca53ac1c9764bfd79d58a2ccef564eb693be831a5/onnxruntime-1.27.0-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:7c65a7438632d55dfbc8a02ee60bd6cf7dd9d1ba05a43d4b851452f32338e194", size = 18658316, upload-time = "2026-06-15T22:43:04.012Z" },- { url = "https://files.pythonhosted.org/packages/4f/88/8ec9db1a4d126bb8b758992beb40d1249df171917d75f44a327eb5f20dda/onnxruntime-1.27.0-cp312-cp312-win_amd64.whl", hash = "sha256:20c321cf187ba496e648acf6b4cf90b4d398b0d17c2a77fdaeba365b908cc1c1", size = 13358769, upload-time = "2026-06-15T22:43:34.581Z" },- { url = "https://files.pythonhosted.org/packages/ae/9f/fdad359dfcba7e7cd8815569b304a596531d4efa77a75d77f8b4981891a2/onnxruntime-1.27.0-cp312-cp312-win_arm64.whl", hash = "sha256:d0d1f68868e2ef30ef70998ba9bbbc5c305e9b17041e3936751c1b8aa6aade06", size = 13104440, upload-time = "2026-06-15T22:43:22.893Z" },- { url = "https://files.pythonhosted.org/packages/fb/2b/54208fd03ad410480bc17edf4869376362da8bbf46fe186ddf4cb5cc20fe/onnxruntime-1.27.0-cp313-cp313-macosx_14_0_arm64.whl", hash = "sha256:b3e5b58b8c89c2b20e086e890aa9527377e5c240dc3ecc1640d18e07705eeb1c", size = 18432958, upload-time = "2026-06-15T22:42:53.105Z" },- { url = "https://files.pythonhosted.org/packages/ce/88/24fc51fcbb126da6d032372314e47b55c3faad58f2aa78c0e199ccd20b9c/onnxruntime-1.27.0-cp313-cp313-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:48b3d87eb560ff6a772240506f3c78d6d27c63cafedd5c775672e1194f968cfd", size = 16438180, upload-time = "2026-06-15T22:42:43.093Z" },- { url = "https://files.pythonhosted.org/packages/cb/19/14929c3c2fe0b79b41cce24463062bf3afa4cdd3c19dccf00319caa92bff/onnxruntime-1.27.0-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:6872443f236a554921cda6f318c900e2d0c226792cf3534d00e5057c6926e5d2", size = 18658445, upload-time = "2026-06-15T22:43:08.053Z" },- { url = "https://files.pythonhosted.org/packages/7f/76/59ed932b0244acd7bbbd6449480053a6d958ea66357f022f932872e19287/onnxruntime-1.27.0-cp313-cp313-win_amd64.whl", hash = "sha256:760021bca514d64a811837820d351a08a41741f16f8b4c26450da708fecf14e6", size = 13357856, upload-time = "2026-06-15T22:43:37.315Z" },- { url = "https://files.pythonhosted.org/packages/79/51/d1ec60ec7b1e2ae2d7340ba52b8a13529140039cd4407ba8dddbbc046582/onnxruntime-1.27.0-cp313-cp313-win_arm64.whl", hash = "sha256:2fdfa9df40a0ded0028ce6f9cd863264237f3970559dea2b81456e9ac4622b94", size = 13104412, upload-time = "2026-06-15T22:43:27.457Z" },- { url = "https://files.pythonhosted.org/packages/5e/7d/e6bb1c6445c94f708c38cd8fbb7bf0264108c33498b9445c93e60fe6d329/onnxruntime-1.27.0-cp313-cp313t-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:54c0c4e9202c36c4ecdb1f3443f5dfbfd5ee3b54d1362c4b4c6134110e74fb32", size = 16443331, upload-time = "2026-06-15T22:42:45.649Z" },- { url = "https://files.pythonhosted.org/packages/72/1b/b18b31e806eabc41077810199fbbb36fbc2d5f19912416e5ccfbf73053d1/onnxruntime-1.27.0-cp313-cp313t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:1b215aa662c8f983f7d6dedafe65a9be72c26e5338e0fe98b3e0422c32c85428", size = 18670967, upload-time = "2026-06-15T22:43:10.621Z" },- { url = "https://files.pythonhosted.org/packages/3a/37/48ab79c39b58a7c9f6f5aac1fa0ff2b993eb2643393d6ed9e839ddb6f347/onnxruntime-1.27.0-cp314-cp314-macosx_14_0_arm64.whl", hash = "sha256:0874edc171f470fc4dd2bbb60bc0989612ed1a8b89b365cda016630a93227f13", size = 18433941, upload-time = "2026-06-15T22:42:58.867Z" },- { url = "https://files.pythonhosted.org/packages/6e/24/d535ca8a09dbf697f853377c8dc0820dbcaae5f334316b400b953afbcba8/onnxruntime-1.27.0-cp314-cp314-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:5b51c014cf1a4fcd93c29a97eac8071fa27710dae05a4d0380bb60a66d60a62c", size = 16439970, upload-time = "2026-06-15T22:42:48.023Z" },- { url = "https://files.pythonhosted.org/packages/f9/b1/ea9ee80c0bdaa4efb13f29f8c236f3740f6655e8c092a2d119515a5a652c/onnxruntime-1.27.0-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:445fb702ea5241ba813a3ce2febe2e9408a64f6ad2eb610924322c536165f7cd", size = 18659240, upload-time = "2026-06-15T22:43:13.165Z" },- { url = "https://files.pythonhosted.org/packages/e9/f2/1404507d76a21940e8bf46f414e3d1abd94dc888cb89a30f4a540275846f/onnxruntime-1.27.0-cp314-cp314-win_amd64.whl", hash = "sha256:49e416be0d717338b6d041b99911b716d70c397d277056450724f93bdded3fc2", size = 13685306, upload-time = "2026-06-15T22:43:40.416Z" },- { url = "https://files.pythonhosted.org/packages/10/e5/ca5cf012ccccb806c70e94aadfebca5606acc62b33eb88cec13352d0778f/onnxruntime-1.27.0-cp314-cp314-win_arm64.whl", hash = "sha256:856032937dd3bc7a7c141909c8d7ae4fde3e3f59bddf061ae627b9a051bda95c", size = 13456280, upload-time = "2026-06-15T22:43:29.693Z" },- { url = "https://files.pythonhosted.org/packages/67/7b/dca330a8397e9d816c976d7aed4e24a4a2d279bb1e551e3d0221d1389b1d/onnxruntime-1.27.0-cp314-cp314t-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:c6197a02e3f620c4dc13cff51b80672409fc1ffab3aa2593911b19fd322ff48b", size = 16443274, upload-time = "2026-06-15T22:42:50.467Z" },- { url = "https://files.pythonhosted.org/packages/b7/f6/2bac21f722aa45d876d4a51f26bd0ef30e704068a3cd5021a5a7cd784271/onnxruntime-1.27.0-cp314-cp314t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:370d211e1ceeac4cd5f45301655463ac59e27cdc74d9f7aeb2d19ff4b7a76715", size = 18670781, upload-time = "2026-06-15T22:43:17.151Z" },+ { url = "https://files.pythonhosted.org/packages/98/f8/dcbe7700dca82fa540035abd3c868fe5ad0f86af00b9a3db7c2e27d15c7d/onnxruntime-1.28.0-cp312-cp312-macosx_14_0_arm64.whl", hash = "sha256:26ff0fdd06efb6c155bae95387a09db1a2be89c7a03e4d0bffd5a171cc2826da", size = 19141362, upload-time = "2026-07-25T01:22:36.965Z" },+ { url = "https://files.pythonhosted.org/packages/28/5b/1d77e62097fdbe07e2dc827f389b1c4c0c275f6fab0369a8f46d2461af27/onnxruntime-1.28.0-cp312-cp312-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:4e81a23df16e7acb9d51b06d30cc098e49315ef9180f97bc2221d167b4b04d9c", size = 17050628, upload-time = "2026-07-25T01:21:40.481Z" },+ { url = "https://files.pythonhosted.org/packages/95/df/5486ab03e9be288d5268867054c8b04bebcf95bfd12e801c05cc67703dab/onnxruntime-1.28.0-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:0a83bdb70d143cede762b677789bf2a7acca54b3fb82565601d5c30695aa933c", size = 19214257, upload-time = "2026-07-25T01:22:01.695Z" },+ { url = "https://files.pythonhosted.org/packages/3e/3b/986ca67c274932ba9ac5332fb10de56f643dfd433c74e33f8ae8f847cf24/onnxruntime-1.28.0-cp312-cp312-win_amd64.whl", hash = "sha256:c35064f9b3c43c81c5d5d282091401d0f1ff22796d93ccade4ea2ece5e137ab8", size = 13755036, upload-time = "2026-07-25T01:22:26.89Z" },+ { url = "https://files.pythonhosted.org/packages/1d/46/059dba81d46c6ba88e0c2d1c64321ac8098847d678423300a183d42ecbd6/onnxruntime-1.28.0-cp312-cp312-win_arm64.whl", hash = "sha256:e02feeb0165c5f13b4cc954738078d59b90128516ac12b671ee24a530242bf02", size = 13454462, upload-time = "2026-07-25T01:22:17.38Z" },+ { url = "https://files.pythonhosted.org/packages/9c/12/3807e2b17d9eb71d3cb78ed2ba76869b05c637c9b9d6112e636098b0c97a/onnxruntime-1.28.0-cp313-cp313-macosx_14_0_arm64.whl", hash = "sha256:31410f544674f534c2f27348af52ef81682ca9c8719154bf4d48f0ef23823b1e", size = 19141759, upload-time = "2026-07-25T01:21:53.765Z" },+ { url = "https://files.pythonhosted.org/packages/c0/23/b46045c3bf67a9cf54c12f5df0f018a422c65fbb9d6072b10071bebfaae2/onnxruntime-1.28.0-cp313-cp313-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:f649dd6f6452d12a8059888aa489fe519e062e18793dac72b9efa0f9fdb64135", size = 17049339, upload-time = "2026-07-25T01:21:43.005Z" },+ { url = "https://files.pythonhosted.org/packages/78/b6/8c5396e7894e77c5a7d1e026f3acb9dd39c4b5644e412e37a0055eaa3bc5/onnxruntime-1.28.0-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:54fa221d669282bd8f582708ce4c96010a7e9fb0661f9006b37fe2fedafb73fe", size = 19214329, upload-time = "2026-07-25T01:22:04.133Z" },+ { url = "https://files.pythonhosted.org/packages/56/f1/51225c202edba4dfc94e1ea03f3d78f1aaf307da75fd792c0ce1946b2514/onnxruntime-1.28.0-cp313-cp313-win_amd64.whl", hash = "sha256:1a1a19175464665c9b8d50bc916f216cc0b569110045b7bbca8f9f290b186f58", size = 13755033, upload-time = "2026-07-25T01:22:29.302Z" },+ { url = "https://files.pythonhosted.org/packages/f4/db/f59f715edfdd96a051f32b5ef0e680a20a8755d4ecd75f63090e960e347a/onnxruntime-1.28.0-cp313-cp313-win_arm64.whl", hash = "sha256:cfab507abe09d6ffeb817eee07944d452fdc0b00fdcef34cab4db10a45e378c7", size = 13454175, upload-time = "2026-07-25T01:22:19.912Z" },+ { url = "https://files.pythonhosted.org/packages/47/28/810314fa88647af9f4cdaf438a30ad1cfebebb53ded55499232d7a0094e6/onnxruntime-1.28.0-cp313-cp313t-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:ac301f53b1930402fc46c368e268acfed02f3207272aaff05070d7e09f96f031", size = 17057307, upload-time = "2026-07-25T01:21:45.492Z" },+ { url = "https://files.pythonhosted.org/packages/3d/cc/9e9f193cc0f29f263a8f09ec08487aed6c96ee856d5fd77da32a425c1949/onnxruntime-1.28.0-cp313-cp313t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:f7f022a1103cae591c75fc4565589a515f2ddd14a6ac8e8a05812dfeda142e28", size = 19222954, upload-time = "2026-07-25T01:22:06.952Z" },+ { url = "https://files.pythonhosted.org/packages/4e/eb/952314c451d9463e5c9aed9978eec76cf32930d407d9ab8700dd0f4ea1ea/onnxruntime-1.28.0-cp314-cp314-macosx_14_0_arm64.whl", hash = "sha256:8adff67a3f28257b37cfe945a7e952e4122666aa8c91a0380862e9fd4c2ed19f", size = 19143748, upload-time = "2026-07-25T01:21:56.297Z" },+ { url = "https://files.pythonhosted.org/packages/3f/e9/139180b4dd810329aaa42c238b4e6383c906202d98609ae29d66eb7c32b1/onnxruntime-1.28.0-cp314-cp314-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:bc2565e487b4896fb988d6383577d875d958e071fc5f6c3550bd5d02ae98264b", size = 17051950, upload-time = "2026-07-25T01:21:48.606Z" },+ { url = "https://files.pythonhosted.org/packages/03/88/9432428273356ad3c8aa01f52c1b3e7f53c4c0192748f41ad983872b436b/onnxruntime-1.28.0-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:6afdc83f1317c136e92fc29f5ee9f058de59d87c0b22cee3fdbfbaa0ccc2098a", size = 19214924, upload-time = "2026-07-25T01:22:09.727Z" },+ { url = "https://files.pythonhosted.org/packages/bb/e2/6feb3a43517aaf2b1bf7e46897ba5eb81a29717f7d7901420614d5ee4653/onnxruntime-1.28.0-cp314-cp314-win_amd64.whl", hash = "sha256:f2a3b9e30ce880d4ca54999cb313569e36da4f62eefe25f87be18f43e9a3a4d5", size = 14093738, upload-time = "2026-07-25T01:22:31.629Z" },+ { url = "https://files.pythonhosted.org/packages/fc/8f/83974a1e201dc2e58e5e7111bcaeb1ca2413e9c41f505d26419ee9e3dddf/onnxruntime-1.28.0-cp314-cp314-win_arm64.whl", hash = "sha256:07fb3cbe990d6bf0ab3c22bfbbfb0e314151266046ea6edb4a07f556b4258c5f", size = 13821117, upload-time = "2026-07-25T01:22:22.387Z" },+ { url = "https://files.pythonhosted.org/packages/0d/83/00e606bc25c756d76a267370c39b7516ad52f9cf134d7ff2bff8b6108bc4/onnxruntime-1.28.0-cp314-cp314t-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:e562d6e36a749f6764481c0ddb0f2af3d0b5a3c164291361d08803c557f369af", size = 17055518, upload-time = "2026-07-25T01:21:51.08Z" },+ { url = "https://files.pythonhosted.org/packages/94/a9/68707e1ce345cbdbcd4df65932ebc82a673e917d63eda0007ebcff948691/onnxruntime-1.28.0-cp314-cp314t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:4f6e92367ddce1e4d33cf295024f40192be6c6171a09208f515ba169ced06c8e", size = 19222976, upload-time = "2026-07-25T01:22:12.474Z" },][[package]]diff --git a/mobile/apps/photos/android/app/build.gradle b/mobile/apps/photos/android/app/build.gradleindex 79779a54bd..f488efff40 100644--- a/mobile/apps/photos/android/app/build.gradle+++ b/mobile/apps/photos/android/app/build.gradle@@ -199,7 +199,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-r3@aar'+ implementation 'io.ente.onnxruntime:onnxruntime-webgpu-android:1.28.0-r1@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.xmlindex 92a8a213eb..cd93c27ddb 100644--- a/mobile/apps/photos/android/gradle/verification-metadata.xml+++ b/mobile/apps/photos/android/gradle/verification-metadata.xml@@ -18,9 +18,9 @@</trusted-artifacts></configuration><components>- <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"/>+ <component group="io.ente.onnxruntime" name="onnxruntime-webgpu-android" version="1.28.0-r1">+ <artifact name="onnxruntime-webgpu-android-1.28.0-r1.aar">+ <sha256 value="0311c4eed8527782ad5f89606c24d40e1ba614047597f5d08ac9d0b718daf106"/></artifact></component></components>diff --git a/mobile/apps/photos/ios/Podfile.lock b/mobile/apps/photos/ios/Podfile.lockindex 0f6ed0b1d0..c70c573775 100644--- a/mobile/apps/photos/ios/Podfile.lock+++ b/mobile/apps/photos/ios/Podfile.lock@@ -26,7 +26,7 @@ PODS:- Flutter- ente_screen_cover (0.0.1):- Flutter- - EnteOnnxRuntime (1.27.0-r3)+ - EnteOnnxRuntime (1.28.0-r1)- ffmpeg_kit_custom (6.0.3)- ffmpeg_kit_flutter (6.0.3):- ffmpeg_kit_custom@@ -480,7 +480,7 @@ SPEC CHECKSUMS:ente_qr: 86beaf5d2644705db9b565b32dd8b82c05fb36afente_rust: d0197ebd5460e8f67576579452b073d698404abeente_screen_cover: 6792566774f1c83939f9c1d03ed0a1f1ded45ae4- EnteOnnxRuntime: 6621104c53b3bfced7e51f27e1ef5650678523aa+ EnteOnnxRuntime: a483b0eb63c719442f88aa96090941e699025383ffmpeg_kit_custom: 682b4f2f1ff1f8abae5a92f6c3540f2441d5be99ffmpeg_kit_flutter: 915b345acc97d4142e8a9a8549d177ff10f043f5file_saver: 6cdbcddd690cb02b0c1a0c225b37cd805c2bf8b6diff --git a/mobile/apps/photos/rust_builder/ios/ente_photos_rust.podspec b/mobile/apps/photos/rust_builder/ios/ente_photos_rust.podspecindex db12aa5b8b..1c2ad957f7 100644--- a/mobile/apps/photos/rust_builder/ios/ente_photos_rust.podspec+++ b/mobile/apps/photos/rust_builder/ios/ente_photos_rust.podspec@@ -22,7 +22,7 @@ A new Flutter FFI plugin project.s.dependency 'Flutter's.platform = :ios, '15.1'- # Flutter.framework does not contain an i386 slice, and ONNX Runtime 1.27+ # Flutter.framework does not contain an i386 slice, and ONNX Runtime 1.28# does not publish an x86_64 iOS Simulator binary.s.user_target_xcconfig = { 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'i386 x86_64' }s.swift_version = '5.0'@@ -57,7 +57,7 @@ A new Flutter FFI plugin project.}s.pod_target_xcconfig = {'DEFINES_MODULE' => 'YES',- # ONNX Runtime 1.27 supports only the ARM64 iOS Simulator slice.+ # ONNX Runtime 1.28 supports only the ARM64 iOS Simulator slice.'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'i386 x86_64',# Root the primary Flutter Rust Bridge dispatcher so the linker pulls in# the bridge and its transitive FFI exports without force-loading ONNXdiff --git a/mobile/apps/photos/rust_builder/macos/ente_photos_rust.podspec b/mobile/apps/photos/rust_builder/macos/ente_photos_rust.podspecindex abb8334cdd..bc0f230008 100644--- a/mobile/apps/photos/rust_builder/macos/ente_photos_rust.podspec+++ b/mobile/apps/photos/rust_builder/macos/ente_photos_rust.podspec@@ -22,7 +22,7 @@ A new Flutter FFI plugin project.s.dependency 'FlutterMacOS's.platform = :osx, '10.11'- # ONNX Runtime 1.27 does not publish Apple x86_64 binaries, so consumers+ # ONNX Runtime 1.28 does not publish Apple x86_64 binaries, so consumers# must also avoid trying to link an x86_64 application slice.s.user_target_xcconfig = { 'EXCLUDED_ARCHS[sdk=macosx*]' => 'x86_64' }s.swift_version = '5.0'@@ -39,7 +39,7 @@ A new Flutter FFI plugin project.}s.pod_target_xcconfig = {'DEFINES_MODULE' => 'YES',- # ONNX Runtime 1.27 does not publish Apple x86_64 binaries.+ # ONNX Runtime 1.28 does not publish Apple x86_64 binaries.'EXCLUDED_ARCHS[sdk=macosx*]' => 'x86_64','OTHER_LDFLAGS' => '-force_load ${BUILT_PRODUCTS_DIR}/libente_photos_rust.a -lc++',}diff --git a/mobile/native/android/apps/ensu/gradle/verification-metadata.xml b/mobile/native/android/apps/ensu/gradle/verification-metadata.xmlindex 92a8a213eb..cd93c27ddb 100644--- a/mobile/native/android/apps/ensu/gradle/verification-metadata.xml+++ b/mobile/native/android/apps/ensu/gradle/verification-metadata.xml@@ -18,9 +18,9 @@</trusted-artifacts></configuration><components>- <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"/>+ <component group="io.ente.onnxruntime" name="onnxruntime-webgpu-android" version="1.28.0-r1">+ <artifact name="onnxruntime-webgpu-android-1.28.0-r1.aar">+ <sha256 value="0311c4eed8527782ad5f89606c24d40e1ba614047597f5d08ac9d0b718daf106"/></artifact></component></components>diff --git a/mobile/native/android/apps/ensu/rust/build.gradle.kts b/mobile/native/android/apps/ensu/rust/build.gradle.ktsindex 40fb943b08..ed0ad9d326 100644--- a/mobile/native/android/apps/ensu/rust/build.gradle.kts+++ b/mobile/native/android/apps/ensu/rust/build.gradle.kts@@ -135,5 +135,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-r3@aar")+ api("io.ente.onnxruntime:onnxruntime-webgpu-android:1.28.0-r1@aar")}diff --git a/mobile/native/apple/packages/EnteOnnxRuntime/EnteOnnxRuntime.podspec b/mobile/native/apple/packages/EnteOnnxRuntime/EnteOnnxRuntime.podspecindex c621a584b6..b235f86550 100644--- a/mobile/native/apple/packages/EnteOnnxRuntime/EnteOnnxRuntime.podspec+++ b/mobile/native/apple/packages/EnteOnnxRuntime/EnteOnnxRuntime.podspec@@ -5,14 +5,14 @@# XCFramework's static archive for the active platform via ORT_LIB_PATH.Pod::Spec.new do |s|s.name = 'EnteOnnxRuntime'- s.version = '1.27.0-r3'+ s.version = '1.28.0-r1's.summary = "Ente's custom prebuilt ONNX Runtime static-library XCFramework for iOS."s.homepage = 'https://github.com/laurens-pilot/ort-packaging's.authors = { 'Ente' => '[email protected]' }s.license = { :type => 'MIT', :file => 'ONNXRUNTIME-LICENSE' }s.source = {- :http => 'https://github.com/laurens-pilot/ort-packaging/releases/download/ort-1.27.0-r3/onnxruntime-coreml-ios-1.27.0-r3.zip',- :sha256 => 'b8c450fe29c6517789b6a31e909c0469fac2aa416b4830f2adc7c4f9b4f33f89',+ :http => 'https://github.com/laurens-pilot/ort-packaging/releases/download/ort-1.28.0-r1/onnxruntime-coreml-ios-1.28.0-r1.zip',+ :sha256 => 'a7115a93a403c037692149a0013d30ddb0e33fc6899bb596ba791d5d743fa657',}s.platform = :ios, '15.1'diff --git a/mobile/native/apple/packages/EnteOnnxRuntime/Package.swift b/mobile/native/apple/packages/EnteOnnxRuntime/Package.swiftindex 48f0e47c2b..cbeaadc110 100644--- a/mobile/native/apple/packages/EnteOnnxRuntime/Package.swift+++ b/mobile/native/apple/packages/EnteOnnxRuntime/Package.swift@@ -18,8 +18,8 @@ let package = Package(targets: [.binaryTarget(name: "onnxruntime",- url: "https://github.com/laurens-pilot/ort-packaging/releases/download/ort-1.27.0-r3/onnxruntime-coreml-ios-1.27.0-r3.zip",- checksum: "b8c450fe29c6517789b6a31e909c0469fac2aa416b4830f2adc7c4f9b4f33f89"+ url: "https://github.com/laurens-pilot/ort-packaging/releases/download/ort-1.28.0-r1/onnxruntime-coreml-ios-1.28.0-r1.zip",+ checksum: "a7115a93a403c037692149a0013d30ddb0e33fc6899bb596ba791d5d743fa657")])diff --git a/rust/crates/photos/src/ml/onnx.rs b/rust/crates/photos/src/ml/onnx.rsindex 76fc7ab8bb..b3a6c38154 100644--- a/rust/crates/photos/src/ml/onnx.rs+++ b/rust/crates/photos/src/ml/onnx.rs@@ -785,13 +785,13 @@ fn finalize_coreml_cache(cache_dir: &Path, model_path: &str) {}}-/// On a warm cache hit ONNX Runtime 1.27 only checks that the generated+/// On a warm cache hit ONNX Runtime 1.28 only checks that the generated/// package directory and loads `compiled_model.mlmodelc`, making the package's/// own weights redundant. Uncompiled packages remain intact; incompatible/// future runtimes will fail construction and trigger cache invalidation.fn trim_coreml_cache_weights(cache_dir: &Path) -> std::io::Result<u64> {let mut reclaimed = 0;- // ORT 1.27 stores the compiled MLProgram inside+ // ORT 1.28 stores the compiled MLProgram inside// <cache_dir>/<model_hash>/<partition>/model/compiled_model.mlmodelc.for model_hash_entry in std::fs::read_dir(cache_dir)? {let model_hash_entry = model_hash_entry?;