second-state / WasmEdge-go

The GO language SDK and API for WasmEdge
https://www.secondstate.io/articles/extend-golang-app-with-webassembly-rust/
Apache License 2.0
107 stars 16 forks source link

Why wasmedge-tensorflow & wasmedge-tensorflowlite necessary at the same time? #32

Closed chairwa closed 2 years ago

chairwa commented 2 years ago

https://github.com/second-state/WasmEdge-go/blob/e23f36ed9cf520eacb7d3cd6b2f02d14c0b920c9/wasmedge/extension_tensorflow.go#L9

wasmedge-tensorflow & wasmedge-tensorflowlite are required at the same time by the above code. This way, we cannot use WasmEdge-go tensorflowlite extension on aarch64 linux, where only tensorflowlite provided.

chairwa commented 2 years ago

@q82419

q82419 commented 2 years ago

The WasmEdge-Go is designed for x86_64 platforms in current. We'll improve this for supporting more platforms and architectures in the future. Thanks.

q82419 commented 2 years ago

This issue will be fixed and closed in the v0.10.1 version. For the preview, you can use the v0.10.1-alpha.1. Thanks.