Browse Source

wasi-nn: Use numpy v1 in wasi-nn test requirements.txt (#3582)

We need to fix numpy version since the 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'.
tonibofarull 1 year ago
parent
commit
77da87ca51
1 changed files with 2 additions and 1 deletions
  1. 2 1
      core/iwasm/libraries/wasi-nn/test/requirements.txt

+ 2 - 1
core/iwasm/libraries/wasi-nn/test/requirements.txt

@@ -1 +1,2 @@
-tensorflow==2.11.1
+tensorflow==2.11.1
+numpy==1.26.4