跳到主要内容Skip to main content

剪枝Pruning

Pruning

  • 硬件与部署Hardware & deployment
  • 第五站 · 跑起来Station 5 · Running It
  • 引用核验 2026-11-03refs checked 2026-11-03
解决什么问题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.

出处Sources
  • 剪枝有效性研究论文To prune, or not to prune (paper) ↗