IlyasMoutawwakil's picture
Upload cuda_inference_transformers_text-generation_openai-community/gpt2/benchmark.json with huggingface_hub
8cecc03 verified
raw
history blame
15.8 kB
{
"config": {
"name": "cuda_inference_transformers_text-generation_openai-community/gpt2",
"backend": {
"name": "pytorch",
"version": "2.3.1+rocm5.7",
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
"task": "text-generation",
"library": "transformers",
"model_type": "gpt2",
"model": "openai-community/gpt2",
"processor": "openai-community/gpt2",
"device": "cuda",
"device_ids": "5",
"seed": 42,
"inter_op_num_threads": null,
"intra_op_num_threads": null,
"model_kwargs": {},
"processor_kwargs": {},
"no_weights": true,
"device_map": null,
"torch_dtype": null,
"eval_mode": true,
"to_bettertransformer": false,
"low_cpu_mem_usage": null,
"attn_implementation": null,
"cache_implementation": null,
"autocast_enabled": false,
"autocast_dtype": null,
"torch_compile": false,
"torch_compile_target": "forward",
"torch_compile_config": {},
"quantization_scheme": null,
"quantization_config": {},
"deepspeed_inference": false,
"deepspeed_inference_config": {},
"peft_type": null,
"peft_config": {}
},
"scenario": {
"name": "inference",
"_target_": "optimum_benchmark.scenarios.inference.scenario.InferenceScenario",
"iterations": 1,
"duration": 1,
"warmup_runs": 1,
"input_shapes": {
"batch_size": 1,
"num_choices": 2,
"sequence_length": 2
},
"new_tokens": null,
"memory": true,
"latency": true,
"energy": false,
"forward_kwargs": {},
"generate_kwargs": {
"max_new_tokens": 2,
"min_new_tokens": 2
},
"call_kwargs": {
"num_inference_steps": 2
}
},
"launcher": {
"name": "process",
"_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher",
"device_isolation": true,
"device_isolation_action": "warn",
"numactl": false,
"numactl_kwargs": {},
"start_method": "spawn"
},
"environment": {
"cpu": " AMD EPYC 7763 64-Core Processor",
"cpu_count": 128,
"cpu_ram_mb": 1082015.256576,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.15.0-101-generic-x86_64-with-glibc2.35",
"processor": "x86_64",
"python_version": "3.10.12",
"gpu": [
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]",
"Advanced Micro Devices, Inc. [AMD/ATI]"
],
"gpu_count": 8,
"gpu_vram_mb": 549621596160,
"optimum_benchmark_version": "0.4.0",
"optimum_benchmark_commit": null,
"transformers_version": "4.44.2",
"transformers_commit": null,
"accelerate_version": "0.34.2",
"accelerate_commit": null,
"diffusers_version": "0.30.3",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.9",
"timm_commit": null,
"peft_version": "0.12.0",
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 1078.382592,
"max_global_vram": 68702.69952,
"max_process_vram": 50406.72768,
"max_reserved": 725.614592,
"max_allocated": 666.338304
},
"latency": {
"unit": "s",
"count": 1,
"total": 8.4537470703125,
"mean": 8.4537470703125,
"stdev": 0.0,
"p50": 8.4537470703125,
"p90": 8.4537470703125,
"p95": 8.4537470703125,
"p99": 8.4537470703125,
"values": [
8.4537470703125
]
},
"throughput": null,
"energy": null,
"efficiency": null
},
"prefill": {
"memory": {
"unit": "MB",
"max_ram": 1247.604736,
"max_global_vram": 68702.69952,
"max_process_vram": 278746.853376,
"max_reserved": 725.614592,
"max_allocated": 513.035264
},
"latency": {
"unit": "s",
"count": 65,
"total": 0.5228055825233461,
"mean": 0.008043162808051476,
"stdev": 0.0005216248418447246,
"p50": 0.00781518316268921,
"p90": 0.008764813232421875,
"p95": 0.008809837341308593,
"p99": 0.009591589050292969,
"values": [
0.008816301345825195,
0.008718380928039551,
0.008686540603637695,
0.008480941772460938,
0.0080167818069458,
0.008005742073059083,
0.007829102993011474,
0.0077903828620910645,
0.007813103199005127,
0.007871983051300048,
0.007853262901306153,
0.007780463218688965,
0.007792462825775146,
0.007998222827911378,
0.008040142059326173,
0.007892782211303712,
0.007933103084564208,
0.010960777282714844,
0.007851343154907226,
0.00799150276184082,
0.00875886058807373,
0.007878703117370605,
0.00774254322052002,
0.007756463050842285,
0.0077831830978393555,
0.007737903118133545,
0.007730703830718994,
0.008144302368164063,
0.007735982894897461,
0.007872622966766357,
0.007732943058013916,
0.0077457427978515625,
0.007734383106231689,
0.007742222785949707,
0.00775342321395874,
0.007823983192443847,
0.0077214231491088865,
0.007731822967529297,
0.0077409429550170895,
0.0077355031967163085,
0.007759182929992676,
0.007736143112182617,
0.007763982772827149,
0.007730702877044678,
0.007743662834167481,
0.007847662925720214,
0.007739182949066162,
0.007734222888946533,
0.007722383975982666,
0.007769423007965088,
0.007721104145050049,
0.00781518316268921,
0.007722063064575195,
0.007730703830718994,
0.007748783111572266,
0.008701260566711427,
0.008759341239929198,
0.008820301055908203,
0.008100941658020019,
0.008783981323242188,
0.008821420669555664,
0.008768461227416991,
0.008781420707702636,
0.008092943191528321,
0.008164141654968262
]
},
"throughput": {
"unit": "tokens/s",
"value": 248.65840064780647
},
"energy": null,
"efficiency": null
},
"decode": {
"memory": {
"unit": "MB",
"max_ram": 1247.604736,
"max_global_vram": 68702.69952,
"max_process_vram": 297845.215232,
"max_reserved": 725.614592,
"max_allocated": 513.259008
},
"latency": {
"unit": "s",
"count": 65,
"total": 0.4869333362579346,
"mean": 0.007491282096275916,
"stdev": 0.0003514503135410869,
"p50": 0.007330543994903564,
"p90": 0.008137038040161134,
"p95": 0.008260366249084472,
"p99": 0.008393139152526855,
"values": [
0.007936623096466065,
0.007953742027282714,
0.00735694408416748,
0.007298704147338867,
0.007231504917144776,
0.007202704906463623,
0.007172464847564697,
0.007174384117126465,
0.007216464042663575,
0.007378384113311768,
0.007167344093322754,
0.007160305023193359,
0.0071347041130065915,
0.007235023975372314,
0.007256784915924072,
0.007261425018310547,
0.0072569441795349125,
0.007582542896270752,
0.007286543846130371,
0.008208621978759765,
0.008059982299804688,
0.007268784046173096,
0.007682703018188477,
0.007475183963775635,
0.007282703876495361,
0.007284783840179444,
0.007297423839569092,
0.007493904113769531,
0.007333583831787109,
0.007287343978881836,
0.007335663795471192,
0.007335504055023193,
0.007332304000854492,
0.007317103862762451,
0.007408304214477539,
0.0074379038810729985,
0.007320623874664306,
0.007489424228668213,
0.007339344024658203,
0.007312464237213135,
0.007280784130096436,
0.00730542516708374,
0.007316783905029297,
0.0073126239776611325,
0.0072886238098144535,
0.007313104152679444,
0.007308303833007812,
0.007304304122924805,
0.007451823234558105,
0.007330543994903564,
0.007333104133605957,
0.007330063819885254,
0.007499183177947998,
0.007321263790130615,
0.0073334240913391115,
0.008264302253723144,
0.008326380729675294,
0.007991182804107665,
0.008147022247314454,
0.008317901611328124,
0.008244622230529785,
0.008511820793151855,
0.008122061729431152,
0.007793743133544922,
0.00761774206161499
]
},
"throughput": {
"unit": "tokens/s",
"value": 133.48849865060112
},
"energy": null,
"efficiency": null
},
"per_token": {
"memory": null,
"latency": {
"unit": "s",
"count": 65,
"total": 0.45714284133911137,
"mean": 0.007032966789832481,
"stdev": 0.00032324614387891867,
"p50": 0.006865904808044433,
"p90": 0.007616911029815674,
"p95": 0.007750159168243408,
"p99": 0.007880116939544678,
"values": [
0.007418704032897949,
0.007464783191680908,
0.006929904937744141,
0.006890224933624268,
0.006827506065368652,
0.006810705184936524,
0.0067849459648132325,
0.006786865234375,
0.006811985015869141,
0.006982544898986817,
0.006779345035552978,
0.006769105911254882,
0.0067454252243041996,
0.006821585178375244,
0.0068417458534240725,
0.006853264808654785,
0.006846704959869385,
0.007097104072570801,
0.006835665225982666,
0.007711662769317627,
0.007559022903442383,
0.00681310510635376,
0.007235824108123779,
0.006981904983520508,
0.006831824779510498,
0.006832624912261963,
0.006844144821166992,
0.007048305034637451,
0.006859025001525879,
0.006831504821777344,
0.006882705211639404,
0.006865904808044433,
0.006879984855651855,
0.0068622250556945805,
0.0069099049568176266,
0.006984785079956055,
0.006876144886016846,
0.007031664848327636,
0.006891664981842041,
0.0068451051712036136,
0.0068199849128723145,
0.006851985931396485,
0.006860945224761963,
0.006849585056304931,
0.006826865196228027,
0.006867825031280517,
0.006848625183105469,
0.006846865177154541,
0.006974864006042481,
0.006876144886016846,
0.006860145092010498,
0.0068505449295043945,
0.00701966381072998,
0.006860465049743652,
0.006863025188446045,
0.007753743171691895,
0.007812782764434815,
0.007528783798217774,
0.0076388630867004394,
0.00779438304901123,
0.007735823154449463,
0.00799982213973999,
0.007583982944488525,
0.007257743835449219,
0.007082223892211914
]
},
"throughput": {
"unit": "tokens/s",
"value": 142.18750491552072
},
"energy": null,
"efficiency": null
}
}
}