ggml is an open-source tensor library designed for efficient machine learning computation with a focus on running models locally and with minimal dependencies. Written primarily in C and C++, the library provides low-level tensor operations and automatic differentiation that allow developers to implement machine learning algorithms and neural networks efficiently. The project emphasizes portability and performance, enabling machine learning inference across a wide range of hardware environments including CPUs and specialized accelerators. It is widely used as a foundational component in projects that run large language models locally, including tools that perform inference for transformer-based models. The library also implements optimization algorithms and computation graph functionality so developers can build training and inference workflows directly on top of its tensor operations.

Features

  • Low-level tensor computation library for machine learning
  • Automatic differentiation for building computation graphs
  • Integer quantization support for efficient model inference
  • Cross-platform compatibility across different hardware environments
  • Implementation of optimization algorithms such as ADAM and L-BFGS
  • Minimal dependency design for lightweight AI deployments

Project Samples

Project Activity

See All Activity >

Categories

Machine Learning

License

MIT License

Follow ggml

ggml Web Site

Other Useful Business Software
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of ggml!

Additional Project Details

Programming Language

C++

Related Categories

C++ Machine Learning Software

Registered

2026-03-10