llama.cpp(ggml-org/llama.cpp)
llama.cpp 用纯 C/C++ 实现了大模型推理,摆脱了沉重的 Python 依赖栈。适合需要在本地高效运行模型的开发者。
135k · C++
自己编译虽然得折腾 C/C++ 的构建流程,但换来的是能直接跑在本地硬件上的轻量运行时。用这步编译配置的麻烦,换取摆脱臃肿运行时环境的清爽,对端侧部署来说很划算。
README 摘录
# llama.cpp  <div align="center"> <b>LLM inference in C/C++</b> [](https://opensource.org/licenses/MIT) [](https://github.com/ggml-org/llama.cpp/releases?q=tag:v0) [](https://github.com/ggml-org/llama.cpp/releases?q=b) [](https://github.com/ggml-org/llama.cpp/actions/workflows/server.yml) [](https://github.com/ggml-org/llama.cpp/actions/workflows/docker.yml) [](https://github.com/ggml-org/llama.cpp/actions/workflows/winget.yml) [ggml](https://github.com/ggml-org/ggml) / [ops](https://github.com/ggml-org/llama.cpp/blob/master/docs/ops.md) / [maintainer PRs](https://github.com/ggml-org/llama.cpp/pulls?q=is%3Apr%20is%3Aopen%20draft%3AFalse%20(author%3Asanmai%20OR%20author%3Argerganov%20OR%20author%3AKitaitiMakoto%20OR%20author%3Adanbev%20OR%20author%3Aaldehir%20OR%