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

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

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

antirez/ds4

0
View on GitHub↗
15,143 星标·1,326 分支·C·MIT·13 次浏览

Ds4

ds4 is a local inference engine for DeepSeek models that includes a distributed runtime for splitting transformer layers across networked computers. It functions as a reasoning controller with a local weight streamer and an API server that streams chat completions via industry standard endpoints.

The system employs a memory management model that loads model experts from disk on demand to execute models that exceed available system RAM. It provides controls for reasoning effort and model behavior steering, allowing the modification of response characteristics through activation directions.

The project covers a broad capability surface including hardware acceleration for Metal, CUDA, and ROCm, and disk persistence for prompt states and agent sessions. It also includes tools for inference throughput benchmarking, model capability evaluation, and power consumption limiting to manage hardware heat.

Features

  • Local AI Inference - Runs DeepSeek models on local Metal, CUDA, or ROCm hardware for private generative AI tasks.
  • Activation Steering Vectors - Modifies model output characteristics by applying direction vectors to internal activations during inference.
  • Distributed Model Execution - Splits transformer layers across networked computers to execute models that exceed the memory of a single device.
  • Local Inference Runtimes - Executes deep learning models on local Metal, CUDA, or ROCm hardware for offline inference.
  • Local Inference Engines - Provides an optimized local execution environment for DeepSeek models with multi-GPU acceleration.
  • Model Steering Tools - Controls verbosity, safety, and reasoning depth using activation directions and thinking mode toggles.
  • Runtime Weight Loading - Loads specific model experts from disk into memory on demand to run models larger than available RAM.
  • Reasoning Mode Controllers - Adjusts internal thinking depth and modifies output characteristics through activation steering.
  • Unified GPU Backend Abstractions - Unifies hardware calls for Metal, CUDA, and ROCm to execute operations across different GPU architectures.
  • Model Weight Offloading - Manages memory by loading model experts from disk on demand to exceed available system RAM.
  • Distributed Runtimes - Orchestrates transformer layer execution across multiple networked computers to handle massive models.
  • Model Sharding - Splits transformer layers across multiple networked machines to run models exceeding single-device memory.
  • Expert Weight Streaming - Loads specific model experts from disk on demand to execute models that exceed available system RAM.
  • Agent Session Management - Saves and resumes interactive coding or chat sessions by caching prompt states and agent data.
  • Prefix Caching - Stores processed prompt prefixes on disk to avoid recalculating the initial input tokens upon session resumption.
  • Disk Caching Systems - Stores processed prompt prefixes on disk to allow session resumption without recalculating input tokens.
  • Compute Throttling - Inserts calibrated pauses between compute units to target specific power consumption levels and reduce hardware heat.
  • Agentic Session Persistence - Saves interactive session data to disk to allow resuming tasks without repeating the initial prompt prefill.
  • OpenAI-Compatible Servers - Implements the OpenAI API specification to stream completions via industry standard endpoints.
  • OpenAI-Compatible API Servers - Provides a local server with standard endpoints to stream chat completions to external applications.
  • Headless Server Hosting - Provides a headless API server to stream chat completions and messages via server-sent events.
  • AI Agents - Local inference engine for running models on MacBook.

Star 历史

antirez/ds4 的 Star 历史图表antirez/ds4 的 Star 历史图表

AI 搜索

探索更多 awesome 仓库

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

Start searching with AI

Ds4 的开源替代方案

相似的开源项目,按与 Ds4 的功能重合度排序。
  • openbmb/minicpmOpenBMB 的头像

    OpenBMB/MiniCPM

    9,464在 GitHub 上查看↗

    MiniCPM is a collection of small language models designed for local, on-device deployment in resource-constrained environments. The project focuses on running dense Transformer models on consumer hardware, including GPUs, CPUs, and Apple Silicon, without requiring custom code forks. The project distinguishes itself through heavy optimization for edge hardware, utilizing quantized weight compression in GGUF and MLX formats to reduce memory overhead. It implements advanced inference techniques such as speculative sampling and radix-tree prefix caching to accelerate generation speed and throughp

    Jupyter Notebook
    在 GitHub 上查看↗9,464
  • elder-plinius/obliteratuselder-plinius 的头像

    elder-plinius/OBLITERATUS

    6,736在 GitHub 上查看↗

    Obliteratus is a weight ablation framework and refusal removal tool designed to identify and delete the internal representations responsible for content refusals in large language models without retraining. It functions as a circuit analysis suite that maps the geometric structure of model guardrails to isolate the specific layers and attention heads that enforce refusals. The project enables the removal of these behaviors through geometric projection, rank-1 adapter ablation for reversible modifications, and the application of steering vectors to alter behavior during inference. It includes

    Python
    在 GitHub 上查看↗6,736
  • 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
  • letta-ai/lettaletta-ai 的头像

    letta-ai/letta

    21,168在 GitHub 上查看↗

    Letta is a framework for building, deploying, and managing autonomous AI agents that maintain persistent state across long-term interactions. It provides a comprehensive suite of primitives for defining agents with configurable personas, modular memory blocks, and tool-use capabilities, enabling them to retain user preferences and conversation history over extended sessions. The platform distinguishes itself through its advanced memory management and orchestration capabilities. It allows agents to autonomously update their own memory, perform retrieval-augmented generation, and coordinate com

    Pythonaiai-agentsllm
    在 GitHub 上查看↗21,168
查看 Ds4 的所有 30 个替代方案→

常见问题解答

antirez/ds4 是做什么的?

ds4 is a local inference engine for DeepSeek models that includes a distributed runtime for splitting transformer layers across networked computers. It functions as a reasoning controller with a local weight streamer and an API server that streams chat completions via industry standard endpoints.

antirez/ds4 的主要功能有哪些?

antirez/ds4 的主要功能包括:Local AI Inference, Activation Steering Vectors, Distributed Model Execution, Local Inference Runtimes, Local Inference Engines, Model Steering Tools, Runtime Weight Loading, Reasoning Mode Controllers。

antirez/ds4 有哪些开源替代品?

antirez/ds4 的开源替代品包括: openbmb/minicpm — MiniCPM is a collection of small language models designed for local, on-device deployment in resource-constrained… elder-plinius/obliteratus — Obliteratus is a weight ablation framework and refusal removal tool designed to identify and delete the internal… ericlbuehler/mistral.rs — mistral.rs is an inference engine for large language models that runs locally and exposes models behind OpenAI and… letta-ai/letta — Letta is a framework for building, deploying, and managing autonomous AI agents that maintain persistent state across… cloudwego/eino — Eino is an AI agent development kit and LLM application framework designed for building autonomous agents and… sgl-project/sglang — Sglang is a high-performance inference engine and serving system designed for large language and multimodal models. It…