awesome-repositories.com
博客
MCP
awesome-repositories.com

通过 AI 驱动的搜索,发现最优秀的开源仓库。

探索精选搜索开源替代品自托管软件博客网站地图
项目MCP 服务器关于排名机制媒体报道
法律隐私政策服务条款
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
ggerganov avatar

ggerganov/ggml

0
View on GitHub↗
14,831 星标·1,676 分支·C++·MIT·15 次浏览

Ggml

ggml is a low-level C++ tensor library and machine learning inference engine designed for performing mathematical operations on multi-dimensional arrays across diverse hardware platforms. It provides a foundational toolset for executing machine learning models and calculating mathematical gradients through an automatic differentiation library.

The project features a quantized tensor framework that converts floating-point weights into integer representations to reduce memory usage and increase inference speed. It utilizes a custom binary format for model serialization to ensure rapid loading and consistent versioning across different platforms.

The system covers a broad range of machine learning primitives, including graph-based computation for optimizing execution flow and parameter optimization for updating model weights. Its capabilities extend to neural network training and the deployment of large language models on consumer hardware.

Features

  • C Tensor Libraries - Provides a low-level C-based library for performing mathematical operations on multi-dimensional arrays.
  • Automatic Differentiation Engines - Implements an engine that tracks operation dependencies to calculate gradients for model parameter updates.
  • Computational Graphs - Represents machine learning models as directed graphs of tensor operations to optimize execution and memory.
  • Hardware Acceleration Backends - Maps generic tensor operations to optimized machine instructions for various CPU and GPU architectures.
  • Inference Engines - Acts as a runtime environment for executing pre-trained neural network models with optimized performance.
  • Inference Optimization - Optimizes model execution speed and reduces memory usage for running large neural networks on consumer hardware.
  • Tensor Libraries - Provides fundamental data structures and mathematical functions required for building custom high-dimensional array computations.
  • Tensor Operations - Performs low-level manipulations and transformations of multi-dimensional data structures across hardware platforms.
  • Model Quantization Frameworks - Implements a framework that converts high-precision weights into lower-precision formats to reduce model size.
  • Weight Quantization - Converts high-precision floating point weights into low-bit integer formats to reduce memory usage.
  • Low-Level Tensor Libraries - Ships a low-level library for performing mathematical operations on multi-dimensional arrays without high-level abstractions.
  • Model Serialization - Implements binary formats for saving and loading model states and metadata to ensure consistency across hardware.
  • Neural Network Training - Supports updating model weights and optimizing performance via automatic gradient calculations.
  • Optimization Algorithms - Provides mathematical methods for updating model parameters to minimize loss functions during training.
  • Local Model Deployment - Enables the deployment of large language models on local hardware using memory-efficient quantization.
  • Binary Serialization Formats - Provides a custom binary serialization format for tensors and metadata to ensure rapid loading across platforms.
  • Cross-Platform Runtimes - Ensures consistent model execution across diverse hardware architectures through portable tensor operations.
  • Machine Learning - Tensor library with quantization support.

Star 历史

ggerganov/ggml 的 Star 历史图表ggerganov/ggml 的 Star 历史图表

AI 搜索

探索更多 awesome 仓库

用简单的语言描述您的需求 —— AI 将根据相关性为您从数千个精选开源项目中进行排序。

Start searching with AI

常见问题解答

ggerganov/ggml 是做什么的?

ggml is a low-level C++ tensor library and machine learning inference engine designed for performing mathematical operations on multi-dimensional arrays across diverse hardware platforms. It provides a foundational toolset for executing machine learning models and calculating mathematical gradients through an automatic differentiation library.

ggerganov/ggml 的主要功能有哪些?

ggerganov/ggml 的主要功能包括:C Tensor Libraries, Automatic Differentiation Engines, Computational Graphs, Hardware Acceleration Backends, Inference Engines, Inference Optimization, Tensor Libraries, Tensor Operations。

ggerganov/ggml 有哪些开源替代品?

ggerganov/ggml 的开源替代品包括: apache/mxnet — This project is a deep learning framework designed for constructing, training, and deploying neural networks across… deeplearning4j/deeplearning4j — Deeplearning4j is a JVM-based deep learning framework and tensor computing library. It provides a computational graph… infrasys-ai/aisystem — AISystem is a comprehensive AI full-stack infrastructure project covering the entire pipeline from AI chip… karpathy/convnetjs — ConvNetJS is a JavaScript deep learning library and neural network training engine designed for client-side machine… d2l-ai/d2l-en — This project is an educational platform and research toolkit designed to teach deep learning through a combination of… chiphuyen/tf-stanford-tutorials — This project is a deep learning educational resource providing a collection of TensorFlow tutorials and programming…

Ggml 的开源替代方案

相似的开源项目,按与 Ggml 的功能重合度排序。
  • apache/mxnetapache 的头像

    apache/mxnet

    20,829在 GitHub 上查看↗

    This project is a deep learning framework designed for constructing, training, and deploying neural networks across diverse hardware environments. It functions as a high-performance tensor computation library that provides both imperative and symbolic programming interfaces, allowing developers to balance flexible, step-by-step model building with the efficiency of compiled computation graphs. The framework distinguishes itself through a hybrid execution engine that integrates declarative graph compilation with imperative runtime logic. It supports scalable, distributed training across multip

    C++mxnet
    在 GitHub 上查看↗20,829
  • deeplearning4j/deeplearning4jdeeplearning4j 的头像

    deeplearning4j/deeplearning4j

    14,236在 GitHub 上查看↗

    Deeplearning4j is a JVM-based deep learning framework and tensor computing library. It provides a computational graph engine for defining and executing deep learning workflows and mathematical operations within the Java Virtual Machine. The project includes a dedicated importer for loading and running pretrained models exported from Keras, TensorFlow, and ONNX formats. Its tensor computing capabilities are driven by a modular native C++ math core to execute high-performance linear algebra operations. The framework covers neural network training, deep learning model inference, and the constru

    Java
    在 GitHub 上查看↗14,236
  • infrasys-ai/aisystemInfrasys-AI 的头像

    Infrasys-AI/AISystem

    17,017在 GitHub 上查看↗

    AISystem is a comprehensive AI full-stack infrastructure project covering the entire pipeline from AI chip architecture to high-level training frameworks. It encompasses the development of AI compiler frameworks, inference engines, and distributed training orchestrators designed to coordinate workloads across a heterogeneous compute stack of CPUs, GPUs, and NPUs. The project focuses on the deep integration of software and hardware, employing software-hardware co-design to align tensor layouts with physical memory structures. It provides specialized capabilities for accelerating Transformer mo

    Jupyter Notebookaiaiinfraaisys
    在 GitHub 上查看↗17,017
  • karpathy/convnetjskarpathy 的头像

    karpathy/convnetjs

    11,171在 GitHub 上查看↗

    ConvNetJS is a JavaScript deep learning library and neural network training engine designed for client-side machine learning. It functions as a framework for building, training, and running convolutional neural networks directly within a web browser without the need for a backend server. The library specializes in image recognition and pattern analysis using convolutional and pooling layers. It enables the creation of models for classification and regression tasks, as well as the development of reinforcement learning agents that optimize behavior through trial and error in simulated environme

    JavaScript
    在 GitHub 上查看↗11,171
查看 Ggml 的所有 30 个替代方案→