You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I reviewed the Discussions, and have a new bug or useful enhancement to share.
Expected Behavior
Running convert.py to convert a model to gguf is expected to run and perform the conversion.
Current Behavior
convert.py crashes with the following:
Traceback (most recent call last):
File "/home/tom/.local/lib/python3.11/site-packages/numpy/core/__init__.py", line 23, in <module>
from . import multiarray
File "/home/tom/.local/lib/python3.11/site-packages/numpy/core/multiarray.py", line 10, in <module>
from . import overrides
File "/home/tom/.local/lib/python3.11/site-packages/numpy/core/overrides.py", line 6, in <module>
from numpy.core._multiarray_umath import (
ImportError: /home/tom/.local/lib/python3.11/site-packages/numpy/core/_multiarray_umath.cpython-311.so: Undefined symbol "csinl"
Environment and Context
This is an Intel x64 server running FreeBSD 13.1.
After researching this issue it appears to be a problem with numpy on this particular OS, as it appears to be discussed and resolved here: numpy/numpy#22850
numpy 1.24.4 appears to include the fix from the above issue.
Physical (or virtual) hardware you are using, e.g. for Linux:
Architecture: amd64
Byte Order: Little Endian
Total CPU(s): 32
Thread(s) per core: 2
Core(s) per socket: 8
Socket(s): 2
Vendor: GenuineIntel
CPU family: 6
Model: 62
Model name: Intel(R) Xeon(R) CPU E5-2650 v2 @ 2.60GHz
Stepping: 4
L1d cache: 32K
L1i cache: 32K
L2 cache: 256K
L3 cache: 20M
Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 cflsh ds acpi mmx fxsr sse sse2 ss htt tm pbe sse3 pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic popcnt tsc_deadline aes xsave osxsave avx f16c rdrnd fsgsbase smep erms syscall nx pdpe1gb rdtscp lm lahf_lm
Python version: 3.11.5
Make version : GNU Make 4.3
g++ version: n/a
Resolution
Changing the numpy requirement in requirements.txt to 1.24.4 and reinstalling (python -m pip install -r requirements.txt) resolves the issue and allows convert.py to run without problems.
The text was updated successfully, but these errors were encountered:
lyjia
pushed a commit
to lyjia/llama.cpp
that referenced
this issue
Oct 6, 2023
Prerequisites
Please answer the following questions for yourself before submitting an issue.
Expected Behavior
Running
convert.py
to convert a model to gguf is expected to run and perform the conversion.Current Behavior
convert.py
crashes with the following:Environment and Context
This is an Intel x64 server running FreeBSD 13.1.
After researching this issue it appears to be a problem with
numpy
on this particular OS, as it appears to be discussed and resolved here: numpy/numpy#22850numpy
1.24.4 appears to include the fix from the above issue.FreeBSD 13.1-RELEASE FreeBSD 13.1-RELEASE releng/13.1-n250148-fc952ac2212 GENERIC amd64
Resolution
Changing the
numpy
requirement inrequirements.txt
to 1.24.4 and reinstalling (python -m pip install -r requirements.txt) resolves the issue and allows convert.py to run without problems.The text was updated successfully, but these errors were encountered: