Tech and AI
llama.cpp, the engine behind much of local AI, releases version 1.0 and promises stable interfaces
Developing
- What happened
- The llama.cpp project, which lets people run large language models on their own hardware, has released version 1.0.0 of its libraries.
- Why it matters
- Many applications depend on llama.cpp, and the team says major version numbers will now signal any change that breaks its interfaces.
- What’s next
- The team plans to widen how its software is packaged and distributed, and to keep expanding testing across hardware makers.
Full story
A milestone after three and a half years
The team behind llama.cpp announced on Friday on the Hugging Face blog that it has released version 1.0.0 of its libraries, three and a half years after the project began. llama.cpp makes it possible to run large language models, including ones that handle images as well as text, on hardware ranging from consumer laptops and desktops to enterprise servers.
It does so through quantization, which shrinks models so they need less memory, through backends optimised for different chips, and through a portable implementation written in C and C++. The team says this makes AI inference available at every level of the software stack.
“We believe this is the most lightweight, versatile and sensible platform for building cross-platform and private AI products.”
The llama.cpp team, Hugging Face Blog
What version 1.0 changes
The team says many downstream applications already depend on its work, and that it expects more to follow as local AI and privacy become more important in everyday life. Each new integration means more developers relying on the library’s interfaces, so a flexible but stable API matters more than before.
From now on, llama.cpp and ggml, the machine-learning engine underneath it, will mark any incompatible change to their API or binary interface with a new major version number, following semantic versioning across all ggml-org projects. The team says it will be stricter about making those boundaries visible to developers who build on its code, and that it wants to widen the ways its software is packaged and reaches developers and users.
Hardware, models and the use of AI in its own code
ggml is designed to run on almost any hardware through dedicated backends, each of which can be compiled as a separate library and loaded when the program runs. llama.cpp currently supports more than 150 model architecture variants and all mainstream speculative decoding methods, which speed up text generation.
To keep up with a faster pace of development, the team is investing more in the testing infrastructure behind the project, using Hugging Face’s Buckets and Jobs services, and has hardware support from Nvidia, AMD, Qualcomm, Arm, IBM and Intel for self-hosted test machines. It says it uses AI models in its own development in what it calls a thoughtful manner.
“Maintaining a high quality codebase, staying in control of the architecture and understanding the implementation details will remain our top priorities.”
The llama.cpp team, Hugging Face Blog