Create

Sign in to ReadmeX

or

How we handle your data: Privacy Policy

ReadmeX

Your AI reading companion

What would you like to catch up on?

Pick a briefing, or ask your own question.

Your community and people briefings stay personal to you.

Story

llama.cpp Proposes ClassLRU Cache for MoE Inference

AI summary

A pending llama.cpp pull request proposes replacing SLRU with a ClassLRU cache that groups experts by class and prioritizes frequently used experts using decaying usage history. The submitter reported 6% faster decoding on QFN, 7% faster decoding on GLM and 8% fewer uploads with a warm cache. The proposal says it is waiting for pull request 30966 to be merged.

In-depth insight

If validated, the proposal could improve MoE inference efficiency through faster decoding and fewer uploads, but the reported benchmark gains are the submitter’s own measurements.

Waiting for 30966 to be merged. submitted by /u/pmttyji [link] [comments]

#llama.cpp#ClassLRU#SLRU#llama_moe_cache#QFN#GLM

Original · 1 min readRead the original
Group chat

No comments yet. Start the conversation.