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
Auth0 B2B Essentials: SSO, MFA, and RBAC Built In Icon
Auth0 B2B Essentials: SSO, MFA, and RBAC Built In

Unlimited organizations, 3 enterprise SSO connections, role-based access control, and pro MFA included. Dev and prod tenants out of the box.

Auth0's B2B Essentials plan gives you everything you need to ship secure multi-tenant apps. Unlimited orgs, enterprise SSO, RBAC, audit log streaming, and higher auth and API limits included. Add on M2M tokens, enterprise MFA, or additional SSO connections as you scale.
Sign Up 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

1 day ago