psugihara / FreeChat

llama.cpp based AI chat app for macOS
https://www.freechat.run
MIT License
437 stars 41 forks source link

Where is the server #38

Closed hassanzadeh closed 11 months ago

hassanzadeh commented 11 months ago

Hey Guys, Question, so how is the executable server created? Is it done by llama.cpp project?

psugihara commented 11 months ago

Yes, the server is llama.cpp/examples/server running on localhost.

I make a universal binary by compiling it on an arm and intel machine then combining them with: lipo -create server server_x86 -output freechat-server

hassanzadeh commented 11 months ago

Interesting when you say compile, you mean running "make -j +[arch related args]" in llama.cpp ?

psugihara commented 11 months ago

yes but just "make"

hassanzadeh commented 11 months ago

Got it thanks, This is a really interesting work, Congrats!