IlyasMoutawwakil's picture
Upload cuda_inference_transformers_text-generation_openai-community/gpt2/benchmark.json with huggingface_hub
3450758 verified
raw
history blame
15.4 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.648832,
"max_global_vram": 68702.69952,
"max_process_vram": 50491.531264,
"max_reserved": 725.614592,
"max_allocated": 666.338304
},
"latency": {
"unit": "s",
"count": 1,
"total": 8.720599609375,
"mean": 8.720599609375,
"stdev": 0.0,
"p50": 8.720599609375,
"p90": 8.720599609375,
"p95": 8.720599609375,
"p99": 8.720599609375,
"values": [
8.720599609375
]
},
"throughput": null,
"energy": null,
"efficiency": null
},
"prefill": {
"memory": {
"unit": "MB",
"max_ram": 1247.985664,
"max_global_vram": 68702.69952,
"max_process_vram": 307807.236096,
"max_reserved": 725.614592,
"max_allocated": 513.035264
},
"latency": {
"unit": "s",
"count": 62,
"total": 0.5242335920333864,
"mean": 0.00845538051666752,
"stdev": 0.001427874376840583,
"p50": 0.008348289489746093,
"p90": 0.008924431896209716,
"p95": 0.009138229799270628,
"p99": 0.013309365253448491,
"values": [
0.009002846717834473,
0.009141885757446289,
0.009161405563354492,
0.009068766593933105,
0.008933568000793457,
0.008842206954956055,
0.008785728454589845,
0.008743328094482422,
0.00877948760986328,
0.00877788734436035,
0.008731328010559081,
0.009805242538452148,
0.008766688346862794,
0.00880092716217041,
0.008678848266601563,
0.008680447578430176,
0.008752126693725586,
0.008668607711791992,
0.008654687881469727,
0.008719008445739746,
0.008675968170166016,
0.008446369171142578,
0.008199170112609863,
0.008120129585266114,
0.008199170112609863,
0.007674531936645508,
0.0076943721771240235,
0.007660451889038086,
0.007648612022399902,
0.007705731868743897,
0.007681732177734375,
0.007668772220611572,
0.007662211894989014,
0.0076865310668945315,
0.007755971908569336,
0.0076705322265625,
0.007703011989593506,
0.018790172576904296,
0.007793091773986817,
0.0076993308067321775,
0.0077294111251831055,
0.007700131893157959,
0.007689732074737549,
0.007708611965179443,
0.007694371223449707,
0.00780781078338623,
0.007868930816650391,
0.0077065320014953614,
0.007725571155548096,
0.007724771976470948,
0.007850531101226807,
0.008709407806396485,
0.008648927688598634,
0.008630208015441895,
0.00825020980834961,
0.008634048461914063,
0.008657088279724121,
0.00861676788330078,
0.008623008728027343,
0.008583328247070313,
0.00800749111175537,
0.008035810470581054
]
},
"throughput": {
"unit": "tokens/s",
"value": 236.5357769597164
},
"energy": null,
"efficiency": null
},
"decode": {
"memory": {
"unit": "MB",
"max_ram": 1248.03072,
"max_global_vram": 68702.69952,
"max_process_vram": 304750.108672,
"max_reserved": 725.614592,
"max_allocated": 513.259008
},
"latency": {
"unit": "s",
"count": 62,
"total": 0.4827204613685608,
"mean": 0.007785813893041304,
"stdev": 0.0004775980244833899,
"p50": 0.007795891046524048,
"p90": 0.008373617076873778,
"p95": 0.00849082522392273,
"p99": 0.008582990398406983,
"values": [
0.008627008438110352,
0.008492769241333008,
0.008554847717285156,
0.008539169311523438,
0.00838236904144287,
0.008143810272216797,
0.008254849433898925,
0.008294849395751954,
0.008239649772644042,
0.008453888893127441,
0.00822620964050293,
0.008444449424743653,
0.008225250244140624,
0.008200130462646484,
0.008213729858398437,
0.008179490089416503,
0.008210209846496582,
0.008174850463867187,
0.00818684959411621,
0.008173890113830566,
0.008166850090026856,
0.007438372135162354,
0.007614371776580811,
0.007428293228149414,
0.007359333038330078,
0.007223493099212647,
0.007260293006896973,
0.007295813083648682,
0.007231653213500977,
0.007250853061676025,
0.007307813167572021,
0.007236453056335449,
0.007285253047943115,
0.007361893177032471,
0.007270853042602539,
0.00737773323059082,
0.007286532878875733,
0.007267652988433838,
0.007258852958679199,
0.007274374008178711,
0.007258533000946045,
0.007279812812805176,
0.0072879729270935055,
0.0072927727699279785,
0.007254533767700196,
0.007304452896118164,
0.007243972778320312,
0.007277253150939941,
0.00739309310913086,
0.007236453056335449,
0.008243009567260743,
0.008148289680480958,
0.008119170188903808,
0.008155810356140136,
0.00782525110244751,
0.008129570007324219,
0.00812572956085205,
0.00815900993347168,
0.008105889320373535,
0.008056289672851562,
0.007642052173614502,
0.007766530990600586
]
},
"throughput": {
"unit": "tokens/s",
"value": 128.4387237786105
},
"energy": null,
"efficiency": null
},
"per_token": {
"memory": null,
"latency": {
"unit": "s",
"count": 62,
"total": 0.45264698028564454,
"mean": 0.007300757746542654,
"stdev": 0.00044827505986028127,
"p50": 0.007315093040466309,
"p90": 0.007845299005508422,
"p95": 0.00793993890285492,
"p99": 0.008007818398475646,
"values": [
0.008036609649658202,
0.007922531127929688,
0.007989410877227782,
0.007970691204071045,
0.007853250980377197,
0.007646852016448975,
0.007741890907287598,
0.007773731231689453,
0.007715491771697998,
0.007940610885620118,
0.007733091831207275,
0.007927171230316162,
0.007727012157440185,
0.007702531814575195,
0.007705091953277588,
0.007678051948547363,
0.007705892086029053,
0.007675652027130127,
0.007698212146759033,
0.0076804518699646,
0.007670852184295654,
0.007007493972778321,
0.0071598138809204105,
0.006980614185333252,
0.006903174877166748,
0.006781895160675049,
0.00679981517791748,
0.0068551750183105465,
0.006794374942779541,
0.006812614917755127,
0.006842054843902588,
0.006786214828491211,
0.006841575145721436,
0.006861094951629639,
0.006804134845733643,
0.006919814109802246,
0.00683037519454956,
0.00678461503982544,
0.0068068552017211915,
0.006808454990386963,
0.006813415050506592,
0.006827654838562011,
0.00682333517074585,
0.00681517505645752,
0.006794054985046386,
0.006792134761810302,
0.006802855014801025,
0.006818695068359375,
0.006934215068817138,
0.006785735130310059,
0.00774973201751709,
0.007648612022399902,
0.0076276521682739256,
0.007642531871795654,
0.007323173046112061,
0.007600932121276855,
0.0076305317878723146,
0.007654531955718994,
0.007596611976623535,
0.007604772090911865,
0.007178372859954834,
0.007307013034820556
]
},
"throughput": {
"unit": "tokens/s",
"value": 136.9720835448293
},
"energy": null,
"efficiency": null
}
}
}