From df0319575c2d49c5d077b5bffe5fb304d3a1bff7 Mon Sep 17 00:00:00 2001 From: Hyeongchan Kim Date: Wed, 18 Sep 2024 00:18:08 +0900 Subject: [PATCH] Update `ort` crate version to `2.0.0-rc.4` to support onnx IR version 10 (#361) --- Cargo.lock | 21 +++++++++++++++++---- backends/ort/Cargo.toml | 2 +- 2 files changed, 18 insertions(+), 5 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index d7a13c2c..36facc4e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2774,9 +2774,9 @@ dependencies = [ [[package]] name = "ort" -version = "2.0.0-rc.2" +version = "2.0.0-rc.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0bc80894094c6a875bfac64415ed456fa661081a278a035e22be661305c87e14" +checksum = "86d83095ae3c1258738d70ae7a06195c94d966a8e546f0d3609dc90885fb61f5" dependencies = [ "half", "js-sys", @@ -2789,11 +2789,12 @@ dependencies = [ [[package]] name = "ort-sys" -version = "2.0.0-rc.2" +version = "2.0.0-rc.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b3d9c1373fc813d3f024d394f621f4c6dde0734c79b1c17113c3bb5bf0084bbe" +checksum = "0f2f6427193c808010b126bef45ebd33f8dee43770223a1200f84d3734d6c656" dependencies = [ "flate2", + "pkg-config", "sha2", "tar", "ureq", @@ -3846,6 +3847,17 @@ dependencies = [ "windows-sys 0.52.0", ] +[[package]] +name = "socks" +version = "0.3.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f0c3dbbd9ae980613c6dd8e28a9407b50509d3803b57624d5dfe8315218cd58b" +dependencies = [ + "byteorder", + "libc", + "winapi", +] + [[package]] name = "spin" version = "0.9.8" @@ -4790,6 +4802,7 @@ dependencies = [ "rustls-webpki", "serde", "serde_json", + "socks", "url", "webpki-roots", ] diff --git a/backends/ort/Cargo.toml b/backends/ort/Cargo.toml index 9cbde87e..8fdad006 100644 --- a/backends/ort/Cargo.toml +++ b/backends/ort/Cargo.toml @@ -9,7 +9,7 @@ homepage.workspace = true anyhow = { workspace = true } nohash-hasher = { workspace = true } ndarray = "0.15.6" -ort = { version = "2.0.0-rc.2", default-features = false, features = ["download-binaries", "half", "onednn", "ndarray"] } +ort = { version = "2.0.0-rc.4", default-features = false, features = ["download-binaries", "half", "onednn", "ndarray"] } text-embeddings-backend-core = { path = "../core" } tracing = { workspace = true } thiserror = { workspace = true }