Views
No views yet
Research preview. Lloyd-Max codebook quantization is an experimental format under active development. Quality envelope and arch coverage differ from the canonical hipfire quants — see "What's in this repo" below before downloading. The-devrepo name distinguishes these dev-stage variants from any future production-supportedhipfire-models/qwen3.6-27brelease.
| File | Format | Size | Status |
|---|---|---|---|
qwen3.6-27b.mq3-lloyd | MQ3-Lloyd-G256 (112 B/group, 8-entry codebook, FWHT-rotated) | 12.6 GB | research; quantize-time-gated by --allow-mq3-lloyd |
qwen3.6-27b.mq4-lloyd | MQ4-Lloyd-G256 (160 B/group, 16-entry codebook, FWHT-rotated) | 17.4 GB | research; quantize-time-gated by --allow-mq4-lloyd; earlier-stage than MQ3-Lloyd |
cb[index]) rather than the
affine scale * q + zero_point of HFQ3 (104 B/group) / HFQ4
(136 B/group). Group strides differ; mixing formats in a single
dispatch is silent corruption — hence the --allow-mq*-lloyd
quantize-time gate and the matched batched-prefill dispatch arms in
hipfire.feat/mq3-lloyd-gfx1151 follow-up devlog in the hipfire repo
for the root cause + measurement. Prefill kernels
(PR #195)
are single-acc and drift-free; the decode-side fix is tracked
as a separate follow-up.HIPFIRE_LLOYD_GFX12=1) pending external CI validation —
default behaviour on RDNA4 falls through to the per-token
fallback. gfx10 / gfx906 / gfx94x are not supported.1# Pull a Lloyd quant into the local hipfire model cache:
2hf download hipfire-models/qwen3.6-27b-dev qwen3.6-27b.mq3-lloyd \
3 --local-dir ~/.hipfire/models
4
5# Or, for the MQ4-Lloyd variant:
6hf download hipfire-models/qwen3.6-27b-dev qwen3.6-27b.mq4-lloyd \
7 --local-dir ~/.hipfire/models
8
9# Run via the daemon (engine auto-detects the dtype from the file):
10./target/release/examples/daemon < <(echo \
11 '{"type":"load","model":"~/.hipfire/models/qwen3.6-27b.mq3-lloyd","params":{"max_seq":4096}}')hipfire-quantize with --allow-mq3-lloyd / --allow-mq4-lloyd).docs/plans/mq3-lloyd-wmma-prefill.md and
docs/plans/mq4-lloyd-wmma-prefill.md in the hipfire repo.