https://github.com/neuralmagic/sparseml
Libraries for applying sparsification recipes to neural networks with a few lines of code, enabling faster and smaller models
https://github.com/neuralmagic/sparseml
automl computer-vision-algorithms deep-learning-algorithms deep-learning-library deep-learning-models image-classification keras nlp object-detection onnx pruning pruning-algorithms pytorch smaller-models sparsification sparsification-recipes sparsity tensorflow transfer-learning
Last synced: about 1 month ago
JSON representation
Libraries for applying sparsification recipes to neural networks with a few lines of code, enabling faster and smaller models
- Host: GitHub
- URL: https://github.com/neuralmagic/sparseml
- Owner: neuralmagic
- License: apache-2.0
- Archived: true
- Created: 2020-12-11T14:07:30.000Z (almost 6 years ago)
- Default Branch: main
- Last Pushed: 2025-06-02T20:02:18.000Z (over 1 year ago)
- Last Synced: 2026-10-06T12:42:44.290Z (about 2 months ago)
- Topics: automl, computer-vision-algorithms, deep-learning-algorithms, deep-learning-library, deep-learning-models, image-classification, keras, nlp, object-detection, onnx, pruning, pruning-algorithms, pytorch, smaller-models, sparsification, sparsification-recipes, sparsity, tensorflow, transfer-learning
- Language: Python
- Homepage:
- Size: 18.5 MB
- Stars: 2,144
- Watchers: 8
- Forks: 157
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
- awesome-production-machine-learning - SparseML - SparseML is an open-source model optimization toolkit that enables you to create inference-optimized sparse models using pruning, quantization, and distillation algorithms. (Deployment and Serving)
- awesome-yolo-object-detection - SparseML - <img src="https://img.shields.io/github/stars/neuralmagic/sparseml?style=social"/> : Libraries for applying sparsification recipes to neural networks with a few lines of code, enabling faster and smaller models. "Inducing and Exploiting Activation Sparsity for Fast Inference on Deep Neural Networks". (**[PMLR 2020](http://proceedings.mlr.press/v119/kurtz20a.html)**). "Woodfisher: Efficient second-order approximation for neural network compression". (**[NeurIPS 2020](https://proceedings.neurips.cc/paper/2020/hash/d1ff1ec86b62cd5f3903ff19c3a326b2-Abstract.html)**) (Lighter and Deployment Frameworks / Pruning Knoweldge-Distillation Quantization)
- awesome-edge-computing - SparseML - SparseML is anopen-source model optimization toolkit that enables you to createinference-optimized sparse models using pruning, quantization, anddistillation algorithms. Models optimized with SparseML can then be exportedto the ONNX and deployed with DeepSparse for GPU-class performance on CPUhardware. (Networks)
- Awesome-LLM-Compression - [Code] - [](https://github.com/neuralmagic/sparseml) (Tools / Model Compression Toolkits)
README
SparseML
Libraries for applying sparsification recipes to neural networks with a few lines of code, enabling faster and smaller models
## 🚨 2025 End of Life Announcement: DeepSparse, SparseML, SparseZoo, and Sparsify
Dear Community,
We’re reaching out with heartfelt thanks and important news. Following [Neural Magic’s acquisition by Red Hat in January 2025](https://www.redhat.com/en/about/press-releases/red-hat-completes-acquisition-neural-magic-fuel-optimized-generative-ai-innovation-across-hybrid-cloud), we’ve shifted our focus to commercial and open-source offerings built around [vLLM (virtual large language models)](https://www.redhat.com/en/topics/ai/what-is-vllm).
As part of this transition, we ceased development and deprecated the community versions of **DeepSparse (including DeepSparse Enterprise), SparseML, SparseZoo, and Sparsify on June 2, 2025**. These tools no longer will receive updates or support.
From day one, our mission was to democratize AI through efficient, accessible tools. We’ve learned so much from your feedback, creativity, and collaboration—watching these tools become vital parts of your ML journeys has meant the world to us.
Though we’ve wound down the community editions, we remain committed to our original values. Now as part of Red Hat, we’re excited to evolve our work around vLLM and deliver even more powerful solutions to the ML community.
_With gratitude, The Neural Magic Team (now part of Red Hat)_
---