File size: 21,890 Bytes
0d8c94a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
[
    {
        "model_name_or_path": "elastic/distilbert-base-uncased-finetuned-conll03-english",
        "task": "token-classification",
        "dataset": {
            "path": "conll2003",
            "eval_split": "validation",
            "data_keys": {
                "primary": "tokens",
                "secondary": null
            },
            "ref_keys": [
                "ner_tags"
            ],
            "name": null,
            "calibration_split": "train"
        },
        "quantization_approach": "dynamic",
        "operators_to_quantize": [
            "Add",
            "MatMul"
        ],
        "node_exclusion": [],
        "aware_training": false,
        "per_channel": false,
        "calibration": {
            "method": "minmax",
            "num_calibration_samples": 100,
            "calibration_histogram_percentile": null,
            "calibration_moving_average": null,
            "calibration_moving_average_constant": null
        },
        "framework": "onnxruntime",
        "framework_args": {
            "opset": 11,
            "optimization_level": 1
        },
        "hardware": "Architecture:                    x86_64\nCPU op-mode(s):                  32-bit, 64-bit\nByte Order:                      Little Endian\nAddress sizes:                   46 bits physical, 48 bits virtual\nCPU(s):                          8\nOn-line CPU(s) list:             0-7\nThread(s) per core:              2\nCore(s) per socket:              4\nSocket(s):                       1\nNUMA node(s):                    1\nVendor ID:                       GenuineIntel\nCPU family:                      6\nModel:                           85\nModel name:                      Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz\nStepping:                        7\nCPU MHz:                         3098.713\nBogoMIPS:                        4999.99\nHypervisor vendor:               KVM\nVirtualization type:             full\nL1d cache:                       128 KiB\nL1i cache:                       128 KiB\nL2 cache:                        4 MiB\nL3 cache:                        35.8 MiB\nNUMA node0 CPU(s):               0-7\nVulnerability Itlb multihit:     KVM: Vulnerable\nVulnerability L1tf:              Mitigation; PTE Inversion\nVulnerability Mds:               Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown\nVulnerability Meltdown:          Mitigation; PTI\nVulnerability Spec store bypass: Vulnerable\nVulnerability Spectre v1:        Mitigation; usercopy/swapgs barriers and __user pointer sanitization\nVulnerability Spectre v2:        Mitigation; Retpolines, STIBP disabled, RSB filling\nVulnerability Srbds:             Not affected\nVulnerability Tsx async abort:   Not affected\nFlags:                           fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss ht syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology nonstop_tsc cpuid aperfmperf tsc_known_freq pni pclmulqdq ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm abm 3dnowprefetch invpcid_single pti fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid mpx avx512f avx512dq rdseed adx smap clflushopt clwb avx512cd avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves ida arat pku ospke\n",
        "versions": {
            "transformers": "4.20.1",
            "optimum": "1.2.3.dev0",
            "optimum_hash": "65ad733f16d4e34fee21f98cb1b7edd33b8c1662"
        },
        "evaluation": {
            "time": [
                {
                    "batch_size": 1,
                    "input_length": 64,
                    "baseline": {
                        "nb_forwards": 50,
                        "throughput": 16.67,
                        "latency_mean": 60.11770944,
                        "latency_std": 1.5934818902628691,
                        "latency_50": 60.264686,
                        "latency_90": 61.2435885,
                        "latency_95": 61.33683375,
                        "latency_99": 65.10274001999998,
                        "latency_999": 68.287157802
                    },
                    "optimized": {
                        "nb_forwards": 166,
                        "throughput": 55.33,
                        "latency_mean": 18.127647289156627,
                        "latency_std": 0.41933456288271403,
                        "latency_50": 18.0557965,
                        "latency_90": 18.814332,
                        "latency_95": 18.98832,
                        "latency_99": 19.21624665,
                        "latency_999": 19.220398929999998
                    }
                }
            ],
            "others": {
                "baseline": {
                    "precision": 0.9696969696969697,
                    "recall": 0.9696969696969697,
                    "f1": 0.9696969696969697,
                    "accuracy": 0.993127147766323
                },
                "optimized": {
                    "precision": 0.96875,
                    "recall": 0.9393939393939394,
                    "f1": 0.9538461538461539,
                    "accuracy": 0.9896907216494846
                }
            }
        },
        "max_eval_samples": 10,
        "time_benchmark_args": {
            "duration": 3,
            "warmup_runs": 1
        },
        "model_type": "distilbert"
    },
    {
        "model_name_or_path": "elastic/distilbert-base-uncased-finetuned-conll03-english",
        "task": "token-classification",
        "dataset": {
            "path": "conll2003",
            "eval_split": "validation",
            "data_keys": {
                "primary": "tokens",
                "secondary": null
            },
            "ref_keys": [
                "ner_tags"
            ],
            "name": null,
            "calibration_split": "train"
        },
        "quantization_approach": "static",
        "operators_to_quantize": [
            "Add"
        ],
        "node_exclusion": [],
        "aware_training": false,
        "per_channel": false,
        "calibration": {
            "method": "minmax",
            "num_calibration_samples": 100,
            "calibration_histogram_percentile": null,
            "calibration_moving_average": null,
            "calibration_moving_average_constant": null
        },
        "framework": "onnxruntime",
        "framework_args": {
            "opset": 11,
            "optimization_level": 1
        },
        "hardware": "Architecture:                    x86_64\nCPU op-mode(s):                  32-bit, 64-bit\nByte Order:                      Little Endian\nAddress sizes:                   46 bits physical, 48 bits virtual\nCPU(s):                          8\nOn-line CPU(s) list:             0-7\nThread(s) per core:              2\nCore(s) per socket:              4\nSocket(s):                       1\nNUMA node(s):                    1\nVendor ID:                       GenuineIntel\nCPU family:                      6\nModel:                           85\nModel name:                      Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz\nStepping:                        7\nCPU MHz:                         2794.474\nBogoMIPS:                        4999.99\nHypervisor vendor:               KVM\nVirtualization type:             full\nL1d cache:                       128 KiB\nL1i cache:                       128 KiB\nL2 cache:                        4 MiB\nL3 cache:                        35.8 MiB\nNUMA node0 CPU(s):               0-7\nVulnerability Itlb multihit:     KVM: Vulnerable\nVulnerability L1tf:              Mitigation; PTE Inversion\nVulnerability Mds:               Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown\nVulnerability Meltdown:          Mitigation; PTI\nVulnerability Spec store bypass: Vulnerable\nVulnerability Spectre v1:        Mitigation; usercopy/swapgs barriers and __user pointer sanitization\nVulnerability Spectre v2:        Mitigation; Retpolines, STIBP disabled, RSB filling\nVulnerability Srbds:             Not affected\nVulnerability Tsx async abort:   Not affected\nFlags:                           fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss ht syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology nonstop_tsc cpuid aperfmperf tsc_known_freq pni pclmulqdq ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm abm 3dnowprefetch invpcid_single pti fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid mpx avx512f avx512dq rdseed adx smap clflushopt clwb avx512cd avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves ida arat pku ospke\n",
        "versions": {
            "transformers": "4.20.1",
            "optimum": "1.2.3.dev0",
            "optimum_hash": "65ad733f16d4e34fee21f98cb1b7edd33b8c1662"
        },
        "evaluation": {
            "time": [
                {
                    "batch_size": 1,
                    "input_length": 64,
                    "baseline": {
                        "nb_forwards": 70,
                        "throughput": 23.33,
                        "latency_mean": 43.18653295714286,
                        "latency_std": 1.3760290540598898,
                        "latency_50": 42.9665905,
                        "latency_90": 45.0960815,
                        "latency_95": 45.782922799999994,
                        "latency_99": 46.19406632,
                        "latency_999": 46.419223532
                    },
                    "optimized": {
                        "nb_forwards": 79,
                        "throughput": 26.33,
                        "latency_mean": 38.12439892405064,
                        "latency_std": 0.07978961670190722,
                        "latency_50": 38.117262,
                        "latency_90": 38.2253002,
                        "latency_95": 38.2424445,
                        "latency_99": 38.3146249,
                        "latency_999": 38.35825069
                    }
                }
            ],
            "others": {
                "baseline": {
                    "precision": 0.9696969696969697,
                    "recall": 0.9696969696969697,
                    "f1": 0.9696969696969697,
                    "accuracy": 0.993127147766323
                },
                "optimized": {
                    "precision": 0.037037037037037035,
                    "recall": 0.12121212121212122,
                    "f1": 0.05673758865248226,
                    "accuracy": 0.10996563573883161
                }
            }
        },
        "max_eval_samples": 10,
        "time_benchmark_args": {
            "duration": 3,
            "warmup_runs": 1
        },
        "model_type": "distilbert"
    },
    {
        "model_name_or_path": "elastic/distilbert-base-uncased-finetuned-conll03-english",
        "task": "token-classification",
        "dataset": {
            "path": "conll2003",
            "eval_split": "validation",
            "data_keys": {
                "primary": "tokens",
                "secondary": null
            },
            "ref_keys": [
                "ner_tags"
            ],
            "name": null,
            "calibration_split": "train"
        },
        "quantization_approach": "static",
        "operators_to_quantize": [
            "Add",
            "MatMul"
        ],
        "node_exclusion": [],
        "aware_training": false,
        "per_channel": false,
        "calibration": {
            "method": "minmax",
            "num_calibration_samples": 100,
            "calibration_histogram_percentile": null,
            "calibration_moving_average": null,
            "calibration_moving_average_constant": null
        },
        "framework": "onnxruntime",
        "framework_args": {
            "opset": 11,
            "optimization_level": 1
        },
        "hardware": "Architecture:                    x86_64\nCPU op-mode(s):                  32-bit, 64-bit\nByte Order:                      Little Endian\nAddress sizes:                   46 bits physical, 48 bits virtual\nCPU(s):                          8\nOn-line CPU(s) list:             0-7\nThread(s) per core:              2\nCore(s) per socket:              4\nSocket(s):                       1\nNUMA node(s):                    1\nVendor ID:                       GenuineIntel\nCPU family:                      6\nModel:                           85\nModel name:                      Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz\nStepping:                        7\nCPU MHz:                         3100.839\nBogoMIPS:                        4999.99\nHypervisor vendor:               KVM\nVirtualization type:             full\nL1d cache:                       128 KiB\nL1i cache:                       128 KiB\nL2 cache:                        4 MiB\nL3 cache:                        35.8 MiB\nNUMA node0 CPU(s):               0-7\nVulnerability Itlb multihit:     KVM: Vulnerable\nVulnerability L1tf:              Mitigation; PTE Inversion\nVulnerability Mds:               Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown\nVulnerability Meltdown:          Mitigation; PTI\nVulnerability Spec store bypass: Vulnerable\nVulnerability Spectre v1:        Mitigation; usercopy/swapgs barriers and __user pointer sanitization\nVulnerability Spectre v2:        Mitigation; Retpolines, STIBP disabled, RSB filling\nVulnerability Srbds:             Not affected\nVulnerability Tsx async abort:   Not affected\nFlags:                           fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss ht syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology nonstop_tsc cpuid aperfmperf tsc_known_freq pni pclmulqdq ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm abm 3dnowprefetch invpcid_single pti fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid mpx avx512f avx512dq rdseed adx smap clflushopt clwb avx512cd avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves ida arat pku ospke\n",
        "versions": {
            "transformers": "4.20.1",
            "optimum": "1.2.3.dev0",
            "optimum_hash": "65ad733f16d4e34fee21f98cb1b7edd33b8c1662"
        },
        "evaluation": {
            "time": [
                {
                    "batch_size": 1,
                    "input_length": 64,
                    "baseline": {
                        "nb_forwards": 51,
                        "throughput": 17.0,
                        "latency_mean": 58.88688531372549,
                        "latency_std": 0.7101158934812859,
                        "latency_50": 59.013485,
                        "latency_90": 59.654999,
                        "latency_95": 59.9591045,
                        "latency_99": 60.169608,
                        "latency_999": 60.262131600000004
                    },
                    "optimized": {
                        "nb_forwards": 124,
                        "throughput": 41.33,
                        "latency_mean": 24.301893822580645,
                        "latency_std": 1.3073645132666654,
                        "latency_50": 23.906192,
                        "latency_90": 26.371101600000003,
                        "latency_95": 26.70486145,
                        "latency_99": 26.872438550000002,
                        "latency_999": 26.962627384
                    }
                }
            ],
            "others": {
                "baseline": {
                    "precision": 0.9696969696969697,
                    "recall": 0.9696969696969697,
                    "f1": 0.9696969696969697,
                    "accuracy": 0.993127147766323
                },
                "optimized": {
                    "precision": 0.1044776119402985,
                    "recall": 0.21212121212121213,
                    "f1": 0.13999999999999999,
                    "accuracy": 0.6907216494845361
                }
            }
        },
        "max_eval_samples": 10,
        "time_benchmark_args": {
            "duration": 3,
            "warmup_runs": 1
        },
        "model_type": "distilbert"
    },
    {
        "model_name_or_path": "elastic/distilbert-base-uncased-finetuned-conll03-english",
        "task": "token-classification",
        "dataset": {
            "path": "conll2003",
            "eval_split": "validation",
            "data_keys": {
                "primary": "tokens",
                "secondary": null
            },
            "ref_keys": [
                "ner_tags"
            ],
            "name": null,
            "calibration_split": "train"
        },
        "quantization_approach": "dynamic",
        "operators_to_quantize": [
            "Add"
        ],
        "node_exclusion": [],
        "aware_training": false,
        "per_channel": false,
        "calibration": {
            "method": "minmax",
            "num_calibration_samples": 100,
            "calibration_histogram_percentile": null,
            "calibration_moving_average": null,
            "calibration_moving_average_constant": null
        },
        "framework": "onnxruntime",
        "framework_args": {
            "opset": 11,
            "optimization_level": 1
        },
        "hardware": "Architecture:                    x86_64\nCPU op-mode(s):                  32-bit, 64-bit\nByte Order:                      Little Endian\nAddress sizes:                   46 bits physical, 48 bits virtual\nCPU(s):                          8\nOn-line CPU(s) list:             0-7\nThread(s) per core:              2\nCore(s) per socket:              4\nSocket(s):                       1\nNUMA node(s):                    1\nVendor ID:                       GenuineIntel\nCPU family:                      6\nModel:                           85\nModel name:                      Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz\nStepping:                        7\nCPU MHz:                         3099.924\nBogoMIPS:                        4999.99\nHypervisor vendor:               KVM\nVirtualization type:             full\nL1d cache:                       128 KiB\nL1i cache:                       128 KiB\nL2 cache:                        4 MiB\nL3 cache:                        35.8 MiB\nNUMA node0 CPU(s):               0-7\nVulnerability Itlb multihit:     KVM: Vulnerable\nVulnerability L1tf:              Mitigation; PTE Inversion\nVulnerability Mds:               Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown\nVulnerability Meltdown:          Mitigation; PTI\nVulnerability Spec store bypass: Vulnerable\nVulnerability Spectre v1:        Mitigation; usercopy/swapgs barriers and __user pointer sanitization\nVulnerability Spectre v2:        Mitigation; Retpolines, STIBP disabled, RSB filling\nVulnerability Srbds:             Not affected\nVulnerability Tsx async abort:   Not affected\nFlags:                           fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss ht syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology nonstop_tsc cpuid aperfmperf tsc_known_freq pni pclmulqdq ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm abm 3dnowprefetch invpcid_single pti fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid mpx avx512f avx512dq rdseed adx smap clflushopt clwb avx512cd avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves ida arat pku ospke\n",
        "versions": {
            "transformers": "4.20.1",
            "optimum": "1.2.3.dev0",
            "optimum_hash": "65ad733f16d4e34fee21f98cb1b7edd33b8c1662"
        },
        "evaluation": {
            "time": [
                {
                    "batch_size": 1,
                    "input_length": 64,
                    "baseline": {
                        "nb_forwards": 51,
                        "throughput": 17.0,
                        "latency_mean": 59.487474725490195,
                        "latency_std": 0.7968899973526024,
                        "latency_50": 59.491817,
                        "latency_90": 60.506018,
                        "latency_95": 60.637663,
                        "latency_99": 61.1182795,
                        "latency_999": 61.46885605000001
                    },
                    "optimized": {
                        "nb_forwards": 104,
                        "throughput": 34.67,
                        "latency_mean": 29.123214990384614,
                        "latency_std": 0.08746558610670996,
                        "latency_50": 29.1146975,
                        "latency_90": 29.2330098,
                        "latency_95": 29.28693925,
                        "latency_99": 29.36537121,
                        "latency_999": 29.454484605
                    }
                }
            ],
            "others": {
                "baseline": {
                    "precision": 0.9696969696969697,
                    "recall": 0.9696969696969697,
                    "f1": 0.9696969696969697,
                    "accuracy": 0.993127147766323
                },
                "optimized": {
                    "precision": 0.9696969696969697,
                    "recall": 0.9696969696969697,
                    "f1": 0.9696969696969697,
                    "accuracy": 0.993127147766323
                }
            }
        },
        "max_eval_samples": 10,
        "time_benchmark_args": {
            "duration": 3,
            "warmup_runs": 1
        },
        "model_type": "distilbert"
    }
]