-
-
Notifications
You must be signed in to change notification settings - Fork 158
Closed
Description
When trying to build ort
with the tvm
flag, I get a compilation error:
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
:
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 :)
Metadata
Metadata
Assignees
Labels
No labels