-
Notifications
You must be signed in to change notification settings - Fork 11.4k
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
Can it support avx cpu's older than 10 years old? #451
Comments
If you have a processor that is avx capable but does not have fp16c flags, you will need to disable avx in cflags for it to compile... I am using some old Xeon E5-2690s which have avx but not fp16c... it compiles w/ just sse3... that being said, dont expect it to be performant in any way... =/ |
Hello, if i can't start on xeon E5-1620v3 it's fron not support fp16c flags ? How I can recompile for god start |
need disable AVX2 and recompile for work on XEON E5-1650v3 and for work over CMAKE need install VisualStudio2019 community
|
The use of F16C code even when F16C was not enabled has been fixed as of a6bdc47 When building for Windows and building with MSVC, you can either uncheck the "LLAMA_AVX2" checkbox in CMake GUI or from command line build it like this:
However the CMake script currently always declares
|
Thank you for your help. I'm rebuild and disable avx2 for my cpu. Llama
working normal) but slowly))
…On Tue, Mar 28, 2023, 17:33 anzz1 ***@***.***> wrote:
The use of F16C code even when F16C was not enabled has been fixed as of
a6bdc47
<a6bdc47>
When building for Windows and building with MSVC, you can either uncheck
the "LLAMA_AVX2" checkbox in CMake GUI or from command line build it like
this:
mkdir build
cd build
cmake -DLLAMA_AVX2=OFF ..
cmake --build . --config Release
However the CMake script currently always declares -mf16c option on non
Windows-MSVC builds, so right now you should build with make instead for
all other platforms.
make will automatically check your processor features so you don't need
to explicitly disable AVX2, it knows you don't have it.
—
Reply to this email directly, view it on GitHub
<#451 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AGMC73NS5XSG4YJ4EIGIYMTW6LZB5ANCNFSM6AAAAAAWF7OBP4>
.
You are receiving this because you commented.Message ID: <ggerganov/llama.
***@***.***>
|
Hello. I've just added AVX support to a couple of functions. This has significantly increased the speed on my old CPU. #617 |
Thank you very much. I haven't tested it yet but I respect the work. |
@perserk > Hello. I've just added AVX support to a couple of functions. This has significantly increased the speed on my old CPU. #617 Is is also possible for https://github.com/ggerganov/whisper.cpp? |
@FlowDownTheRiver I see that these changes have already been added with this commit. ggml-org/whisper.cpp@69b8503 |
@perserk ahh,I didn't check the repo itself just because of 1 reason. I have tried it with "Subedit" which is used for subtitle editting and they recently added whisper.ccp but as a compiled exe. I tried the UI and exe as standalone saw that my cpu didn't work that is why I thought it was missing. I will try the original repo and ask the subedit developers for an update if that is the case. Thank you very much for letting me know and the work you have done. |
I can't run any model due to my cpu is from before 2013.So I don't have avx2 instructions.Can you please support avx cpus?
The text was updated successfully, but these errors were encountered: