What is the difference between Ollama, llama.cpp, ggml and gguf?
Ollama on MacOS is a one-click solution with stable obe-click updates. Happy so far. But the mlx support was the only missing piece for me.
Ollama is now powered by MLX on Apple Silicon in preview
81–90 of 384 posts
Re: Ollama is now powered by MLX on Apple Silicon in preview
#82LLMs on device is the future. It's more secure and solves the problem of too much demand for inference compared to data center supply, it also would use less electricity. It's just a matter of getting the performance good enough. Most users don't need frontier model performance.
"Most users don't need frontier model performance" unfortunately, this is not the case.
Most users are fixing grammar/spelling, summarising/converting/rewriting text, creating funny icons, and looking up simple facts, this is all far from frontier model performance.
I've a feeling that if/when Apple release their onboard LLM/Siri improvements that can call out if needed, the vast majority of people will be happy with what they get for free that's running on their phone.
Re: Ollama is now powered by MLX on Apple Silicon in preview
#83Lemonade or even llama.cpp are much better optimised and arguably just as easy to use.
Re: Ollama is now powered by MLX on Apple Silicon in preview
#84Earlier quoted context omitted.
It isn't going to replace cloud LLMs since cloud LLMs will always be faster in throughput and smarter. Cloud and local LLMs will grow together, not replace each other. I'm not convinced that local LLMs use less electricity either. Per token at the same level of intelligence, cloud LLMs should run circles around local LLMs in efficiency. If it doesn't, what are we paying hundreds of billions of dollars for? I think lo…
Local RTX 5090 is actually faster than A100/H100.
If it has something like 80GB of VRAM, it'll cost $10k.
The actual local LLM chip is Apple Silicon starting at the M5 generation with matmul acceleration in the GPU. You can run a good model using an M5 Max 128GB system. Good prompt processing and token generation speeds. Good enough for many things. Apple accidentally stumbled upon a huge advantage in local LLMs through unified memory architecture.
Still not for the masses and not cheap and not great though. Going to be years to slowly enable local LLMs on general mass local computers.
Re: Ollama is now powered by MLX on Apple Silicon in preview
#85Re: Ollama is now powered by MLX on Apple Silicon in preview
#86Re: Ollama is now powered by MLX on Apple Silicon in preview
#87Re: Ollama is now powered by MLX on Apple Silicon in preview
#88Earlier quoted context omitted.
I very recently installed llama.cpp on my consumer-grade M4 MBP, and I've been having loads of fun poking and prodding the local models. There's now a ChatGPT style interface baked into llama.cpp, which is very handy for quick experimentation. (I'm not entirely sure what Ollama would get me that llama.cpp doesn't, happy to hear suggestions!) There are some surprisingly decent models that happily fit even into a mere…
Oh does llama.cpp use MLX or whatever? I had this question, wonder if you know? A search suggests it doesn’t but I don’t really understand.
No. It runs on MacOS but uses Metal instead of MLX.
Re: Ollama is now powered by MLX on Apple Silicon in preview
#89Re: Ollama is now powered by MLX on Apple Silicon in preview
#90LLMs on device is the future. It's more secure and solves the problem of too much demand for inference compared to data center supply, it also would use less electricity. It's just a matter of getting the performance good enough. Most users don't need frontier model performance.
> would use less electricity Sorry to shatter your bubble, but this is patently false, LLMs are far more efficient on hardware that simultaneously serves many requests at once. There's also the (environmental and monetary) cost of producing overpowered devices that sit idle when you're not using them, in contrast to a cloud GPU, which can be rented out to whoever needs it at a given moment, potentially at a lower cos…