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
Powerful App Monitoring Without Surprise Bills Icon
Powerful App Monitoring Without Surprise Bills

AppSignal starts at $23/month with all features included. No overages, no hidden fees. 30-day free trial.

Tired of monitoring tools that punish you for scaling? AppSignal offers transparent, predictable pricing with every feature unlocked on every plan. Track errors, monitor performance, detect anomalies, and manage logs across Ruby, Python, Node.js, and more. Trusted by developers since 2012 with free dev-to-dev support. No credit card required to start your 30-day trial.
Try AppSignal 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