Views
No views yet
[!IMPORTANT] Naming notice (2026-04-10). The "HLWQ" technique used in this model is being rebranded to HLWQ (Hadamard-Lloyd Weight Quantization). The change is only the name; the algorithm and the weights in this repository are unchanged.The rebrand resolves a name collision with an unrelated, earlier KV cache quantization method also named HLWQ (Han et al., arXiv:2502.02617, 2025). HLWQ addresses weight quantization with a deterministic Walsh-Hadamard rotation and Lloyd-Max scalar codebook; Han et al.'s HLWQ addresses KV cache quantization with a random polar rotation. The two methods are technically distinct.Existing loaders that load this repository by ID continue to work without changes. Future model uploads will use the HLWQ name.Reference paper for this technique: arXiv:2603.29078 (v2 in preparation; v1 still uses the old name).
9B hybrid model (Qwen3.5 architecture) quantized to INT4 with GPTQ calibration. Loads natively in vLLM with Marlin kernel. 113 tok/s on RTX 3090.
We found the optimal config:group_size=64+ FOEM = 67.07% HumanEval (vs 66.87% BF16)👉 Download HLWQ v7 (gs64+FOEM) — same Marlin kernel, 8.7 GB
| Method | HumanEval | Size | Kernel |
|---|---|---|---|
| HLWQ v7 (gs64+FOEM) | 67.07% | 8.7 GB | Marlin |
| BF16 Base | 66.87% | 19.3 GB | — |
| FOEM INT4 gs128 (Arien0) | 62.80% | 8.6 GB | Marlin |
| This model (GPTQ gs128) | 60.98% | 8.6 GB | Marlin |
| Naive INT4 (old) | 55.49% | 6.5 GB | Marlin |

| Metric | GPTQ INT4 | BF16 Original | Improvement |
|---|---|---|---|
| HumanEval | 60.98% | 66.87% | -5.9pp (calibrated) |
| Speed | 113 tok/s | ~40 tok/s | 2.8x faster |
| Size | 8.6 GB | 18 GB | 2.1x smaller |
| WikiText-2 PPL | 6.56 | 6.37 | +0.19 |
1pip install vllm
2
3vllm serve caiovicentino1/Qwopus3.5-9B-v3-HLWQ-Q5 \
4 --language-model-only \
5 --enforce-eager1from vllm import LLM, SamplingParams
2
3llm = LLM(
4 model="caiovicentino1/Qwopus3.5-9B-v3-HLWQ-Q5",
5 trust_remote_code=True,
6 enforce_eager=True,
7)
8
9output = llm.generate(
10 ["Write a Python function for binary search."],
11 SamplingParams(max_tokens=256, temperature=0.7),
12)
13print(output[0].outputs[0].text)| # | Method | HumanEval | Notes |
|---|---|---|---|
| 1 | Naive INT4 (RTN) | 55.49% | Round-to-nearest, no calibration |
| 2 | This model (GPTQ gs128) | 60.98% | Calibrated, desc_act=True |
| 3 | FOEM gs128 | 61.59% | +FOEM error correction |
| 4 | FOEM gs128 (Arien0) | 62.80% | Different calibration data |
| 5 | BF16 Base | 66.87% | Original unquantized |
| 6 | HLWQ v7 gs64+FOEM | 67.07% | BEATS BF16! |
| Metric | Value |
|---|---|
| Throughput | 113 tok/s |
| Kernel | Marlin (gptq_marlin) |
| VRAM | ~8 GB |
| Property | Value |
|---|---|
| Base Model | Jackrong/Qwopus3.5-9B-v3 |
| Architecture | Qwen3.5 — hybrid (linear attention + full attention) |
| Parameters | 9B |
| Layers | 32 (24 linear attention + 8 full attention) |
| Hidden Size | 4096 |
| Property | Value |
|---|---|
| Method | GPTQ (calibrated) |
| Tool | GPTQModel v6.0.3 |
| Bits | 4 |
| Group Size | 128 |
| Symmetric | Yes |
| desc_act | True (activation order) |
| Calibration | 512 samples from neuralmagic/LLM_compression_calibration |
| Format | GPTQ (native vLLM Marlin kernel) |
💡 Want better quality? Use HLWQ v7 with gs64+FOEM for 67.07% HumanEval.
| Flag | Why |
|---|---|
--language-model-only | Skips vision encoder (4304 dim not Marlin-compatible) |
--enforce-eager | Recommended for stability |
1@article{vicentino2026polarquant,
2 title={HLWQ: Hadamard-Rotated Post-Training Quantization},
3 author={Vicentino, Caio},
4 journal={arXiv preprint arXiv:2603.29078},
5 year={2026}
6}