Audio version โ€” Estimated duration: 1 min 29 sec

Installation Guide

Welcome to the installation guide for llama.cpp. This section will walk you through the process of setting up the environment and building the project for different hardware configurations.

๐Ÿš€ Getting Started

Before you begin any specific installation method, you must ensure your system meets the necessary requirements.

  1. Check Prerequisites: Review the Prerequisites Guide to ensure you have Git, CMake, and a C++ compiler installed.
  2. Choose Your Hardware Path: Select the installation method that matches your computerโ€™s hardware.

๐Ÿ› ๏ธ Installation Methods

Choose the path that best suits your hardware setup:

๐Ÿ’ป Standard (CPU Only)

The most compatible method. Works on virtually any modern Windows machine without needing a dedicated graphics card. ๐Ÿ‘‰ Follow the CPU Installation Guide

๐ŸŸข NVIDIA GPU Acceleration (CUDA)

Highly recommended if you have an NVIDIA graphics card. Provides significant performance boosts for model inference. ๐Ÿ‘‰ Follow the CUDA Installation Guide

๐Ÿ”ด AMD GPU Acceleration (HIP)

For users with AMD graphics cards. Leverages AMDโ€™s HIP SDK to accelerate computations on your GPU. ๐Ÿ‘‰ Follow the AMD Installation Guide

๐Ÿ”ต Intel GPU Acceleration (SYCL)

For users with Intel Arc, Iris Xe, or UHD Graphics. Uses Intel oneAPI with SYCL. ๐Ÿ‘‰ Follow the Intel Installation Guide

๐ŸŸฃ Vulkan (Universal GPU)

For any GPU that supports Vulkan (NVIDIA, AMD, Intel, and more). A portable fallback that works everywhere. ๐Ÿ‘‰ Follow the Vulkan Installation Guide

๐Ÿค” Not Sure Which Backend to Pick?

๐Ÿ‘‰ Compare All Backends


โญ๏ธ Whatโ€™s Next?

Once you have successfully completed your installation and verified it works, you can move on to using the tool.

  • Running Models: Learn how to use the command line interface in the CLI Usage Guide.
  • HTTP Server: Run a ChatGPT-like web interface with llama-server.
  • Exploring Models: See what different formats are available in Model Formats.

Last Updated: 2026-07-19