neuralmagic/sparseml

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

View on GitHub ↗Jump to charts ↓

Summary Information

Updated 34 minutes ago
Added to GitGenius on November 12th, 2024
Created on December 11th, 2020
Open Issues & Pull Requests: 1 (+0)
Number of forks: 156
Total Stargazers: 2,145 (+0)
Total Subscribers: 8 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 14.5 days
Mean response time: 80.7 days
90th percentile: 105.9 days
Tracked items: 23

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 1
New in 7 days: 0
Closed in 7 days: 0
Avg open age: 324 days
Stale 30+ days: 1
Stale 90+ days: 1

Recent activity

Opened in 7 days: 0
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

  • bug (125)
  • enhancement (37)
  • documentation (10)
  • Product Update (1)

Most active issues this week

No issue events were indexed in the last 7 days.

Detailed Description

SparseML is a Python library developed by Neural Magic that provides tools for applying sparsification recipes to neural networks with minimal code, enabling the creation of faster and smaller models. The library is designed to work across multiple deep learning frameworks including PyTorch, TensorFlow, and Keras, making it framework-agnostic in its approach to model optimization. It supports various sparsification techniques including pruning and quantization, with particular emphasis on creating sparse machine learning models that maintain accuracy while reducing computational requirements.

The repository addresses the core challenge of model compression and inference acceleration by offering pre-built sparsification recipes that developers can apply to their neural networks. These recipes encapsulate best practices for reducing model size and improving runtime performance, which is critical for deploying models in resource-constrained environments. The library's scope extends across multiple domains including computer vision tasks like image classification and object detection, as well as natural language processing applications, demonstrating its versatility across different problem spaces.

The repository is also recognized for its contributions to sparse computing, model optimization, and energy-efficient AI, reflecting its role in the broader ecosystem of AI performance optimization. The framework-agnostic nature of the library allows it to serve as a bridge between different deep learning platforms, enabling practitioners to apply consistent sparsification strategies regardless of their chosen framework.

The project maintains active development with documented issue and pull request activity.

This interconnection indicates that SparseML is part of a broader effort to optimize machine learning inference and deployment.

It is important to note that as of June 2, 2025, Neural Magic announced the end of life for SparseML as a community project following the company's acquisition by Red Hat in January 2025. The announcement indicates that development and community support for SparseML have ceased, with the organization shifting focus toward vLLM-based solutions. This represents a significant transition for the project, though the codebase and historical contributions remain available in the repository for reference and potential community-driven continuation.