antirez

ds4: Run DeepSeek and Other LLMs on Local Hardware

A native C inference engine for selected open-weight models on Apple Metal, NVIDIA CUDA, and AMD ROCm. It suits people with high-memory machines who want local inference, serving, or a coding agent without a general-purpose GGUF runner.

View on GitHub Compare
Stars
23.8k
Forks
2.3k
Stars, last 30 days
+293
Last commit
5 days ago
Contributors
54

Our take

Newless than six months old and changing fast

Health score

57/100

How it is scored
Activity
52
Community
58
Issues
79
Pull requests
38

+293 stars in the last 30 days

DwarfStar is a specialized, actively changing inference stack for users willing to match its supported models and hardware rather than expecting broad model compatibility.

Good fit if

  • You have supported Metal, CUDA, or ROCm hardware and want local inference for one of the project’s listed models.
  • You value its integrated CLI, server, coding agent, and options for SSD streaming or multi-device execution.
  • You can work with beta software: the repository is new and changing quickly, while recent changes are being merged and issues are being closed promptly.

Look elsewhere if

  • You need a general-purpose runner for arbitrary GGUF files, since DwarfStar requires project-produced model files.
  • Your hardware does not match the documented GPU platforms or memory-oriented setups.
  • You need a stable release cadence or a project with continuous integration configured; the repository reports no releases in the past year and no CI setup.
All health signals
Last commit2026-10-07 (5 days ago)
Commits, last 90 days100+
Releases, last 12 months0
Contributors54 (top contributor: 73% of commits)
Issues closed, last 90 days22+ (typically closed in 1 day)
Pull requests merged, last 90 days8 (typically merged in 2 days)
Project age5 months

Checked on 2026-10-13 with the GitHub API.

Project history

Daily GitHub snapshots since Oct 7, 2026. History covers stars and forks; health signals are not tracked historically.

Selected snapshot

Stars

24,517

Forks

2,401

Change since Dec 3, 2026: +7 stars·+2 forks

Overview

DwarfStar is a native inference engine focused on running a selected set of large open-weight models on local hardware. It targets Metal, CUDA, and ROCm, with support for models including DeepSeek V4 Flash and PRO, GLM variants, and Qwen3.8 Flash Next. Unlike a general GGUF runner, it expects the model files produced for this project.

The project combines inference with a CLI, HTTP server, and native coding agent. Its narrow model focus is intended to let it optimize for those models and for high-memory consumer machines, including setups that use SSD streaming or multiple connected systems.

Key Features

  • Native inference paths for Apple Metal, NVIDIA CUDA, and AMD ROCm.
  • Support for selected DeepSeek, GLM, and Qwen model variants, with model-specific guides and downloads.
  • SSD streaming for models that exceed available RAM.
  • Multi-GPU CUDA support and distributed inference options including tensor and pipeline parallelism.
  • CLI, HTTP server, and native coding agent interfaces.
  • Vision support for specified models through separately supplied encoders.
  • Optional speculative decoding, capability regression tests, and performance tools.

Use Cases

  • Mac users with substantial unified memory can run supported open-weight models locally, or use SSD streaming when the model does not fit in RAM.
  • Teams with supported NVIDIA GPUs can host local inference for multiple sessions, including on Ada-generation cards.
  • Framework Desktop and other Strix Halo users can try supported models through the ROCm build.
  • Developers who want a local coding agent can use ds4-agent directly or connect coding-agent clients through the HTTP server.
  • Researchers and engineers evaluating model quality or inference changes can use the project’s integration checks and benchmarking tools.

What you need

Detected in the repository

  • C (main language on GitHub)
  • A test suite

License in plain words

MITpermissive

  • Commercial use: yes
  • Modify and redistribute: yes
  • You must keep: the copyright and license notice
  • Share your changes: no

A summary, not legal advice: the LICENSE file is what applies.

Getting Started

git clone https://github.com/antirez/ds4.git
cd ds4

Choose a platform build and model using the README and its linked hardware guides.

Alternatives

  • colibri: Colibri is a C inference engine focused on streaming MoE weights from disk for low-RAM, often CPU-only machines, while ds4 targets high-memory hardware with GPU backends.
ProjectLanguageLicenseStarsStatus
ds4CMIT23.8kNew
colibriCApache-2.040kNew

Considerations

The project describes itself as beta quality. It is less than six months old, has no releases yet, and is changing rapidly, so regressions are possible despite release QA. It has many contributors and recent commits, but no CI is configured; tests are present. Model support is intentionally narrow and may change as newer open weights appear. Running the larger models can require substantial memory, a fast local SSD, supported accelerators, or multiple machines. The MIT license permits broad reuse, subject to its license terms and any applicable notices for retained or adapted code.

Found this useful?

Share it with someone who would like ds4.

Comparisons