We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fa8187f commit 22a8877Copy full SHA for 22a8877
reqs/build.pip
@@ -1,4 +1,4 @@
1
-numpy<1.20
+numpy<1.20; platform_machine != "arm64"
2
protobuf
3
pytest
4
six
scripts/env_create.sh
@@ -91,6 +91,11 @@ fi
91
echo "Installing basic build requirements."
92
if [[ $include_build_deps == 1 ]]; then
93
python -m pip install -r $COREMLTOOLS_HOME/reqs/build.pip
94
+
95
+ if [[ $(uname -m) == "arm64" ]]; then
96
+ # Install the earliest version of numpy, we can find, that support arm64
97
+ conda install -c apple numpy==1.19.5 -y
98
+ fi
99
fi
100
101
# Install test requirements (upgrades packages if required)
0 commit comments