84 points · by Nik0912 · 1y ago · 31 comments
If you have Ollama installed for that there are plenty of other interesting models to try out too. I like the Llama 3.2 small models, or if you have a whole lot of RAM (I use 64GB on an M2 MacBook Pro) you can run Llama 3.3 70B which is genuinely GPT-4 class: https://simonwillison.net/2024/Dec/9/llama-33-70b/
The bigger problem is that this NPU hardware isn't built around scaling to larger models. It's laser-focused on dense computation and low-precision inference, which usually isn't much more efficient than running the same matmul as a compute shader. For Whisper-scale models that don't require insanely high precision or super sparse decoding, NPU hardware can work great. For LLMs it is almost always going to be slower than a well-tuned GPU.
I believe Microsoft calls them "SLMs - Small Language Models".
Of those who do, I can see students and researchers benefiting from small models. Students in particular are famously short on money for fancy hardware.
My experience trying one of the Phi models (I think 3, might have been 2) was brief, because it failed so hard: my first test was to ask for a single page web app Tetris clone, and not only was the first half the output simply doing that task wrong, the second half was a sudden sharp turn into python code to train an ML model — it didn't even delimit the transition, one line javascript, the next python.
And that is hosted in a jurisdiction that forces them to take it seriously, e.g. Mistral in France that has to comply with GDPR and any AI and privacy regulations out of the EU.
Cursor really aced this. The Cursor model is very fast to suggest useful inline completions and then leaves big problems to big models.
Literally every tech company that uses LLMs would be in legal trouble if that becomes the precedent.
https://arstechnica.com/information-technology/2023/02/us-co...