awesome-repositories.com
Blog
awesome-repositories.com

Entdecke die besten Open-Source-Repositories mit KI-gestützter Suche.

EntdeckenKuratierte SuchenOpen-Source-AlternativenSelf-hosted SoftwareBlogSitemap
ProjektÜber unsRanking-MethodikPresseMCP-Server
RechtlichesDatenschutzAGB
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
ggerganov avatar

ggerganov/llama.cpp

0
View on GitHub↗
116,912 Stars·19,654 Forks·C++·MIT·14 Aufrufellama.app↗

Llama.cpp

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 grammars to force model outputs to adhere to specific JSON schemas or patterns, and it implements speculative decoding to increase inference speed.

Broad capabilities include hardware acceleration for GPUs, tools for converting models between different data formats, and utilities for measuring model quality via perplexity and divergence metrics. The engine can be wrapped in an HTTP server that provides an OpenAI-compatible API for integration with external tools.

Features

  • Local Inference Engines - Implements a high-performance C++ engine for executing large language models on consumer-grade hardware.
  • Cross-Platform Inference Frameworks - Enables model execution across multiple operating systems and hardware architectures via a portable implementation.
  • Hardware Acceleration Backends - Offloads heavy computations to specialized hardware like GPUs via CUDA and Metal to significantly speed up inference.
  • Local Inference Engines - Executes generative AI models directly on local hardware to ensure privacy and reduce latency.
  • Local AI Deployment Platforms - Provides a high-performance runtime for deploying and executing models across diverse local hardware architectures.
  • Tensor Computing Libraries - Includes a low-level C-based tensor library for efficient memory management and mathematical operations.
  • Model Quantization - Implements model quantization to reduce the memory footprint of language models for consumer hardware.
  • Weight Quantization - Implements block-wise weight quantization to compress model weights into low-bit integer formats for reduced memory footprints.
  • Weight Quantization Tools - Provides a dedicated quantizer to convert and compress model weights into the GGUF format.
  • C++ Inference Runtimes - Provides a high-performance compiled C++ environment for executing large language models locally.
  • OpenAI-Compatible APIs - Serves local models via OpenAI-compatible HTTP endpoints for integration with existing AI ecosystem tools.
  • Embedding Generators - Provides a system for transforming text into vector representations for use in semantic search and retrieval.
  • Local Embedding Generators - Transforms text into vector representations locally for semantic search and retrieval.
  • OpenAI-Compatible Inference Servers - Provides an HTTP server that implements the OpenAI API specification for local model access.
  • Speculative Decoding Strategies - Implements speculative decoding using a draft model to predict multiple tokens in parallel for faster generation.
  • Memory-Mapped Loading - Uses memory-mapped model loading to enable fast startup and shared memory usage.
  • Model Format Converters - Includes tools for converting models from various data formats into the optimized GGUF binary format for local execution.
  • Structured Output Generators - Forces the model to generate responses that strictly adhere to predefined JSON schemas or grammatical rules.
  • Grammar-Constrained Samplers - Restricts output tokens using formal grammars to ensure model responses follow specific structural patterns.
  • AI & Machine Learning - Efficient inference of large language models on consumer hardware.
  • Inference and Serving - C/C++ implementation for running LLM inference.
  • Inference Engines - Efficient C/C++ implementation for running local language models.
  • Inference Frameworks - Efficient C/C++ implementation for running models on consumer hardware.
  • Language Models - Ports for running LLaMA-based models efficiently on CPUs.
  • Large Language Models - High-performance C/C++ implementation for running Llama models locally.
  • Local LLM Execution - C/C++ port for running LLaMA models on consumer hardware.
  • Model Quantization - High-performance inference engine for running quantized models on consumer hardware.
  • Model Serving - Library for running LLMs efficiently in pure C/C++.
  • Model Serving Engines - C/C++ port for running LLaMA models on local hardware.
  • Transformer Implementations - C/C++ port of the LLaMA model for efficient local execution.

Star-Verlauf

Star-Verlauf für ggerganov/llama.cppStar-Verlauf für ggerganov/llama.cpp

KI-Suche

Entdecke weitere awesome Repositories

Beschreibe in einfachen Worten, was du brauchst — die KI bewertet tausende kuratierte Open-Source-Projekte nach Relevanz.

Start searching with AI

Häufig gestellte Fragen

Was macht ggerganov/llama.cpp?

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.

Was sind die Hauptfunktionen von ggerganov/llama.cpp?

Die Hauptfunktionen von ggerganov/llama.cpp sind: Local Inference Engines, Cross-Platform Inference Frameworks, Hardware Acceleration Backends, Local AI Deployment Platforms, Tensor Computing Libraries, Model Quantization, Weight Quantization, Weight Quantization Tools.

Welche Open-Source-Alternativen gibt es zu ggerganov/llama.cpp?

Open-Source-Alternativen zu ggerganov/llama.cpp sind unter anderem: lostruins/koboldcpp — KoboldCPP is a local large language model inference engine and GGUF model runner designed to execute quantized models… sgl-project/sglang — Sglang is a high-performance inference engine and serving system designed for large language and multimodal models. It… vllm-project/vllm — vLLM is a high-throughput inference engine designed for the efficient serving and execution of large language models.… tiiny-ai/powerinfer — PowerInfer is a high-performance local large language model inference engine and sparse inference framework. It… abetlen/llama-cpp-python — llama-cpp-python provides a Python interface for the llama.cpp library, enabling the execution of large language… pytorch/executorch — ExecuTorch is a lightweight C++ runtime for deploying PyTorch models on mobile, embedded, and edge hardware. It…

Open-Source-Alternativen zu Llama.cpp

Ähnliche Open-Source-Projekte, sortiert nach der Anzahl der gemeinsamen Funktionen mit Llama.cpp.
  • lostruins/koboldcppAvatar von LostRuins

    LostRuins/koboldcpp

    9,511Auf GitHub ansehen↗

    KoboldCPP is a local large language model inference engine and GGUF model runner designed to execute quantized models on personal hardware. It functions as a multimodal AI server and API gateway, providing OpenAI-compatible endpoints that allow third-party clients to interact with locally hosted models. The project distinguishes itself as an AI storytelling backend, featuring dedicated tools for long-form narrative management through persistent memory, world lore tracking, and character state management. It further extends its capabilities as a multimodal server capable of processing text, im

    C++gemmaggmlgguf
    Auf GitHub ansehen↗9,511
  • sgl-project/sglangAvatar von sgl-project

    sgl-project/sglang

    29,079Auf GitHub ansehen↗

    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
    Auf GitHub ansehen↗29,079
  • vllm-project/vllmAvatar von vllm-project

    vllm-project/vllm

    83,048Auf GitHub ansehen↗

    vLLM is a high-throughput inference engine designed for the efficient serving and execution of large language models. It functions as a production-ready distributed model server, providing standard API protocols for online serving while also supporting offline batch processing. The system is built to maximize token generation speed and memory efficiency, enabling both large-scale cloud deployments and local execution on personal hardware. The project distinguishes itself through advanced memory management and request scheduling techniques, most notably its use of non-contiguous key-value cach

    Pythonamdblackwellcuda
    Auf GitHub ansehen↗83,048
  • tiiny-ai/powerinferAvatar von Tiiny-AI

    Tiiny-AI/PowerInfer

    8,714Auf GitHub ansehen↗

    PowerInfer is a high-performance local large language model inference engine and sparse inference framework. It provides a runtime for executing models on consumer-grade hardware, utilizing a GPU acceleration backend to optimize tensor operations for graphics processors. The system distinguishes itself through a sparse inference framework that increases generation speed by skipping computations based on activation sparsity in model weights. It includes a GGUF model converter for transforming weights and metadata into a unified binary format, as well as an OpenAI API compatible server for inte

    C++large-language-modelsllamallm
    Auf GitHub ansehen↗8,714
Alle 30 Alternativen zu Llama.cpp anzeigen→