项目介绍

VainF/Torch-Pruning 是一个托管在 GitHub 上的开源项目,主要使用 Python 编写,采用 MIT License 许可证,目前获得 3.3k 个 Star、380 次 Fork。

仓库全名
VainF/Torch-Pruning

README 摘要

Torch-Pruning (TP) is a framework for structural pruning with the following features: General-purpose Pruning Toolkit: TP enables structural pruning for a wide range of deep neural networks. Different from torch.nn.utils.prune that zeroizes parameters via masking, Torch-Pruning deploys an algorithm called ⚡ DepGraph to group and remove coupled parameters. Examples: Pruning off-the-shelf models from Huggingface,…

完整内容见 GitHub 原始 README 或本页 。

常见问题

Torch-Pruning 用什么语言开发?

主要使用 Python 编写,采用 MIT License 许可证,目前有 3.3k 个 Star。

Torch-Pruning 可以免费商用吗?

仓库采用 MIT License 许可证,可免费使用与修改,商业使用请遵守许可证条款(例如保留版权声明与许可声明)。

如何获取 Torch-Pruning 的源码?

可以直接克隆仓库:git clone https://github.com/VainF/Torch-Pruning.git,默认分支为 master;安装与运行步骤见仓库 README。

Torch-Pruning 最近还在维护吗?

仓库最近一次更新为 2025年9月8日,当前有 335 个未关闭 Issue;Star 数为 3.3k,可作为社区活跃度的参考。

关于

GitHub 原始描述(英文)

[CVPR 2023] DepGraph: Towards Any Structural Pruning; LLMs, Vision Foundation Models, etc.

描述取自 GitHub 官方 API,保持仓库作者书写的原文。

简要分析

热度分
4120
价值分
2097
活跃状态
活跃

语言占比

Python
Shell

Release