awesome-repositories.com
博客
awesome-repositories.com

通过 AI 驱动的搜索,发现最优秀的开源仓库。

探索精选搜索开源替代品自托管软件博客网站地图
项目关于排名机制媒体报道MCP 服务器
法律隐私政策服务条款
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
LostRuins avatar

LostRuins/koboldcppFork

0
View on GitHub↗
9,511 星标·616 分支·C++·agpl-3.0·5 次浏览github.com/LostRuins/koboldcpp/releases/latest↗

Koboldcpp

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, images, and audio using vision projectors and speech synthesis.

The system includes broad support for hardware acceleration via GPU-layer offloading and multi-GPU tensor splitting to handle large models. It incorporates advanced output control through grammar constraints and phrase banning, as well as grounded retrieval capabilities that connect models to local documents and web search.

The core runtime is implemented in C++ for high-performance memory management and hardware-level optimization.

Features

  • Narrative Writing Assistants - Provides specialized tools for writing long-form narratives, managing persistent world lore and character memories.
  • OpenAI-Compatible APIs - Provides a local server with OpenAI-compatible endpoints for integration with third-party applications.
  • Hardware Acceleration - Offloads model layers to the GPU and optimizes CPU instructions to increase token generation speed.
  • Local Model Runners - Provides a runtime environment optimized to load and execute quantized GGUF models on local hardware.
  • Local Inference Engines - Serves as an optimized local inference engine for LLMs with GPU acceleration and OpenAI-compatible API endpoints.
  • Model API Gateways - Provides translation layers that expose local model capabilities through standardized OpenAI-compatible API endpoints.
  • Multimodal AI Orchestrators - Functions as a backend that coordinates vision, speech, and language models for unified multimodal interactions.
  • Narrative State Management - Organizes characters and world information to maintain consistency across long-form storytelling narratives.
  • Weight Quantization - Uses GGML-based weight quantization to fit large language models into limited system RAM and GPU memory.
  • Storytelling Backends - Acts as a backend for managing long-form narratives with persistent memory and character state tracking.
  • Text Generation - Produces text responses using various model formats and sampling techniques to improve output quality.
  • Grammar-Constrained Samplers - Forces model responses to follow precise syntax or structures using formal grammar-constrained sampling.
  • Local LLM Tools - Provides the engine and tools for running large language models on personal hardware with GPU acceleration.
  • C++ Inference Runtimes - Implements the core model execution engine in C++ for high-performance memory and hardware optimization.
  • Persistent Context Managers - Injects permanent context or keyword-triggered information into prompts to maintain coherence across sessions.
  • Model Inference APIs - Exposes compatible HTTP endpoints for web services to interact with locally loaded models.
  • Document Grounding - Anchors AI responses to local documents or real-time web search results for grounded retrieval.
  • Context Window Extrapolation - Implements scaling techniques to enable language models to process sequences longer than their original training length.
  • RAG Document Retrieval - Retrieves relevant snippets from uploaded documents using a search engine to provide grounded context for responses.
  • External Tool Integration - Connects to external servers allowing the AI to interact with system files, databases, and internet search.
  • Chat Template Configurations - Allows overriding default tokenizer formats using built-in templates or custom definitions to force specific instruct tags.
  • Speculative Decoding Strategies - Uses a small draft model to predict future tokens that a larger primary model validates for faster generation.
  • Model Fine-Tuning - Supports steering model behavior and ensuring structured output through LoRA adapters and grammar constraints.
  • Multi-GPU Distribution - Partitions model tensors across multiple graphics cards to execute models that exceed a single GPU's memory.
  • Dynamic Model Reloading - Enables changing models and configurations at runtime via an admin interface without requiring a restart.
  • LoRA Adapter Loaders - Implements mechanisms for applying low-rank adaptation weights to base models during runtime.
  • KV Cache Management - Stores processed prompt states in memory to avoid redundant computations when switching conversation contexts.
  • Distributed Tensor Sharding - Partitions model tensors across multiple graphics cards to enable the execution of very large models.
  • Model Layer Offloading - Distributes specific model layers between the CPU and GPU to accelerate inference based on hardware availability.
  • Streaming APIs - Sends output to clients incrementally using polled-streaming or server-sent events for real-time visualization.
  • Token Blacklists - Prevents the generation of specific words or symbols by triggering text regeneration when banned phrases appear.
  • KV Cache Snapshotting - Saves cache snapshots to memory to avoid redundant computations when switching between different conversation contexts.
  • Inference and Serving - Single-file runner for GGUF models.
  • Inference Engines - Single-file runner for various model formats.
  • Large Language Models - Easy-to-use text generation software for GGML-based models.
  • Model Deployment - Listed in the “Model Deployment” section of the Llm Course awesome list.

Star 历史

lostruins/koboldcpp 的 Star 历史图表lostruins/koboldcpp 的 Star 历史图表

AI 搜索

探索更多 awesome 仓库

用简单的语言描述您的需求 —— AI 将根据相关性为您从数千个精选开源项目中进行排序。

Start searching with AI

Koboldcpp 的开源替代方案

相似的开源项目,按与 Koboldcpp 的功能重合度排序。
  • openvinotoolkit/openvinoopenvinotoolkit 的头像

    openvinotoolkit/openvino

    10,414在 GitHub 上查看↗

    OpenVINO is an AI inference engine and model serving platform designed to execute optimized deep learning models across CPUs, GPUs, and NPUs through a unified API. It includes a model optimization toolkit for converting, quantizing, and compressing models from various frameworks, alongside a specialized generative AI runtime for large language models. The project distinguishes itself through a plugin-based hardware acceleration layer that maps neural network operations to vendor-specific drivers. It features advanced execution mechanisms such as continuous batching, speculative decoding, and

    C++aicomputer-visiondeep-learning
    在 GitHub 上查看↗10,414
  • ggerganov/llama.cppggerganov 的头像

    ggerganov/llama.cpp

    116,912在 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++
    在 GitHub 上查看↗116,912
  • ericlbuehler/mistral.rsEricLBuehler 的头像

    EricLBuehler/mistral.rs

    6,597在 GitHub 上查看↗

    mistral.rs is an inference engine for large language models that runs locally and exposes models behind OpenAI and Anthropic-compatible APIs. It serves as a multi-model serving platform, capable of loading several models in a single server process with per-request routing and on-demand loading and unloading. The engine supports multimodal inference, processing text alongside images, video, audio, and speech inputs, and includes a quantized model deployment runtime that reduces memory use and speeds up inference on consumer hardware. The project distinguishes itself through an agentic tool exe

    Rustllmrustuqff
    在 GitHub 上查看↗6,597
  • sgl-project/sglangsgl-project 的头像

    sgl-project/sglang

    29,079在 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
    在 GitHub 上查看↗29,079
查看 Koboldcpp 的所有 30 个替代方案→

常见问题解答

lostruins/koboldcpp 是做什么的?

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.

lostruins/koboldcpp 的主要功能有哪些?

lostruins/koboldcpp 的主要功能包括:Narrative Writing Assistants, OpenAI-Compatible APIs, Hardware Acceleration, Local Model Runners, Local Inference Engines, Model API Gateways, Multimodal AI Orchestrators, Narrative State Management。

lostruins/koboldcpp 有哪些开源替代品?

lostruins/koboldcpp 的开源替代品包括: openvinotoolkit/openvino — OpenVINO is an AI inference engine and model serving platform designed to execute optimized deep learning models… ggerganov/llama.cpp — llama.cpp is a high-performance C++ inference engine and runtime for executing large language models locally across… ericlbuehler/mistral.rs — mistral.rs is an inference engine for large language models that runs locally and exposes models behind OpenAI and… sgl-project/sglang — Sglang is a high-performance inference engine and serving system designed for large language and multimodal models. It… openbmb/minicpm — MiniCPM is a collection of small language models designed for local, on-device deployment in resource-constrained… intel/ipex-llm — Intel XPU LLM Acceleration Library is a toolkit designed to accelerate large language model inference and finetuning…