Skip to content

ds4

Native inference engine for running a few large open-weight models on Macs and CUDA boxes

Permissive (OSI) · MIT AI-native

Listed by , founder & editor

53

Health

Slowing

Overview

Stars

24,434

Last commit

20 days ago

Nov 2026

Repository age

7 months

since May 2026

Latest version

–

Contributors

–

14 active in 90 days

Releases

0

last 12 months

Language

C

DwarfStar, published as ds4, is a small inference engine written in C. It targets a short list of large open-weight models: DeepSeek V4 Flash and V4.1 Flash, DeepSeek V4 PRO, GLM 5.2, 5.3 and 5.3 Flash, and Qwen3.8 Flash Next. It is deliberately narrow. It is not a general GGUF runner, and it only loads the GGUF files the project itself produces.

Model loading, prompt rendering, tool calls, KV state, the HTTP server and a coding agent are built and tested together. The repository also ships tools and data for GGUF, imatrix, quality and speed work. Metal on Macs is the primary target, with 96 GB or more for DeepSeek and GLM. Smaller machines can stream from SSD. NVIDIA CUDA is supported, including multi-GPU setups and Ada Lovelace cards such as the L40S. ROCm works on Strix Halo systems.

You can run two Macs together over RDMA with tensor parallelism, or chain machines with pipeline parallelism to pool RAM. Model support changes over time, and a model may be dropped when a better one arrives. The code is MIT licensed and was written with heavy help from AI coding agents. It builds on llama.cpp and GGML.

Who it's for

Mac owners with 96 GB or more of unified memory

Metal is the primary target, so large DeepSeek and GLM models are meant to run on a laptop or Mac Studio.

Skip if: You have a smaller Mac and expect fast results without SSD streaming.

Teams with a few NVIDIA GPUs serving local models

Multi-GPU CUDA support, including Ada Lovelace cards, lets several sessions share one machine as an LLM server.

Skip if: You need to run arbitrary GGUF models from other sources.

Tinkerers with a DGX Spark or Strix Halo box

Both are named hardware targets, with CUDA and ROCm backends.

Skip if: You want a stable runtime that supports a wide model catalog.

The problem it solves

Large open-weight models are now good enough to be useful, but running them on hardware you own is hard. General runners cover many models without tuning for any. This engine focuses on a handful so they fit and run well on high-end personal machines.

Strengths

  • Runs DeepSeek V4 Flash on Ada Lovelace GPUs that other implementations skip
  • Backends for Metal, NVIDIA CUDA and ROCm on Strix Halo
  • SSD streaming lets machines with too little RAM still run large models
  • Two Macs can combine over RDMA using tensor parallelism
  • MIT license with an included HTTP server and coding agent

Trade-offs

  • Only loads the project's own GGUF files, not arbitrary models
  • Supported model list is narrow and models may be removed
  • Large models need 64 to 96 GB or more on Macs
  • Developed with strong AI coding agent assistance, and commit pace is slowing

Frequently asked questions

Is it free?

Yes. It is released under the MIT license.

Can I load any GGUF file?

No. It is not a general GGUF runner. You need the GGUF files the project produces.

Which hardware does it support?

Apple Metal on Macs, NVIDIA CUDA including multi-GPU, and ROCm on Strix Halo systems such as the Framework Desktop.

How much RAM do I need on a Mac?

Qwen Flash Next targets 64 GB. DeepSeek and GLM target 96 GB or more. Smaller machines can use SSD streaming.

Similar tools in Local LLM runtimes

omlx

Local LLM runtimes

Menu bar LLM server for Apple Silicon Macs with continuous batching and SSD KV cache

24k 2.2k today Thriving Apache-2.0

mistral.rs

Local LLM runtimes

Rust LLM inference engine with OpenAI and Anthropic compatible APIs for local models

7.9k 774 3 days ago Thriving MIT

dynamo

Local LLM runtimes

Multi-node LLM serving layer for GPU clusters, built on vLLM, SGLang and TensorRT-LLM

8.6k 1.9k today Active Apache-2.0

magnitude

Local LLM runtimes

8.2k 589 today Active Apache-2.0

ollaya

Local LLM runtimes

Local server for decision models that answer typed questions in milliseconds

1.5k 93 2 days ago Thriving Apache-2.0

Replaces Jev

openjev

Local LLM runtimes

802 71 42 days ago Slowing Apache-2.0