LostRuins / koboldcpp

Run GGUF models easily with a KoboldAI UI. One File. Zero Install.
https://github.com/lostruins/koboldcpp
GNU Affero General Public License v3.0
4.66k stars 334 forks source link

Fix Android build by fixing your preprocessor guards #704

Closed DaKup closed 5 months ago

DaKup commented 6 months ago

I noticed that the latest version doesn't compile on android/termux.

It said something about affinity_np() not being available and it looks like you already knew this and put the respective preprocessor guards around the relevant code, but simply missed these ones.

Thanks!

LostRuins commented 6 months ago

it should already be fixed in the experimental build. i just haven't merged that since there are other incomplete changes

LostRuins commented 6 months ago

Can you see if this commit works for you?

https://github.com/LostRuins/koboldcpp/issues/700

LostRuins commented 6 months ago

Looks like their fix has another issues, let me sort it out first https://github.com/ggerganov/llama.cpp/pull/5557

LostRuins commented 5 months ago

Should be resolved now. Please reopen if still not working!