Skip to content
PyRank
  • Search
  • PyPI
  • GitHub
  • Insights
  • Compare
  • Advisories
  • Ecosystem
  • About

Pruning Python Packages

Python packages with the GitHub topic pruning. Sorted by monthly downloads, with stars and forks.
openvinotoolkit
nncf

Neural Network Compression Framework for enhanced OpenVINO™ inference

407K 1K 322
tensorflow
tensorflow-model-optimization

A toolkit to optimize ML models for deployment for Keras and TensorFlow, including quantization and pruning.

50K 2K 350
VainF
torch-pruning

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

28K 3K 392
intel
neural-compressor

SOTA low-bit LLM quantization (INT8/FP8/MXFP8/INT4/MXFP4/NVFP4) & sparsity; leading model compression techniques on PyTorch, TensorFlow, and ONNX Runtime

22K 3K 339
quic
aimet-torch

AIMET is a library that provides advanced quantization and compression techniques for trained neural network models.

19K 3K 482
quic
aimet-onnx

AIMET is a library that provides advanced quantization and compression techniques for trained neural network models.

13K 3K 482
tensorflow
tf-model-optimization-nightly

A toolkit to optimize ML models for deployment for Keras and TensorFlow, including quantization and pruning.

6K 2K 350
neuralmagic
sparsezoo

Neural network model repository for highly sparse and sparse-quantized models with matching sparsification recipes

6K 388 27
Ruya-AI
cozempic

Context cleaning for Claude Code — prune bloated sessions, protect Agent Teams from context loss, auto-guard with tiered pruning

6K 429 42
neuralmagic
deepsparse

Sparsity-aware deep learning inference runtime for CPUs

5K 3K 192
ZaberKo
torch-kirigami

Structured pruning and sparse training for PyTorch models.

3K 0 2
Thiggel
economize

Composable efficiency techniques (speculative decoding, early exit, quantization, sparsity, KV compression) for Hugging Face models

3K 3 0
thekaveh
thekaveh-nnx

Lightweight PyTorch training/eval/visualization toolkit

2K 3 1
peremartra
optipfair

Structured pruning, knowledge distillation, and fairness analysis for Large Language Models.

1K 47 11
neuralmagic
sparseml

Libraries for applying sparsification recipes to neural networks with a few lines of code, enabling faster and smaller models

1K 2K 158
666DZY666
micronet

micronet, a model compression and deploy lib. compression: 1、quantization: quantization-aware-training(QAT), High-Bit(>2b)(DoReFa/Quantization and Training of Neural Networks for Efficient Integer-Arithmetic-Only Inference)、Low-Bit(≤2b)/Ternary and Binary(TWN/BNN/XNOR-Net); post-training-quantization(PTQ), 8-bit(tensorrt); 2、 pruning: normal、regular and group convolutional channel pruning; 3、 group convolution structure; 4、batch-normalization fuse for quantization. deploy: tensorrt, fp32/fp16/int8(ptq-calibration)、op-adapt(upsample)、dynamic_shape

1K 2K 469
neuralmagic
sparsify

[DEPRECATED] Easy-to-use UI for automatically sparsifying neural networks and creating sparsification recipes for better inference performance and a smaller footprint

917 323 33
delve-team
delve

PyTorch model training and layer saturation monitor

902 83 13
FasterAI-Labs
fasterai

FasterAI: Prune and Distill your models with FastAI and PyTorch

822 269 20
satabios
sconce

Model Compresion Made Easy

811 45 4
intel
neural-compressor-pt

SOTA low-bit LLM quantization (INT8/FP8/MXFP8/INT4/MXFP4/NVFP4) & sparsity; leading model compression techniques on PyTorch, TensorFlow, and ONNX Runtime

800 3K 339
neuralmagic
deepsparse-ent

Sparsity-aware deep learning inference runtime for CPUs

764 3K 192
J-Linaris
retinal-thin-vessels

A Python package for computing the recall and precision scores specifically on thin vessels in retinal images and generating weight masks for BCE Loss to enhance models perfomance on segmenting these fine structures, as detailed in the paper "Vessel-Width-Based Metrics and Weight Masks for Retinal Blood Vessel Segmentation".

674 4 1
intel
neural-compressor-tf

SOTA low-bit LLM quantization (INT8/FP8/MXFP8/INT4/MXFP4/NVFP4) & sparsity; leading model compression techniques on PyTorch, TensorFlow, and ONNX Runtime

566 3K 339
    • Original data from PyPI, GitHub, and OSV; downloads served through ClickHouse
    • Sources & methodology