I also tested GLM 5.2 with routed-expert quantization and SSD streaming on an M5 Max. These experiments extend my DwarfStar GLM work described here and relate to dwarfstar local inference.
I described the routed experts as Q2_K routed experts.
I said the Q2_K routed experts were effectively ~2.6 bits.
I ran this setup on an M5 Max 128GB computer.
I shared the link https://t.co/Vka96HMLnS with the GLM 5.2 setup.
I added the name with the note “P.s. DwarfStar” to the follow-up post about the setup.
I reported DwarfStar running GLM 5.2 in 4 bit while implementing grep.
I reported this grep implementation running on an M3 Ultra system with 512GB.
I shared the link https://t.co/rwH7BXbFSQ for the GLM 5.2 grep run.
I said everything will be on GitHub in A few more days.
I am implementing GLM 5.2 in DwarfStar, exploring quantization, SSD streaming, and inference across Mac hardware. This work connects to my plans for distributed model support and the Metal, CUDA, and ROCm work described in backends and steering.
I started integrating inference into DwarfStar using the Unsloth 4-bit weights.
If the experiment works well, I will specialize the quants with an optimizer for the best setup.
My target is the 512GB M3 Ultra.
For distributed inference, I am considering 4 128GB machines with 3-bit variants if quality holds.
Inference quality must be the local inference mantra.
I described my GLM 5.2 implementation in DwarfStar as the First kinda working implementation.
I said the implementation will take some time to be good enough, but it is a promising start.
The implementation used a 433 GB GGUF file.
I described the target hardware as an M3 Ultra 512GB.
I estimated a 90% probability that I would merge the branch I was developing.
I considered GLM 5.2 probably the best model available to run on a 512GB Mac Studio system.
I thought distributed inference could make it usable with 3 128GB MacBooks if the 2 bit quants work well.
I am implementing GLM 5.2 in DwarfStart with support for 2bit and 4bit quants.
I am adding SSD streaming to the implementation.
With Metal, the implementation already works well.
CUDA and ROCm work still remains to do.
I said this work is why I don't look at PRs / Issues for days.
I said I'll resume the work there later.
I consider GLM 5.2 urgent given the international situation with American models.