CompressedTensors INT4 of
Jackrong/Qwopus3.5-27B-v3 (abliterated) via HLWQ (Hadamard-Lloyd Weight Quantization)
1pip install vllm
2vllm serve caiovicentino1/Huihui-Qwopus3.5-27B-v3-abliterated-HLWQ-Q5 \
3 --language-model-only --enforce-eager
No plugin. No pip install polarquant. No custom code.
Standard INT4 quantizes weights directly — outliers cause high error.
HLWQ adds a preprocessing step before INT4:
BF16 weights
│
▼
[1] Hadamard rotation → distributes energy uniformly
│ (eliminates outliers, weights become Gaussian)
│
▼
[2] Lloyd-Max Q5 → MSE-optimal 5-bit quantization
│ (best possible codebook for Gaussian distribution)
│
▼
[3] Dequant → BF16 → INT4 symmetric (gs=128)
│ (cleaner weights = better INT4)
│
▼
CompressedTensors (Marlin kernel) → vLLM serve
Same speed as GPTQ/AWQ, better quality.
1import polarengine_vllm # auto-registers with transformers
2from transformers import AutoModelForCausalLM, AutoTokenizer
3
4model = AutoModelForCausalLM.from_pretrained(
5 "caiovicentino1/Huihui-Qwopus3.5-27B-v3-abliterated-HLWQ-Q5",
6 device_map="auto", trust_remote_code=True
7)
8tokenizer = AutoTokenizer.from_pretrained(
9 "caiovicentino1/Huihui-Qwopus3.5-27B-v3-abliterated-HLWQ-Q5",
10 trust_remote_code=True
11)
12
13inputs = tokenizer("Hello!", return_tensors="pt").to("cuda")
14out = model.generate(**inputs, max_new_tokens=100)
15print(tokenizer.decode(out[0], skip_special_tokens=True))
1@misc{hlwq2026,
2 title={HLWQ: Hadamard-Lloyd Weight Quantization for Large Language Models},
3 author={Caio Vicentino},
4 year={2026},
5 url={https://arxiv.org/abs/2603.29078}
6}