IlyasMoutawwakil's picture
Upload cuda_inference_transformers_text-generation_openai-community/gpt2/benchmark.json with huggingface_hub
f788dad verified
raw
history blame
14.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": "6",
"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": 1079.558144,
"max_global_vram": 68702.69952,
"max_process_vram": 48164.159488,
"max_reserved": 725.614592,
"max_allocated": 666.338304
},
"latency": {
"unit": "s",
"count": 1,
"total": 8.546984375,
"mean": 8.546984375,
"stdev": 0.0,
"p50": 8.546984375,
"p90": 8.546984375,
"p95": 8.546984375,
"p99": 8.546984375,
"values": [
8.546984375
]
},
"throughput": null,
"energy": null,
"efficiency": null
},
"prefill": {
"memory": {
"unit": "MB",
"max_ram": 1248.78848,
"max_global_vram": 68702.69952,
"max_process_vram": 312186.720256,
"max_reserved": 725.614592,
"max_allocated": 513.035264
},
"latency": {
"unit": "s",
"count": 58,
"total": 0.5202309522628783,
"mean": 0.008969499176946177,
"stdev": 0.00016419123409375298,
"p50": 0.00892497205734253,
"p90": 0.009174700546264649,
"p95": 0.009302589273452759,
"p99": 0.009484851055145264,
"values": [
0.00956401252746582,
0.009425132751464844,
0.00911825180053711,
0.00905953311920166,
0.008860812187194825,
0.008834092140197754,
0.00887313175201416,
0.009004813194274902,
0.008890092849731445,
0.008860652923583984,
0.008946413040161133,
0.009020012855529785,
0.008925131797790527,
0.009080492973327636,
0.008859372138977051,
0.008805131912231446,
0.008822253227233887,
0.008764171600341797,
0.00888081169128418,
0.009309932708740235,
0.008977452278137206,
0.00915521240234375,
0.009109452247619628,
0.008960331916809082,
0.00904513168334961,
0.008964012145996094,
0.008890892028808594,
0.009220172882080078,
0.00930129337310791,
0.009093293190002441,
0.00908353328704834,
0.009029292106628417,
0.009002251625061035,
0.009005131721496583,
0.008942571640014649,
0.00892481231689453,
0.00883377170562744,
0.008871691703796387,
0.008868492126464844,
0.008805771827697755,
0.008842091560363769,
0.009242571830749512,
0.009017772674560547,
0.008877772331237793,
0.00886705207824707,
0.009020011901855468,
0.008895212173461915,
0.008827532768249512,
0.00889441204071045,
0.009076972961425782,
0.008960972785949707,
0.008820012092590332,
0.008850571632385253,
0.008819851875305176,
0.008866731643676757,
0.008814891815185548,
0.008795052528381348,
0.008752652168273926
]
},
"throughput": {
"unit": "tokens/s",
"value": 222.97788990721943
},
"energy": null,
"efficiency": null
},
"decode": {
"memory": {
"unit": "MB",
"max_ram": 1248.940032,
"max_global_vram": 68702.69952,
"max_process_vram": 279116.12416,
"max_reserved": 725.614592,
"max_allocated": 513.259008
},
"latency": {
"unit": "s",
"count": 58,
"total": 0.4903902721405028,
"mean": 0.008455004692077637,
"stdev": 0.00014499631970410202,
"p50": 0.00842441177368164,
"p90": 0.008658972167968751,
"p95": 0.008736035823822022,
"p99": 0.008859932203292847,
"values": [
0.008856492042541504,
0.008679692268371581,
0.008480011940002441,
0.00845345115661621,
0.008377132415771484,
0.008325132369995117,
0.008347371101379394,
0.008427531242370605,
0.00849393081665039,
0.008584811210632324,
0.008439050674438477,
0.008564810752868652,
0.00831809139251709,
0.008360490798950196,
0.008285612106323241,
0.008281770706176758,
0.008304810523986817,
0.008413931846618653,
0.008734091758728028,
0.008602412223815917,
0.008511371612548828,
0.008453771591186524,
0.008747052192687989,
0.008493131637573242,
0.008421292304992676,
0.008380331039428712,
0.008407530784606933,
0.008864492416381835,
0.00870337200164795,
0.008459851264953614,
0.008615371704101562,
0.008587052345275879,
0.008566251754760742,
0.008434572219848634,
0.00850241184234619,
0.008600811958312988,
0.008365291595458985,
0.00831297206878662,
0.008285611152648927,
0.008298412322998047,
0.008462411880493164,
0.008650092124938965,
0.008460970878601074,
0.008386092185974121,
0.008358572006225586,
0.008361612319946289,
0.00834385108947754,
0.00838257122039795,
0.008520651817321777,
0.00853153133392334,
0.008349611282348632,
0.00839985179901123,
0.008324172019958496,
0.008336010932922364,
0.008340971946716309,
0.008319849967956544,
0.00824929141998291,
0.008270570755004883
]
},
"throughput": {
"unit": "tokens/s",
"value": 118.27314548234406
},
"energy": null,
"efficiency": null
},
"per_token": {
"memory": null,
"latency": {
"unit": "s",
"count": 58,
"total": 0.4598420691490174,
"mean": 0.007928311537052023,
"stdev": 0.00012985784042809855,
"p50": 0.007892010927200318,
"p90": 0.008124250888824463,
"p95": 0.008169202947616576,
"p99": 0.008255294485092162,
"values": [
0.00823025131225586,
0.00812113094329834,
0.007947051048278808,
0.0079180908203125,
0.007887051105499268,
0.007817931175231933,
0.007810891151428223,
0.007882891178131103,
0.007907529830932618,
0.008064010620117187,
0.007927210807800292,
0.008052010536193848,
0.007813130855560303,
0.007846890926361084,
0.007756011009216308,
0.007782411098480224,
0.007809289932250977,
0.007820971012115478,
0.008135531425476074,
0.008079851150512695,
0.007958090782165528,
0.007930410861968993,
0.008207692146301269,
0.007927210807800292,
0.007900811195373536,
0.007877450942993164,
0.007876811027526855,
0.008288491249084472,
0.008162410736083984,
0.007931690216064453,
0.00807297134399414,
0.008023691177368165,
0.008056171417236328,
0.007930730819702149,
0.007983370780944824,
0.008085290908813476,
0.007852971076965332,
0.007792971134185791,
0.007781449794769287,
0.007787530899047852,
0.007891050815582275,
0.00813153076171875,
0.007941451072692871,
0.00785633087158203,
0.007852331161499023,
0.007845611095428466,
0.007832810878753663,
0.007874889850616455,
0.008035850524902344,
0.008022411346435547,
0.007827529907226563,
0.007892971038818359,
0.007812810897827148,
0.007868169784545898,
0.007810091018676758,
0.007812009811401367,
0.007746729850769043,
0.007749131202697754
]
},
"throughput": {
"unit": "tokens/s",
"value": 126.13026056388156
},
"energy": null,
"efficiency": null
}
}
}