llama.cpp PR adds ClassLRU MoE cache: +6-7% decode speed and 8% fewer uploads vs SLRU

pmttyji · reddit · 2026-11-06

PR #31233 in llama.cpp replaces SLRU with ClassLRU, an LRFU/MQ-like hybrid cache that prioritizes frequently used experts in classes ranked by decaying usage history. With a warm cache it delivers +6% decode on QFN and +7% on GLM with 8% fewer uploads, and enables auto mode for llamamoecache pending the merge of PR #30966.

Original post →

More from Infra

Infra channel →