Views
No views yet
coli convert (convert_fp8_to_int4.py --ebits 4 --io-bits 8, including the MTP head for native speculative decoding), uploaded so you don't have to download the 756 GB FP8 checkpoint and spend a day converting it.name (U8, packed int4 nibbles) + name.qs (F32 per-row scales), quantized with math bit-identical to the engine's C kernels. It only works with the colibrì engine.1# get the engine
2git clone https://github.com/JustVugg/colibri && cd colibri/c && ./setup.sh
3
4# download this repo to a FAST local disk (NVMe, ext4 — never a network/9p mount)
5hf download jlnsrk/GLM-5.2-colibri-int4 --local-dir /nvme/glm52_i4
6
7# chat (RAM budget, expert cache and MTP auto-detected)
8COLI_MODEL=/nvme/glm52_i4 ./coli chat| file | contents |
|---|---|
out-*.safetensors | dense weights (attention/MLA, shared experts, embeddings) + 21,504 routed experts, int4 per-row scales; router/norms kept F32 |
| MTP shard | GLM-5.2's multi-token-prediction head (layer 78) — enables lossless speculative decoding (~2 tok/forward) |
config.json, tokenizer*.json, generation_config.json | copied from the base repo |
np.rint matching the engine's lrintf — token-identical to converting locally.