|
|
|
|
|
by ri4dh
3 days ago
|
|
Thanks! It's not a full engine. llama.cpp does all the math, and ramgod only decides when the weights get from the SSD into RAM. It works for mixture of experts models, since each token only uses a few experts, so only those need reading. Dense models use every weight, so there's nothing to skip. I've tested gpt-oss-20b and Qwen3-30B-A3B. Other MoE models llama.cpp supports should work, and it warns if it can't hook one. Per-model tuning: yes, some is already per model. Prefetching is on for big experts (gpt-oss) and off for small ones (Qwen3). The set of experts kept in RAM is sized per model. There's also an optional per model training step that makes the next layer predictor more accurate (+0-8% on gpt-oss). I haven't looked closely at strata or ds-flash. What do they do per model? Happy to borrow ideas. |
|