psugihara / FreeChat

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

Where is the server #38

Closed hassanzadeh closed 9 months ago

hassanzadeh commented 9 months ago

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

psugihara commented 9 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 9 months ago

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

psugihara commented 9 months ago

yes but just "make"

hassanzadeh commented 9 months ago

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