WasmEdge / mediapipe-rs

The Google mediapipe AI library. Write AI inference applications for image recognition, text classification, audio / video processing and more, in Rust and run them in the secure WasmEdge sandbox. Zero Python dependency!
Apache License 2.0
142 stars 18 forks source link

Targets other than `wasm32-wasi` #3

Closed 9oelM closed 10 months ago

9oelM commented 10 months ago

I see that the only target available is wasm32-wasi. but would it be also possible to build for aarch64-unknown-linux-gnu, for example? And if not, what would be the reason for that?

9oelM commented 10 months ago

Well I guess one problem is wasi-nn-0.4.0

thread 'main' panicked at /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wasi-nn-0.4.0/src/graph.rs:391:9:
not implemented: this crate is only intended to be used with `--target=wasm32-wasi`
hydai commented 10 months ago

WASI-NN only supports the wasm32-wasi backend. Unless an alternative crate replaces it, there is no way to support another backend.

9oelM commented 10 months ago

Thanks for the answer 👍