IlyasMoutawwakil's picture
Upload cuda_inference_transformers_text-generation_openai-community/gpt2/benchmark.json with huggingface_hub
e84a423 verified
raw
history blame
15.8 kB
{
"config": {
"name": "cuda_inference_transformers_text-generation_openai-community/gpt2",
"backend": {
"name": "pytorch",
"version": "2.2.2+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": "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 7643 48-Core Processor",
"cpu_count": 96,
"cpu_ram_mb": 1082028.982272,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.15.0-84-generic-x86_64-with-glibc2.35",
"processor": "x86_64",
"python_version": "3.10.12",
"gpu": [
"Advanced Micro Devices, Inc. [AMD/ATI]"
],
"gpu_count": 1,
"gpu_vram_mb": 68702699520,
"optimum_benchmark_version": "0.3.1",
"optimum_benchmark_commit": "aa06eb5e1bf688ecb03b7568e9e816d4af962b61",
"transformers_version": "4.43.3",
"transformers_commit": null,
"accelerate_version": "0.33.0",
"accelerate_commit": null,
"diffusers_version": "0.29.2",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.8",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 903.02464,
"max_global_vram": 1011.744768,
"max_process_vram": 41603.596288,
"max_reserved": 725.614592,
"max_allocated": 666.338304
},
"latency": {
"unit": "s",
"count": 1,
"total": 6.7672119140625,
"mean": 6.7672119140625,
"stdev": 0.0,
"p50": 6.7672119140625,
"p90": 6.7672119140625,
"p95": 6.7672119140625,
"p99": 6.7672119140625,
"values": [
6.7672119140625
]
},
"throughput": null,
"energy": null,
"efficiency": null
},
"prefill": {
"memory": {
"unit": "MB",
"max_ram": 1057.312768,
"max_global_vram": 1104.449536,
"max_process_vram": 275401.736192,
"max_reserved": 725.614592,
"max_allocated": 513.035264
},
"latency": {
"unit": "s",
"count": 68,
"total": 0.5140261607170105,
"mean": 0.007559208245838389,
"stdev": 0.00019603857747250652,
"p50": 0.007535520792007446,
"p90": 0.007786849355697632,
"p95": 0.007948473715782165,
"p99": 0.008259626665115356,
"values": [
0.008270561218261719,
0.008254240989685059,
0.008142240524291992,
0.008022562026977539,
0.007806721210479736,
0.0077987217903137205,
0.0076222410202026365,
0.0074656009674072266,
0.007486240863800049,
0.007478561878204346,
0.0075041608810424805,
0.007634881019592285,
0.007496641159057617,
0.007723202228546142,
0.0075849609375,
0.007563361167907715,
0.007604640960693359,
0.007547521114349366,
0.007539521217346192,
0.007555040836334228,
0.007580801963806152,
0.00750960111618042,
0.007521760940551758,
0.007519521236419678,
0.007497762203216553,
0.007537920951843261,
0.007507521152496338,
0.007547201156616211,
0.007531362056732178,
0.007519200801849365,
0.0075059208869934085,
0.007534561157226563,
0.00753632116317749,
0.007535680770874024,
0.007542561054229737,
0.007540320873260498,
0.007573121070861817,
0.00752544116973877,
0.007511041164398193,
0.007544641971588135,
0.007537920951843261,
0.007554080963134766,
0.007535360813140869,
0.007538082122802735,
0.007520960807800293,
0.007650721073150635,
0.0075329608917236324,
0.0078108811378479,
0.007522400856018067,
0.007781761169433594,
0.007690882205963135,
0.007680800914764405,
0.007635520935058594,
0.0075414409637451175,
0.007465921878814698,
0.007387041091918945,
0.007305760860443115,
0.007350241184234619,
0.007345440864562988,
0.007342401027679443,
0.0073120021820068356,
0.007313120841979981,
0.007293601036071778,
0.007301121234893799,
0.00733168077468872,
0.007339041233062744,
0.007317440986633301,
0.007363680839538574
]
},
"throughput": {
"unit": "tokens/s",
"value": 264.5779736391137
},
"energy": null,
"efficiency": null
},
"decode": {
"memory": {
"unit": "MB",
"max_ram": 1057.312768,
"max_global_vram": 1107.525632,
"max_process_vram": 267505.967104,
"max_reserved": 725.614592,
"max_allocated": 513.259008
},
"latency": {
"unit": "s",
"count": 68,
"total": 0.4846800689697266,
"mean": 0.007127648073084213,
"stdev": 0.0004418411599644515,
"p50": 0.007151680946350098,
"p90": 0.0073134569644927976,
"p95": 0.007391776943206787,
"p99": 0.008547670321464534,
"values": [
0.007733441829681396,
0.00764336109161377,
0.007405440807342529,
0.007339520931243897,
0.010200800895690918,
0.006982720851898193,
0.007069760799407959,
0.0070915207862854,
0.007010400772094727,
0.007103200912475586,
0.007040960788726807,
0.007085600852966309,
0.007212000846862793,
0.007109120845794677,
0.007205280780792236,
0.007128641128540039,
0.007182241916656494,
0.0071360011100769045,
0.007078721046447754,
0.007160480976104736,
0.007139841079711914,
0.007149120807647705,
0.007152801036834717,
0.007133601188659668,
0.007275681018829346,
0.007162080764770508,
0.007181921005249023,
0.007226720809936523,
0.007229920864105225,
0.007182880878448487,
0.007175681114196778,
0.007209121227264404,
0.0071505608558654786,
0.007325440883636475,
0.007156321048736572,
0.007206881999969482,
0.0071929612159729005,
0.007170880794525146,
0.0072643208503723146,
0.007208160877227783,
0.007225601196289062,
0.007217761039733887,
0.007308320999145508,
0.0071843209266662595,
0.007186400890350342,
0.0072168011665344235,
0.00722064208984375,
0.007366401195526123,
0.006986880779266357,
0.007266561031341553,
0.006971041202545166,
0.007048000812530517,
0.006930881023406983,
0.006871840953826904,
0.006858241081237793,
0.0066747207641601565,
0.006670880794525147,
0.006660480976104736,
0.006747520923614502,
0.0066361608505249026,
0.006730720996856689,
0.006784640789031983,
0.006663520812988281,
0.006660321235656738,
0.006659360885620117,
0.0067947211265563965,
0.006657441139221191,
0.006665760993957519
]
},
"throughput": {
"unit": "tokens/s",
"value": 140.29873385251034
},
"energy": null,
"efficiency": null
},
"per_token": {
"memory": null,
"latency": {
"unit": "s",
"count": 68,
"total": 0.45316294908523563,
"mean": 0.006664161015959348,
"stdev": 0.0004020699734908561,
"p50": 0.00664936089515686,
"p90": 0.006771984958648682,
"p95": 0.006900049138069153,
"p99": 0.007971997876167293,
"values": [
0.007137441158294678,
0.007052000999450684,
0.006881121158599853,
0.006842081069946289,
0.009666400909423828,
0.006535360813140869,
0.006639680862426758,
0.006638401031494141,
0.006583520889282227,
0.006632801055908203,
0.00660128116607666,
0.006617600917816162,
0.0067622408866882325,
0.006629920959472656,
0.006750561237335205,
0.0066792011260986325,
0.00669440221786499,
0.006690401077270508,
0.00660128116607666,
0.006677121162414551,
0.006682721138000489,
0.006630560874938965,
0.006628800868988037,
0.006644320964813232,
0.006731040954589844,
0.006665760993957519,
0.0066571211814880375,
0.006699521064758301,
0.006676480770111084,
0.006647360801696777,
0.006632960796356201,
0.006644960880279541,
0.006639680862426758,
0.00674928092956543,
0.006655041217803955,
0.006660961151123047,
0.006677441120147705,
0.006668160915374756,
0.006669120788574219,
0.006674080848693848,
0.006675361156463623,
0.006661760807037354,
0.006755041122436523,
0.0066436810493469235,
0.006661760807037354,
0.006651360988616944,
0.006660961151123047,
0.0067947211265563965,
0.0066577610969543455,
0.00691024112701416,
0.006610240936279297,
0.006699841022491455,
0.006540960788726806,
0.006522881031036377,
0.00648560094833374,
0.006326560974121094,
0.006332641124725342,
0.006327520847320556,
0.0063873610496520995,
0.006305760860443115,
0.006398561000823974,
0.0064491209983825685,
0.0063212809562683105,
0.006327361106872559,
0.0063164811134338375,
0.006450241088867188,
0.0063139209747314455,
0.006325760841369629
]
},
"throughput": {
"unit": "tokens/s",
"value": 150.05639833809505
},
"energy": null,
"efficiency": null
}
}
}