Qwen/Qwen2.5-0.5B
pruned to
2:4
semi-structured sparsity with
HyperPrune
(Sun & Sakuma,
Learning Semi-Structured Sparsity for LLMs via Shared and Context-Aware
Hypernetwork
, ICLR 2026,
OpenReview
).
This is a
reproduction run
produced at Elastix as part of the BLADE
sparsity-method comparison. It is plain sparse
bf16
/
fp16
safetensors and
loads with stock
transformers
:
from transformers import AutoModelForCausalLM, AutoTokenizer
m = AutoModelForCausalLM.from_pretrained("elastix-ai/HyperPrune-Qwen2.5-0.5B-2to4")
t = AutoTokenizer.from_pretrained("Qwen/Qwen2.5-0.5B")
Everything else — hypernet architecture, both training stages, all learning
rates, step counts, temperature, prior, row selection — is HyperPrune's own
shipped setting.
WikiText-2 word PPL (lm-eval-harness, BLADE's protocol)
149.94
training wall-clock
5.1 min
peak GPU during cascade FT
2.61 GB
GPU
1 x NVIDIA RTX PRO 6000 Blackwell (97 GB), CUDA 13.0, torch 2.13.0+cu130
Two things to know before comparing this number to the paper
1. Every decoder layer is pruned here.
HyperPrune's own shipped configs set
dense_layers_list: [0, 1]
, leaving 2 layers fully dense and yielding ~46.9 %
sparsity rather than 50 %. This checkpoint prunes every layer, matching BLADE's
two_four_all
spec, so it is a true 2:4 model in the modules BLADE prunes.
2. Only a few percent of this mask was chosen by the hypernet.
The shipped
recipe sets
fixed_rows_count: 200
, so the hypernet decides the mask for the
first 200 output rows of each projection and every remaining row keeps the
SparseGPT prior's mask verbatim. This is HyperPrune's own default, kept here
deliberately because the brief was to change nothing but the calibration corpus.
The two perplexity rows are different quantities and are not comparable to each
other. The first is token-level PPL over concatenated WikiText-2 at seqlen 2048
(the Wanda/SparseGPT convention). The second is lm-evaluation-harness
word_perplexity
at
max_length=2048
, which is BLADE's protocol — pinned
empirically by reproducing BLADE's dense LLaMA-2-7B value of 9.19 (measured
9.1915).
This checkpoint is heavily degraded — read before using it
At 0.5 B parameters there is very little redundancy to surrender to a 2:4 mask,
and it shows: WikiText-2 word perplexity goes from
19.65 dense to 149.94
, a
7.6x degradation. Greedy generation is repetitive and factually unreliable
("The capital of France is the most important of the 10000000000000000000000000").
The checkpoint is structurally correct — exactly 2:4 in every pruned linear,
loads with stock
transformers
— and is published so the BLADE comparison has
a HyperPrune row at this model size. It is
not
a checkpoint to deploy.
For context from the same reproduction, larger models degrade far less at the
same sparsity: LLaMA-2-7B 9.19 -> 21.65 (2.4x) and LLaMA-3.1-8B 8.07 -> 22.27
(2.8x).
Provenance
Produced from HyperPrune commit
6d093d7
with a small set of documented
patches (bias-dtype autocast, calibration loader, disk-peak reduction, and —
for 4:8 checkpoints — the N:M generalization, which the reference
implementation does not ship). See the reproduction report for the full diff.
Evaluation Results
KL Divergence
Dataset
Avg KL
Total KL
Tokens
wikitext2
1.804226
539088.3203
298,792
c4
1.811252
3404799.6426
1,879,804
slimpajama_calib
1.666972
13976748.9634
8,384,512
Downstream Accuracy
Task
acc, None
stderr, None
arc_challenge
0.1792
0.0112
arc_easy
0.3969
0.0100
hellaswag
0.2872
0.0045
mmlu
0.2290
0.0035
openbookqa
0.1300
0.0151
piqa
0.5838
0.0115
race
0.2679
0.0137
winogrande
0.5043
0.0141
Perplexity (2048-token windows,
max_length=2048
)
Dataset
Word PPL
Byte PPL
WikiText-2
149.9388
2.5522
C4 (en)
317.7569
2.6217
BLADE-Eval: lm-eval 0.4.10, torch 2.13.0+cu130,
MLflow run
Runs of elastix-ai HyperPrune-Qwen2.5-0.5B-2to4 on huggingface.co
949
Total runs
4
24-hour runs
14
3-day runs
38
7-day runs
949
30-day runs
More Information About HyperPrune-Qwen2.5-0.5B-2to4 huggingface.co Model
More HyperPrune-Qwen2.5-0.5B-2to4 license Visit here:
HyperPrune-Qwen2.5-0.5B-2to4 huggingface.co is an AI model on huggingface.co that provides HyperPrune-Qwen2.5-0.5B-2to4's model effect (), which can be used instantly with this elastix-ai HyperPrune-Qwen2.5-0.5B-2to4 model. huggingface.co supports a free trial of the HyperPrune-Qwen2.5-0.5B-2to4 model, and also provides paid use of the HyperPrune-Qwen2.5-0.5B-2to4. Support call HyperPrune-Qwen2.5-0.5B-2to4 model through api, including Node.js, Python, http.
HyperPrune-Qwen2.5-0.5B-2to4 huggingface.co is an online trial and call api platform, which integrates HyperPrune-Qwen2.5-0.5B-2to4's modeling effects, including api services, and provides a free online trial of HyperPrune-Qwen2.5-0.5B-2to4, you can try HyperPrune-Qwen2.5-0.5B-2to4 online for free by clicking the link below.
elastix-ai HyperPrune-Qwen2.5-0.5B-2to4 online free url in huggingface.co:
HyperPrune-Qwen2.5-0.5B-2to4 is an open source model from GitHub that offers a free installation service, and any user can find HyperPrune-Qwen2.5-0.5B-2to4 on GitHub to install. At the same time, huggingface.co provides the effect of HyperPrune-Qwen2.5-0.5B-2to4 install, users can directly use HyperPrune-Qwen2.5-0.5B-2to4 installed effect in huggingface.co for debugging and trial. It also supports api for free installation.
HyperPrune-Qwen2.5-0.5B-2to4 install url in huggingface.co: