Pruning
Pruning
What problem it solves
Delete the unimportant connections in a model to make it smaller and faster.
What it is
Removing weights close to zero makes the model smaller and inference faster.
Measured in the paper: structured pruning of a pretrained model can lose very little accuracy.
Why it matters
It is a compression route complementary to quantisation. A model that will not fit locally is sometimes rescued by pruning.
Related guides
What you can do now
Models atlas: which quantisations exist and which tier fits your VRAM ↗
Sources
- To prune, or not to prune (paper) ↗
Use this term in a task
Don’t stop at the definition: use the task handbook for the order and checks, or filter three tool candidates for the job at hand.