synchopate/llama-modchip

Zero-GPU CPU inference for 30B-284B MoE models (Qwen3.8 176.5B cold-cache certified in 28.26/48.35 GiB Cgroup v2, DeepSeek-V4 284B, Nemotron-30B) + RouteCrack 2.0.

What it solves

llama-modchip provides a way to run massive, high-performance AI models on consumer-grade hardware with limited RAM. It solves the problem of "memory bloat" by using advanced compression and memory-management techniques to fit large models (like Qwen3.8 or DeepSeek-V4) into 16GB, 32GB, or 64GB of system memory without requiring expensive GPUs.

How it works

The project acts as a specialized inference engine built on top of llama.cpp. It uses a technique called "MaxQ" compression to shrink model files while maintaining high accuracy. It also employs "RouteCrack 2.0," a micro-arbiter that optimizes how the model processes data, and "Quantized Split-KV Decode" to reduce the memory footprint during active chat sessions. The software automatically detects your CPU's capabilities (such as AVX-512 or Apple Metal) and configures itself to run the most efficient version of the model for your specific hardware.

Who it’s for

This tool is designed for developers, researchers, and AI enthusiasts who want to run state-of-the-art open-weights models locally on their own machines. It is particularly useful for those who do not have high-end enterprise GPUs and need to maximize the utility of their existing CPU and RAM resources.

Highlights

  • Runs large models (up to 284B parameters) entirely on CPUs with zero GPU requirement.
  • Includes a unified binary that auto-detects system hardware and optimizes performance.
  • Features "RouteCrack 2.0" for efficient, low-collision model inference.
  • Supports demand-paging for large models, allowing them to run on systems with less RAM than the model's total size.
  • Provides a simple command-line interface for setup, chat, and performance benchmarking.

Related

  • Project
  • Project
  • Project
  • Project