llama.cpp
llama_moe_cache: run missed experts on CPU, add tuning script
#30966
Merged

llama_moe_cache: run missed experts on CPU, add tuning script #30966

am17an merged 14 commits into master from aman/moe-cache-cpu-misses
am17an
am17an am17an requested a review 20 days ago
am17an am17an requested a review from ggerganov ggerganov 20 days ago
am17an am17an requested a review from ngxson ngxson 20 days ago
am17an am17an requested a review from CISC CISC 20 days ago
am17an am17an requested a review 20 days ago
github-actions github-actions added documentation
github-actions github-actions added server
github-actions github-actions added ggml
am17an am17an force pushed from d9238384 to c41b8950 20 days ago
pwilkin
pwilkin
ggml-gh-bot
pwilkin
pwilkin approved these changes on 2026-10-22
MichaelDietzel
am17an
satoyon
am17an
satoyon
eapache
eapache commented on 2026-10-23
MichaelDietzel
marceldev89
am17an am17an force pushed from bffc5581 to 4899779c 16 days ago
ggerganov ggerganov assigned ggerganov ggerganov 16 days ago
Skyrion9
am17an
sasa7812
am17an
sasa7812
sasa7812
sasa7812
am17an
sasa7812
sasa7812
am17an
sasa7812
gaugarg-nv
gaugarg-nv commented on 2026-10-26
am17an am17an force pushed from 26bcd681 to 3d6c5644 15 days ago
Skyrion9
am17an
sasa7812
sasa7812
sasa7812 commented on 2026-10-27
0cc4m
sasa7812
0cc4m
0cc4m
Skyrion9
sasa7812
Skyrion9
sasa7812
0cc4m
sanmai sanmai requested a review from sanmai sanmai 14 days ago
sanmai
am17an
sasa7812
am17an
sasa7812
sasa7812
Skyrion9
am17an
marceldev89
sanmai
sanmai
sanmai
sanmai
sanmai approved these changes on 2026-10-29
am17an am17an requested a review 10 days ago
am17an am17an force pushed from e6c752b4 to 8e876eb8 10 days ago
am17an
am17an
sanmai
ggerganov
ggerganov
ggerganov commented on 2026-11-02
ggerganov
ggerganov commented on 2026-11-02
am17an am17an force pushed from 8e876eb8 to 841275b6 8 days ago
am17an
ggerganov
am17an
ggerganov
Green-Sky
am17an moe-cache : compute part of the misses on the CPU
b0d27534
am17an scripts : add moe-cache-tune.py to pick the MoE cache arguments
85ed5474
am17an add am17an as codeowner for MoE cache
9a2e1677
am17an moe-cache : upload all the misses until the cache is full
fab91ac8
am17an add backend sync for async transfer queue
a571975b
am17an moe-cache : let the scheduler copy the results of the CPU part
f75a5af2
gaugarg-nv Fix MSVC compilation
b3a17ff5
am17an remove sync change
740fdfc1
am17an llama-graph : extract the CPU share condition into can_cpu_share
0bd7328e
ggerganov llama-graph : make llm_graph_params::moe_cache const
fed73adc
am17an scripts : replay the ClassLRU policy in moe-cache-tune.py
0290c8da
am17an am17an force pushed from c6eb8770 to 0290c8da 4 days ago
am17an
sanmai moe-cache : pick CPU misses by CRF instead of random (#31853)
c6717826
ggerganov
am17an moe-cache : remove the backend logic of the CPU part from the graph
1f17b9c9
ggerganov
ggerganov commented on 2026-11-07
am17an llama-graph : return the MoE cache slots and CPU ids in a struct
c0b02cd6
ggerganov
ggerganov approved these changes on 2026-11-07
am17an am17an merged e95426f1 into master 3 days ago

Login to write a write a comment.

Login via GitHub

Assignees
Labels
Milestone