#23 · Primary category: Deep Learning Frameworks
ggml
Tensor library for machine learning
Project last updated:08/25/26
GitHub Stars
15.3K
Forks
1.8K
Contributors
742
License
MIT
Why we included this project
If you have run a local LLM or transcription model on a laptop, you have probably used ggml without knowing it: it is the low-level C tensor library behind llama.cpp and whisper.cpp. It handles tensor operations, automatic differentiation, and integer quantization, which is what makes large models practical on ordinary hardware, and it does so with no third-party dependencies and no runtime memory allocations. Developers building their own inference engines or edge runtimes will find it a compact foundation rather than a turnkey application. Because the project is under active development and much of the work happens in the llama.cpp and whisper.cpp repos, treat it as a building block to integrate and extend. Reading its source is also a good way to understand how quantized inference actually works.
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
tensorflow
An Open Source Machine Learning Framework for Everyone
pytorch
Tensors and Dynamic neural networks in Python with strong GPU acceleration
keras
Deep Learning for humans
nanoGPT
The simplest, fastest repository for training/finetuning medium-sized GPTs.
ray
Ray is an AI compute engine. Ray consists of a core distributed runtime and a set of AI Libraries for accelerating ML workloads.