Favicon of GGUF and ggml

GGUF and ggml

An open-source C/C++ machine learning library supports CPU, GPU, NPU and browser backends, with quantized computation under the MIT license.

ggml is a library for developers building machine learning runtimes and local AI applications. It provides tensor computation across different kinds of hardware; GGUF is the model file format covered by the project.

  • Hardware backends: Build applications that use CPU, GPU or NPU computation, with browser support as well.
  • Quantization: Use 2- to 8-bit integer representations or MXFP4 and NVFP4 microscaling formats for model computation.
  • Platform portability: Target x86, ARM, RISC-V, LoongArch, PowerPC and s390x, or use WebAssembly for browser applications.
  • Optimized computation: Use SIMD kernels on x86, ARM and RISC-V, with no memory allocations during runtime.

The C/C++ implementation has no dependencies and uses the MIT license. It's an open-source development library for integrating machine learning into software, so users need an application built around it to interact with models.

Similar to GGUF and ggml