-
-
Notifications
You must be signed in to change notification settings - Fork 158
Closed
Description
Hi,
# Cargo.toml
[dependencies]
ort = { version = "2.0.0-rc.3", features = ["cuda", "tensorrt"] }
// main.rs
let session = Session::builder()?
.with_execution_providers([CUDAExecutionProvider::default().build()])?
.commit_from_file("test.onnx")?;
$ ls target/debug
libonnxruntime.so ⇒ ~/.cache/ort.pyke.io/dfbin/x86_64-unknown-linux-gnu/74F4EC918F00B6517BC71AA23DEA0E0809694D5FAB10A494A7AE571F06AEA0BD/onnxruntime/lib/libonnxruntime.so
libonnxruntime.so.1.17.3 ⇒ ~/.cache/ort.pyke.io/dfbin/x86_64-unknown-linux-gnu/74F4EC918F00B6517BC71AA23DEA0E0809694D5FAB10A494A7AE571F06AEA0BD/onnxruntime/lib/libonnxruntime.so
libonnxruntime_providers_cuda.so ⇒ ~/.cache/ort.pyke.io/dfbin/x86_64-unknown-linux-gnu/74F4EC918F00B6517BC71AA23DEA0E0809694D5FAB10A494A7AE571F06AEA0BD/onnxruntime/lib/libonnxruntime_providers_cuda.so
libonnxruntime_providers_shared.so ⇒ ~/.cache/ort.pyke.io/dfbin/x86_64-unknown-linux-gnu/74F4EC918F00B6517BC71AA23DEA0E0809694D5FAB10A494A7AE571F06AEA0BD/onnxruntime/lib/libonnxruntime_providers_shared.so
libonnxruntime_providers_tensorrt.so ⇒ ~/.cache/ort.pyke.io/dfbin/x86_64-unknown-linux-gnu/74F4EC918F00B6517BC71AA23DEA0E0809694D5FAB10A494A7AE571F06AEA0BD/onnxruntime/lib/libonnxruntime_providers_tensorrt.so
Note this is 1.17.3.
Running:
$ cargo run
target/debug/test: error while loading shared libraries: libonnxruntime.so.1.18.1: cannot open shared object file: No such file or directory
Which is expected. Am I holding this wrong? My understanding is that the download-binaries
would download the correct version from the cache, but it doesn't. Changing to an older 2.0 rc doesn't help, 1.18.1 is also expected.
isaac-mcfadyen
Metadata
Metadata
Assignees
Labels
No labels