Downloads · 30 days
117
24% of all-time downloads
ISTA-DASLab/Llama-3.1-70B-Instruct-2Bit-GSQ
Llama-3.1-70B-Instruct-2Bit-GSQ is a text generation model from ISTA-DASLab. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as llama3.1.
2-bit quantization of meta-llama/Llama-3.1-70B-Instruct produced with GSQ (Gumbel-Softmax Quantization) at ≈2.13 bpp.
Downloads · 30 days
117
24% of all-time downloads
All-time downloads
485
Public
Parameters
6.9B
22.4 GB on disk
Likes
2
Public
Click a slice to open those files.
.safetensors22.4 GB · 100%
How the weights are stored.
I324.3B · 62%
From the Hugging Face model README
2-bit quantization of meta-llama/Llama-3.1-70B-Instruct
produced with GSQ (Gumbel-Softmax Quantization) at ≈2.13 bpp.
GSQ is the strongest scalar PTQ method we measured at this scale and lands within ≈1.7 points of vector-quantized methods (QTIP, PV-Tuning) on the standard zero-shot suite (ARC-C/E, HellaSwag, PIQA, Winogrande):
| Method | 70B Avg |
|---|---|
| FP16 | 78.99 |
| GPTQ | 57.38 |
| QuIP | 61.57 |
| EfficientQAT | 71.43 |
| QTIP (VQ) | 77.25 |
| PV-Tuning (VQ) | 76.27 |
| GSQ (ours) | 75.57 |
meta-llama/Llama-3.1-70B-Instruct{-2, -1, 0, +1} × scalequant_method: "humming", b_dtype: "uint2")The Hugging Face "Tensor types" widget reports the container dtype of each
safetensor on disk, not the effective precision of the underlying weights.
This checkpoint uses the Humming on-disk layout (exact-width packing — no
sub-byte values are padded into a wider container). For every quantized
Linear layer with original weight shape [out_features, in_features], the
following tensors are stored:
| Tensor | Dtype | Shape on disk | Meaning |
|---|---|---|---|
<layer>.weight | I32 | [out_features, in_features × 2 / 32] = [out_features, in_features / 16] | 2-bit values bit-packed along the input dim, LSB-first: 16 weights per INT32 word. |
<layer>.weight_scale | BF16 | [out_features, in_features / 128] | One symmetric scale per group of group_size = 128 weights along the input dim. |
| Attention / norms / embed / LM-head | BF16 | unchanged | Not quantized; copied from the base checkpoint. |
Example (model.layers.0.mlp.gate_proj, original [28672, 8192]):
weight = [28672, 512] I32 (since 8192 × 2 / 32 = 512),
weight_scale = [28672, 64] BF16 (since 8192 / 128 = 64).
So although the UI says "I32 + BF16", the effective storage per quantized
weight is 2 bits (packed) + 16 bits / 128 (group scale) ≈ 2.13 bpp. The
quantization_config block in config.json is:
{
"quant_method": "humming",
"b_dtype": "uint2",
"weight_scale_group_size": 128,
"weight_scale_type": "group",
"has_zero_point": false,
"ignore": ["lm_head", "embed_tokens"]
}
Loading this checkpoint requires vLLM plus the
humming kernels (pip install humming-kernels). See Serving with vLLM below.
Note: GSQ training first writes shards in
compressed-tensorspack-quantizedformat (where a sub-4-bit codebook is padded into a 4-bit INT32 container). The published checkpoint here has been re-packed viaconvert_to_humming.pyinto exact-width 2-bit Humming storage, hence the2 / 32shape factor you see above.
Install the Humming kernels (required for vLLM to load this checkpoint):
pip install humming-kernels
vllm serve ISTA-DASLab/Llama-3.1-70B-Instruct-2Bit-GSQ \
--tensor-parallel-size 2
@article{gsq2026,
title = {GSQ: Highly-Accurate Low-Precision Scalar Quantization for LLMs via Gumbel-Softmax Sampling},
author = {Dadgarnia, Alireza and Tabesh, Soroush and Nikdan, Mahdi and Helcig, Michael and Kurti{\'c}, Eldar and Kleinegger, Max and Alistarh, Dan},
journal= {arXiv preprint arXiv:2604.18556},
year = {2026},
url = {https://arxiv.org/abs/2604.18556}
}