ggerganov / whisper.cpp

Port of OpenAI's Whisper model in C/C++
MIT License
35.38k stars 3.61k forks source link

Linux compile failed.Error"ggml/src/ggml-aarch64.c:46:54 implicit declaration of function ‘_mm256_set_m128i’; did you mean ‘_mm256_set_epi8’? [-Werror=implicit-function-declaration]" #2503

Open SummerAnna opened 1 week ago

SummerAnna commented 1 week ago

os:Linux gcc-version:7.3.0

the compiled error: In file included from /usr/lib/gcc/x86_64-linux-gnu/7.3.0/include/immintrin.h:45:0, from ggml/src/ggml-cpu-impl.h:426, from ggml/src/ggml-aarch64.c:10: /usr/lib/gcc/x86_64-linux-gnu/7.3.0/include/avx512fintrin.h:12514:1: need type‘m256i {or vector(4) long long int}’,but act type is ‘int’

Is the gcc version isn't match?

SummerAnna commented 19 hours ago

It may be the gcc version not support. Because I try it on Ubuntu is ok.