bytecodealliance / wasm-micro-runtime

WebAssembly Micro Runtime (WAMR)
Apache License 2.0
4.66k stars 577 forks source link

fix(wasi-nn): use numpy v1 in wasi-nn tests #3582

Closed tonibofarull closed 1 day ago

tonibofarull commented 2 days ago

We need to fix numpy version since latest is incompatible,

A module that was compiled using NumPy 1.x cannot be run in NumPy 2.0.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'.