aboutsummaryrefslogtreecommitdiff
path: root/setup.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'setup.cfg')
-rw-r--r--setup.cfg11
1 files changed, 9 insertions, 2 deletions
diff --git a/setup.cfg b/setup.cfg
index a7bce62..2f0fa23 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -28,10 +28,17 @@ python_requires = >=3.8
package_dir =
= src
packages = find:
+# On aarch64 machine, tensorflow does not pin the numpy version but
+# vela does. The pre-built aarch64 tensorflow 2.8.2 uses a numpy whose
+# version is conflicting with ethos-u-vela version 3.4.0. Therefore,
+# we downgraded both tensorflow and vela versions to make sure there is
+# no numpy version conflict.
install_requires =
- tensorflow~=2.8.2
+ tensorflow-aarch64~=2.7.3; platform_machine=="aarch64"
+ tensorflow~=2.8.2; platform_machine=="x86_64"
tensorflow-model-optimization~=0.7.2
- ethos-u-vela~=3.4.0
+ ethos-u-vela~=3.3.0; platform_machine=="aarch64"
+ ethos-u-vela~=3.4.0; platform_machine=="x86_64"
requests
rich
sh