-
Notifications
You must be signed in to change notification settings - Fork 86
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
make error #54
Comments
I also meet the error,but I cant fix it,it seems the compiler(gcc) bug,I don't know how to fix it |
Can we try |
Can you explain in more detail, do you mean replace the |
Yep. I dont think that compiler will generate the symbol without any reference of itself. |
I try it, but it does not work. I think maybe the |
Then this is a bug of the compiler. I'll try to make a minimal reproducible example, and report the bug. FYI, a blog post explains this: https://maskray.me/blog/2023-02-05-function-multi-versioning As the post say, it is detection on the fly. Maybe we could use https://github.com/google/cpu_features to archive the same result without using gcc magic |
What is the version of your compiler? Can you show me |
gcc (Ubuntu 8.4.0-1ubuntu1~18.04) 8.4.0 |
I can't find the perfect method to fix this now, I just use the macro to fix the problem |
hi, I try it "comment one of them", but get error"error: redefinition of ‘float inferllm::opt::vec_vec_dot_q40_with_q80(int, const void*, const void*)’", I comment in optimized.h and quantize.h. is it right? |
if it is not necessary, you can comment it, and build. I have fixed it with the macro of (AVX2) and (AVX), dose not work in your machine? |
does not work. I comment in "src/kern/optimized/x86/optimized.h" and "src/kern/optimized/x86/queantize.h" |
I solve this problem, by comment AVX function. thanks @chenqy4933 |
make Error log:
The text was updated successfully, but these errors were encountered: