IlyasMoutawwakil's picture
Upload cuda_inference_transformers_text-generation_openai-community/gpt2/benchmark.json with huggingface_hub
a055823 verified
raw
history blame
15.1 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": 1082014.482432,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.15.0-122-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.5.0",
"optimum_benchmark_commit": null,
"transformers_version": "4.45.2",
"transformers_commit": null,
"accelerate_version": "1.0.0",
"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.13.0",
"peft_commit": null
},
"print_report": true,
"log_report": true
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 1105.334272,
"max_global_vram": 68702.69952,
"max_process_vram": 3300.12672,
"max_reserved": 725.614592,
"max_allocated": 666.338304
},
"latency": {
"unit": "s",
"values": [
0.07505658721923827
],
"count": 1,
"total": 0.07505658721923827,
"mean": 0.07505658721923827,
"p50": 0.07505658721923827,
"p90": 0.07505658721923827,
"p95": 0.07505658721923827,
"p99": 0.07505658721923827,
"stdev": 0,
"stdev_": 0
},
"throughput": null,
"energy": null,
"efficiency": null
},
"prefill": {
"memory": {
"unit": "MB",
"max_ram": 1271.6032,
"max_global_vram": 68702.69952,
"max_process_vram": 278123.470848,
"max_reserved": 725.614592,
"max_allocated": 513.235456
},
"latency": {
"unit": "s",
"values": [
0.00857437515258789,
0.0090433349609375,
0.009058053970336915,
0.009124134063720703,
0.009080453872680664,
0.009051653861999511,
0.008994053840637208,
0.009030694961547852,
0.008757414817810059,
0.008675015449523926,
0.00856541633605957,
0.008548934936523438,
0.00855021572113037,
0.009197093963623048,
0.009068293571472168,
0.009137093544006348,
0.00909325408935547,
0.009110855102539063,
0.009141094207763672,
0.009103653907775879,
0.00915373420715332,
0.00914173412322998,
0.009123173713684082,
0.00932861328125,
0.009013733863830566,
0.008473094940185546,
0.008789734840393066,
0.009271332740783692,
0.00915805435180664,
0.009109414100646973,
0.009177574157714844,
0.009306214332580566,
0.008905734062194824,
0.008912295341491698,
0.008882855415344238,
0.008887813568115235,
0.008882373809814452,
0.008889095306396484,
0.009113574028015136,
0.008901095390319825,
0.008935334205627442,
0.008226536750793456,
0.0088654146194458,
0.008867815017700195,
0.008890214920043946,
0.009021253585815429,
0.008902533531188965,
0.008897575378417968,
0.008911174774169922,
0.008901735305786133,
0.008937414169311524,
0.008917574882507323,
0.008917095184326172,
0.008930693626403809,
0.00890237522125244,
0.008914374351501464,
0.008889414787292481,
0.008904934883117676
],
"count": 58,
"total": 0.5190598011016844,
"mean": 0.008949306915546285,
"p50": 0.008924134254455566,
"p90": 0.009155030250549317,
"p95": 0.009208229780197145,
"p99": 0.009315845880508423,
"stdev": 0.00020765420193343602,
"stdev_": 2.3203383669042528
},
"throughput": {
"unit": "tokens/s",
"value": 223.4809934304187
},
"energy": null,
"efficiency": null
},
"decode": {
"memory": {
"unit": "MB",
"max_ram": 1271.6032,
"max_global_vram": 68702.69952,
"max_process_vram": 297849.585664,
"max_reserved": 725.614592,
"max_allocated": 513.257984
},
"latency": {
"unit": "s",
"values": [
0.007996458053588867,
0.008355015754699708,
0.008644294738769532,
0.008464936256408692,
0.008498536109924317,
0.00845533561706543,
0.008313096046447754,
0.008332136154174805,
0.007927337169647216,
0.007859978199005127,
0.007979337215423585,
0.008036136627197266,
0.007959657192230225,
0.008403016090393066,
0.008399496078491211,
0.008490376472473145,
0.008520135879516602,
0.008558534622192382,
0.008499655723571777,
0.00853405475616455,
0.00850877571105957,
0.008507975578308105,
0.00863261604309082,
0.00849469566345215,
0.00792541790008545,
0.008143177032470703,
0.008493736267089843,
0.00848093605041504,
0.008651494979858398,
0.008406696319580078,
0.01142764663696289,
0.008050057411193847,
0.008072457313537597,
0.007981417179107666,
0.008043017387390137,
0.007990218162536622,
0.00801341724395752,
0.008008776664733886,
0.008072297096252441,
0.008021257400512695,
0.00799165678024292,
0.008153257369995117,
0.008030217170715332,
0.008030536651611329,
0.008024617195129395,
0.008030217170715332,
0.008055977821350098,
0.008008296966552735,
0.007975976943969726,
0.008006696701049804,
0.007994536876678466,
0.008011016845703125,
0.008015497207641602,
0.008008136749267578,
0.008113256454467773,
0.008004937171936035,
0.008018536567687988,
0.008002376556396485
],
"count": 58,
"total": 0.4786293540000916,
"mean": 0.008252230241380889,
"p50": 0.008053017616271974,
"p90": 0.008524311542510987,
"p95": 0.008634367847442627,
"p99": 0.00984524019241333,
"stdev": 0.00048247988735494534,
"stdev_": 5.846660517729441
},
"throughput": {
"unit": "tokens/s",
"value": 121.17936251772161
},
"energy": null,
"efficiency": null
},
"per_token": {
"memory": null,
"latency": {
"unit": "s",
"values": [
0.007491979122161865,
0.007834376811981202,
0.008032297134399414,
0.00787949800491333,
0.007923818111419678,
0.007910057067871094,
0.007820938110351562,
0.007810536861419678,
0.007414699077606201,
0.007331339836120605,
0.007483818054199219,
0.007569738864898682,
0.0074390192031860355,
0.007867018222808837,
0.007835497856140137,
0.007918057918548584,
0.007924296855926515,
0.007882216930389404,
0.007881897926330567,
0.007934057235717773,
0.00793021821975708,
0.007927977085113525,
0.008039338111877441,
0.007974057197570801,
0.007435819149017334,
0.007563498973846436,
0.00789485788345337,
0.007902857780456542,
0.008047977447509765,
0.007904458045959472,
0.0108273286819458,
0.007599977970123291,
0.007644299030303955,
0.007575498104095459,
0.007599818229675293,
0.007561419010162353,
0.0075918188095092775,
0.0075908579826354985,
0.007610538005828857,
0.007602377891540528,
0.007561899185180664,
0.007738378047943115,
0.007589259147644043,
0.007582218170166016,
0.007574538230895996,
0.007592778205871582,
0.007608619213104248,
0.007581577777862549,
0.007556777954101562,
0.007579018115997314,
0.007564458847045898,
0.007590377807617187,
0.00758637809753418,
0.007581418991088868,
0.007703978061676026,
0.00757853889465332,
0.007592778205871582,
0.007585097789764404
],
"count": 58,
"total": 0.4497582435607908,
"mean": 0.007754452475186052,
"p50": 0.007601177930831909,
"p90": 0.007931369924545288,
"p95": 0.008033353281021118,
"p99": 0.009243098478317259,
"stdev": 0.00044529116414161203,
"stdev_": 5.742393361317598
},
"throughput": {
"unit": "tokens/s",
"value": 128.95816992881979
},
"energy": null,
"efficiency": null
}
}
}