Torch-pruning

Latest version: v1.5.2

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

Scan your dependencies

Page 2 of 6

1.4.0

What's Changed
* Add support for Grouped Query Attention (GQA) in Huggingface transformers.
* Include [minimal examples](https://github.com/VainF/Torch-Pruning/tree/master/examples/LLMs) for Large Language Models (LLaMA-2 & LLaMA-3).

**Full Changelog**: https://github.com/VainF/Torch-Pruning/compare/v1.3.7...v1.4.0

1.3.7

* Add more docstrings and comments
* Minor bug fixing

**Full Changelog**: https://github.com/VainF/Torch-Pruning/compare/v1.3.6...v1.3.7

1.3.6

What's Changed
* fix bug:inversed_idx do not match the origin index by pleb631 in https://github.com/VainF/Torch-Pruning/pull/321
* Remove ch_groups in tp.importance

New Contributors
* pleb631 made their first contribution in https://github.com/VainF/Torch-Pruning/pull/321

**Full Changelog**: https://github.com/VainF/Torch-Pruning/compare/v1.3.5...v1.3.6

1.3.5

What's Changed
* Merge by VainF in https://github.com/VainF/Torch-Pruning/pull/312
* V1.3 by VainF in https://github.com/VainF/Torch-Pruning/pull/315


**Full Changelog**: https://github.com/VainF/Torch-Pruning/compare/v1.3.4...v1.3.5

1.3.4

What's Changed
* fix nan and inf bug in sparse learning by HollyLee2000 in https://github.com/VainF/Torch-Pruning/pull/310
* Fixed a bug in interactive pruning + iterative pruning + sparse training by VainF in https://github.com/VainF/Torch-Pruning/pull/311

New Contributors
* HollyLee2000 made their first contribution in https://github.com/VainF/Torch-Pruning/pull/310

**Full Changelog**: https://github.com/VainF/Torch-Pruning/compare/v1.3.3...v1.3.4

1.3.3

**Full Changelog**: https://github.com/VainF/Torch-Pruning/compare/v1.3.2...v1.3.3

Page 2 of 6

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.