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
@@ -6,19 +6,17 @@
|
|
6 |
"version": "2.2.2+rocm5.7",
|
7 |
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
|
8 |
"task": "text-generation",
|
9 |
-
"model": "openai-community/gpt2",
|
10 |
"library": "transformers",
|
|
|
|
|
11 |
"device": "cuda",
|
12 |
"device_ids": "0",
|
13 |
"seed": 42,
|
14 |
"inter_op_num_threads": null,
|
15 |
"intra_op_num_threads": null,
|
16 |
-
"
|
17 |
-
|
18 |
-
|
19 |
-
"local_files_only": false,
|
20 |
-
"trust_remote_code": false
|
21 |
-
},
|
22 |
"no_weights": true,
|
23 |
"device_map": null,
|
24 |
"torch_dtype": null,
|
@@ -85,7 +83,7 @@
|
|
85 |
"gpu_count": 1,
|
86 |
"gpu_vram_mb": 68702699520,
|
87 |
"optimum_benchmark_version": "0.2.0",
|
88 |
-
"optimum_benchmark_commit": "
|
89 |
"transformers_version": "4.40.2",
|
90 |
"transformers_commit": null,
|
91 |
"accelerate_version": "0.30.1",
|
@@ -104,81 +102,86 @@
|
|
104 |
"prefill": {
|
105 |
"memory": {
|
106 |
"unit": "MB",
|
107 |
-
"max_ram": 1047.
|
108 |
-
"max_global_vram": 1118.
|
109 |
-
"max_process_vram":
|
110 |
"max_reserved": 725.614592,
|
111 |
"max_allocated": 512.832512
|
112 |
},
|
113 |
"latency": {
|
114 |
"unit": "s",
|
115 |
-
"count":
|
116 |
-
"total": 0.
|
117 |
-
"mean": 0.
|
118 |
-
"stdev": 0.
|
119 |
-
"p50": 0.
|
120 |
-
"p90": 0.
|
121 |
-
"p95": 0.
|
122 |
-
"p99": 0.
|
123 |
"values": [
|
124 |
-
0.
|
125 |
-
0.
|
126 |
-
0.
|
127 |
-
0.
|
128 |
-
0.
|
129 |
-
0.
|
130 |
-
0.
|
131 |
-
0.
|
132 |
-
0.
|
133 |
-
0.
|
134 |
-
0.
|
135 |
-
0.
|
136 |
-
0.
|
137 |
-
0.
|
138 |
-
0.
|
139 |
-
0.
|
140 |
-
0.
|
141 |
-
0.
|
142 |
-
0.
|
143 |
-
0.
|
144 |
-
0.
|
145 |
-
0.
|
146 |
-
0.
|
147 |
-
0.
|
148 |
-
0.
|
149 |
-
0.
|
150 |
-
0.
|
151 |
-
0.
|
152 |
-
0.
|
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 |
]
|
178 |
},
|
179 |
"throughput": {
|
180 |
"unit": "tokens/s",
|
181 |
-
"value":
|
182 |
},
|
183 |
"energy": null,
|
184 |
"efficiency": null
|
@@ -186,81 +189,86 @@
|
|
186 |
"decode": {
|
187 |
"memory": {
|
188 |
"unit": "MB",
|
189 |
-
"max_ram": 1047.
|
190 |
-
"max_global_vram": 1118.
|
191 |
-
"max_process_vram":
|
192 |
"max_reserved": 725.614592,
|
193 |
"max_allocated": 513.056256
|
194 |
},
|
195 |
"latency": {
|
196 |
"unit": "s",
|
197 |
-
"count":
|
198 |
-
"total": 0.
|
199 |
-
"mean": 0.
|
200 |
-
"stdev": 0.
|
201 |
-
"p50": 0.
|
202 |
-
"p90": 0.
|
203 |
-
"p95": 0.
|
204 |
-
"p99": 0.
|
205 |
"values": [
|
206 |
-
0.
|
207 |
-
0.
|
208 |
-
0.
|
209 |
-
0.
|
210 |
-
0.
|
211 |
-
0.
|
212 |
-
0.
|
213 |
-
0.
|
214 |
-
0.
|
215 |
-
0.
|
216 |
-
0.
|
217 |
-
0.
|
218 |
-
0.
|
219 |
-
0.
|
220 |
-
0.
|
221 |
-
0.
|
222 |
-
0.
|
223 |
-
0.
|
224 |
-
0.
|
225 |
-
0.
|
226 |
-
0.
|
227 |
-
0.
|
228 |
-
0.
|
229 |
-
0.
|
230 |
-
0.
|
231 |
-
0.
|
232 |
-
0.
|
233 |
-
0.
|
234 |
-
0.
|
235 |
-
0.
|
236 |
-
0.
|
237 |
-
0.
|
238 |
-
0.
|
239 |
-
0.
|
240 |
-
0.
|
241 |
-
0.
|
242 |
-
0.
|
243 |
-
0.
|
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 |
]
|
260 |
},
|
261 |
"throughput": {
|
262 |
"unit": "tokens/s",
|
263 |
-
"value":
|
264 |
},
|
265 |
"energy": null,
|
266 |
"efficiency": null
|
@@ -269,72 +277,77 @@
|
|
269 |
"memory": null,
|
270 |
"latency": {
|
271 |
"unit": "s",
|
272 |
-
"count":
|
273 |
-
"total": 0.
|
274 |
-
"mean": 0.
|
275 |
-
"stdev": 0.
|
276 |
-
"p50": 0.
|
277 |
-
"p90": 0.
|
278 |
-
"p95": 0.
|
279 |
-
"p99": 0.
|
280 |
"values": [
|
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.
|
304 |
-
0.
|
305 |
-
0.
|
306 |
-
0.
|
307 |
-
0.
|
308 |
-
0.
|
309 |
-
0.
|
310 |
-
0.
|
311 |
-
0.
|
312 |
-
0.
|
313 |
-
0.
|
314 |
-
0.
|
315 |
-
0.
|
316 |
-
0.
|
317 |
-
0.
|
318 |
-
0.
|
319 |
-
0.
|
320 |
-
0.
|
321 |
-
0.
|
322 |
-
0.
|
323 |
-
0.
|
324 |
-
0.
|
325 |
-
0.
|
326 |
-
0.
|
327 |
-
0.
|
328 |
-
0.
|
329 |
-
0.
|
330 |
-
0.
|
331 |
-
0.
|
332 |
-
0.
|
|
|
|
|
|
|
|
|
|
|
333 |
]
|
334 |
},
|
335 |
"throughput": {
|
336 |
"unit": "tokens/s",
|
337 |
-
"value":
|
338 |
},
|
339 |
"energy": null,
|
340 |
"efficiency": null
|
|
|
6 |
"version": "2.2.2+rocm5.7",
|
7 |
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
|
8 |
"task": "text-generation",
|
|
|
9 |
"library": "transformers",
|
10 |
+
"model": "openai-community/gpt2",
|
11 |
+
"processor": "openai-community/gpt2",
|
12 |
"device": "cuda",
|
13 |
"device_ids": "0",
|
14 |
"seed": 42,
|
15 |
"inter_op_num_threads": null,
|
16 |
"intra_op_num_threads": null,
|
17 |
+
"model_kwargs": {},
|
18 |
+
"processor_kwargs": {},
|
19 |
+
"hub_kwargs": {},
|
|
|
|
|
|
|
20 |
"no_weights": true,
|
21 |
"device_map": null,
|
22 |
"torch_dtype": null,
|
|
|
83 |
"gpu_count": 1,
|
84 |
"gpu_vram_mb": 68702699520,
|
85 |
"optimum_benchmark_version": "0.2.0",
|
86 |
+
"optimum_benchmark_commit": "6fd377459e287bb09e9383ba2516b1b2a271a562",
|
87 |
"transformers_version": "4.40.2",
|
88 |
"transformers_commit": null,
|
89 |
"accelerate_version": "0.30.1",
|
|
|
102 |
"prefill": {
|
103 |
"memory": {
|
104 |
"unit": "MB",
|
105 |
+
"max_ram": 1047.535616,
|
106 |
+
"max_global_vram": 1118.416896,
|
107 |
+
"max_process_vram": 265612.439552,
|
108 |
"max_reserved": 725.614592,
|
109 |
"max_allocated": 512.832512
|
110 |
},
|
111 |
"latency": {
|
112 |
"unit": "s",
|
113 |
+
"count": 58,
|
114 |
+
"total": 0.501284252166748,
|
115 |
+
"mean": 0.00864283193390945,
|
116 |
+
"stdev": 0.0006630042210832898,
|
117 |
+
"p50": 0.00841030502319336,
|
118 |
+
"p90": 0.009131984901428223,
|
119 |
+
"p95": 0.009151904249191283,
|
120 |
+
"p99": 0.010536824684143065,
|
121 |
"values": [
|
122 |
+
0.012341577529907227,
|
123 |
+
0.008249106407165528,
|
124 |
+
0.008205586433410645,
|
125 |
+
0.008510065078735352,
|
126 |
+
0.008168306350708008,
|
127 |
+
0.00813870620727539,
|
128 |
+
0.00814478588104248,
|
129 |
+
0.008347504615783692,
|
130 |
+
0.008314226150512695,
|
131 |
+
0.008157585144042969,
|
132 |
+
0.008179025650024414,
|
133 |
+
0.008336146354675293,
|
134 |
+
0.008338226318359374,
|
135 |
+
0.008473105430603027,
|
136 |
+
0.008083986282348634,
|
137 |
+
0.008072465896606444,
|
138 |
+
0.008089105606079101,
|
139 |
+
0.00825390625,
|
140 |
+
0.008062545776367187,
|
141 |
+
0.00826958465576172,
|
142 |
+
0.008206066131591796,
|
143 |
+
0.008076465606689454,
|
144 |
+
0.008078226089477539,
|
145 |
+
0.008128786087036132,
|
146 |
+
0.008085745811462403,
|
147 |
+
0.008067505836486816,
|
148 |
+
0.008081746101379395,
|
149 |
+
0.008112626075744629,
|
150 |
+
0.00806558609008789,
|
151 |
+
0.00809134578704834,
|
152 |
+
0.008074706077575683,
|
153 |
+
0.008296785354614257,
|
154 |
+
0.009116144180297851,
|
155 |
+
0.008836785316467284,
|
156 |
+
0.009108624458312987,
|
157 |
+
0.009090383529663086,
|
158 |
+
0.009123663902282714,
|
159 |
+
0.009126705169677734,
|
160 |
+
0.009103504180908203,
|
161 |
+
0.009106863975524902,
|
162 |
+
0.009076784133911133,
|
163 |
+
0.009124943733215332,
|
164 |
+
0.009096464157104493,
|
165 |
+
0.009117584228515625,
|
166 |
+
0.009083024978637695,
|
167 |
+
0.009175344467163086,
|
168 |
+
0.009098223686218262,
|
169 |
+
0.009106063842773437,
|
170 |
+
0.009147824287414551,
|
171 |
+
0.009149744033813476,
|
172 |
+
0.009144304275512695,
|
173 |
+
0.009124943733215332,
|
174 |
+
0.009107024192810058,
|
175 |
+
0.009164145469665527,
|
176 |
+
0.00878990364074707,
|
177 |
+
0.008793265342712402,
|
178 |
+
0.00851662540435791,
|
179 |
+
0.008754224777221679
|
180 |
]
|
181 |
},
|
182 |
"throughput": {
|
183 |
"unit": "tokens/s",
|
184 |
+
"value": 231.40563362723302
|
185 |
},
|
186 |
"energy": null,
|
187 |
"efficiency": null
|
|
|
189 |
"decode": {
|
190 |
"memory": {
|
191 |
"unit": "MB",
|
192 |
+
"max_ram": 1047.535616,
|
193 |
+
"max_global_vram": 1118.408704,
|
194 |
+
"max_process_vram": 281294.352384,
|
195 |
"max_reserved": 725.614592,
|
196 |
"max_allocated": 513.056256
|
197 |
},
|
198 |
"latency": {
|
199 |
"unit": "s",
|
200 |
+
"count": 58,
|
201 |
+
"total": 0.502205677986145,
|
202 |
+
"mean": 0.008658718585968018,
|
203 |
+
"stdev": 0.0004390677993088848,
|
204 |
+
"p50": 0.008537344932556153,
|
205 |
+
"p90": 0.00916436767578125,
|
206 |
+
"p95": 0.009191783714294435,
|
207 |
+
"p99": 0.009239040069580078,
|
208 |
"values": [
|
209 |
+
0.008550225257873535,
|
210 |
+
0.008258384704589844,
|
211 |
+
0.008178385734558105,
|
212 |
+
0.00839118480682373,
|
213 |
+
0.008186705589294433,
|
214 |
+
0.00817614459991455,
|
215 |
+
0.008775505065917968,
|
216 |
+
0.008520625114440917,
|
217 |
+
0.00817486572265625,
|
218 |
+
0.008344945907592773,
|
219 |
+
0.008227825164794922,
|
220 |
+
0.008235344886779785,
|
221 |
+
0.008263344764709473,
|
222 |
+
0.008161106109619141,
|
223 |
+
0.008136305809020996,
|
224 |
+
0.00826958465576172,
|
225 |
+
0.008114066123962402,
|
226 |
+
0.008377264976501465,
|
227 |
+
0.008123826026916504,
|
228 |
+
0.008329265594482422,
|
229 |
+
0.008115345001220704,
|
230 |
+
0.00812398624420166,
|
231 |
+
0.008208786010742188,
|
232 |
+
0.008433904647827149,
|
233 |
+
0.008128625869750977,
|
234 |
+
0.008107665061950684,
|
235 |
+
0.008900625228881836,
|
236 |
+
0.008307825088500977,
|
237 |
+
0.008337586402893067,
|
238 |
+
0.00814478588104248,
|
239 |
+
0.008128786087036132,
|
240 |
+
0.009188783645629884,
|
241 |
+
0.009213583946228027,
|
242 |
+
0.009156304359436035,
|
243 |
+
0.009141743659973145,
|
244 |
+
0.009166383743286132,
|
245 |
+
0.009109265327453613,
|
246 |
+
0.009139663696289062,
|
247 |
+
0.00914078426361084,
|
248 |
+
0.009110063552856444,
|
249 |
+
0.009272784233093261,
|
250 |
+
0.009163503646850585,
|
251 |
+
0.00914254379272461,
|
252 |
+
0.009139823913574218,
|
253 |
+
0.009128144264221191,
|
254 |
+
0.009150223731994629,
|
255 |
+
0.009170063972473145,
|
256 |
+
0.009208784103393555,
|
257 |
+
0.009140144348144532,
|
258 |
+
0.00909102439880371,
|
259 |
+
0.009136783599853515,
|
260 |
+
0.009139823913574218,
|
261 |
+
0.009120784759521484,
|
262 |
+
0.008986543655395508,
|
263 |
+
0.008934544563293458,
|
264 |
+
0.008853424072265624,
|
265 |
+
0.008802864074707031,
|
266 |
+
0.00852446460723877
|
267 |
]
|
268 |
},
|
269 |
"throughput": {
|
270 |
"unit": "tokens/s",
|
271 |
+
"value": 115.49053016003558
|
272 |
},
|
273 |
"energy": null,
|
274 |
"efficiency": null
|
|
|
277 |
"memory": null,
|
278 |
"latency": {
|
279 |
"unit": "s",
|
280 |
+
"count": 57,
|
281 |
+
"total": 0.9844515552520751,
|
282 |
+
"mean": 0.017271079916703073,
|
283 |
+
"stdev": 0.0008708116033835836,
|
284 |
+
"p50": 0.016969249725341796,
|
285 |
+
"p90": 0.018308320236206054,
|
286 |
+
"p95": 0.018355776596069337,
|
287 |
+
"p99": 0.018384454040527343,
|
288 |
"values": [
|
289 |
+
0.01654429054260254,
|
290 |
+
0.016426851272583008,
|
291 |
+
0.01693404960632324,
|
292 |
+
0.016387811660766603,
|
293 |
+
0.016362850189208984,
|
294 |
+
0.01688717269897461,
|
295 |
+
0.016969249725341796,
|
296 |
+
0.016526531219482422,
|
297 |
+
0.016527332305908204,
|
298 |
+
0.016434051513671874,
|
299 |
+
0.01661293029785156,
|
300 |
+
0.016646371841430665,
|
301 |
+
0.01666813087463379,
|
302 |
+
0.01623549270629883,
|
303 |
+
0.016393571853637694,
|
304 |
+
0.01622669219970703,
|
305 |
+
0.016660451889038086,
|
306 |
+
0.01622093200683594,
|
307 |
+
0.016595651626586914,
|
308 |
+
0.0163847713470459,
|
309 |
+
0.01622669219970703,
|
310 |
+
0.016274852752685545,
|
311 |
+
0.016635011672973633,
|
312 |
+
0.016248931884765627,
|
313 |
+
0.01619997215270996,
|
314 |
+
0.01701388931274414,
|
315 |
+
0.01645197105407715,
|
316 |
+
0.01641853141784668,
|
317 |
+
0.016273252487182616,
|
318 |
+
0.016240291595458985,
|
319 |
+
0.017449247360229493,
|
320 |
+
0.01837628746032715,
|
321 |
+
0.018030847549438477,
|
322 |
+
0.018278047561645507,
|
323 |
+
0.01829452705383301,
|
324 |
+
0.018260128021240236,
|
325 |
+
0.018302528381347657,
|
326 |
+
0.01828220748901367,
|
327 |
+
0.018242368698120116,
|
328 |
+
0.018394847869873047,
|
329 |
+
0.01831884765625,
|
330 |
+
0.018272127151489258,
|
331 |
+
0.018294687271118163,
|
332 |
+
0.018232128143310548,
|
333 |
+
0.018360128402709962,
|
334 |
+
0.01829212760925293,
|
335 |
+
0.01835468864440918,
|
336 |
+
0.01829372787475586,
|
337 |
+
0.018306848526000976,
|
338 |
+
0.01831052780151367,
|
339 |
+
0.018298847198486328,
|
340 |
+
0.018263647079467774,
|
341 |
+
0.018207647323608397,
|
342 |
+
0.017730047225952148,
|
343 |
+
0.017725568771362304,
|
344 |
+
0.01730828857421875,
|
345 |
+
0.01734204864501953
|
346 |
]
|
347 |
},
|
348 |
"throughput": {
|
349 |
"unit": "tokens/s",
|
350 |
+
"value": 57.90025897760381
|
351 |
},
|
352 |
"energy": null,
|
353 |
"efficiency": null
|