awesome-repositories.com
Blog
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectAboutHow we rankPressMCP server
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
ggml-org avatar

ggml-org/llama.cpp

0
View on GitHub↗
116,799 stars·19,628 forks·C++·MIT·24 views

Llama.cpp

Llama.cpp is an inference engine designed for the local execution of text-based and multimodal language models on consumer hardware. It provides a core environment for running models that process both text and image inputs, utilizing hardware-accelerated backends to optimize performance across diverse CPU and GPU architectures.

The project distinguishes itself by offering a lightweight HTTP server that adheres to standard API specifications, enabling chat completion, embeddings, and reranking services. It includes a suite of tools for model quantization and conversion, which reduces memory usage and improves performance, alongside a command-line interface for managing chat templates and inference parameters.

The ecosystem further supports structured data generation through grammar-based output constraints and provides diagnostic utilities for visualizing computational graphs. Comprehensive documentation is available, including a reference matrix that details the compatibility of computational operations across supported hardware backends.

Features

  • Text-Only Inference Engines - Executes large language models locally on standard consumer hardware with high performance.
  • Hardware Abstraction Layers - Unifies diverse CPU and GPU architectures through a common interface to normalize model execution across heterogeneous hardware.
  • Multimodal Inference Engines - Processes both text and image inputs locally to enable multimodal model capabilities on standard consumer devices.
  • Inference API Servers - Exposes inference capabilities via a lightweight HTTP server that supports standard chat completion and embedding endpoints.
  • Model Quantization Tools - Compresses model weights into quantized formats to significantly reduce memory footprint and boost inference speed.
  • AI and Machine Learning - Efficient inference engine for large language models.
  • AI & Machine Learning - LLM inference in C/C++.
  • Inference and Serving - High-performance inference engine written in C/C++.
  • Inference Engines - Efficient LLM inference implementation in C/C++.
  • Large Language Models - High-performance LLM inference in C/C++.
  • Model Quantization - Listed in the “Model Quantization” section of the Llm Course awesome list.
  • Model Serving & Deployment - Performs efficient local inference for various LLMs.
  • Running Models - Listed in the “Running Models” section of the Llm Course awesome list.
  • Command Line Inference Interfaces - Terminal-based utilities allow for direct interaction with models, including configuration of inference parameters and chat management.

Star history

Star history chart for ggml-org/llama.cppStar history chart for ggml-org/llama.cpp

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Frequently asked questions

What does ggml-org/llama.cpp do?

Llama.cpp is an inference engine designed for the local execution of text-based and multimodal language models on consumer hardware. It provides a core environment for running models that process both text and image inputs, utilizing hardware-accelerated backends to optimize performance across diverse CPU and GPU architectures.

What are the main features of ggml-org/llama.cpp?

The main features of ggml-org/llama.cpp are: Text-Only Inference Engines, Hardware Abstraction Layers, Multimodal Inference Engines, Inference API Servers, Model Quantization Tools, AI and Machine Learning, AI & Machine Learning, Inference and Serving.

What are some open-source alternatives to ggml-org/llama.cpp?

Open-source alternatives to ggml-org/llama.cpp include: ggerganov/llama.cpp — llama.cpp is a high-performance C++ inference engine and runtime for executing large language models locally across… berriai/litellm — LiteLLM is a unified gateway and proxy server designed to centralize access to over one hundred language model… sgl-project/sglang — Sglang is a high-performance inference engine and serving system designed for large language and multimodal models. It… lyogavin/airllm — Airllm is a framework designed to execute and fine-tune large language models on consumer-grade hardware. By employing… bentoml/openllm — OpenLLM is a framework for deploying, managing, and scaling open-source large language models. langchain-ai/langchain — LangChain is an orchestration framework designed for building, managing, and deploying applications powered by large…

Open-source alternatives to Llama.cpp

Similar open-source projects, ranked by how many features they share with Llama.cpp.
  • berriai/litellmBerriAI avatar

    BerriAI/litellm

    50,579View on GitHub↗

    LiteLLM is a unified gateway and proxy server designed to centralize access to over one hundred language model providers. It provides a standardized API interface that abstracts vendor-specific schemas, allowing developers to interact with diverse models through a single, consistent format. By acting as a central traffic management layer, it enables organizations to route, secure, and govern model interactions across multiple deployments. The platform distinguishes itself through its policy-driven architecture, which uses configuration-based routing to manage traffic distribution, load balanc

    Pythonai-gatewayanthropicazure-openai
    View on GitHub↗50,579
  • ggerganov/llama.cppggerganov avatar

    ggerganov/llama.cpp

    116,912View on GitHub↗

    llama.cpp is a high-performance C++ inference engine and runtime for executing large language models locally across various hardware architectures. It provides the core components for local model execution, including a dedicated model quantizer for compressing weights into the GGUF format and a system for generating text embeddings for semantic search. The project distinguishes itself through specialized memory and execution optimizations, such as block-wise weight quantization to reduce memory footprints and memory-mapped model loading. It supports structured text generation by using formal

    C++
    View on GitHub↗116,912
  • sgl-project/sglangsgl-project avatar

    sgl-project/sglang

    29,079View on GitHub↗

    Sglang is a high-performance inference engine and serving system designed for large language and multimodal models. It provides a programmable interface for orchestrating complex generation workflows, enabling developers to coordinate multi-turn dialogues, tool invocations, and reasoning chains through a domain-specific language. The platform is built to support production-scale deployments, offering an OpenAI-compatible API that allows for integration with existing application ecosystems. The system distinguishes itself through a disaggregated architecture that separates compute-intensive pr

    Pythonattentionblackwellcuda
    View on GitHub↗29,079
  • lyogavin/airllmlyogavin avatar

    lyogavin/airllm

    11,508View on GitHub↗

    Airllm is a framework designed to execute and fine-tune large language models on consumer-grade hardware. By employing layer-wise model decomposition and memory-efficient loading techniques, the engine enables the operation of massive models that would otherwise exceed available system or video memory. The project distinguishes itself through a suite of optimization strategies that balance memory footprint with performance. It utilizes block-wise weight quantization and asynchronous layer prefetching to reduce resource consumption and hide data transfer latency. Additionally, the framework su

    Jupyter Notebookchinese-llmchinese-nlpfinetune
    View on GitHub↗11,508
  • See all 30 alternatives to Llama.cpp→