k-bit quantization library for PyTorch that cuts LLM memory use for inference and training.
- Pricing
- Free
- Category
- Model Efficiency
- Compliance
- Not stated
Model Efficiency
C/C++ LLM inference with 1.5- to 8-bit quantization and broad hardware backend support.
llama.cpp aims to enable LLM and VLM inference with minimal setup and state-of-the-art performance on a wide range of hardware, both locally and in the cloud. It is a plain C/C++ implementation without dependencies, built on the ggml library, with Apple silicon support through ARM NEON, Accelerate and Metal, AVX/AVX2/AVX512/AMX on x86 and RVV and other extensions on RISC-V. The project provides 1.5-bit, 2-bit, 3-bit, 4-bit, 5-bit, 6-bit and 8-bit integer quantization for faster inference and reduced memory use, custom CUDA kernels for NVIDIA GPUs with HIP and MUSA variants for other GPUs, Vulkan and SYCL backends, and CPU+GPU hybrid inference to partially accelerate models larger than total VRAM. Prebuilt binaries, Docker images and an OpenAI-compatible server are available under the MIT licence.
k-bit quantization library for PyTorch that cuts LLM memory use for inference and training.
Open-source optimization toolkit for training and running transformer models efficiently.
Open-source library for quantizing and compressing LLMs for efficient vLLM deployment.