Skip to content

Commit 0992cc7

Browse files
committed
Force numpy to 2.3.x due to illegal instruction errors.
1 parent 259c481 commit 0992cc7

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

appimage/make-appimage.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ source rade-venv/bin/activate # || { echo "ERROR: activate venv failed"; exit 1;
6262
# Clear cache in venv
6363
pip3 cache purge
6464
pip3 install --upgrade pip || echo "WARNING: pip upgrade failed"
65-
pip3 install numpy
65+
pip3 install numpy==2.3
6666
pip3 install torch==2.9.1 --index-url https://download.pytorch.org/whl/cpu
6767
pip3 install matplotlib
6868
cd -

cmake/rade-requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
torch==2.9.1
2+
numpy==2.3
23
matplotlib

generate-univ-pkgs.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,12 @@ cp ../delocating.py.patched pkg-venv/lib/python3.12/site-packages/delocate/deloc
3636
# Download RADE dependencies appropriate for both architectures (x86_64 and arm64)
3737

3838
mkdir arm64
39-
pip3 download --platform macosx_11_0_arm64 --python-version 3.14 --only-binary=:all: filelock typing-extensions setuptools sympy networkx jinja2 fsspec optree opt-einsum numpy matplotlib
39+
pip3 download --platform macosx_11_0_arm64 --python-version 3.14 --only-binary=:all: filelock typing-extensions setuptools sympy networkx jinja2 fsspec optree opt-einsum numpy==2.3 matplotlib
4040
wget -O arm64/torch-2.9.1a0+gitd38164a-cp314-cp314-macosx_11_0_arm64.whl https://github.com/tmiw/pytorch-macos-packages/releases/download/v2.9.1-20251129/torch-2.9.1a0+gitd38164a-cp314-cp314-macosx_11_0_arm64.whl
4141
mv *arm64.whl arm64
4242

4343
mkdir x86_64
44-
pip3 download --platform macosx_11_0_x86_64 --python-version 3.14 --only-binary=:all: filelock typing-extensions setuptools sympy networkx jinja2 fsspec optree opt-einsum numpy matplotlib
44+
pip3 download --platform macosx_11_0_x86_64 --python-version 3.14 --only-binary=:all: filelock typing-extensions setuptools sympy networkx jinja2 fsspec optree opt-einsum numpy==2.3 matplotlib
4545
wget -O x86_64/torch-2.9.1a0+gitd38164a-cp314-cp314-macosx_11_0_x86_64.whl https://github.com/tmiw/pytorch-macos-packages/releases/download/v2.9.1-20251129/torch-2.9.1a0+gitd38164a-cp314-cp314-macosx_11_0_x86_64.whl
4646
#rm numpy*
4747
#wget -O x86_64/numpy-2.3.2-cp312-cp312-macosx_11_0_x86_64.whl https://k6aq.net/freedv-build/numpy-2.3.2-cp312-cp312-macosx_11_0_x86_64.whl

0 commit comments

Comments
 (0)