We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
tvm
When trying to build ort with the tvm flag, I get a compilation error:
ort
error[E0308]: mismatched types -->.../.cargo/registry/src/index.crates.io-6f17d22bba15001f/ort-2.0.0-rc.2/src/execution_providers/tvm.rs:113:96 | 113 | OrtSessionOptionsAppendExecutionProvider_Tvm(session_builder.session_options_ptr.as_ptr(), options_string.as_ptr()) | -------------------------------------------- arguments to this function are incorrect ^^^^^^^^^^^^^^^^^^^^^^^ expected `i32`, found `*const i8` | = note: expected type `i32` found raw pointer `*const i8`
This is how I define the dependency in Cargo.toml:
Cargo.toml
ort = { version = "2.0.0-rc.2", features = ["tvm"] }
My machine is MacBook with arm64 M3 core. Any configuration that I'm missing? Thanks for the support :)
The text was updated successfully, but these errors were encountered:
1bff72d
Thanks! ort_lib::TVMExecutionProvider::default().is_available().unwrap() is false, any idea why? @decahedron1
ort_lib::TVMExecutionProvider::default().is_available().unwrap()
Sorry, something went wrong.
Are you using custom binaries? The default binaries don't come with TVM, you need to compile ONNX Runtime from source with it enabled.
No branches or pull requests
When trying to build
ort
with thetvm
flag, I get a compilation error:This is how I define the dependency in
Cargo.toml
:My machine is MacBook with arm64 M3 core.
Any configuration that I'm missing?
Thanks for the support :)
The text was updated successfully, but these errors were encountered: