#212 · Primary category: Inference & Local Deploy

gpt-llama.cpp

A llama.cpp drop-in replacement for OpenAI's GPT endpoints, allowing GPT-powered apps to run off local llama.cpp models instead of OpenAI.

Project last updated:06/12/23

GitHub Stars

591

Forks

66

Contributors

6

License

MIT

Why we included this project

Most apps built against OpenAI's chat and completion APIs assume a cloud endpoint, but this project lets you keep that code and point it at a local llama.cpp model instead. It runs a small server that mimics OpenAI's GPT endpoints, so tools like chatbot-ui, Auto-GPT, and LangChain can talk to a model on your own machine rather than a paid service. That appeals to teams with privacy constraints or per-request cost concerns, and to anyone who needs inference to stay on-premises. The repo also keeps up with llama.cpp improvements and includes setup guides for several common GPT-powered apps, which makes the switch less painful. One thing to keep in mind: it is a compatibility layer, not a model runtime, so you still need llama.cpp and a quantized model file before anything will run.

Articles for this project

No articles for this project yet.

To suggest a topic or contribute an article, contact us.

Related projects in this category