IlyasMoutawwakil HF staff commited on
Commit
cc276e9
1 Parent(s): e15948a

Upload cpu_inference_transformers_text-generation_openai-community/gpt2/benchmark.json with huggingface_hub

Browse files
cpu_inference_transformers_text-generation_openai-community/gpt2/benchmark.json CHANGED
@@ -45,7 +45,8 @@
45
  "warmup_runs": 1,
46
  "input_shapes": {
47
  "batch_size": 2,
48
- "sequence_length": 16
 
49
  },
50
  "new_tokens": null,
51
  "memory": true,
@@ -79,7 +80,7 @@
79
  "processor": "x86_64",
80
  "python_version": "3.10.15",
81
  "optimum_benchmark_version": "0.5.0.dev0",
82
- "optimum_benchmark_commit": "9104793fa9ba932870d9ceb029cd628a1388b11e",
83
  "transformers_version": "4.46.3",
84
  "transformers_commit": null,
85
  "accelerate_version": "1.1.1",
@@ -97,10 +98,10 @@
97
  "log_report": true
98
  },
99
  "report": {
100
- "load": {
101
  "memory": {
102
  "unit": "MB",
103
- "max_ram": 1128.972288,
104
  "max_global_vram": null,
105
  "max_process_vram": null,
106
  "max_reserved": null,
@@ -109,26 +110,32 @@
109
  "latency": {
110
  "unit": "s",
111
  "values": [
112
- 1.721552040000006
113
  ],
114
  "count": 1,
115
- "total": 1.721552040000006,
116
- "mean": 1.721552040000006,
117
- "p50": 1.721552040000006,
118
- "p90": 1.721552040000006,
119
- "p95": 1.721552040000006,
120
- "p99": 1.721552040000006,
121
  "stdev": 0,
122
  "stdev_": 0
123
  },
124
  "throughput": null,
125
- "energy": null,
 
 
 
 
 
 
126
  "efficiency": null
127
  },
128
  "prefill": {
129
  "memory": {
130
  "unit": "MB",
131
- "max_ram": 1016.725504,
132
  "max_global_vram": null,
133
  "max_process_vram": null,
134
  "max_reserved": null,
@@ -137,44 +144,44 @@
137
  "latency": {
138
  "unit": "s",
139
  "values": [
140
- 0.11006252300001051,
141
- 0.11751415600002701,
142
- 0.11319680099995821,
143
- 0.11079609900002652,
144
- 0.1102337439999701,
145
- 0.10874600099998588,
146
- 0.11641410300001098
147
  ],
148
  "count": 7,
149
- "total": 0.7869634269999892,
150
- "mean": 0.11242334671428418,
151
- "p50": 0.11079609900002652,
152
- "p90": 0.1168541242000174,
153
- "p95": 0.1171841401000222,
154
- "p99": 0.11744815282002605,
155
- "stdev": 0.0031391391388253097,
156
- "stdev_": 2.7922484346629575
157
  },
158
  "throughput": {
159
- "unit": "tokens/s",
160
- "value": 284.6383863782822
161
  },
162
  "energy": {
163
  "unit": "kWh",
164
- "cpu": 4.0603973161111325e-06,
165
- "ram": 1.6969213605655676e-07,
166
  "gpu": 0.0,
167
- "total": 4.230089452167689e-06
168
  },
169
  "efficiency": {
170
- "unit": "tokens/kWh",
171
- "value": 7564851.845769303
172
  }
173
  },
174
  "decode": {
175
  "memory": {
176
  "unit": "MB",
177
- "max_ram": 1018.69568,
178
  "max_global_vram": null,
179
  "max_process_vram": null,
180
  "max_reserved": null,
@@ -183,38 +190,38 @@
183
  "latency": {
184
  "unit": "s",
185
  "values": [
186
- 0.047193404999973154,
187
- 0.04853139299996201,
188
- 0.04775638000000981,
189
- 0.04997743500001661,
190
- 0.0491628080000055,
191
- 0.04247845400004735,
192
- 0.04265343099996244
193
  ],
194
  "count": 7,
195
- "total": 0.3277533059999769,
196
- "mean": 0.04682190085713955,
197
- "p50": 0.04775638000000981,
198
- "p90": 0.049488658800009945,
199
- "p95": 0.049733046900013275,
200
- "p99": 0.04992855738001595,
201
- "stdev": 0.0028186253871583717,
202
- "stdev_": 6.019886710192328
203
  },
204
  "throughput": {
205
  "unit": "tokens/s",
206
- "value": 42.71505349819717
207
  },
208
  "energy": {
209
  "unit": "kWh",
210
- "cpu": 1.6383290894445212e-06,
211
- "ram": 6.846769303490792e-08,
212
  "gpu": 0.0,
213
- "total": 1.7067967824794315e-06
214
  },
215
  "efficiency": {
216
  "unit": "tokens/kWh",
217
- "value": 1171785.6633726703
218
  }
219
  },
220
  "per_token": {
@@ -222,28 +229,25 @@
222
  "latency": {
223
  "unit": "s",
224
  "values": [
225
- 0.04592370399996071,
226
- 0.047344837999958145,
227
- 0.04652628300004835,
228
- 0.04877996999999823,
229
- 0.04790436800004727,
230
- 0.041267513000036615,
231
- 0.041708228999993935
232
  ],
233
  "count": 7,
234
- "total": 0.31945490500004325,
235
- "mean": 0.04563641500000618,
236
- "p50": 0.04652628300004835,
237
- "p90": 0.04825460880002765,
238
- "p95": 0.048517289400012945,
239
- "p99": 0.04872743388000117,
240
- "stdev": 0.0027603469750366906,
241
- "stdev_": 6.048562261159902
242
- },
243
- "throughput": {
244
- "unit": "tokens/s",
245
- "value": 43.824651870654804
246
  },
 
247
  "energy": null,
248
  "efficiency": null
249
  }
 
45
  "warmup_runs": 1,
46
  "input_shapes": {
47
  "batch_size": 2,
48
+ "sequence_length": 16,
49
+ "num_choices": 2
50
  },
51
  "new_tokens": null,
52
  "memory": true,
 
80
  "processor": "x86_64",
81
  "python_version": "3.10.15",
82
  "optimum_benchmark_version": "0.5.0.dev0",
83
+ "optimum_benchmark_commit": "1af9eb008cb7e5a73696ea580f926b32aa726d12",
84
  "transformers_version": "4.46.3",
85
  "transformers_commit": null,
86
  "accelerate_version": "1.1.1",
 
98
  "log_report": true
99
  },
100
  "report": {
101
+ "load_model": {
102
  "memory": {
103
  "unit": "MB",
104
+ "max_ram": 1131.384832,
105
  "max_global_vram": null,
106
  "max_process_vram": null,
107
  "max_reserved": null,
 
110
  "latency": {
111
  "unit": "s",
112
  "values": [
113
+ 1.7704266750000102
114
  ],
115
  "count": 1,
116
+ "total": 1.7704266750000102,
117
+ "mean": 1.7704266750000102,
118
+ "p50": 1.7704266750000102,
119
+ "p90": 1.7704266750000102,
120
+ "p95": 1.7704266750000102,
121
+ "p99": 1.7704266750000102,
122
  "stdev": 0,
123
  "stdev_": 0
124
  },
125
  "throughput": null,
126
+ "energy": {
127
+ "unit": "kWh",
128
+ "cpu": 0.00019993497607222272,
129
+ "ram": 8.357487779306238e-06,
130
+ "gpu": 0,
131
+ "total": 0.00020829246385152897
132
+ },
133
  "efficiency": null
134
  },
135
  "prefill": {
136
  "memory": {
137
  "unit": "MB",
138
+ "max_ram": 1014.386688,
139
  "max_global_vram": null,
140
  "max_process_vram": null,
141
  "max_reserved": null,
 
144
  "latency": {
145
  "unit": "s",
146
  "values": [
147
+ 0.14783408299999223,
148
+ 0.14743117400001893,
149
+ 0.11171024699999066,
150
+ 0.10162863400000788,
151
+ 0.10082855499999255,
152
+ 0.10343215500000724,
153
+ 0.1025217909999867
154
  ],
155
  "count": 7,
156
+ "total": 0.8153866389999962,
157
+ "mean": 0.11648380557142803,
158
+ "p50": 0.10343215500000724,
159
+ "p90": 0.14759233760000826,
160
+ "p95": 0.14771321030000023,
161
+ "p99": 0.14780990845999384,
162
+ "stdev": 0.019980035733344993,
163
+ "stdev_": 17.152629616906882
164
  },
165
  "throughput": {
166
+ "unit": "samples/s",
167
+ "value": 17.1697687089524
168
  },
169
  "energy": {
170
  "unit": "kWh",
171
+ "cpu": 3.982604480555507e-06,
172
+ "ram": 1.664408373936839e-07,
173
  "gpu": 0.0,
174
+ "total": 4.149045317949191e-06
175
  },
176
  "efficiency": {
177
+ "unit": "samples/kWh",
178
+ "value": 482038.60086748085
179
  }
180
  },
181
  "decode": {
182
  "memory": {
183
  "unit": "MB",
184
+ "max_ram": 1022.808064,
185
  "max_global_vram": null,
186
  "max_process_vram": null,
187
  "max_reserved": null,
 
190
  "latency": {
191
  "unit": "s",
192
  "values": [
193
+ 0.04668609600000195,
194
+ 0.04664625099999853,
195
+ 0.04148627700001839,
196
+ 0.04116522999999006,
197
+ 0.04115808599999582,
198
+ 0.041363026999988506,
199
+ 0.04166488900000331
200
  ],
201
  "count": 7,
202
+ "total": 0.30016985599999657,
203
+ "mean": 0.04288140799999951,
204
+ "p50": 0.04148627700001839,
205
+ "p90": 0.046662188999999896,
206
+ "p95": 0.046674142500000924,
207
+ "p99": 0.046683705300001745,
208
+ "stdev": 0.002399303145292454,
209
+ "stdev_": 5.595206074605763
210
  },
211
  "throughput": {
212
  "unit": "tokens/s",
213
+ "value": 46.64025957356677
214
  },
215
  "energy": {
216
  "unit": "kWh",
217
+ "cpu": 1.5587437541666564e-06,
218
+ "ram": 6.514778224543256e-08,
219
  "gpu": 0.0,
220
+ "total": 1.6238915364120896e-06
221
  },
222
  "efficiency": {
223
  "unit": "tokens/kWh",
224
+ "value": 1231609.350227235
225
  }
226
  },
227
  "per_token": {
 
229
  "latency": {
230
  "unit": "s",
231
  "values": [
232
+ 0.04538736099999596,
233
+ 0.04533655499997735,
234
+ 0.040346306999992976,
235
+ 0.04016835699999888,
236
+ 0.04007773800000791,
237
+ 0.040290352999988954,
238
+ 0.040577594000012596
239
  ],
240
  "count": 7,
241
+ "total": 0.29218426499997463,
242
+ "mean": 0.04174060928571066,
243
+ "p50": 0.040346306999992976,
244
+ "p90": 0.0453568773999848,
245
+ "p95": 0.04537211919999038,
246
+ "p99": 0.045384312639994845,
247
+ "stdev": 0.002294921988133697,
248
+ "stdev_": 5.498055796035859
 
 
 
 
249
  },
250
+ "throughput": null,
251
  "energy": null,
252
  "efficiency": null
253
  }