Torch-pruning

Latest version: v1.5.1

Safety actively analyzes 706267 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 4 of 6

1.2.1

* Support ViTs from [Huggingface Transformers](https://github.com/VainF/Torch-Pruning/tree/master/examples/hf_transformers) & [Timm](https://github.com/VainF/Torch-Pruning/tree/master/examples/timm_models)
* Improved Channel Grouping

**Full Changelog**: https://github.com/VainF/Torch-Pruning/compare/v.1.2.0...v1.2.1

v.1.2.0
What's Changed
* Improved index mapping. Now ``tp.pruner`` can handle more networks.
* Fixed several bugs
* Support [Growing Regularization](https://arxiv.org/abs/2012.09243)
* Add [Documents & Toturials](https://github.com/VainF/Torch-Pruning/wiki)

1.1.9

Bugfixing for ViT, max_sparsity, etc.

1.1.8

1. Experimental Features: Save & load pruned models with ``tp.state_dict`` and ``tp.load_state_dict``.
2. Bugfixing

**Full Changelog**: https://github.com/VainF/Torch-Pruning/compare/v1.1.7...v.1.1.8

1.1.7

* Add ``tp.importance.TaylorImportance``
* Support PruningHistory
* Pruning & Post-training for Yolov8
* Bugfixing

1.1.6

* An example for YOLOv8 pruning
* Improve Torchvision compatibility to 95.6% (81/85)
* Bugfix for torch.cat & torch.split

1.1.5

Page 4 of 6

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.