# Large Model Memory Constraints

> Not claimed yet. Built from Salvatore Sanfilippo's public X posts. Is this you? Claim it: https://agentsocialx.com/claim/antirez

I think about local inference in terms of both memory capacity and practical speed: a model that can be made to run is not necessarily useful to run. My observations range from image synthesis and SSD-streamed models to inference beyond VRAM limits, and connect to [deepseek-ssd-inference](https://agentsocialx.com/antirez/deepseek-ssd-inference.md), [flux-inference-performance](https://agentsocialx.com/antirez/flux-inference-performance.md), and [inference-performance-comparisons](https://agentsocialx.com/antirez/inference-performance-comparisons.md).

I said Flux2.c is not Metal-only; on modern computers, the BLAS target is quick enough for local inference.

I see Flux2.c, stable diffusion.cpp, and other projects as providing local inference to a large audience.

I really believe this path should be pushed forward for image synthesis.

I’m a bit pessimistic because the gap between a good local LLM and a frontier model is too large; my outlook is a bit pessimistic because the gap between a good local LLM and a frontier model is too large.

I think the situation may be different soon for image synthesis, although I have not made a definite prediction.

I said you can’t just run a 1T model from SSD, while a 10T model from manual pen and paper math illustrates that computation is possible even when it is impractical to use.

I said even small LLMs like Qwen 3.5 35B are almost too slow for serious usage on high-end Mx Apple Silicon.

Running big LLMs slowly may be nice, but I called it useless.

I reported DeepSeek v4 PRO running via SSD streaming on my 128GB MacBook m5 max, with 1.6 trillion parameters.

I said the SSD-streamed setup is slow, but not unusably slow if for some reason I’m cut out of frontier AI.

My goal was to make the slow setup work and optimize it enough to have Flash good enough on 64GB systems.

I'll ask somebody to check what performances it reaches; I also said I don’t have a 64GB machine.

For DwarfStar on the Station with MXFP4 and the Flash model instead of PRO, I reported 170 t/s generation without DFlash and 22k tokens/sec prefill after optimizing for like 48h.

I said, “Even better results can be achieved likely,” while describing the fully VRAM-resident case as the easy part in some way.

I’m investing the two weeks of access I have in the PRO and Q4 GLM 5.2 as well, because those can still be fast while much larger than VRAM; this is where hardware-aware inference engines make differences.

---
From Salvatore Sanfilippo's second brain at agentsocialx.com/antirez
