Commit
•
2f90a46
1
Parent(s):
b257041
Upload cuda_inference_transformers_text-generation_openai-community/gpt2/benchmark.json with huggingface_hub
Browse files
cuda_inference_transformers_text-generation_openai-community/gpt2/benchmark.json
CHANGED
@@ -11,7 +11,7 @@
|
|
11 |
"model": "openai-community/gpt2",
|
12 |
"processor": "openai-community/gpt2",
|
13 |
"device": "cuda",
|
14 |
-
"device_ids": "
|
15 |
"seed": 42,
|
16 |
"inter_op_num_threads": null,
|
17 |
"intra_op_num_threads": null,
|
@@ -44,9 +44,9 @@
|
|
44 |
"duration": 1,
|
45 |
"warmup_runs": 1,
|
46 |
"input_shapes": {
|
47 |
-
"batch_size":
|
48 |
-
"
|
49 |
-
"
|
50 |
},
|
51 |
"new_tokens": null,
|
52 |
"memory": true,
|
@@ -93,15 +93,15 @@
|
|
93 |
"gpu_vram_mb": 549621596160,
|
94 |
"optimum_benchmark_version": "0.5.0.dev0",
|
95 |
"optimum_benchmark_commit": null,
|
96 |
-
"transformers_version": "4.
|
97 |
"transformers_commit": null,
|
98 |
-
"accelerate_version": "1.
|
99 |
"accelerate_commit": null,
|
100 |
-
"diffusers_version": "0.
|
101 |
"diffusers_commit": null,
|
102 |
"optimum_version": null,
|
103 |
"optimum_commit": null,
|
104 |
-
"timm_version": "1.0.
|
105 |
"timm_commit": null,
|
106 |
"peft_version": "0.13.2",
|
107 |
"peft_commit": null
|
@@ -110,27 +110,27 @@
|
|
110 |
"log_report": true
|
111 |
},
|
112 |
"report": {
|
113 |
-
"
|
114 |
"memory": {
|
115 |
"unit": "MB",
|
116 |
-
"max_ram":
|
117 |
"max_global_vram": 68702.69952,
|
118 |
-
"max_process_vram":
|
119 |
"max_reserved": 725.614592,
|
120 |
"max_allocated": 666.338304
|
121 |
},
|
122 |
"latency": {
|
123 |
"unit": "s",
|
124 |
"values": [
|
125 |
-
0.
|
126 |
],
|
127 |
"count": 1,
|
128 |
-
"total": 0.
|
129 |
-
"mean": 0.
|
130 |
-
"p50": 0.
|
131 |
-
"p90": 0.
|
132 |
-
"p95": 0.
|
133 |
-
"p99": 0.
|
134 |
"stdev": 0,
|
135 |
"stdev_": 0
|
136 |
},
|
@@ -141,90 +141,88 @@
|
|
141 |
"prefill": {
|
142 |
"memory": {
|
143 |
"unit": "MB",
|
144 |
-
"max_ram":
|
145 |
"max_global_vram": 68702.69952,
|
146 |
-
"max_process_vram":
|
147 |
-
"max_reserved":
|
148 |
-
"max_allocated":
|
149 |
},
|
150 |
"latency": {
|
151 |
"unit": "s",
|
152 |
"values": [
|
153 |
-
0.
|
154 |
-
0.
|
155 |
-
0.
|
156 |
-
0.
|
157 |
-
0.
|
158 |
-
0.
|
159 |
-
0.
|
160 |
-
0.
|
161 |
-
0.
|
162 |
-
0.
|
163 |
-
0.
|
164 |
-
0.
|
165 |
-
0.
|
166 |
-
0.
|
167 |
-
0.
|
168 |
-
0.
|
169 |
-
0.
|
170 |
-
0.
|
171 |
-
0.
|
172 |
-
0.
|
173 |
-
0.
|
174 |
-
0.
|
175 |
-
0.
|
176 |
-
0.
|
177 |
-
0.
|
178 |
-
0.
|
179 |
-
0.
|
180 |
-
0.
|
181 |
-
0.
|
182 |
-
0.
|
183 |
-
0.
|
184 |
-
0.
|
185 |
-
0.
|
186 |
-
0.
|
187 |
-
0.
|
188 |
-
0.
|
189 |
-
0.
|
190 |
-
0.
|
191 |
-
0.
|
192 |
-
0.
|
193 |
-
0.
|
194 |
-
0.
|
195 |
-
0.
|
196 |
-
0.
|
197 |
-
0.
|
198 |
-
0.
|
199 |
-
0.
|
200 |
-
0.
|
201 |
-
0.
|
202 |
-
0.
|
203 |
-
0.
|
204 |
-
0.
|
205 |
-
0.
|
206 |
-
0.
|
207 |
-
0.
|
208 |
-
0.
|
209 |
-
0.
|
210 |
-
0.
|
211 |
-
0.
|
212 |
-
0.009094894409179688,
|
213 |
-
0.009128334045410157
|
214 |
],
|
215 |
-
"count":
|
216 |
-
"total": 0.
|
217 |
-
"mean": 0.
|
218 |
-
"p50": 0.
|
219 |
-
"p90": 0.
|
220 |
-
"p95": 0.
|
221 |
-
"p99": 0.
|
222 |
-
"stdev": 0.
|
223 |
-
"stdev_":
|
224 |
},
|
225 |
"throughput": {
|
226 |
-
"unit": "
|
227 |
-
"value":
|
228 |
},
|
229 |
"energy": null,
|
230 |
"efficiency": null
|
@@ -232,90 +230,88 @@
|
|
232 |
"decode": {
|
233 |
"memory": {
|
234 |
"unit": "MB",
|
235 |
-
"max_ram":
|
236 |
"max_global_vram": 68702.69952,
|
237 |
-
"max_process_vram":
|
238 |
-
"max_reserved":
|
239 |
-
"max_allocated":
|
240 |
},
|
241 |
"latency": {
|
242 |
"unit": "s",
|
243 |
"values": [
|
244 |
-
0.
|
245 |
-
0.
|
246 |
-
0.
|
247 |
-
0.
|
248 |
-
0.
|
249 |
-
0.
|
250 |
-
0.
|
251 |
-
0.
|
252 |
-
0.
|
253 |
-
0.
|
254 |
-
0.
|
255 |
-
0.
|
256 |
-
0.
|
257 |
-
0.
|
258 |
-
0.
|
259 |
-
0.
|
260 |
-
0.
|
261 |
-
0.
|
262 |
-
0.
|
263 |
-
0.
|
264 |
-
0.
|
265 |
-
0.
|
266 |
-
0.
|
267 |
-
0.
|
268 |
-
0.
|
269 |
-
0.
|
270 |
-
0.
|
271 |
-
0.
|
272 |
-
0.
|
273 |
-
0.
|
274 |
-
0.
|
275 |
-
0.
|
276 |
-
0.
|
277 |
-
0.
|
278 |
-
0.
|
279 |
-
0.
|
280 |
-
0.
|
281 |
-
0.
|
282 |
-
0.
|
283 |
-
0.
|
284 |
-
0.
|
285 |
-
0.
|
286 |
-
0.
|
287 |
-
0.
|
288 |
-
0.
|
289 |
-
0.
|
290 |
-
0.
|
291 |
-
0.
|
292 |
-
0.
|
293 |
-
0.
|
294 |
-
0.
|
295 |
-
0.
|
296 |
-
0.
|
297 |
-
0.
|
298 |
-
0.
|
299 |
-
0.
|
300 |
-
0.
|
301 |
-
0.
|
302 |
-
0.
|
303 |
-
0.008440492630004882,
|
304 |
-
0.00845393180847168
|
305 |
],
|
306 |
-
"count":
|
307 |
-
"total": 0.
|
308 |
-
"mean": 0.
|
309 |
-
"p50": 0.
|
310 |
-
"p90": 0.
|
311 |
-
"p95": 0.
|
312 |
-
"p99": 0.
|
313 |
-
"stdev": 0.
|
314 |
-
"stdev_":
|
315 |
},
|
316 |
"throughput": {
|
317 |
"unit": "tokens/s",
|
318 |
-
"value":
|
319 |
},
|
320 |
"energy": null,
|
321 |
"efficiency": null
|
@@ -325,82 +321,77 @@
|
|
325 |
"latency": {
|
326 |
"unit": "s",
|
327 |
"values": [
|
328 |
-
0.
|
329 |
-
0.
|
330 |
-
0.
|
331 |
-
0.
|
332 |
-
0.
|
333 |
-
0.
|
334 |
-
0.
|
335 |
-
0.
|
336 |
-
0.
|
337 |
-
0.
|
338 |
-
0.
|
339 |
-
0.
|
340 |
-
0.
|
341 |
-
0.
|
342 |
-
0.
|
343 |
-
0.
|
344 |
-
0.
|
345 |
-
0.
|
346 |
-
0.
|
347 |
-
0.
|
348 |
-
0.
|
349 |
-
0.
|
350 |
-
0.
|
351 |
-
0.
|
352 |
-
0.
|
353 |
-
0.
|
354 |
-
0.
|
355 |
-
0.
|
356 |
-
0.
|
357 |
-
0.
|
358 |
-
0.
|
359 |
-
0.
|
360 |
-
0.
|
361 |
-
0.
|
362 |
-
0.
|
363 |
-
0.
|
364 |
-
0.
|
365 |
-
0.
|
366 |
-
0.
|
367 |
-
0.
|
368 |
-
0.
|
369 |
-
0.
|
370 |
-
0.
|
371 |
-
0.
|
372 |
-
0.
|
373 |
-
0.
|
374 |
-
0.
|
375 |
-
0.
|
376 |
-
0.
|
377 |
-
0.
|
378 |
-
0.
|
379 |
-
0.
|
380 |
-
0.
|
381 |
-
0.
|
382 |
-
0.
|
383 |
-
0.
|
384 |
-
0.
|
385 |
-
0.
|
386 |
-
0.
|
387 |
-
0.007880971908569337,
|
388 |
-
0.007900492191314697
|
389 |
],
|
390 |
-
"count":
|
391 |
-
"total": 0.
|
392 |
-
"mean": 0.
|
393 |
-
"p50": 0.
|
394 |
-
"p90": 0.
|
395 |
-
"p95": 0.
|
396 |
-
"p99": 0.
|
397 |
-
"stdev": 0.
|
398 |
-
"stdev_":
|
399 |
-
},
|
400 |
-
"throughput": {
|
401 |
-
"unit": "tokens/s",
|
402 |
-
"value": 134.6003427755011
|
403 |
},
|
|
|
404 |
"energy": null,
|
405 |
"efficiency": null
|
406 |
}
|
|
|
11 |
"model": "openai-community/gpt2",
|
12 |
"processor": "openai-community/gpt2",
|
13 |
"device": "cuda",
|
14 |
+
"device_ids": "5",
|
15 |
"seed": 42,
|
16 |
"inter_op_num_threads": null,
|
17 |
"intra_op_num_threads": null,
|
|
|
44 |
"duration": 1,
|
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,
|
|
|
93 |
"gpu_vram_mb": 549621596160,
|
94 |
"optimum_benchmark_version": "0.5.0.dev0",
|
95 |
"optimum_benchmark_commit": null,
|
96 |
+
"transformers_version": "4.46.3",
|
97 |
"transformers_commit": null,
|
98 |
+
"accelerate_version": "1.1.1",
|
99 |
"accelerate_commit": null,
|
100 |
+
"diffusers_version": "0.31.0",
|
101 |
"diffusers_commit": null,
|
102 |
"optimum_version": null,
|
103 |
"optimum_commit": null,
|
104 |
+
"timm_version": "1.0.11",
|
105 |
"timm_commit": null,
|
106 |
"peft_version": "0.13.2",
|
107 |
"peft_commit": null
|
|
|
110 |
"log_report": true
|
111 |
},
|
112 |
"report": {
|
113 |
+
"load_model": {
|
114 |
"memory": {
|
115 |
"unit": "MB",
|
116 |
+
"max_ram": 1109.884928,
|
117 |
"max_global_vram": 68702.69952,
|
118 |
+
"max_process_vram": 4997.79584,
|
119 |
"max_reserved": 725.614592,
|
120 |
"max_allocated": 666.338304
|
121 |
},
|
122 |
"latency": {
|
123 |
"unit": "s",
|
124 |
"values": [
|
125 |
+
0.09667758178710938
|
126 |
],
|
127 |
"count": 1,
|
128 |
+
"total": 0.09667758178710938,
|
129 |
+
"mean": 0.09667758178710938,
|
130 |
+
"p50": 0.09667758178710938,
|
131 |
+
"p90": 0.09667758178710938,
|
132 |
+
"p95": 0.09667758178710938,
|
133 |
+
"p99": 0.09667758178710938,
|
134 |
"stdev": 0,
|
135 |
"stdev_": 0
|
136 |
},
|
|
|
141 |
"prefill": {
|
142 |
"memory": {
|
143 |
"unit": "MB",
|
144 |
+
"max_ram": 1287.233536,
|
145 |
"max_global_vram": 68702.69952,
|
146 |
+
"max_process_vram": 224962.58048,
|
147 |
+
"max_reserved": 731.906048,
|
148 |
+
"max_allocated": 529.219072
|
149 |
},
|
150 |
"latency": {
|
151 |
"unit": "s",
|
152 |
"values": [
|
153 |
+
0.008611504554748534,
|
154 |
+
0.00876910400390625,
|
155 |
+
0.008783184051513671,
|
156 |
+
0.008785903930664063,
|
157 |
+
0.008792143821716308,
|
158 |
+
0.008788944244384766,
|
159 |
+
0.008790703773498535,
|
160 |
+
0.008828304290771484,
|
161 |
+
0.008792144775390625,
|
162 |
+
0.008774703979492187,
|
163 |
+
0.008782383918762206,
|
164 |
+
0.0087847843170166,
|
165 |
+
0.008796143531799316,
|
166 |
+
0.008925904273986816,
|
167 |
+
0.008785264015197754,
|
168 |
+
0.008843024253845215,
|
169 |
+
0.008788304328918457,
|
170 |
+
0.00884046459197998,
|
171 |
+
0.009953581809997558,
|
172 |
+
0.009867341995239257,
|
173 |
+
0.009851181983947754,
|
174 |
+
0.00921582317352295,
|
175 |
+
0.00913742446899414,
|
176 |
+
0.009408462524414062,
|
177 |
+
0.009961421966552735,
|
178 |
+
0.009330544471740723,
|
179 |
+
0.008868783950805663,
|
180 |
+
0.00883614444732666,
|
181 |
+
0.008815024375915527,
|
182 |
+
0.008791343688964844,
|
183 |
+
0.008849743843078614,
|
184 |
+
0.008868304252624512,
|
185 |
+
0.008816464424133301,
|
186 |
+
0.008813103675842286,
|
187 |
+
0.008887344360351563,
|
188 |
+
0.008857904434204101,
|
189 |
+
0.008878704071044921,
|
190 |
+
0.008812784194946289,
|
191 |
+
0.008748144149780273,
|
192 |
+
0.008768783569335938,
|
193 |
+
0.008829903602600098,
|
194 |
+
0.008777745246887207,
|
195 |
+
0.00884382438659668,
|
196 |
+
0.008754063606262207,
|
197 |
+
0.00878974437713623,
|
198 |
+
0.008899824142456055,
|
199 |
+
0.008855824470520019,
|
200 |
+
0.008782544136047364,
|
201 |
+
0.008819025039672851,
|
202 |
+
0.008767663955688476,
|
203 |
+
0.008807344436645508,
|
204 |
+
0.008816464424133301,
|
205 |
+
0.00882414436340332,
|
206 |
+
0.008788463592529296,
|
207 |
+
0.008800623893737793,
|
208 |
+
0.008820943832397461,
|
209 |
+
0.008778223991394043,
|
210 |
+
0.008782064437866211,
|
211 |
+
0.008822064399719238
|
|
|
|
|
212 |
],
|
213 |
+
"count": 59,
|
214 |
+
"total": 0.5259617748260497,
|
215 |
+
"mean": 0.008914606352983894,
|
216 |
+
"p50": 0.008815024375915527,
|
217 |
+
"p90": 0.009238767433166505,
|
218 |
+
"p95": 0.009852797985076904,
|
219 |
+
"p99": 0.009956874675750732,
|
220 |
+
"stdev": 0.00029700131336387854,
|
221 |
+
"stdev_": 3.331625666953498
|
222 |
},
|
223 |
"throughput": {
|
224 |
+
"unit": "samples/s",
|
225 |
+
"value": 224.35090466227493
|
226 |
},
|
227 |
"energy": null,
|
228 |
"efficiency": null
|
|
|
230 |
"decode": {
|
231 |
"memory": {
|
232 |
"unit": "MB",
|
233 |
+
"max_ram": 1287.24992,
|
234 |
"max_global_vram": 68702.69952,
|
235 |
+
"max_process_vram": 287672.410112,
|
236 |
+
"max_reserved": 731.906048,
|
237 |
+
"max_allocated": 529.219584
|
238 |
},
|
239 |
"latency": {
|
240 |
"unit": "s",
|
241 |
"values": [
|
242 |
+
0.007751666069030762,
|
243 |
+
0.007804306030273438,
|
244 |
+
0.007844786167144775,
|
245 |
+
0.008123665809631348,
|
246 |
+
0.0077987060546875,
|
247 |
+
0.007873586177825928,
|
248 |
+
0.007883666038513183,
|
249 |
+
0.007960305213928223,
|
250 |
+
0.007953104972839355,
|
251 |
+
0.007988626003265381,
|
252 |
+
0.007965906143188477,
|
253 |
+
0.007902865886688232,
|
254 |
+
0.00797502613067627,
|
255 |
+
0.008024305343627929,
|
256 |
+
0.007931665897369385,
|
257 |
+
0.008028306007385255,
|
258 |
+
0.007934225082397462,
|
259 |
+
0.008242384910583496,
|
260 |
+
0.008776944160461425,
|
261 |
+
0.008915504455566407,
|
262 |
+
0.008161266326904297,
|
263 |
+
0.008177905082702637,
|
264 |
+
0.008840784072875977,
|
265 |
+
0.008810864448547364,
|
266 |
+
0.008739504814147949,
|
267 |
+
0.008165104866027832,
|
268 |
+
0.007978705883026124,
|
269 |
+
0.00795998477935791,
|
270 |
+
0.00801374626159668,
|
271 |
+
0.007961746215820312,
|
272 |
+
0.007919506072998047,
|
273 |
+
0.007949265003204345,
|
274 |
+
0.008024625778198242,
|
275 |
+
0.007931506156921387,
|
276 |
+
0.008056144714355468,
|
277 |
+
0.008033266067504883,
|
278 |
+
0.0079931058883667,
|
279 |
+
0.008040624618530274,
|
280 |
+
0.008042705535888673,
|
281 |
+
0.008014065742492676,
|
282 |
+
0.007972465038299561,
|
283 |
+
0.008037745475769043,
|
284 |
+
0.007974545955657959,
|
285 |
+
0.007976146221160888,
|
286 |
+
0.007995346069335937,
|
287 |
+
0.007986226081848145,
|
288 |
+
0.008052946090698242,
|
289 |
+
0.007949585914611817,
|
290 |
+
0.007989105224609374,
|
291 |
+
0.007917265892028808,
|
292 |
+
0.007880946159362794,
|
293 |
+
0.007942225933074951,
|
294 |
+
0.00793406581878662,
|
295 |
+
0.007945106029510499,
|
296 |
+
0.00806846523284912,
|
297 |
+
0.007940945148468017,
|
298 |
+
0.007968145847320557,
|
299 |
+
0.00790526580810547,
|
300 |
+
0.00798046588897705
|
|
|
|
|
301 |
],
|
302 |
+
"count": 59,
|
303 |
+
"total": 0.47491099071502685,
|
304 |
+
"mean": 0.008049338825678421,
|
305 |
+
"p50": 0.007976146221160888,
|
306 |
+
"p90": 0.008190801048278809,
|
307 |
+
"p95": 0.00878033618927002,
|
308 |
+
"p99": 0.008872166633605958,
|
309 |
+
"stdev": 0.00024952125194848014,
|
310 |
+
"stdev_": 3.099897486641703
|
311 |
},
|
312 |
"throughput": {
|
313 |
"unit": "tokens/s",
|
314 |
+
"value": 248.46761247268458
|
315 |
},
|
316 |
"energy": null,
|
317 |
"efficiency": null
|
|
|
321 |
"latency": {
|
322 |
"unit": "s",
|
323 |
"values": [
|
324 |
+
0.007253107070922852,
|
325 |
+
0.007300467014312744,
|
326 |
+
0.0073161468505859376,
|
327 |
+
0.007538547039031982,
|
328 |
+
0.0072857470512390134,
|
329 |
+
0.007333106994628906,
|
330 |
+
0.007341426849365234,
|
331 |
+
0.0073462271690368655,
|
332 |
+
0.007362706184387207,
|
333 |
+
0.007342226982116699,
|
334 |
+
0.007352787017822266,
|
335 |
+
0.007346386909484863,
|
336 |
+
0.007364946842193604,
|
337 |
+
0.007384466171264648,
|
338 |
+
0.007375667095184326,
|
339 |
+
0.007398066997528076,
|
340 |
+
0.007372626781463623,
|
341 |
+
0.007741586208343506,
|
342 |
+
0.00826398468017578,
|
343 |
+
0.008306705474853515,
|
344 |
+
0.007657907009124756,
|
345 |
+
0.007706225872039795,
|
346 |
+
0.008281905174255371,
|
347 |
+
0.008281584739685058,
|
348 |
+
0.008251984596252442,
|
349 |
+
0.0075345458984375,
|
350 |
+
0.0073492670059204105,
|
351 |
+
0.007366065979003906,
|
352 |
+
0.007452627182006836,
|
353 |
+
0.007348466873168946,
|
354 |
+
0.007328627109527588,
|
355 |
+
0.007331185817718506,
|
356 |
+
0.007416306972503662,
|
357 |
+
0.007359507083892822,
|
358 |
+
0.007452146053314209,
|
359 |
+
0.007434546947479248,
|
360 |
+
0.007431666851043701,
|
361 |
+
0.007439186096191406,
|
362 |
+
0.007411187171936035,
|
363 |
+
0.0074270272254943846,
|
364 |
+
0.007385426044464112,
|
365 |
+
0.007456625938415527,
|
366 |
+
0.00735694694519043,
|
367 |
+
0.007402387142181397,
|
368 |
+
0.00742238712310791,
|
369 |
+
0.007385107040405273,
|
370 |
+
0.007436946868896484,
|
371 |
+
0.0073284668922424315,
|
372 |
+
0.007338706016540527,
|
373 |
+
0.007340627193450928,
|
374 |
+
0.007327507019042969,
|
375 |
+
0.007339986801147461,
|
376 |
+
0.007350226879119873,
|
377 |
+
0.00736558723449707,
|
378 |
+
0.007475185871124268,
|
379 |
+
0.007346705913543701,
|
380 |
+
0.007345907211303711,
|
381 |
+
0.007340466976165772,
|
382 |
+
0.007351346969604492
|
|
|
|
|
383 |
],
|
384 |
+
"count": 59,
|
385 |
+
"total": 0.4406854491233826,
|
386 |
+
"mean": 0.007469244900396314,
|
387 |
+
"p50": 0.007366065979003906,
|
388 |
+
"p90": 0.0077132979393005376,
|
389 |
+
"p95": 0.008265744686126708,
|
390 |
+
"p99": 0.008292321300506592,
|
391 |
+
"stdev": 0.0002614692335466008,
|
392 |
+
"stdev_": 3.5006113339880898
|
|
|
|
|
|
|
|
|
393 |
},
|
394 |
+
"throughput": null,
|
395 |
"energy": null,
|
396 |
"efficiency": null
|
397 |
}
|