ggml-org/ggml — a trending C++ project
Tensor library for machine learning
ggml-org/ggml — C++ · 15,797 stars · 1,947 forks · +154 today
Tensor library for machine learning
ggml
#Quick start
#Build from source:
git clone https://github.com/ggml-org/ggml
cd ggml
mkdir build && cd build
cmake ..
cmake --build . --config Release -j 8
For a minimal, fully commented example (matrix multiplication), see examples/simple.
Description
#The main goal of ggml is to be a simple, portable, and efficient tensor library for machine learning with minimal setup.
- Plain C/C++ implementation without any dependencies
- Cross-platform - x86, ARM, RISC-V, LoongArch, PowerPC, s390x, and WebAssembly
- SIMD-optimized kernels for x86, ARM, and RISC-V
- Broad backend support - CPU, GPU, NPU, and browser
- 2- to 8-bit integer quantization, plus MXFP4 and NVFP4 microscaling formats
- Zero memory allocations during runtime
Documentation
#Contributing
#- For changes to the core
ggmllibrary (including to the CMake build system), please open a PR in llama.cpp - doing so will make your PR more visible, better tested, and more likely to be reviewed
Content above is the README of ggml-org/ggml, reproduced from GitHub’s trending list. All rights remain with the original authors.
Newsletter
New posts in your inbox. Confirm by email, unsubscribe any time.
More in Cybersecurity
View allLikely7/Veyra-NRVideo — a trending C++ project
Bring PS5 GTA6 to 120FPS with DLSS 5. An advanced Windows video player and capture enhancement tool featuring real-time preview for videos, images, and capture card sources. Combine AI-powered Super Resolution, DLSS5 image enhancement, and Frame Generation to deliver a next-generation visual experie
via GitHub · 12 min
google-deepmind/mujoco — a trending C++ project
Multi-Joint dynamics with Contact. A general purpose physics simulator.
via GitHub · 3 min
openssl/openssl — a trending C project
General purpose TLS and crypto library
via GitHub · 4 min

Comments
Posting as a guest