-
Notifications
You must be signed in to change notification settings - Fork 10.3k
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
Fix cuda compilation #1128
Fix cuda compilation #1128
Conversation
Fix: Issue with CUBLAS compilation error due to missing `-fPIC` flag
Fix: Issue with CUBLAS compilation error
Hi @slaren is there any workaround for cmake cublas fpic? |
@hlhr202 did you set LLAMA_SHARED ? |
@Green-Sky this will result to another error
|
what if you have |
I may try dynamically linking later since I am statically linking llama to rust program, so currently I cant turn off LLAMA_STATIC... |
@Green-Sky Thanks for your suggestion. I v tried shared lib and it works properly. but still if there is a statically linking method, it would be convinient for us to distribute downstream applications. |
line 65 |
Continued from #1127. The
-Wno-pedantic
is necessary to avoid awarning: style of line directive is a GCC extension
for every single line in the compilation.