From 77da87ca519d67233d7eb24812bc30410e4e953d Mon Sep 17 00:00:00 2001 From: tonibofarull Date: Tue, 2 Jul 2024 03:39:46 +0200 Subject: [PATCH] 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'. --- core/iwasm/libraries/wasi-nn/test/requirements.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/iwasm/libraries/wasi-nn/test/requirements.txt b/core/iwasm/libraries/wasi-nn/test/requirements.txt index 4cf2910db..0d031ffdd 100644 --- a/core/iwasm/libraries/wasi-nn/test/requirements.txt +++ b/core/iwasm/libraries/wasi-nn/test/requirements.txt @@ -1 +1,2 @@ -tensorflow==2.11.1 \ No newline at end of file +tensorflow==2.11.1 +numpy==1.26.4