Live data from Hacker News

Local LLM inference – impressive but too hard to work with

medium.com

51–60 of 63 posts

Re: Local LLM inference – impressive but too hard to work with

#51
TFA seems to miss a lot of things.

Mac's unified memory makes them (price-) compelling over x86 with GPU(s) for large models, say something over 24-32 GB. But a 32GB Mac doesn't take advantage of that architecture.

(IIRC by default you can use 66% of RAM in 32GB -- though you can override that value via sysctl.)

Macs can also run mlx in addition to gguf, which on these smaller models would be faster. No mention of mlx, or indeed gguf.

The only model tested seems to be a distil of Deepseek R1 with Qwen - which I'd have classified as 'good, but not great'.

Author bemoans all quants of that are > 5GB, which isn't true. Though with 20GB of effective VRAM to play with here, you wouldn't want to be using the Q4 (at 4.6GB).

Author seems to conflate the one-off download cost (time) from hf with on-going performance cost of using the tool.

No actual client-side tooling in play, either, by the looks of it, which seems odd given the claim that local inference is 'not ready as a developer platform'.

The usual starting point for most devs using local LLMs is vscode + continue.dev , where the 'developer experience' is a bit more interesting than just copy-pasting to a terminal.

Criterion (singular) for LLM model expertise appears to be 'text to SQL', which is fair enough if you were writing about applicability of "Local LLM Inference For Text to SQL". I'd have expected the more coding-specific (qwen2.5 coder 14B, codestral, gemma?) models would be more interesting than just one 6GB distil of R1 & Qwen.

Huggingface has some functional search, though https://llm.extractum.io/list/ is a bit better in my experience, as you can tune & sort by size, vintage, licence, max context length, popularity, etc.

I concur that freely available can-run-in-16GB-of-RAM models are not as good as Claude, but disagree that the user experience is as bad as painted here.

Re: Local LLM inference – impressive but too hard to work with

#52
post #15

LM Studio seems pretty good at making local models easier to use

Here is another: https://msty.app/

Can anyone vouch for this? I (personally) don't mind that it's closed source, but I've never heard of it and can't find much about it. Website makes it look fantastic though, so I'm intrigued. But am hesitating at giving it all of my API keys..

Re: Local LLM inference – impressive but too hard to work with

#54
Why is HN so full of people who don't know good LLM tooling?

SillyTavern and vllm is right there, ready to give you a class leading experience - but you all ignore it and use stuff like LM-studio (missing tons of features that SillyTavern or even oobabooga have, like advanced samplers such as min_p or top-nsigma) or worse you use even more slow solutions like ollama or llamacpp.

The real reason that folks don't like to run models on their own is that the tools have henceforth been built by obvious coomers (we all know what most people use sillytavern or comfyUI for). Just embrace the vibe set by these products instead of resisting it by forcing yourself to use shit tools.

This is yet ANOTHER post I have to make about this: https://news.ycombinator.com/item?id=43743337#43743658

I don't care how many downvotes I get for pointing this out yet again. I'm at ICLR about to present an Oral and the vast majority of the people who'd downvote me for calling out poor tooling choices haven't done anything of note in AI before...

Re: Local LLM inference – impressive but too hard to work with

#55
post #29

Earlier quoted context omitted.

A less known feature of LM Studio I really like is speculative decoding: https://lmstudio.ai/blog/lmstudio-v0.3.10 Basically you let a very small model speculate on the next few tokens, and the large model then blesses/rejects those predictions. Depending on how well the small model performs, you get massive speedups that way. The small model has to be as close to the big model as possible - I tried this with models…

How exactly does this give a speedup? If you have to wait for the large model to confirm the small model's predictions, wouldn't it always be slower than just running the large model?

As far as I understand it works like this:

1. Small model generates k tokens (probably k>=4 or even higher, there‘s a tradeoff to be made here, depending on the model sizes)

2. Big model processes all k tokens‘ logits (probabilities) in parallel.

3. Ideally, all tokens pass the probability threshold. That might be the case for standard phrases that the model likes to use, like „Alright, the user wants me to“. If not all tokens pass the probability threshold, then the first unsuitable token and all after are discarded.

4. Return to 1., maybe with an adjusted k.

Re: Local LLM inference – impressive but too hard to work with

#56
post #44
post #35

Earlier quoted context omitted.

Sounds like an interesting masters thesis. Is your masters thesis available online somewhere?

Well, not sure about the final doc that went to the university, but this is the almost final draft. https://docs.google.com/document/d/e/2PACX-1vSyWbtX700kYJgqe... Since its in Cyrillic you should perhaps use a translation service. There are some screens showing results, though as I was really on a tight deadline, and its not a PHD but masters thesis, I decided to not go into in-depth evaluation of the proposed metho…

Thanks. Took a quick look and definitely needed to use Google Translate but seems to have worked to get the gist of it.

Re: Local LLM inference – impressive but too hard to work with

#58
The only bar to using local is having the hardware and downloading the model. I find it nominally easier to use than using the openAI API since the local API isn’t picky about some of the fields (by default). Agentic flows can use local 90percent of the time and reach out to god when they need divine insight, saving 90 percent of token budgets and somewhat reducing external exposure, though I prefer to keep everything locally if possible. It’s not hard to run a 70b model locally, but the queue can get backed up with multiple users unless you have very strong hardware. Still, you can shift overflow to the cloud if you want.

Re: Local LLM inference – impressive but too hard to work with

#59
post #52
post #15

Earlier quoted context omitted.

Here is another: https://msty.app/

Can anyone vouch for this? I (personally) don't mind that it's closed source, but I've never heard of it and can't find much about it. Website makes it look fantastic though, so I'm intrigued. But am hesitating at giving it all of my API keys..

Reddit is probably your best bet. I think we all take some risk, even with something like LMStudio which is closed source, since all these apps are basically a new genre.
Post reply on HN