Hand-written
weight-only int4 (GPTQ-calibrated, symmetric, group 64) quantization of
BlinkDL's RWKV-7 "Goose" G1 1.5B, for the
rwkv-sglang serving overlay.
Perplexity-style metrics understate int4's damage to multi-step reasoning
at this model
size. On MATH500 (avg@64, 32,000 rollouts) this checkpoint scores
14.98% vs fp16's
40.60% (−25.6pt) — the quantized model tends to lose the thread mid-derivation and run to
the token cap (57.7% truncation vs fp16's 14.2%). This is a 1.5B-specific fragility, not a
property of the scheme itself: the identical symmetric GPTQ at 7.2B costs only −3.1pt on the
same ruler (see
rwkv7-sglang-w4gptq-7.2b).
This checkpoint loads through the
rwkv-sglang
overlay. Native RWKV-7 support is being upstreamed into SGLang —
see
sgl-project/sglang#30115; once that
lands the overlay is no longer required.
Transformers support for the architecture itself is open as
huggingface/transformers#47780.
Not a drop-in HuggingFace checkpoint. Weights are group-wise (GROUP=64) symmetric int4
(.qweight + .scale); they load only through the rwkv-sglang overlay:
1bash scripts/deploy.sh # from github.com/Hakureirm/rwkv-sglang, built against sglang v0.5.10.post1 — newer releases need the overlay rebased
2RWKV_W4=1 python -m sglang.launch_server --model-path <this-dir> --dtype float16 \
3 --trust-remote-code --disable-radix-cache
LoRA/norm/embedding/head stay full precision. Base model © BlinkDL (Bo Peng), Apache-2.0.