frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Show HN: Getting GLM 5.2 running on my slow computer

https://github.com/JustVugg/colibri
63•vforno•13h ago
A few days ago I found myself trying out GLM 5.2 and was really positively impressed. The capabilities and security I was getting from this LLM are similar to those I've gotten from models like Claude or GPT, and this really surprised me.

But then I thought, "I wonder how it would work on a normal computer like mine," and above all, "I wonder if it would work without going into OOM on a computer like mine." So I started working with the help of agents to test this possibility.

I started converting the model to int4, understanding MTP usage, and if possible implementing DSA for long context. How it responds in int4 and whether the quality is maintained or not. Until I got to the point, on my computer with 32GB of RAM, I was able to communicate with GLM 5.2 with times that, of course, aren't high in cold start, but even then, we're talking about 0.1 tok/s, but that wasn't important to me. The important thing was the journey to reach this goal. I just wanted it to work at all costs, even slowly.

So I created Colibrì, which was born from a very simple idea, to be honest, but tested in every way, where a 744B Mixture-of-Experts model activates only ~40B parameters per token—and only ~11 GB of those change from token to token (the routed experts). So:

The dense part (attention, shared experts, embeddings—~17B params) stays resident in RAM at int4 (~9.9 GB); The 21,504 routed experts (75 MoE layers × 256 experts + the MTP head, ~19 MB each at int4) live on disk (~370 GB) and are streamed on demand, with a per-layer LRU cache, an optional pinned hot-store, and the OS page cache as a free L2.

The engine is a single C file (c/glm.c, ~1,300 lines) plus small headers. No BLAS, no Python at runtime, no GPU.No GPU or serious hardware because I don't have that hardware so I can't test it on hardware that is more powerful than my computer.Colibrì is a one-person project, written and tested entirely on a 12-core laptop with 25 GB of RAM — the numbers above are the ceiling of what I can measure at home.

Any feedback is welcome! (and if anyone wanted to participate in the project I would be delighted)

Repo: https://github.com/JustVugg/colibri

Comments

miohtama•44m ago
This is the hacker spirit
vforno•42m ago
Thank you so much, it's true! It all started with this spirit!
nerder92•39m ago
Is this inspired by antirez work on ds4?

Amazing job!

vforno•36m ago
Antirez is the number one!thanks really thanks!
Pragmata•33m ago
Would this cause issues with SSD lifespan?
vforno•31m ago
What causes problems is the rewriting in this case are only read while writing is the cache! However, I'm working to improve more and more and make some parts lighter!
mariopt•32m ago
I wonder if you could replicate this in a Colourful GeForce RTX 50-series GPU, they ship it with 2 NVMe drive slots.
vforno•30m ago
I'd love to! Right now I only have a very consumer-grade computer that I've had fun with! We'll see!
walrus01•30m ago
My main question is whether when put into practical use, this can be measured in tokens/second, or more like 1 token per minute... I have seen locally hosted LLM that are as slow as 1 tok/second still be very useful if you give it a project to do something overnight and metaphorically walk away from it, check back with what it has done in 6 or 8 hours.

0.05 to 0.1 tok/s on the other hand, as reported in the URL for the lowest class of hardware, isn't really usable for much.

vforno•29m ago
In the readme you can see benchmark which everyone with different hardware is running Colibrì, and I have to say I've seen great times! I'm always doing more to improve!
kzrdude•29m ago
Your coding style is halfway to IOCCC. I'm just jealous though :)

Show HN: Getting GLM 5.2 running on my slow computer

https://github.com/JustVugg/colibri
90•vforno•13h ago•23 comments

Show HN: 18 Words

https://18words.com/
723•pompomsheep•8h ago•262 comments

Show HN: I built a web tool to see and edit what an AI thinks before it answers

https://lucid.earthpilot.ai
7•ada1981•3h ago•0 comments

Show HN: I mapped 8.5M research papers into an interactive atlas

https://tomesphere.com/atlas
49•leonickson•19h ago•15 comments

Show HN: Sighthound - open-source vulnerability scanner for source code

https://github.com/Corgea/Sighthound
4•asadeddin•6h ago•0 comments

Show HN: Analog Watch

https://analog.watch
82•ezekg•7h ago•72 comments

Show HN: RandoFont, a browser for Google Fonts

https://randofont.alesh.com
8•aleshh•47m ago•2 comments

Show HN: Abralo – Free, easy way to run several Claude Code agents in one window

https://abralo.com/
17•cwbuilds•1d ago•12 comments

Show HN: Pylon Sync, an agent-first full-stack realtime framework

https://www.pylonsync.com
6•ericc59•3h ago•0 comments

Show HN: FableCut – A browser video editor AI agents can drive (zero deps)

https://github.com/ronak-create/FableCut
82•ronak_parmar•8h ago•52 comments

Show HN: Policy enforcement for Claude Code, Cursor, and Codex

https://kastra.ai/
5•carlosjimenez1•6h ago•0 comments

Show HN: Devthropology – Better Insights for GitHub Repos

https://devthropology.com/demo
26•dpc94•4h ago•9 comments

Show HN: Reverse-engineering web apps into agent tools

21•pancomplex•5h ago•5 comments

Show HN: LastShelf – an emergency map of your family's documents bills& contacts

https://www.lastshelf.ai/
38•sbrown12•6h ago•24 comments

Show HN: Silo Terminal – a dark terminal profile inspired by Silo

https://github.com/onehorizonai/silo-terminal
3•gusnewman•1h ago•0 comments

Show HN: Reviving my 2001 college band with AI

https://www.fadingmaize.com
2•jacobgraf•1h ago•0 comments

Show HN: EVconomics – EV vs. gas cost-of-ownership calculator with live prices

https://calc.evconomics.org
2•DanCharge•2h ago•0 comments

Show HN: FormGrid – Forms that can look like CLIs, pixel art, GeoCities and more

https://www.formgrid.com/
8•bjoernm•6h ago•2 comments

Show HN: Onboard-CLI–a fast developer tool built in Go uses AST and LLM

https://onboard-cli.vercel.app/
2•yr_animesh•2h ago•1 comments

Show HN: Rubber Duck

https://rubberduck.greg.technology/
8•gregsadetsky•7h ago•2 comments

Show HN: Codex Explorer, a local session manager for Codex CLI

https://github.com/Tobiadefami/codex-explorer
4•tobiadefami•3h ago•0 comments

Show HN: A zero-dependency auditor for decision records in AI-touched systems

https://github.com/forgedculture/legibility-field-kit
5•forgesignals•7h ago•0 comments

Show HN: Microsoft releases Flint, a visualization language for AI agents

https://microsoft.github.io/flint-chart/#/
336•chenglong-hn•1d ago•133 comments

Show HN: Follow London Trains in 3D

https://ride.nexttrain.london/
150•mgranados•5d ago•60 comments

Show HN: Yamanote.fun – A complete soundscape for Tokyo's Yamanote line

https://www.yamanote.fun/
229•madebymagnolia•2d ago•50 comments

Show HN: Embersent – Document Tracking and Analytics

https://embersent.com/
2•21oq•5h ago•0 comments

Show HN: GodUI – Open-source React components with a shared motion system

https://godui.design
2•lucasbassetti•5h ago•2 comments

Show HN: Frugon – Find which LLM calls a cheaper model could handle (local, MIT)

https://github.com/Rodiun/frugon
26•jarodrh•2d ago•8 comments

Show HN: Android Developer Verification Package blacklisted in Aurora Store

5•bewilderbeast•8h ago•0 comments

Show HN: Obsidian Aside

https://community.obsidian.md/plugins/aside
2•wl1973•5h ago•0 comments