RC RANDOM CHAOS

Z.ai's 744B GLM-5.2 Runs Locally in 239GB Thanks to Unsloth's Dynamic Quants

· via Hacker News

Original source

Unsloth GLM-5.2 – How to Run Locally

Hacker News →

Z.ai has released GLM-5.2, a 744B-parameter mixture-of-experts model with 40B active parameters and a 1M-token context window. The company claims it is the strongest open model yet, citing benchmark parity with frontier proprietary systems like Claude 4.8 Opus, GPT-5.5, and Gemini 3.1 Pro across coding, reasoning, and agentic tasks. The headline news for self-hosters is Unsloth’s day-zero support: its Dynamic GGUF quantization shrinks the model’s 1.51TB footprint by up to 86%, bringing a 2-bit build down to 239GB and a 1-bit build to 217GB by selectively upcasting the layers that matter most to 8- or 16-bit.

Those size cuts move a frontier-class model into prosumer reach. The 239GB 2-bit quant fits on a 256GB unified-memory Mac, or on a single 24GB GPU paired with 256GB of system RAM via MoE offloading. Unsloth’s KL-divergence testing suggests the aggressive quants hold up: the 1-bit version retains roughly 76% top-1 accuracy and the 2-bit version about 82%, while 4- and 5-bit builds are described as effectively lossless. For long contexts, KV-cache quantization (e.g. q4_0) can stretch usable window length several-fold at the cost of some precision.

The model ships with three reasoning modes — non-thinking plus High and Max thinking, toggled via reasoning_effort or chat-template flags — and runs through either llama.cpp or Unsloth Studio, an open-source local UI that handles RAM offloading, multi-GPU detection, tool calling, and code execution. The practical takeaway: running a model that competes with the top closed labs no longer requires a datacenter, just a well-specced workstation and a tolerance for heavy quantization.

Read the full article

Continue reading at Hacker News →

This is an AI-generated summary. Read the original for the full story.