ggml: tensor library for machine learning
ggml is a tensor[1] library for machine learning, published in the ggml-org GitHub repository, with the goal of being simple, portable and efficient with minimal setup. It is plain C/C++ with no dependencies and runs on x86, ARM, RISC-V, LoongArch, PowerPC, s390x and WebAssembly, with SIMD[2]-optimized kernels for x86, ARM and RISC-V. Backends cover CPU, GPU, NPU and browser, and the library supports 2- to 8-bit integer quantization[3] plus MXFP4 and NVFP4 microscaling formats, with zero memory allocations at runtime. The README covers building from source and links to documentation on the GGUF[4] file format. Changes to the core library should be opened as a pull request in llama.cpp.
Sources
-
GitHub Trending
ggml-org/ggml


