This is personally interesting to me because I have an 8GB mac m1 (air).
Although it runs on extremely small tps (3.5tps for gpt oss 20b and qwen3-30B-A3B), the interesting thing is that AI models will become even better on these lower ends and thus I can get to get better models and secondly, it still seems to be an experiment for faster things (which could even potentially be upstreamed) or actually just allow more things which weren't possible previously.
Is this a generic inference engine (as in it can run any model) though?
And if so, could further improvements be done on a model by model basis (sort of similar to what strata or ds-flash is doing?)
ri4dh•37m 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.
Imustaskforhelp•59m ago
Although it runs on extremely small tps (3.5tps for gpt oss 20b and qwen3-30B-A3B), the interesting thing is that AI models will become even better on these lower ends and thus I can get to get better models and secondly, it still seems to be an experiment for faster things (which could even potentially be upstreamed) or actually just allow more things which weren't possible previously.
Is this a generic inference engine (as in it can run any model) though?
And if so, could further improvements be done on a model by model basis (sort of similar to what strata or ds-flash is doing?)
ri4dh•37m ago
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.