I saw some blurb a while ago that described llama.cpp as a “model zoo”, which is a great description of its utility and generality.
In the last couple of days I have been playing with Erik Paperniuk’s M1 port of Inco’s Splash, which has completely transformed the speed of Qwen 3.8 27B and Inkling 2 Mini; it has essentially tripled the speed of the former and more than doubled the speed of the latter.
This means the Qwen model is fully viable on an M1 Max, where before I had found it a bit of a waiting game. And it arguably transforms the utility of Inkling 2 Mini; extra speed means it can be left to reason for longer, the downside of needing to do more tool use for search to patch its knowledge is reduced, and it provides a good rough chat model (though this is not its area of greatest strength).
I have not yet found anything that can boost Muse Glimmer to the same extent; I would still prefer that.
But for me I now find that only the rather slow prefill speed really holds the M1 Max back; I suspect these new custom kernels have made the M5 Pro Mac Mini a really cost-effective option if you want to tinker with local AI.
This might deserve a standalone post, but MTPLX is worth checking out.
Youssof's goal is squeezing the most performance out of apple hardware, but not at the expense of model quality. I was testing all of the different projects, all different configs, and I could get some impressive tps numbers, but wasn't actually usable over longer sessions. MTPLX has been the most stable results for me, with acceptable speed/performance and not feeling like the model's capability was chopped.
Definitely worth checking out for anyone that has apple hardware, and might be using llama.cpp, oMLX, lmstudio, mlx-serve, etc.
It is good, but it is still a generalist, model-zoo isn't it?
It does seem to have good general advantages over llama.cpp for more modern Apple Silicon (M3 and up, when they tweaked the neural engine architecture I think?)
For my own situation, I think MLX-plus-MTP does't generally do better on the M1 Max than llama.cpp does with GGUFs. In fact it is usually worse (same on the M2 Max AFAIR) because the bandwidth overhead outweighs the draft prediction advantage.
The bespoke kernels are worth it once you have toured the zoo a few times and know which animal you are really interested in.
I think your "model zoo" terminology is pretty non-standard.
Do you just mean that it can serve any model?
That's true, but the model-specific serving frameworks are constantly being overtaken by generalist frameworks because the generalists aggregate improvements from across all models.
Yes, at an specific point in time you can probably find a specific framework that outperforms for your chosen model. It's very rare that lasts.
> I think your "model zoo" terminology is pretty non-standard.
Ehh? Turns of phrase have to be standards now? I didn't claim it was a standard. I just saw someone use this expression somewhere and shared it because it seemed apt.
So I don't mean much by it.
Except that it is kind of apt, because you can wander through and observe all the different animals, all of them well-looked after but none of them in the optimal conditions to keep them and all of them suboptimal in different ways. It's not shade, just an observation.
When llama.cpp can beat the improvement that Splash (specifically the Paperniuk port for M1) provides for Q4 quants of Qwen 3.8 27B I can switch back, can't I?
In the meantime I've chosen an animal and given it an optimised enclosure.
Over shorter prompts up to 64K it is outperforming by 3x, which is huge on the M1 Max, which usually does not benefit from separate MTP drafters, or really from MLX.
It really is radically faster, as is Inkling 2 Mini.
In the last couple of days I have been playing with Erik Paperniuk’s M1 port of Inco’s Splash, which has completely transformed the speed of Qwen 3.8 27B and Inkling 2 Mini; it has essentially tripled the speed of the former and more than doubled the speed of the latter.
This means the Qwen model is fully viable on an M1 Max, where before I had found it a bit of a waiting game. And it arguably transforms the utility of Inkling 2 Mini; extra speed means it can be left to reason for longer, the downside of needing to do more tool use for search to patch its knowledge is reduced, and it provides a good rough chat model (though this is not its area of greatest strength).
I have not yet found anything that can boost Muse Glimmer to the same extent; I would still prefer that.
But for me I now find that only the rather slow prefill speed really holds the M1 Max back; I suspect these new custom kernels have made the M5 Pro Mac Mini a really cost-effective option if you want to tinker with local AI.
Replies (2)
Youssof's goal is squeezing the most performance out of apple hardware, but not at the expense of model quality. I was testing all of the different projects, all different configs, and I could get some impressive tps numbers, but wasn't actually usable over longer sessions. MTPLX has been the most stable results for me, with acceptable speed/performance and not feeling like the model's capability was chopped.
Definitely worth checking out for anyone that has apple hardware, and might be using llama.cpp, oMLX, lmstudio, mlx-serve, etc.
https://github.com/youssofal/MTPLX
Replies (1)
It does seem to have good general advantages over llama.cpp for more modern Apple Silicon (M3 and up, when they tweaked the neural engine architecture I think?)
For my own situation, I think MLX-plus-MTP does't generally do better on the M1 Max than llama.cpp does with GGUFs. In fact it is usually worse (same on the M2 Max AFAIR) because the bandwidth overhead outweighs the draft prediction advantage.
The bespoke kernels are worth it once you have toured the zoo a few times and know which animal you are really interested in.
Replies (1)
Do you just mean that it can serve any model?
That's true, but the model-specific serving frameworks are constantly being overtaken by generalist frameworks because the generalists aggregate improvements from across all models.
Yes, at an specific point in time you can probably find a specific framework that outperforms for your chosen model. It's very rare that lasts.
Replies (1)
Ehh? Turns of phrase have to be standards now? I didn't claim it was a standard. I just saw someone use this expression somewhere and shared it because it seemed apt.
So I don't mean much by it.
Except that it is kind of apt, because you can wander through and observe all the different animals, all of them well-looked after but none of them in the optimal conditions to keep them and all of them suboptimal in different ways. It's not shade, just an observation.
When llama.cpp can beat the improvement that Splash (specifically the Paperniuk port for M1) provides for Q4 quants of Qwen 3.8 27B I can switch back, can't I?
In the meantime I've chosen an animal and given it an optimised enclosure.
Over shorter prompts up to 64K it is outperforming by 3x, which is huge on the M1 Max, which usually does not benefit from separate MTP drafters, or really from MLX.
It really is radically faster, as is Inkling 2 Mini.