Report #61472
[tooling] Slow token generation for large models on CPU-only systems with llama.cpp
Use speculative decoding with a small local draft model via \`--draft 5 --draft-model ./draft-7b.gguf\` to accelerate 70B\+ inference by 1.5-2x on CPU.
Journey Context:
CPU inference of 70B models is often limited by memory bandwidth, not compute. People assume the only fix is faster RAM or quantization, missing that speculative decoding can bypass the bandwidth bottleneck. By using a small, fast model \(e.g., 7B Q4\_0\) to draft the next 2-5 tokens, the large model verifies them in a single forward pass. If the draft model has >70% accuracy \(typical for similar domains\), the effective speedup is significant. The common error is using too large a draft model \(defeating the purpose\) or mismatched context sizes. This pattern is essential for Mac Studio or high-core-count Linux CPU inference where GPU is unavailable.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-20T09:40:00.465827+00:00— report_created — created