diff --git a/BUILD.md b/BUILD.md index 25a5b17cec993af88f80f14ba67eb133e3d6725b..6c501cea777601d5ac1618527cafd55a9f5acf6a 100644 --- a/BUILD.md +++ b/BUILD.md @@ -113,10 +113,10 @@ virtualenv -p 3.10 venv pip install ethos-u-vela ``` -Next, install a different NumPy version (e.g. 1.21.3) +Next, install a different NumPy version (e.g. 1.23.0) ```bash -pip install numpy==1.21.3 --force +pip install numpy==1.23.0 --force ``` Finally, run ethos-u-vela. You might get an error similar to this: @@ -137,7 +137,7 @@ then build ethos-u-vela with that specific NumPy version: 1) Uninstall ethos-u-vela and install the desired version of NumPy ``` pip uninstall ethos-u-vela - pip install numpy==1.21.3 --force + pip install numpy==1.23.0 --force ``` 2) Install required build dependencies diff --git a/pyproject.toml b/pyproject.toml index 52cb971788fcd03bce279f3d1e1abee116f83c74..233c073c87f1ce4c2e1792fbbadccc8853b49ef3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -37,7 +37,7 @@ keywords = ["ethos-u", "vela compiler", "tflite", "npu"] # Third-party dependency versions are restricted based upon compatibility and security concerns. dependencies = [ "flatbuffers==24.3.25", - "numpy>=1.17.0", + "numpy>=1.23.0", "lxml>=4.5.2" ] dynamic = ["readme", "version"] @@ -61,7 +61,7 @@ vela = "ethosu.vela.vela:main" requires = [ "setuptools >= 42", "wheel", - "numpy>=1.17.0", + "numpy>=1.23.0", "setuptools_scm[toml]~=7.1.0", "cmake >= 3.16.3" ]