Skip to content

Commit c4668b0

Browse files
authored
Merge pull request #116 from BeaconBay/fix/pin-ort-rc11
fix(deps): pin ort to =2.0.0-rc.11 so cargo install doesn't break
2 parents d94cf3f + 95a41c7 commit c4668b0

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

Cargo.toml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,13 @@ base64 = "0.22"
7272
sha2 = "0.10"
7373
hf-hub = { version = "0.4.3", default-features = false, features = ["ureq"] }
7474
tokenizers = "0.20.1"
75-
ort = { version = "2.0.0-rc.11", default-features = false, features = ["download-binaries", "tls-native", "ndarray", "std"] }
75+
# Pinned exactly to rc.11. ort 2.0.0-rc.12 made SessionOptionsPointer
76+
# !Sync, which removes Send+Sync from ort::Error<SessionBuilder> and
77+
# breaks `?`-conversion into anyhow::Error throughout ck-embed::mixedbread.
78+
# Without the `=` pin, a fresh `cargo install ck-search` (no --locked)
79+
# upgrades to rc.12 and 36 errors cascade. See:
80+
# https://github.com/BeaconBay/ck/pull/<TODO> for follow-up to evaluate rc.12.
81+
ort = { version = "=2.0.0-rc.11", default-features = false, features = ["download-binaries", "tls-native", "ndarray", "std"] }
7682
once_cell = "1.19"
7783
ndarray = { version = "0.17", default-features = false, features = ["std"] }
7884
num_cpus = "1.16"

0 commit comments

Comments
 (0)