neuralmagic/deepsparse

Sparsity-aware deep learning inference runtime for CPUs

View on GitHub ↗Jump to charts ↓

Summary Information

Updated 28 minutes ago
Added to GitGenius on April 30th, 2024
Created on December 14th, 2020
Open Issues & Pull Requests: 1 (+0)
Number of forks: 193
Total Stargazers: 3,157 (+0)
Total Subscribers: 13 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 48.4 days
Mean response time: 79.7 days
90th percentile: 189.2 days
Tracked items: 32

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: 328 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 (43)
  • enhancement (14)
  • documentation (3)
  • Product Update (1)
  • known issue (1)

Most active issues this week

No issue events were indexed in the last 7 days.

Detailed Description

DeepSparse is a sparsity-aware deep learning inference runtime designed specifically for CPU execution. The project enables efficient neural network inference by leveraging sparsification techniques including pruning and quantization to reduce model size and computational requirements while maintaining accuracy. The runtime supports multiple machine learning domains including computer vision, natural language processing, and large language model inference, with built-in support for ONNX model formats and integration with pretrained models.

The repository is written primarily in Python and addresses a core challenge in machine learning deployment: running complex neural networks efficiently on standard CPU hardware without requiring specialized accelerators. DeepSparse achieves this through sparse computation techniques that skip redundant calculations in pruned neural networks and through low-precision inference using INT8 quantization. The project encompasses neural network compression, model optimization, and runtime speedup as core functionality, making it relevant for scenarios where GPU or specialized hardware deployment is impractical or cost-prohibitive.

The repository's classification spans performance optimization, neural network speedup, sparse neural networks, inference performance, and AI model deployment categories. It addresses cross-platform compatibility and hardware acceleration concerns while focusing on model efficiency through various optimization techniques. The project's integration with PyTorch extensions and support for low-precision inference demonstrates its position as a comprehensive inference optimization platform.

As of June 2025, DeepSparse entered end-of-life status following Neural Magic's acquisition by Red Hat in January 2025. The community versions of DeepSparse, along with related tools SparseML, SparseZoo, and Sparsify, ceased development and were deprecated on June 2, 2025. The transition reflects a strategic shift toward vLLM-based solutions within Red Hat's AI initiatives. While the community editions no longer receive updates or support, the repository remains accessible as a historical reference for sparsity-aware CPU inference techniques and represents a significant contribution to the open-source machine learning optimization ecosystem prior to its deprecation.