Skip to content

Commit 051b79f

Browse files
author
cyberfly
committed
fix dep issue
1 parent 0c06193 commit 051b79f

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

Cargo.toml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,10 @@ lazy_static = "1.4"
8989
once_cell = "1.19"
9090

9191
# ML Inference (ONNX Runtime for better model compatibility)
92-
ort = { version = "2.0.0-rc.9", features = ["ndarray", "download-binaries"] }
92+
# Pinned to =2.0.0-rc.10: rc.11+ made Session::inputs private, moved
93+
# session::output::SessionOutputs, and tightened TensorArrayData impls.
94+
# Our `inference.rs` targets the rc.10 API; un-pin only after porting.
95+
ort = { version = "=2.0.0-rc.10", features = ["ndarray", "download-binaries"] }
9396
ndarray = { version = "0.16", features = ["std"] }
9497
image = "0.25"
9598

0 commit comments

Comments
 (0)