Upload cuda_inference_transformers_text-generation_openai-community/gpt2/file.json with huggingface_hub
Browse files
cuda_inference_transformers_text-generation_openai-community/gpt2/file.json
ADDED
@@ -0,0 +1,373 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"config": {
|
3 |
+
"name": "cuda_inference_transformers_text-generation_openai-community/gpt2",
|
4 |
+
"backend": {
|
5 |
+
"name": "pytorch",
|
6 |
+
"version": "2.2.2",
|
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 |
+
"hub_kwargs": {
|
17 |
+
"revision": "main",
|
18 |
+
"force_download": false,
|
19 |
+
"local_files_only": false,
|
20 |
+
"trust_remote_code": false
|
21 |
+
},
|
22 |
+
"no_weights": true,
|
23 |
+
"device_map": null,
|
24 |
+
"torch_dtype": null,
|
25 |
+
"eval_mode": true,
|
26 |
+
"to_bettertransformer": false,
|
27 |
+
"low_cpu_mem_usage": null,
|
28 |
+
"attn_implementation": null,
|
29 |
+
"cache_implementation": null,
|
30 |
+
"autocast_enabled": false,
|
31 |
+
"autocast_dtype": null,
|
32 |
+
"torch_compile": false,
|
33 |
+
"torch_compile_target": "forward",
|
34 |
+
"torch_compile_config": {},
|
35 |
+
"quantization_scheme": null,
|
36 |
+
"quantization_config": {},
|
37 |
+
"deepspeed_inference": false,
|
38 |
+
"deepspeed_inference_config": {},
|
39 |
+
"peft_type": null,
|
40 |
+
"peft_config": {}
|
41 |
+
},
|
42 |
+
"scenario": {
|
43 |
+
"name": "inference",
|
44 |
+
"_target_": "optimum_benchmark.scenarios.inference.scenario.InferenceScenario",
|
45 |
+
"iterations": 1,
|
46 |
+
"duration": 1,
|
47 |
+
"warmup_runs": 1,
|
48 |
+
"input_shapes": {
|
49 |
+
"batch_size": 1,
|
50 |
+
"num_choices": 2,
|
51 |
+
"sequence_length": 2
|
52 |
+
},
|
53 |
+
"new_tokens": null,
|
54 |
+
"latency": true,
|
55 |
+
"memory": true,
|
56 |
+
"energy": true,
|
57 |
+
"forward_kwargs": {},
|
58 |
+
"generate_kwargs": {
|
59 |
+
"max_new_tokens": 2,
|
60 |
+
"min_new_tokens": 2
|
61 |
+
},
|
62 |
+
"call_kwargs": {
|
63 |
+
"num_inference_steps": 2
|
64 |
+
}
|
65 |
+
},
|
66 |
+
"launcher": {
|
67 |
+
"name": "process",
|
68 |
+
"_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher",
|
69 |
+
"device_isolation": true,
|
70 |
+
"device_isolation_action": "error",
|
71 |
+
"start_method": "spawn"
|
72 |
+
},
|
73 |
+
"environment": {
|
74 |
+
"cpu": " AMD EPYC 7R32",
|
75 |
+
"cpu_count": 16,
|
76 |
+
"cpu_ram_mb": 66697.29792,
|
77 |
+
"system": "Linux",
|
78 |
+
"machine": "x86_64",
|
79 |
+
"platform": "Linux-5.10.214-202.855.amzn2.x86_64-x86_64-with-glibc2.35",
|
80 |
+
"processor": "x86_64",
|
81 |
+
"python_version": "3.10.14",
|
82 |
+
"gpu": [
|
83 |
+
"NVIDIA A10G"
|
84 |
+
],
|
85 |
+
"gpu_count": 1,
|
86 |
+
"gpu_vram_mb": 24146608128,
|
87 |
+
"optimum_benchmark_version": "0.2.0",
|
88 |
+
"optimum_benchmark_commit": null,
|
89 |
+
"transformers_version": "4.40.2",
|
90 |
+
"transformers_commit": null,
|
91 |
+
"accelerate_version": "0.30.0",
|
92 |
+
"accelerate_commit": null,
|
93 |
+
"diffusers_version": "0.27.2",
|
94 |
+
"diffusers_commit": null,
|
95 |
+
"optimum_version": null,
|
96 |
+
"optimum_commit": null,
|
97 |
+
"timm_version": "0.9.16",
|
98 |
+
"timm_commit": null,
|
99 |
+
"peft_version": null,
|
100 |
+
"peft_commit": null
|
101 |
+
}
|
102 |
+
},
|
103 |
+
"report": {
|
104 |
+
"prefill": {
|
105 |
+
"memory": {
|
106 |
+
"unit": "MB",
|
107 |
+
"max_ram": 1056.21504,
|
108 |
+
"max_global_vram": 1365.77024,
|
109 |
+
"max_process_vram": 0.0,
|
110 |
+
"max_reserved": 725.614592,
|
111 |
+
"max_allocated": 522.007552
|
112 |
+
},
|
113 |
+
"latency": {
|
114 |
+
"unit": "s",
|
115 |
+
"count": 57,
|
116 |
+
"total": 0.4932418212890625,
|
117 |
+
"mean": 0.008653365285773026,
|
118 |
+
"stdev": 0.00030094731449344765,
|
119 |
+
"p50": 0.008729887962341308,
|
120 |
+
"p90": 0.008992601776123047,
|
121 |
+
"p95": 0.009081868743896484,
|
122 |
+
"p99": 0.00940516860961914,
|
123 |
+
"values": [
|
124 |
+
0.00962393569946289,
|
125 |
+
0.009233280181884766,
|
126 |
+
0.00910598373413086,
|
127 |
+
0.008871328353881837,
|
128 |
+
0.008821279525756835,
|
129 |
+
0.008729887962341308,
|
130 |
+
0.00880832004547119,
|
131 |
+
0.008922207832336425,
|
132 |
+
0.008806559562683105,
|
133 |
+
0.008900799751281739,
|
134 |
+
0.008902655601501466,
|
135 |
+
0.008776384353637695,
|
136 |
+
0.008840895652770997,
|
137 |
+
0.00869497585296631,
|
138 |
+
0.008776800155639648,
|
139 |
+
0.009007136344909667,
|
140 |
+
0.009021120071411133,
|
141 |
+
0.009075839996337891,
|
142 |
+
0.00876137638092041,
|
143 |
+
0.00876524829864502,
|
144 |
+
0.008714816093444825,
|
145 |
+
0.008814175605773926,
|
146 |
+
0.008919584274291991,
|
147 |
+
0.008876832008361816,
|
148 |
+
0.008779328346252441,
|
149 |
+
0.008814656257629394,
|
150 |
+
0.008982912063598632,
|
151 |
+
0.008841567993164063,
|
152 |
+
0.00884556770324707,
|
153 |
+
0.008701472282409669,
|
154 |
+
0.008660320281982423,
|
155 |
+
0.008535391807556152,
|
156 |
+
0.008586336135864257,
|
157 |
+
0.008774271965026855,
|
158 |
+
0.008770591735839843,
|
159 |
+
0.008447423934936523,
|
160 |
+
0.008277440071105957,
|
161 |
+
0.00834768009185791,
|
162 |
+
0.008335071563720703,
|
163 |
+
0.008331232070922852,
|
164 |
+
0.008302751541137696,
|
165 |
+
0.008330080032348633,
|
166 |
+
0.008330975532531738,
|
167 |
+
0.008357983589172363,
|
168 |
+
0.008304703712463378,
|
169 |
+
0.00829695987701416,
|
170 |
+
0.008221632003784179,
|
171 |
+
0.008242048263549805,
|
172 |
+
0.008307071685791015,
|
173 |
+
0.008315423965454101,
|
174 |
+
0.008304287910461425,
|
175 |
+
0.008405920028686523,
|
176 |
+
0.008334943771362305,
|
177 |
+
0.008340415954589843,
|
178 |
+
0.008360159873962403,
|
179 |
+
0.008352864265441894,
|
180 |
+
0.008330911636352538
|
181 |
+
]
|
182 |
+
},
|
183 |
+
"throughput": {
|
184 |
+
"unit": "tokens/s",
|
185 |
+
"value": 231.12395397062394
|
186 |
+
},
|
187 |
+
"energy": {
|
188 |
+
"unit": "kWh",
|
189 |
+
"cpu": 1.0198926993584704e-07,
|
190 |
+
"ram": 5.5764314973389553e-08,
|
191 |
+
"gpu": 1.8152673591452916e-07,
|
192 |
+
"total": 3.3928032082376575e-07
|
193 |
+
},
|
194 |
+
"efficiency": {
|
195 |
+
"unit": "tokens/kWh",
|
196 |
+
"value": 5894830.549393612
|
197 |
+
}
|
198 |
+
},
|
199 |
+
"decode": {
|
200 |
+
"memory": {
|
201 |
+
"unit": "MB",
|
202 |
+
"max_ram": 1056.21504,
|
203 |
+
"max_global_vram": 1365.77024,
|
204 |
+
"max_process_vram": 0.0,
|
205 |
+
"max_reserved": 725.614592,
|
206 |
+
"max_allocated": 522.4576
|
207 |
+
},
|
208 |
+
"latency": {
|
209 |
+
"unit": "s",
|
210 |
+
"count": 57,
|
211 |
+
"total": 0.5124286413192749,
|
212 |
+
"mean": 0.00898997616349605,
|
213 |
+
"stdev": 0.0003353435192255441,
|
214 |
+
"p50": 0.009137184143066406,
|
215 |
+
"p90": 0.009392422485351562,
|
216 |
+
"p95": 0.009467046165466309,
|
217 |
+
"p99": 0.009708334999084472,
|
218 |
+
"values": [
|
219 |
+
0.009922335624694825,
|
220 |
+
0.00945315170288086,
|
221 |
+
0.009435296058654785,
|
222 |
+
0.009178400039672852,
|
223 |
+
0.009153792381286621,
|
224 |
+
0.009148192405700684,
|
225 |
+
0.009213824272155762,
|
226 |
+
0.009215680122375489,
|
227 |
+
0.009211168289184571,
|
228 |
+
0.00922713565826416,
|
229 |
+
0.00922486400604248,
|
230 |
+
0.009347071647644043,
|
231 |
+
0.00917846393585205,
|
232 |
+
0.009144479751586915,
|
233 |
+
0.009540191650390625,
|
234 |
+
0.009444512367248536,
|
235 |
+
0.00925209617614746,
|
236 |
+
0.009178175926208496,
|
237 |
+
0.009363840103149414,
|
238 |
+
0.009150400161743164,
|
239 |
+
0.009140000343322754,
|
240 |
+
0.009184351921081543,
|
241 |
+
0.009177824020385743,
|
242 |
+
0.009110943794250488,
|
243 |
+
0.009137184143066406,
|
244 |
+
0.009522624015808105,
|
245 |
+
0.00929843235015869,
|
246 |
+
0.009188672065734864,
|
247 |
+
0.009169568061828613,
|
248 |
+
0.008991776466369629,
|
249 |
+
0.009095775604248046,
|
250 |
+
0.008758655548095703,
|
251 |
+
0.009058208465576171,
|
252 |
+
0.009153087615966797,
|
253 |
+
0.008902432441711426,
|
254 |
+
0.008618751525878906,
|
255 |
+
0.008662976264953614,
|
256 |
+
0.008632608413696289,
|
257 |
+
0.00859712028503418,
|
258 |
+
0.008731167793273925,
|
259 |
+
0.008585408210754394,
|
260 |
+
0.008562848091125489,
|
261 |
+
0.00859267234802246,
|
262 |
+
0.00860700798034668,
|
263 |
+
0.008561951637268066,
|
264 |
+
0.008575903892517089,
|
265 |
+
0.008501695632934571,
|
266 |
+
0.008601375579833984,
|
267 |
+
0.008680895805358886,
|
268 |
+
0.008675711631774902,
|
269 |
+
0.008646559715270997,
|
270 |
+
0.008584416389465332,
|
271 |
+
0.00861564826965332,
|
272 |
+
0.008687359809875488,
|
273 |
+
0.008607680320739747,
|
274 |
+
0.008613632202148438,
|
275 |
+
0.008612640380859375
|
276 |
+
]
|
277 |
+
},
|
278 |
+
"throughput": {
|
279 |
+
"unit": "tokens/s",
|
280 |
+
"value": 111.23500016168195
|
281 |
+
},
|
282 |
+
"energy": {
|
283 |
+
"unit": "kWh",
|
284 |
+
"cpu": 9.895048381118425e-08,
|
285 |
+
"ram": 5.409786038038164e-08,
|
286 |
+
"gpu": 1.7632194961089187e-07,
|
287 |
+
"total": 3.2937029380245794e-07
|
288 |
+
},
|
289 |
+
"efficiency": {
|
290 |
+
"unit": "tokens/kWh",
|
291 |
+
"value": 3036096.5114836884
|
292 |
+
}
|
293 |
+
},
|
294 |
+
"per_token": {
|
295 |
+
"memory": null,
|
296 |
+
"latency": {
|
297 |
+
"unit": "s",
|
298 |
+
"count": 56,
|
299 |
+
"total": 0.9879142379760746,
|
300 |
+
"mean": 0.017641325678144183,
|
301 |
+
"stdev": 0.0005813381669504582,
|
302 |
+
"p50": 0.01784883213043213,
|
303 |
+
"p90": 0.01832907199859619,
|
304 |
+
"p95": 0.018397463321685792,
|
305 |
+
"p99": 0.018665164375305177,
|
306 |
+
"values": [
|
307 |
+
0.018736127853393555,
|
308 |
+
0.01860710334777832,
|
309 |
+
0.01806540870666504,
|
310 |
+
0.01803468894958496,
|
311 |
+
0.017880096435546874,
|
312 |
+
0.01807151985168457,
|
313 |
+
0.018147327423095702,
|
314 |
+
0.018066432952880858,
|
315 |
+
0.018123775482177733,
|
316 |
+
0.01820979118347168,
|
317 |
+
0.018136064529418947,
|
318 |
+
0.018075647354125975,
|
319 |
+
0.01784217643737793,
|
320 |
+
0.018367488861083983,
|
321 |
+
0.01844121551513672,
|
322 |
+
0.018331647872924805,
|
323 |
+
0.018304000854492186,
|
324 |
+
0.018111488342285157,
|
325 |
+
0.01798963165283203,
|
326 |
+
0.017855487823486327,
|
327 |
+
0.018039840698242188,
|
328 |
+
0.018108383178710937,
|
329 |
+
0.01806438446044922,
|
330 |
+
0.017910783767700195,
|
331 |
+
0.01838287925720215,
|
332 |
+
0.018326496124267577,
|
333 |
+
0.01807155227661133,
|
334 |
+
0.01804595184326172,
|
335 |
+
0.017764352798461915,
|
336 |
+
0.01775923156738281,
|
337 |
+
0.017367040634155274,
|
338 |
+
0.0176312313079834,
|
339 |
+
0.017932287216186525,
|
340 |
+
0.017803264617919923,
|
341 |
+
0.017086463928222655,
|
342 |
+
0.016991231918334963,
|
343 |
+
0.0170199031829834,
|
344 |
+
0.016957439422607423,
|
345 |
+
0.017054719924926756,
|
346 |
+
0.016935935974121095,
|
347 |
+
0.016924671173095703,
|
348 |
+
0.016949247360229493,
|
349 |
+
0.016969728469848632,
|
350 |
+
0.016912384033203123,
|
351 |
+
0.016903167724609376,
|
352 |
+
0.016748544692993163,
|
353 |
+
0.016857088088989256,
|
354 |
+
0.01698099136352539,
|
355 |
+
0.01704652786254883,
|
356 |
+
0.016983039855957033,
|
357 |
+
0.01701068878173828,
|
358 |
+
0.01697593688964844,
|
359 |
+
0.017049535751342774,
|
360 |
+
0.01699225616455078,
|
361 |
+
0.0169881591796875,
|
362 |
+
0.01697177505493164
|
363 |
+
]
|
364 |
+
},
|
365 |
+
"throughput": {
|
366 |
+
"unit": "tokens/s",
|
367 |
+
"value": 56.685082416391126
|
368 |
+
},
|
369 |
+
"energy": null,
|
370 |
+
"efficiency": null
|
371 |
+
}
|
372 |
+
}
|
373 |
+
}
|