1
About ggml-org/ggml
ggml-org/ggml is an open-source project on GitHub, mainly written in C++. Tensor library for machine learning It currently holds 16,160 stars and 2,088 forks with 386 open issues, and was last pushed on 2026-11-16 (repository created 2022-09-18).
Project Overview
AI Homed tracks it on the Today's Trending board.
GitHub Repository Details
README
ggml
Quick start
Build from source:
git clone https://github.com/ggml-org/ggml
cd ggml
mkdir build && cd build
cmake ..
cmake --build . --config Release -j 8
For a minimal, fully commented example (matrix multiplication), see examples/simple.
Description
The main goal of ggml is to be a simple, portable, and efficient tensor library for machine learning with minimal setup.
- Plain C/C++ implementation without any dependencies
- Cross-platform - x86, ARM, RISC-V, LoongArch, PowerPC, s390x, and WebAssembly
- SIMD-optimized kernels for x86, ARM, and RISC-V
- Broad backend support - CPU, GPU, NPU, and browser
- 2- to 8-bit integer quantization, plus MXFP4 and NVFP4 microscaling formats
- Zero memory allocations during runtime
Documentation
Contributing
- For changes to the core
ggmllibrary (including to the CMake build system), please open a PR in llama.cpp - doing so will make your PR more visible, better tested, and more likely to be reviewed
GitHub Stars & Activity
16,160Stars
2,088Forks
386Open issues
C++Language
GitHub Popularity
GitHub stars16,160
Forks2,088
Open issues386
Primary languageC++
LicenseMIT
Stars gained today315
Created2022-09-18
Last pushed2026-11-16
Trending History
Weekly boardrank #44 · ▲ 315 stars
Related AI Projects
2
3
4
5
6
7
8