llama.cpp PR adds CPU offload for dense model FFN layers

pmttyji · reddit · 2026-08-19

A new PR for llama.cpp proposes adding --n-cpu-ffn for dense models, similar to the existing MoE option. This offloads FFN layers to the CPU, enabling larger dense models (like Qwen 3.8 27B) to run on VRAM-constrained devices (e.g., 16GB). Benchmarks show running the 27B model at Q4KM with 130k context and 20 t/s.

Original post →

More from Infra

Infra channel →