IlyasMoutawwakil's picture
Upload cuda_inference_transformers_text-generation_openai-community/gpt2/benchmark.json with huggingface_hub
6ff6c84 verified
raw
history blame
16 kB
{
"config": {
"name": "cuda_inference_transformers_text-generation_openai-community/gpt2",
"backend": {
"name": "pytorch",
"version": "2.4.0+rocm6.1",
"_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": "0",
"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": "error",
"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.33.0",
"accelerate_commit": null,
"diffusers_version": "0.30.2",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.9",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 1390.125056,
"max_global_vram": 11.145216,
"max_process_vram": 0.0,
"max_reserved": 725.614592,
"max_allocated": 666.338304
},
"latency": {
"unit": "s",
"count": 1,
"total": 8.0194111328125,
"mean": 8.0194111328125,
"stdev": 0.0,
"p50": 8.0194111328125,
"p90": 8.0194111328125,
"p95": 8.0194111328125,
"p99": 8.0194111328125,
"values": [
8.0194111328125
]
},
"throughput": null,
"energy": null,
"efficiency": null
},
"prefill": {
"memory": {
"unit": "MB",
"max_ram": 1548.96384,
"max_global_vram": 11.149312,
"max_process_vram": 0.0,
"max_reserved": 725.614592,
"max_allocated": 513.035264
},
"latency": {
"unit": "s",
"count": 67,
"total": 0.512071331501007,
"mean": 0.007642855694044881,
"stdev": 0.0022921971885989387,
"p50": 0.0070911779403686525,
"p90": 0.007779463005065918,
"p95": 0.009555185461044302,
"p99": 0.01822380184173584,
"values": [
0.007517576217651367,
0.00795437479019165,
0.0075633349418640135,
0.007411816120147705,
0.007271337032318115,
0.007275016784667969,
0.00716845703125,
0.007090857982635498,
0.007132777214050293,
0.007179817199707031,
0.0071708569526672365,
0.007139018058776855,
0.007119816780090332,
0.007430376052856446,
0.007264457225799561,
0.00724109697341919,
0.007139657974243164,
0.007170056819915772,
0.010241247177124024,
0.007390536785125732,
0.007080616950988769,
0.007074377059936523,
0.01821466255187988,
0.00714173698425293,
0.007099496841430664,
0.007096776962280274,
0.0070911779403686525,
0.007082057952880859,
0.007079977989196778,
0.007033257961273193,
0.007276136875152588,
0.007177097797393799,
0.007079176902770996,
0.007305895805358887,
0.007322056770324707,
0.007364776134490967,
0.006898219108581543,
0.0175701847076416,
0.0069826979637146,
0.0069065380096435544,
0.006881577968597412,
0.006923498153686524,
0.006881097793579102,
0.0068777379989624025,
0.006853737831115723,
0.006851018905639649,
0.0068943781852722165,
0.006857418060302735,
0.006847338199615478,
0.006840457916259765,
0.006844458103179932,
0.006827497959136963,
0.0068233380317687985,
0.006832139015197754,
0.01824154281616211,
0.006945898056030273,
0.00685437822341919,
0.006850217819213867,
0.006844618797302246,
0.006856138229370117,
0.006822699069976806,
0.006834537982940674,
0.006848618030548096,
0.006837738037109375,
0.007788774967193604,
0.007775175094604492,
0.007785894870758057
]
},
"throughput": {
"unit": "tokens/s",
"value": 261.6822925962542
},
"energy": null,
"efficiency": null
},
"decode": {
"memory": {
"unit": "MB",
"max_ram": 1548.96384,
"max_global_vram": 11.07968,
"max_process_vram": 0.0,
"max_reserved": 725.614592,
"max_allocated": 513.259008
},
"latency": {
"unit": "s",
"count": 67,
"total": 0.492566111087799,
"mean": 0.007351733001310433,
"stdev": 0.00028246975378923994,
"p50": 0.007325736999511718,
"p90": 0.007671271228790283,
"p95": 0.008046374607086182,
"p99": 0.008135612659454346,
"values": [
0.007867334842681884,
0.008168454170227052,
0.007687975883483886,
0.0075833358764648435,
0.007520616054534912,
0.007463016033172607,
0.007385096073150635,
0.0073785362243652345,
0.007481417179107666,
0.007660134792327881,
0.007466536998748779,
0.007410056114196777,
0.007386537075042725,
0.007610375881195068,
0.0074164562225341795,
0.007384935855865479,
0.007295176029205323,
0.007011178016662597,
0.007564616203308105,
0.007122857093811035,
0.007309576988220215,
0.00730493688583374,
0.007248776912689209,
0.007325736999511718,
0.007337576866149902,
0.007500455856323242,
0.007346216201782226,
0.007358856201171875,
0.007343495845794678,
0.007395815849304199,
0.007359655857086181,
0.007435495853424072,
0.007403176784515381,
0.007536776065826416,
0.00754093599319458,
0.0074815769195556645,
0.007111017227172852,
0.007207976818084717,
0.00712749719619751,
0.007115336894989013,
0.007110538005828858,
0.007083498001098633,
0.007079657077789307,
0.0070526180267333986,
0.007078376770019532,
0.007086216926574707,
0.007102056980133057,
0.007105738162994385,
0.007202376842498779,
0.007066378116607666,
0.007065736770629883,
0.007104618072509766,
0.007075977802276611,
0.007124136924743652,
0.007209736824035645,
0.007090537071228027,
0.007094858169555664,
0.007276297092437744,
0.00709965705871582,
0.007110538005828858,
0.007069897174835205,
0.0072345371246337895,
0.0070935778617858885,
0.008118694305419921,
0.008046854972839355,
0.00808221435546875,
0.008045253753662109
]
},
"throughput": {
"unit": "tokens/s",
"value": 136.02235008014463
},
"energy": null,
"efficiency": null
},
"per_token": {
"memory": null,
"latency": {
"unit": "s",
"count": 67,
"total": 0.46112317419052123,
"mean": 0.006882435435679421,
"stdev": 0.00025521693241703123,
"p50": 0.006864459037780762,
"p90": 0.007137385654449463,
"p95": 0.007554615879058838,
"p99": 0.00759681755065918,
"values": [
0.007248297214508057,
0.007561575889587402,
0.007130857944488526,
0.007041897773742676,
0.007012457847595215,
0.006967337131500244,
0.006861097812652588,
0.006858538150787354,
0.006980937957763672,
0.007147177219390869,
0.006981418132781982,
0.006919658184051514,
0.00689373779296875,
0.0070844578742980955,
0.006910697937011719,
0.006902537822723389,
0.0068801379203796385,
0.006618059158325195,
0.007096298217773437,
0.006668457984924317,
0.006858698844909668,
0.006864459037780762,
0.006783658981323242,
0.006880457878112793,
0.00689581823348999,
0.007051338195800781,
0.0069046177864074704,
0.006899978160858154,
0.006885417938232422,
0.006886218070983887,
0.006892777919769287,
0.006979657173156738,
0.0069492578506469725,
0.0070618982315063476,
0.007097096920013428,
0.007035818099975586,
0.0066454181671142575,
0.006734218120574951,
0.006683658123016358,
0.006670059204101563,
0.0066756591796875,
0.006642858982086181,
0.0066409392356872555,
0.00662493896484375,
0.006635659217834473,
0.006654858112335205,
0.006657098770141602,
0.00666365909576416,
0.006768137931823731,
0.006623178958892822,
0.0066223788261413575,
0.006648138999938965,
0.006630858898162842,
0.006676618099212646,
0.0067279782295227054,
0.006643019199371338,
0.006656458854675293,
0.006835018157958984,
0.006645898818969726,
0.0066554989814758304,
0.006622698783874512,
0.006791819095611573,
0.006649899005889893,
0.007616775989532471,
0.007538375854492188,
0.007586535930633545,
0.007562055110931397
]
},
"throughput": {
"unit": "tokens/s",
"value": 145.29740370913947
},
"energy": null,
"efficiency": null
}
}
}