7/29/2026 at 5:52:05 PM
Nice, I think this is the second time I see this here on HN, I always wondered why we need to shove the entire model into memory, I don't care who King Charles is every single time. It always felt as though we already figured out how to break up large files and parse them efficiently with very little memory.Frontier AI feels like its full of people who are brilliant at making models, but when it comes to scale and practicality, they just leave it to whoever sets up infrastructure to worry about. I wouldn't be surprised if frontier AI could be drastically cheaper if they just finetune and optimize their models to not consume all available RAM to only access less than 10% of the models knowledge.
by giancarlostoro
7/29/2026 at 7:30:17 PM
I don't care who King Charles is every single timethat's the trick and a multi-billion dollar question, how would an llm engine know that? it's an active research area how to cull the initial layer surface and do the optimal traversal path through the layers and it's a damn hard problem. It's definitely an area where a ton of performance is left on the table still.
by Keyframe
7/29/2026 at 8:57:29 PM
This makes me think (by full ignorance) how quantum computing can be useful in this field of things reach a stable-ish pointby IdontKnowRust
7/29/2026 at 9:44:23 PM
they will not. quantum computers as understood today will never run an LLM. read = destroy. and no cloning. wanna reload the entire model for each token? preparing quantum states is slow by any standard.by s0a
7/29/2026 at 8:31:38 PM
> I always wondered why we need to shove the entire model into memory, I don't care who King Charles is every single time.That's kind of the problem, isn't it? How do you know which part of the model to put in memory? You have to make a per-parameter decision of whether or not it's worth it to have it in memory or whether the value should just be treated as zero. Then you have to "re-link" the layers of the model to the new positions of each of the weights. For billions of parameters, that's a lot of calculations. And it requires us to know what each parameter actually represents, which nobody does.
by bastawhiz
7/29/2026 at 6:36:31 PM
> It always felt as though we already figured out how to break up large files and parse them efficiently with very little memory.The A in 26B-A4B is the active weights.
The problem is that this is a per-token load/unload at best, not for the whole prompt.
The division happened until one of these can fit in a single GPU and they stopped scaling it down any more, because you can wire up 8 of them to do their share of the work.
by gopalv
7/29/2026 at 7:02:43 PM
> I don't care who King Charles is every single timeAlways curious when someone will figure out how we can elide most of the data from an LLM (but retain the logical ability). I don't actually need an LLM to have a very big internal knowledge base to be useful, so long as it can invoke a search tool...
by swiftcoder
7/29/2026 at 7:13:23 PM
> Always curious when someone will figure out how we can elide most of the data from an LLM (but retain the logical ability). I don't actually need an LLM to have a very big internal knowledge base to be useful, so long as it can invoke a search tool...I think this can be achieved already. Take a base model and train only on source code. In fact, the very early Granite models from IBM were like that though it didn't support reasoning which limited its performance.
You can do it too. I don't know how much it will cost to train on just source code repos. $10K in total? Not sure.
by kanbankaren
7/29/2026 at 7:21:15 PM
I’m a bit skeptical. Without instructional materials from textbooks, programming language reference manuals and guides, as well as general knowledge about logic and discrete mathematics, I doubt a model could work very well.by kccqzy
7/29/2026 at 7:32:50 PM
Yes. Model would be limited in its performance, but it would perform well in the limited domain because LLM interpolate from training data. They don't think like humans.We might think that knowledge from logc and discrete math would spill over to coding. Unfortunately, it doesn't seem to work like that. Even 1T parameter LLM fail on tasks if there are no variants of it in the training data.
by kanbankaren
7/29/2026 at 7:49:30 PM
I'm skeptical that the "logical ability" is much more then the elided data. Obviously some things get fully memorized and other things don't, but I don't think there's anything like functional circuits.by tyromaniac
7/29/2026 at 7:30:11 PM
Isn’t this essentially what MoE partially solves with varying levels of accuracy?by plandis
7/29/2026 at 6:32:12 PM
You're right, but the "just" in "just finetune" is doing _a lot_ of work here.It's still early days and we "just" don't really know how to do it well.
by literalAardvark
7/29/2026 at 6:47:36 PM
I mean, that's fair, I guess what I mean is, it feels like we're re-using well known solutions even if it takes a bit of effort to re-apply them into how we run inference (and maybe training as well). It will be interesting to see a lot of these approaches compound into anyone with a reasonable GPU or even a Mac running a model much larger than their machine can handle.by giancarlostoro
7/29/2026 at 7:48:17 PM
We did something similar - Streaming experts. Maintaining an expert cache, optimizing it to simulate running a multi-model agentic workflow on a 2-DGC Spark Cluster. The models we ran were: DeepSeek V4 Flash, Gemma 4 26B A4B, and Nemotron 3 Nano Omni 30B NVFP4. The results were very encouraging in terms of performance and model switching. Check it out here - https://woolyai.com/ai-compute-software/dgx-spark-inference-...by medicis123
7/29/2026 at 8:17:47 PM
The benchmarks are hidden behind a sign up form. Why not just keep it open?This looks as if you are just advertising.
by BonerWiener
7/29/2026 at 6:20:32 PM
Putting the whole model in memory is far faster then swapping to disk.by vorticalbox
7/29/2026 at 6:46:08 PM
For local inference the cost of "speed" is not that bad I would think? I wouldn't mind a bit of a delay if it means I can run much larger models on my Mac.by giancarlostoro
7/29/2026 at 6:52:43 PM
It's pretty painful to have speeds < 30 tok/sec though. Especially if you're used to API providers at higher speeds. It makes any interactive work almost impossible to do efficiently because you have no choice but to context switch after every request.by pertymcpert
7/29/2026 at 7:39:56 PM
I assume it will get better over time, and does it improve in speed if you use a larger buffer? Say instead of 2GB you go with 6GB? I imagine it would, and you might need to stream drastically less no?by giancarlostoro
7/29/2026 at 7:54:47 PM
Yeah, correct! You can set up this engine to get more expert cache slots (e.g 32 instead of 16) to get a better hit rate and better tok/s. it will be 3.5gb instead of 2gb.by gitpusher42
7/29/2026 at 6:21:20 PM
You're kinda describing the MoE architecture; you can offload expert layers and stream them as-needed if the experts are small enough and the SSD is fast enough.Dense LLMs typically perform better, but slow down much more than MoE models when you try offloading layers.
by bigyabai