Back to directory

dmlx

A native C and Metal inference engine that runs large mixture-of-experts language models, such as a 284-billion-parameter DeepSeek model, on a single Apple Silicon Mac by streaming quantized experts from disk instead of holding everything in memory.

dmlx

dmlx runs frontier mixture-of-experts language models on Apple Silicon through a native C and Metal inference path with packed expert weight streaming, rather than a Python-based stack such as mlx-lm. Its stated design goal is to run models that would otherwise run out of memory on ordinary hardware, by packing quantized experts on SSD and keeping only a bounded cache of them resident.

A published benchmark reports a 284-billion-parameter DeepSeek model running at just over one token per second on a Mac with 48 gigabytes of memory, with detailed timing, latency and correctness figures recorded in a machine-readable artifact alongside a human-readable report. Compared to a Python-based alternative, the project reports a much smaller binary size, several switchable key-value cache strategies, larger effective context through combined RAM and SSD use, and the ability to embed the engine in an iOS app through its C ABI.

More in Inference

See all 770
  • OpenDecision

    deepanwadhwa.github.io

    An open-source Python package that answers typed questions about application state or documents using a local natural-language-inference model, returning structured choice, score, yes/no or evidence-relation values instead of free text.

  • Lifeboat

    iterate.ai

    A local inference server that puts an OpenAI- and Anthropic-compatible API in front of open-weight language models running on hardware you control, from a laptop to a GPU cluster.

  • Claude S40

    github.com

    An unofficial Claude chat client for 2007-era Nokia Series 40 phones, built as a Java ME app plus a small Go relay server, with web search, reading mode and saved chats.