llama.cpp
fde147e8 - llama_moe_cache : keep the MoE cache op definitions private

Commit
21 days ago
llama_moe_cache : keep the MoE cache op definitions private - libllama and the CUDA backend each keep a copy of the definitions (src/llama-moe-cpu-misses.h, ggml/src/ggml-cuda/moe-cpu-misses.cuh), no public ggml header - get_api takes GGML_MOE_CPU_MISSES_VERSION, a backend with another version returns NULL and the MoE cache uses the split path - the class count and the decay table size of the ClassLRU are fields of ggml_moe_cpu_layer, the CRF half-life stays in libllama
Author
Committer
Parents
Loading