llama.cpp runs quantized GGUF models on CPUs and on NVIDIA, AMD, Intel and Apple GPUs through CUDA, ROCm, Vulkan, SYCL and Metal backends. It can offload some layers to the GPU and keep the rest in system RAM when a model does not fully fit.
Glossary
What is llama.cpp?
The open-source inference engine behind Ollama and LM Studio.