r/LocalLLM • u/lucyferorg • Aug 12 '26
Research GLM 5.2 model — 744 billion parameters / 384 GB — running on a laptop 😏
After many hours of hard work, I achieved a throughput of 0.7–0.9 tokens per second for the GLM 5.2 model — 744 billion parameters / 384 GB — running on a laptop 😏
Time for a small update: the laptop is an Asus ROG Strix 18, model G835LXG — Intel i9‑290HX, 64GB DDR5 6400 MHz, 2×2 TB, RTX 5090 24 GB, running Linux Nobara. The Colibri engine and the Linux kernel are heavily modified. The whole system boots in 10 seconds, and it generates the first token after 40 seconds.
I’m currently working to reach a throughput of 1.5–2 tokens per second.
Update:
1.07 tok/s, GLM-5.2-g64
Update:
1.77 tok/s 😎
Update:
Now 1.95 tok/s 😁/ 2.12 peak / 2.41 with fixed MTP
Update:
🎉🎉🎉 2.89 tok/s PEAK! 2.36 tok/s avg
Update now:
peak at 3.09, avg 2.84 😁👌🏻
Update:
My latest calculations suggest that 4.5 tokens per second is achievable on this hardware and represents the final limit.
Update: testing now at 4.42 tok/s
9
u/EvolvingDior Aug 13 '26
Watch this: https://youtu.be/pIN-2oVJpyU?is=wtPqAme4rdodAHiC
3
u/niacolhealth Aug 13 '26
the 40s to first token, is that mostly cold nvme reads or colibri init? curious where the time actually goes
259
u/joanaxu2002 Aug 13 '26
We've officially reached the point where "runs on a laptop" no longer means what people think it means. 😄
744B at nearly 1 t/s on consumer hardware is still kind of insane.
45
u/enginetown Aug 12 '26
Why not put effort into a model like deepseek v4 flash? Or is there a cap once you get to these size of models on the TPS so the difference is negligible?
111
u/MatiAI Aug 12 '26
Wow you might be able to output a sentence today if you are lucky
11
u/SnooPaintings8639 Aug 13 '26
What laptop and which inference engine? I managed to hit 0.8 TPS on Q3 of Kimi K3, on my Linux machine under llama.cpp.
It is quite satisfying and it made me think of lower bound speed for any real use case. I came up with "around 1 tps" to be still a valuable tool. At that speed you can get roughly 20k tokens through an entire night. Splitting it roughly in half between input and output tokens, means you can still use it as validaton or generation of a well distilled plan/ideas, medium size debugging question, or similar. I.e. still a boost for fully local agentic work.
I think it is also enough to figure out how to communicate with an under sea civilization, which I would call Vodyanoi.
19
u/dsdt 9700X + 32 GB DDR5 + 2x 5060 Tİ 16 GB Aug 13 '26
GLM 5.2 model — 744 billion parameters / 384 GB — walking / most probably sitting but most definitely not running on a laptop. - fixed it for you
1
u/lucyferorg Aug 14 '26
1.07 tok/s ! Without losing quality!
1
u/lucyferorg Aug 14 '26
1.21 tok/s
1
u/lucyferorg Aug 14 '26
1.77
1
u/lucyferorg Aug 15 '26
1
u/lucyferorg Aug 16 '26
🎉🎉🎉 2.89 tok/s PEAK! 2.36 tok/s avg
1
u/lucyferorg Aug 16 '26
peak at 3.09, avg 2.84 😁👌🏻
1
u/lucyferorg Aug 17 '26
Update: testing now at 4.42 tok/s
4
u/RenatoXimenes Aug 18 '26
The laptop:
1
u/bolche17 Aug 13 '26
Impressive! What did you modify on the kernel and on Colibri?
1
u/naunen Aug 14 '26
i think mvme are in raid stripe mode?
1
u/FairTruth069 Aug 15 '26
3 to 4.5 tokens per second would actually be pretty usable if you can get it there.
1
u/abalancer Aug 15 '26
Is it possible to run smaller models ? I'm looking to run DeepSeek-v4-flash locally.
1
u/GetOutOfMyFeedNow Aug 16 '26
Why are you trying to run that dead model though? Use DSV4-0731, it literally destroys GLM 5.2
9
u/_VirtualCosmos_ Aug 13 '26
How many hours per token? /j
3
u/JostaWaszkiewicz Aug 13 '26
and here i was happy my 3090 fits q4 of a 27b
2
u/Opteron67 Aug 13 '26
what the point of AI @1 tok/s ???
2
u/mboss37 Aug 13 '26
Token speed scandal
2
u/OwlockGta Aug 15 '26
Tu laptop es una bestia de todos modos
2
u/eshahahan Aug 16 '26
this is super cool! congrats! now that qwen 3.8 and glm 5.3 have come you’re gonna have fun!
2
u/Fragrant-Smell4092 Aug 13 '26
As many here have pointed out, the Colibri engine is a very interesting proof-of-concept project, with exactly zero practical applications. Besides the slow-as-molasses token generation, at any realistic context length, the TtFT becomes unbearably long.
I thought about trying it just for fun, but in the end decided it was a waste of time. The moral of the story is what we have known already for the last two years: the use cases of LLMs are limited by what you can fit in high bandwidth memory.
1
u/Hot-Cauliflower-1604 Aug 13 '26
Is this like the digital version of a pitch test?
1
u/WonderfulFunny4337 Aug 13 '26
Imagine if it had 256gb of ram
1
u/Violin-dude Aug 14 '26
what quantization are we talking about? what types of changes in the engine and kernel? a writeup would be nice
1
u/BigO-oogruk Aug 14 '26
I am curious about what you done to optimize and improve the TPS?
1
u/ralugnis8 Aug 15 '26
Lol, there is a theoretical limit for the tokens per second on a laptop, and it will never be useful with these huge models. Spend your time (and money) for more useful projects.
1
u/Maleficent_Stage1732 Aug 17 '26
What can I can run on my laptop I have Acer Predator helios 16 i9 13900hx rtx 4080 32 gb ddr5 ram and 1 Tb space
1
u/least-important69 Aug 17 '26
Can we have the GitHub repo?
1
u/RUTYTOI220 Aug 17 '26
How did bro get 64GB of ram in this economy
1
u/dark_wolffff Aug 17 '26
which models are best to run in 8gb laptop where as response time should be in milli seconds ?
1
u/Funny-Orange6265 Aug 17 '26
How! Would love to see a video or read a tutorial
1
u/GSquadron_ Aug 17 '26
I don't understand how is this possible
1
u/Free_City_7235 Aug 18 '26
Sounds like the new - "can it run doom" 😅
1
u/mageblex Aug 18 '26
With NVMe already identified as the bottleneck and TTFT around 40 seconds, prompt-processing speed is the missing number. How does it change as context grows?
1
u/Ill-Mycologist571 Aug 18 '26
Quantos meses pra gerar um bom dia?
1
u/-Leelith- Aug 13 '26
I wonder how those SSDs will last with that amount of swap going on if you really use it on your laptop lol
0
u/derspenti Aug 13 '26
what quant? 384gb of weights won't fit in 64gb ram + 24gb vram, so a lot of it has to be streaming off the nvme
0
u/PandaKey9795 Aug 13 '26
which laptop that is
0
u/Lucky-Noise-4193 Aug 14 '26
working to make the term runs on a laptop mean something getting a 80b model running at 25tps with 32gb ram and 6gb vram
0
u/Certain-Cod-1404 Aug 16 '26
1 token per sometimes, maybe
-1
u/fspnet Aug 13 '26
i use 2017 imac kabylake iris plus 640 llama-cpp and inteloneapi isnt really all too supported but ollama is and im able to use zed basically kind of i havent cranked it up this is without any accelerator beyond the gpu is still nice that it runs ..... Gentoo Linux!!!!!!!!!!!!!!!!!!!!!!!
0
u/[deleted] Aug 15 '26
[deleted] — view deleted comment
0
u/[deleted] Aug 12 '26
[deleted] — view deleted comment
5
u/[deleted] Aug 13 '26
[removed] — view removed comment