CoolFace
Modelpublic

HarimxChoi/WarpQuant-Llama-3-8B-R16E4H4

sourceHugging Faceotherupdated 1mo agoView on Hugging Face
0likes20downloads
Model Card

WarpQuant Llama 3 8B R16E4H4

Llama 3 8B quantized with signed Hadamard rotation, block-GPTQ, and Output-Fisher weak-column recovery. Projection weights use a 3.5-bpw INT3 base, selected columns are restored in BF16, and the embedding and output head use group-128 INT4.

Technical report · GitHub

Payload and evaluation

FormatText bpwPayloadWikiText-2 PPL ↓ARC-299 ↑MMLU-13,943 ↑
BF1616.0014.965 GiB6.255950.5041.04
Q4KM4.894.583 GiB6.435950.8440.67
IQ3_S + imatrix3.663.429 GiB6.992944.1539.87
WarpQuant Fisher R16E4H43.62563.389 GiB7.344645.4938.99

The repository stores the quantized values in BF16-compatible safetensors. The reported payload is the packed-equivalent analytical size including codes, scales, recovery values, and column indices.

Usage

python
import torch
from transformers import AutoModelForCausalLM, AutoTokenizer

model_id = "HarimxChoi/WarpQuant-Llama-3-8B-R16E4H4"
tokenizer = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained(
    model_id,
    torch_dtype=torch.bfloat16,
    device_map="auto",
)

Citation

bibtex
@misc{choi2026warpquant,
  author = {Harim Choi},
  title = {WarpQuant: Dual-Domain LLM Quantization via Hadamard Rotation and Output-Fisher Sensitivity},
  year = {2026},
  url = {https://harimxchoi.github.io/projects/warpquant/}
}