Neural Magic DeepSparse

This is a benchmark of Neural Magic's DeepSparse using its built-in deepsparse.benchmark utility and various models from their SparseZoo (https://sparsezoo.neuralmagic.com/).

To run this test with the Phoronix Test Suite, the basic command is: phoronix-test-suite benchmark deepsparse.

Project Site

neuralmagic.com

Source Repository

github.com

Test Created

13 October 2022

Last Updated

26 July 2023

Test Maintainer

Michael Larabel 

Test Type

System

Average Install Time

14 Minutes, 51 Seconds

Average Run Time

2 Minutes, 19 Seconds

Test Dependencies

Python

Accolades

20k+ Downloads

Supported Platforms


Public Result Uploads *Reported Installs **Reported Test Completions **Test Profile Page ViewsOpenBenchmarking.orgEventsNeural Magic DeepSparse Popularity Statisticspts/deepsparse2022.102022.112022.122023.012023.022023.032023.042023.052023.062023.072023.082023.092023.102023.114K8K12K16K20K
* Uploading of benchmark result data to OpenBenchmarking.org is always optional (opt-in) via the Phoronix Test Suite for users wishing to share their results publicly.
** Data based on those opting to upload their test results to OpenBenchmarking.org and users enabling the opt-in anonymous statistics reporting while running benchmarks from an Internet-connected platform.
Data updated weekly as of 28 November 2023.
BERT-Large, NLP Question Answering, Sparse INT85.5%NLP Text Classification, DistilBERT mnli7.3%CV Detection, YOLOv5s COCO, Sparse INT85.4%ResNet-50, Baseline5.4%ResNet-50, Sparse INT85.5%NLP Sentiment Analysis, 80% Pruned Quantized BERT Base Uncased7.6%NLP Question Answering, BERT base uncased SQuaD 12layer Pruned907.5%NLP Text Classification, BERT base uncased SST27.4%BERT-Large, NLP Question Answering5.5%CV Detection, YOLOv5s COCO7.5%NLP Document Classification, oBERT base uncased on IMDB7.6%NLP Token Classification, BERT base uncased conll20037.3%CV Classification, ResNet-50 ImageNet7.4%NLP Text Classification, BERT base uncased SST2, Sparse INT85.4%CV Segmentation, 90% Pruned YOLACT Pruned7.7%Model Option PopularityOpenBenchmarking.org
Asynchronous Multi-Stream66.1%Synchronous Single-Stream33.9%Scenario Option PopularityOpenBenchmarking.org

Revision History

pts/deepsparse-1.5.2   [View Source]   Wed, 26 Jul 2023 15:52:28 GMT
Update against 1.5.2 point release, add more models.

pts/deepsparse-1.5.0   [View Source]   Wed, 07 Jun 2023 07:51:58 GMT
Update against Deepsparse 1.5 upstream.

pts/deepsparse-1.3.2   [View Source]   Sun, 22 Jan 2023 19:05:03 GMT
Update against DeepSparse 1.3.2 upstream.

pts/deepsparse-1.0.1   [View Source]   Thu, 13 Oct 2022 13:47:39 GMT
Initial commit of DeepSparse benchmark.

Suites Using This Test

Machine Learning

HPC - High Performance Computing


Performance Metrics

Analyze Test Configuration:

Neural Magic DeepSparse 1.1

Model: NLP Text Classification, BERT base uncased SST2 - Scenario: Synchronous Single-Stream

OpenBenchmarking.org metrics for this test profile configuration based on 372 public results since 13 October 2022 with the latest data as of 14 February 2023.

Below is an overview of the generalized performance for components where there is sufficient statistically significant data based upon user-uploaded results. It is important to keep in mind particularly in the Linux/open-source space there can be vastly different OS configurations, with this overview intended to offer just general guidance as to the performance expectations.

Component
Percentile Rank
# Compatible Public Results
items/sec (Average)
98th
10
89.1 +/- 0.1
97th
13
88.5 +/- 1.0
96th
10
88.1 +/- 0.2
90th
6
83.7 +/- 5.1
89th
5
77.8 +/- 0.4
88th
5
76.2 +/- 0.2
86th
4
65.8 +/- 0.4
84th
3
60.4 +/- 0.1
82nd
7
59.5 +/- 0.7
82nd
3
59.1 +/- 0.1
79th
3
56.5 +/- 0.2
78th
3
55.8 +/- 0.1
76th
3
54.9 +/- 0.1
Mid-Tier
75th
< 54.8
73rd
4
53.7 +/- 0.6
72nd
5
53.6 +/- 0.5
72nd
7
53.6 +/- 0.3
67th
6
51.8 +/- 0.1
62nd
6
51.0 +/- 0.2
62nd
5
50.9 +/- 0.4
62nd
3
50.9 +/- 0.2
58th
3
49.7 +/- 0.5
58th
3
49.6 +/- 0.5
56th
7
47.3 +/- 0.2
54th
5
42.5 +/- 1.4
53rd
4
41.7 +/- 0.5
Median
50th
41.3
50th
3
41.3 +/- 0.1
49th
4
41.0 +/- 0.5
45th
13
40.1 +/- 0.3
42nd
6
39.2 +/- 1.7
41st
3
37.8 +/- 0.6
40th
11
37.6 +/- 4.4
38th
7
35.9 +/- 0.3
35th
8
34.6 +/- 2.3
35th
4
34.4 +/- 0.7
32nd
11
32.0 +/- 0.1
26th
6
29.8 +/- 0.1
Low-Tier
25th
< 29.0
24th
5
26.1 +/- 0.3
23rd
3
24.5 +/- 0.4
18th
4
22.4 +/- 0.5
13th
3
17.4 +/- 0.1
12th
3
16.1 +/- 0.5
11th
3
15.9 +/- 0.1
10th
4
15.0 +/- 0.1
9th
6
14.4 +/- 0.6
8th
4
14.0 +/- 0.1
6th
3
13.3 +/- 0.1
5th
3
13.1 +/- 0.3
2nd
3
8.0 +/- 0.1
OpenBenchmarking.orgDistribution Of Public Results - Model: NLP Text Classification, BERT base uncased SST2 - Scenario: Synchronous Single-Stream372 Results Range From 7 To 90 items/sec714212835424956637077849120406080100

Based on OpenBenchmarking.org data, the selected test / test configuration (Neural Magic DeepSparse 1.1 - Model: NLP Text Classification, BERT base uncased SST2 - Scenario: Synchronous Single-Stream) has an average run-time of 3 minutes. By default this test profile is set to run at least 3 times but may increase if the standard deviation exceeds pre-defined defaults or other calculations deem additional runs necessary for greater statistical accuracy of the result.

OpenBenchmarking.orgMinutesTime Required To Complete BenchmarkModel: NLP Text Classification, BERT base uncased SST2 - Scenario: Synchronous Single-StreamRun-Time246810Min: 2 / Avg: 2.69 / Max: 3

Does It Scale Well With Increasing Cores?

Yes, based on the automated analysis of the collected public benchmark data, this test / test settings does generally scale well with increasing CPU core counts. Data based on publicly available results for this test / test settings, separated by vendor, result divided by the reference CPU clock speed, grouped by matching physical CPU core count, and normalized against the smallest core count tested from each vendor for each CPU having a sufficient number of test samples and statistically significant data.

IntelAMDOpenBenchmarking.orgRelative Core Scaling To BaseNeural Magic DeepSparse CPU Core ScalingModel: NLP Text Classification, BERT base uncased SST2 - Scenario: Synchronous Single-Stream468121632641281.39582.79164.18745.58326.979

Tested CPU Architectures

This benchmark has been successfully tested on the below mentioned architectures. The CPU architectures listed is where successful OpenBenchmarking.org result uploads occurred, namely for helping to determine if a given test is compatible with various alternative CPU architectures.

CPU Architecture
Kernel Identifier
Verified On
Intel / AMD x86 64-bit
x86_64
(Many Processors)