IlyasMoutawwakil HF Staff commited on
Commit
2624ed5
·
verified ·
1 Parent(s): 32c7320

Upload cpu_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub

Browse files
cpu_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json ADDED
@@ -0,0 +1,244 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "config": {
3
+ "name": "cpu_inference_transformers_text-classification_FacebookAI/roberta-base",
4
+ "backend": {
5
+ "name": "pytorch",
6
+ "version": "2.3.1+cpu",
7
+ "_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
8
+ "task": "text-classification",
9
+ "library": "transformers",
10
+ "model_type": "roberta",
11
+ "model": "FacebookAI/roberta-base",
12
+ "processor": "FacebookAI/roberta-base",
13
+ "device": "cpu",
14
+ "device_ids": null,
15
+ "seed": 42,
16
+ "inter_op_num_threads": null,
17
+ "intra_op_num_threads": null,
18
+ "model_kwargs": {},
19
+ "processor_kwargs": {},
20
+ "no_weights": true,
21
+ "device_map": null,
22
+ "torch_dtype": null,
23
+ "eval_mode": true,
24
+ "to_bettertransformer": false,
25
+ "low_cpu_mem_usage": null,
26
+ "attn_implementation": null,
27
+ "cache_implementation": null,
28
+ "autocast_enabled": false,
29
+ "autocast_dtype": null,
30
+ "torch_compile": false,
31
+ "torch_compile_target": "forward",
32
+ "torch_compile_config": {},
33
+ "quantization_scheme": null,
34
+ "quantization_config": {},
35
+ "deepspeed_inference": false,
36
+ "deepspeed_inference_config": {},
37
+ "peft_type": null,
38
+ "peft_config": {}
39
+ },
40
+ "scenario": {
41
+ "name": "inference",
42
+ "_target_": "optimum_benchmark.scenarios.inference.scenario.InferenceScenario",
43
+ "iterations": 1,
44
+ "duration": 1,
45
+ "warmup_runs": 1,
46
+ "input_shapes": {
47
+ "batch_size": 1,
48
+ "num_choices": 2,
49
+ "sequence_length": 2
50
+ },
51
+ "new_tokens": null,
52
+ "memory": true,
53
+ "latency": true,
54
+ "energy": true,
55
+ "forward_kwargs": {},
56
+ "generate_kwargs": {
57
+ "max_new_tokens": 2,
58
+ "min_new_tokens": 2
59
+ },
60
+ "call_kwargs": {
61
+ "num_inference_steps": 2
62
+ }
63
+ },
64
+ "launcher": {
65
+ "name": "process",
66
+ "_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher",
67
+ "device_isolation": false,
68
+ "device_isolation_action": "error",
69
+ "numactl": false,
70
+ "numactl_kwargs": {},
71
+ "start_method": "spawn"
72
+ },
73
+ "environment": {
74
+ "cpu": " AMD EPYC 7742 64-Core Processor",
75
+ "cpu_count": 128,
76
+ "cpu_ram_mb": 540671.660032,
77
+ "system": "Linux",
78
+ "machine": "x86_64",
79
+ "platform": "Linux-5.4.0-166-generic-x86_64-with-glibc2.35",
80
+ "processor": "x86_64",
81
+ "python_version": "3.10.12",
82
+ "optimum_benchmark_version": "0.4.0",
83
+ "optimum_benchmark_commit": null,
84
+ "transformers_version": "4.44.0",
85
+ "transformers_commit": null,
86
+ "accelerate_version": "0.33.0",
87
+ "accelerate_commit": null,
88
+ "diffusers_version": "0.30.0",
89
+ "diffusers_commit": null,
90
+ "optimum_version": null,
91
+ "optimum_commit": null,
92
+ "timm_version": "1.0.8",
93
+ "timm_commit": null,
94
+ "peft_version": "0.12.0",
95
+ "peft_commit": null
96
+ }
97
+ },
98
+ "report": {
99
+ "load": {
100
+ "memory": {
101
+ "unit": "MB",
102
+ "max_ram": 932.970496,
103
+ "max_global_vram": null,
104
+ "max_process_vram": null,
105
+ "max_reserved": null,
106
+ "max_allocated": null
107
+ },
108
+ "latency": {
109
+ "unit": "s",
110
+ "count": 1,
111
+ "total": 4.826313242316246,
112
+ "mean": 4.826313242316246,
113
+ "stdev": 0.0,
114
+ "p50": 4.826313242316246,
115
+ "p90": 4.826313242316246,
116
+ "p95": 4.826313242316246,
117
+ "p99": 4.826313242316246,
118
+ "values": [
119
+ 4.826313242316246
120
+ ]
121
+ },
122
+ "throughput": null,
123
+ "energy": {
124
+ "unit": "kWh",
125
+ "cpu": 4.93125157954637e-05,
126
+ "ram": 8.275760335821636e-05,
127
+ "gpu": 0,
128
+ "total": 0.00013207011915368006
129
+ },
130
+ "efficiency": null
131
+ },
132
+ "forward": {
133
+ "memory": {
134
+ "unit": "MB",
135
+ "max_ram": 939.401216,
136
+ "max_global_vram": null,
137
+ "max_process_vram": null,
138
+ "max_reserved": null,
139
+ "max_allocated": null
140
+ },
141
+ "latency": {
142
+ "unit": "s",
143
+ "count": 73,
144
+ "total": 1.004445269703865,
145
+ "mean": 0.0137595242425187,
146
+ "stdev": 0.002681957134060987,
147
+ "p50": 0.013237454928457737,
148
+ "p90": 0.013591494970023632,
149
+ "p95": 0.016829280741512742,
150
+ "p99": 0.026973111443221575,
151
+ "values": [
152
+ 0.013589794747531414,
153
+ 0.01350796315819025,
154
+ 0.01350696012377739,
155
+ 0.01345173642039299,
156
+ 0.013591920025646687,
157
+ 0.013205344788730145,
158
+ 0.01327508594840765,
159
+ 0.013286015950143337,
160
+ 0.013271508738398552,
161
+ 0.013275175355374813,
162
+ 0.01340556051582098,
163
+ 0.013237454928457737,
164
+ 0.013269043527543545,
165
+ 0.013266097754240036,
166
+ 0.013387937098741531,
167
+ 0.013316133059561253,
168
+ 0.0135231614112854,
169
+ 0.01330757699906826,
170
+ 0.01518827211111784,
171
+ 0.01498947013169527,
172
+ 0.014381790533661842,
173
+ 0.012849448248744011,
174
+ 0.012833258137106895,
175
+ 0.01277841441333294,
176
+ 0.012757246382534504,
177
+ 0.01277922559529543,
178
+ 0.012846463359892368,
179
+ 0.012949345633387566,
180
+ 0.012779676355421543,
181
+ 0.01276503037661314,
182
+ 0.012823337689042091,
183
+ 0.01280023530125618,
184
+ 0.01280030608177185,
185
+ 0.012851080857217312,
186
+ 0.01281034480780363,
187
+ 0.012781369499862194,
188
+ 0.012837535701692104,
189
+ 0.012843586504459381,
190
+ 0.012832175008952618,
191
+ 0.012785819359123707,
192
+ 0.030748971737921238,
193
+ 0.019308296032249928,
194
+ 0.01929079368710518,
195
+ 0.013026909902691841,
196
+ 0.012960856780409813,
197
+ 0.012909481301903725,
198
+ 0.01283207442611456,
199
+ 0.012735874392092228,
200
+ 0.0128360316157341,
201
+ 0.01281804870814085,
202
+ 0.012826554477214813,
203
+ 0.01280226930975914,
204
+ 0.012883090414106846,
205
+ 0.012832175008952618,
206
+ 0.012827487662434578,
207
+ 0.013161363080143929,
208
+ 0.013353902846574783,
209
+ 0.013474230654537678,
210
+ 0.013304339721798897,
211
+ 0.025504721328616142,
212
+ 0.013331371359527111,
213
+ 0.013482905924320221,
214
+ 0.013226453214883804,
215
+ 0.013216877356171608,
216
+ 0.013500909321010113,
217
+ 0.013174005784094334,
218
+ 0.013559439219534397,
219
+ 0.013263463042676449,
220
+ 0.013299130834639072,
221
+ 0.013256601057946682,
222
+ 0.0132904639467597,
223
+ 0.013352160342037678,
224
+ 0.013316112570464611
225
+ ]
226
+ },
227
+ "throughput": {
228
+ "unit": "samples/s",
229
+ "value": 72.67693143850653
230
+ },
231
+ "energy": {
232
+ "unit": "kWh",
233
+ "cpu": 4.59740020206495e-07,
234
+ "ram": 7.714110161284184e-07,
235
+ "gpu": 0.0,
236
+ "total": 1.2311510363349134e-06
237
+ },
238
+ "efficiency": {
239
+ "unit": "samples/kWh",
240
+ "value": 812248.0268358944
241
+ }
242
+ }
243
+ }
244
+ }