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

15 March 2024

Test Maintainer

Michael Larabel 

Test Type

System

Average Install Time

24 Minutes, 27 Seconds

Average Run Time

3 Minutes, 5 Seconds

Test Dependencies

Python

Accolades

30k+ 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.112023.122024.012024.022024.032024.045K10K15K20K25K
* 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 13 April 2024.
NLP Document Classification, oBERT base uncased on IMDB9.1%CV Classification, ResNet-50 ImageNet9.1%NLP Text Classification, DistilBERT mnli9.1%Llama2 Chat 7b Quantized8.7%BERT-Large, NLP Question Answering, Sparse INT89.1%NLP Text Classification, BERT base uncased SST2, Sparse INT89.1%CV Detection, YOLOv5s COCO, Sparse INT89.1%CV Segmentation, 90% Pruned YOLACT Pruned9.1%ResNet-50, Sparse INT89.1%NLP Token Classification, BERT base uncased conll20039.1%ResNet-50, Baseline9.1%Model Option PopularityOpenBenchmarking.org

Revision History

pts/deepsparse-1.7.0   [View Source]   Fri, 15 Mar 2024 12:35:17 GMT
Update against DeepSparse 1.7 upstream, add Llama 2 chat test.

pts/deepsparse-1.6.0   [View Source]   Mon, 11 Dec 2023 16:59:10 GMT
Update against deepsparse 1.6 upstream.

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 386 public results since 13 October 2022 with the latest data as of 19 June 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
91st
6
83.7 +/- 5.1
90th
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
81st
3
59.1 +/- 0.1
78th
3
56.5 +/- 0.2
77th
3
55.8 +/- 0.1
Mid-Tier
75th
< 55.1
75th
3
54.9 +/- 0.1
71st
4
53.7 +/- 0.6
70th
5
53.6 +/- 0.5
70th
8
53.5 +/- 0.3
65th
6
51.8 +/- 0.1
60th
6
51.0 +/- 0.2
60th
5
50.9 +/- 0.4
60th
3
50.9 +/- 0.2
56th
3
49.7 +/- 0.5
56th
3
49.6 +/- 0.5
54th
7
47.3 +/- 0.2
53rd
5
42.5 +/- 1.4
51st
4
41.7 +/- 0.5
Median
50th
41.5
49th
3
41.3 +/- 0.1
48th
4
41.0 +/- 0.5
43rd
13
40.1 +/- 0.3
41st
6
39.2 +/- 1.7
39th
3
37.8 +/- 0.6
39th
11
37.6 +/- 4.4
37th
7
35.9 +/- 0.3
34th
8
34.6 +/- 2.3
34th
4
34.4 +/- 0.7
31st
11
32.0 +/- 0.1
26th
6
29.8 +/- 0.1
Low-Tier
25th
< 29.6
23rd
5
26.1 +/- 0.3
22nd
3
24.5 +/- 0.4
17th
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
5th
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-Stream386 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.72 / 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.43542.87084.30625.74167.177

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)