#6565th of 433 in ML frameworks and libraries

ggml

C/C++ tensor library for ML inference with quantization and many backends

Run it:Vast.ai ↗ (opens in a new tab)Clore.ai ↗ (opens in a new tab)Affiliate links, no effect on a rank.

Stars
16.3k
License
MIT
Last commit
Nov 2026
Last release
Nov 2026
Language
C++
Stars, last 35 weeks+2,075
25 Mar 2026: 14,175 stars1 Apr 2026: 14,226 stars8 Apr 2026: 14,283 stars15 Apr 2026: 14,349 stars22 Apr 2026: 14,397 stars29 Apr 2026: 14,461 stars6 May 2026: 14,503 stars13 May 2026: 14,550 stars20 May 2026: 14,589 stars27 May 2026: 14,631 stars3 Jun 2026: 14,692 stars10 Jun 2026: 14,728 stars17 Jun 2026: 14,778 stars24 Jun 2026: 14,808 stars1 Jul 2026: 14,857 stars8 Jul 2026: 14,903 stars15 Jul 2026: 14,940 stars22 Jul 2026: 14,997 stars29 Jul 2026: 15,041 stars5 Aug 2026: 15,092 stars12 Aug 2026: 15,130 stars19 Aug 2026: 15,183 stars26 Aug 2026: 15,219 stars2 Sept 2026: 15,273 stars9 Sept 2026: 15,312 stars16 Sept 2026: 15,354 stars23 Sept 2026: 15,398 stars30 Sept 2026: 15,431 stars7 Oct 2026: 15,459 stars14 Oct 2026: 15,495 stars21 Oct 2026: 15,532 stars28 Oct 2026: 15,575 stars4 Nov 2026: 15,610 stars11 Nov 2026: 15,645 stars18 Nov 2026: 16,156 stars25 Nov 2026: 16,250 stars

14,175 on 25 Mar 202616,250 on 25 Nov 2026

From GitHub's daily star counts.

Checked on GitHub.

Overview

ggml is a dependency-free C/C++ tensor library that runs machine learning models on CPU, GPU, NPU and in the browser. It provides SIMD-optimized kernels and 2- to 8-bit integer quantization, plus MXFP4 and NVFP4, and it defines the GGUF file format. Changes to the core library are directed to llama.cpp rather than this repository.

Who it is for: C/C++ developers building on-device inference engines

Strengths

  • Plain C/C++ with no dependencies; builds with CMake
  • Targets x86, ARM, RISC-V, LoongArch, PowerPC, s390x and WebAssembly
  • 2- to 8-bit integer quantization, plus MXFP4 and NVFP4 formats
  • Zero memory allocations at runtime

Weaknesses

  • Low-level library, not a ready-to-use model server or app
  • Core changes are submitted via llama.cpp, not this repo
  • README gives no hardware requirements or list of supported models
  • Documentation is a GGUF spec plus a few external links

What it needs

  • GPU optional
  • Models: GGUF

What changed

From the release notes. No flag means the note does not say so, not that the upgrade is safe. Releases and problems by RSS

Also in ML frameworks and libraries

See all 433
Also in ML frameworks and libraries
RankProjectScore
#63pytorch-lightningPyTorch training framework that automates multi-GPU, precision and logging boilerplate31.5k starsApache-2.078 out of 100
#64paddleDeep learning framework with dynamic/static graphs and automatic parallel training24.2k starsApache-2.078 out of 100
#66sentencepieceSubword tokenizer that trains BPE and unigram models from raw text12.2k starsApache-2.078 out of 100
#67cutlassCUDA C++ templates and Python DSL for writing GEMM and tensor kernels10.8k stars+119 (+1.1%) in 30 dayscustom license78 out of 100
#68sktimePython library with a scikit-learn-style API for time series tasks Live demo ↗ (opens in a new tab)10.1k starsBSD-3-Clause78 out of 100