-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issues building on x86_64 #1126
Comments
cpuinfo, if that is helpful
|
I got the same issue:
|
Anyone figured this out? I am too getting this error! |
workaround:
|
I have the same issue. the workaround suggested by @liththedev works very well. but I wanted to know what is the reason. |
I had the same issue when running against an ancient processor (E5-2670v1) with SSE3 and AVX but not AVX2. Here are my CPU flags fwiw:
I applied the following patch to the Makefile, then my system built correctly.
Likely the correct PR would involve a change to the cmake setup to recognize this flag, then the makefiles would need to be regenerated. |
e.g. ancient CPU E5-2670 (v1) See issue ggerganov#1126
e.g. ancient CPU E5-2670 (v1) See issue #1126 Co-authored-by: Georgi Gerganov <ggerganov@gmail.com>
e.g. ancient CPU E5-2670 (v1) See issue ggerganov#1126 Co-authored-by: Georgi Gerganov <ggerganov@gmail.com>
e.g. ancient CPU E5-2670 (v1) See issue ggerganov#1126 Co-authored-by: Georgi Gerganov <ggerganov@gmail.com>
Issue was solved in #1162 |
e.g. ancient CPU E5-2670 (v1) See issue ggerganov#1126 Co-authored-by: Georgi Gerganov <ggerganov@gmail.com>
e.g. ancient CPU E5-2670 (v1) See issue ggerganov#1126 Co-authored-by: Georgi Gerganov <ggerganov@gmail.com>
e.g. ancient CPU E5-2670 (v1) See issue ggerganov#1126 Co-authored-by: Georgi Gerganov <ggerganov@gmail.com>
I get a bunch of errors when building (see below). I was able to get it to build by performing the following steps
$ make medium
$ cc -I. -O3 -DNDEBUG -std=c11 -fPIC -pthread -msse3 -mavx -c ggml.c -o ggml.o
Note the addition of-mavx
to the attempted compilation$make medium
As far as I understand it, something needs to be added to the Makefile to add
-mavx
for x86_64, but I am not familiar enough with the specifics to figure it out myself.sidenote: It runs really slow, it took 366 seconds to process the 11 sec sample clip, but idk if that is due to compilation flags or other issues, I am still working figuring it out.
The text was updated successfully, but these errors were encountered: