> ## Content Index
> Fetch the complete content index at: https://www.stirup.si/llms.txt
> Use this file to discover other available public pages before exploring further.

# Run Large Language Models on CPU with llama-modchip
- URL: https://www.stirup.si/run-large-language-models-on-cpu-with-llama-modchip-55858f2b/
- Published: 2026-11-08T12:40:33.000Z
- Updated: 2026-11-08T12:40:33.000Z
- Description: The llama-modchip project enables running large language models on CPU without GPU, breaking the 64 GB RAM barrier and supporting models like 284B DeepSeek-V4-Flash on Linux and macOS.
- Author: Satish Das
- Tags: Community, News, Stirup Research

## Running Large Models on CPU with llama-modchip

The **llama-modchip** project (v2.4.0) enables users to run large language models on pure CPU without requiring a GPU. It breaks the 64 GB RAM barrier, allowing the execution of models such as **284B DeepSeek-V4-Flash** (< 59 GiB RAM) and **30B MoEs** (up to 111 tok/s) with a context length of 256K. The project supports both **Linux** and **macOS** with a one-command automated setup and chat interface. Pre-compiled binaries are available for Linux x86\_64, and users can run the model directly without compilation. The project also includes compatibility notes for custom tensor formats and kernels used in the **Fractal-64** models. For specific models like **Nemotron-3.5-A3B** and **DeepSeek-V4-Flash**, users can download and run them using Hugging Face and custom commands. On Windows, a hybrid GPU + CPU MoE pack is available for one-click setup. The project automatically detects system resources and optimizes model execution accordingly.

## Performance Metrics and Optimization Techniques

The Llama-modchip implementation of DeepSeek-V4-Flash 284B (13.17B Active) on a 64 GB Zen 5 CPU (AMD Ryzen 9 9955HX) demonstrates performance metrics and optimization techniques that push the boundaries of CPU-based large language model inference. According to [Hacker News](https://github.com/synchopate/llama-modchip?ref=stirup.si), the model achieves 5.91 tokens per second during prefill with a 256K context length, though it encounters out-of-memory (OOM) issues on 64GB RAM when using the Standard IQ2\_XXS configuration. Further optimizations, such as the v2.4.0 Sweet-Spot (Top-5 on il >= 3, $L\_2$ Quadrature), improve token throughput to 43.16–44.36 tok/s, as noted in [Hacker News](https://github.com/synchopate/llama-modchip?ref=stirup.si). Additional techniques like Gate-First SwiGLU and Turbo 10+ configurations, detailed in [Hacker News](https://github.com/synchopate/llama-modchip?ref=stirup.si) and [Hacker News](https://github.com/synchopate/llama-modchip?ref=stirup.si), yield varying performance gains, with token speeds ranging from 10.12 to 10.74 tok/s and KL-Divergence values indicating slight increases in perplexity. These results highlight the trade-offs between speed, memory usage, and model accuracy in CPU-based inference scenarios.

## Collaboration and Customization Opportunities

Llama-modchip offers collaboration and customization opportunities for a range of stakeholders. Hardware manufacturers, including CPU and workstation OEMs such as AMD, Minisforum, Framework, System76, Apple, and Intel, can sponsor a physical test unit or workstation to receive dedicated L1D/L2/L3 cache-tiling and SIMD kernels. These contributions are permanently verified on the Official README CPU Leaderboard. Cloud and ARM64 silicon teams, including AWS Graviton4, AmpereOne, Google Axion, and Azure Cobalt, can sponsor cloud compute credits to validate SVE2, SME, and multi-socket NUMA kernels. Additionally, enterprise users seeking custom model transcoding can reach out via GitHub Issues or GitHub Sponsors to sponsor SwiGLU-H2 and Fractal-64 model transcoding for on-premise deployment. These opportunities are attributed to the source speaker and are not presented as universal guarantees.

## Sources and reporting notes

- [Hacker News](https://github.com/synchopate/llama-modchip?ref=stirup.si)

Based on published source material. No independent hands-on testing is claimed.