IlyasMoutawwakil's picture
Upload cuda_inference_transformers_text-generation_openai-community/gpt2/benchmark.json with huggingface_hub
440593a verified
raw
history blame
14.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 7763 64-Core Processor",
"cpu_count": 128,
"cpu_ram_mb": 1082015.236096,
"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": "b0801269b3611e452bb077a62163b08a99ceb2a9",
"transformers_version": "4.42.4",
"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.7",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 901.169152,
"max_global_vram": 1844.98176,
"max_process_vram": 47617.921024,
"max_reserved": 725.614592,
"max_allocated": 666.338304
},
"latency": {
"unit": "s",
"count": 1,
"total": 7.54077392578125,
"mean": 7.54077392578125,
"stdev": 0.0,
"p50": 7.54077392578125,
"p90": 7.54077392578125,
"p95": 7.54077392578125,
"p99": 7.54077392578125,
"values": [
7.54077392578125
]
},
"throughput": null,
"energy": null,
"efficiency": null
},
"prefill": {
"memory": {
"unit": "MB",
"max_ram": 1055.653888,
"max_global_vram": 1939.365888,
"max_process_vram": 278221.18912,
"max_reserved": 725.614592,
"max_allocated": 513.035264
},
"latency": {
"unit": "s",
"count": 60,
"total": 0.5008032774925234,
"mean": 0.008346721291542054,
"stdev": 0.0005448673655268163,
"p50": 0.008305848598480225,
"p90": 0.00873736982345581,
"p95": 0.008919969940185547,
"p99": 0.010119734477996817,
"values": [
0.008811530113220214,
0.008894089698791505,
0.008724329948425293,
0.008444649696350098,
0.008370570182800293,
0.008277129173278809,
0.008306888580322266,
0.008361769676208495,
0.008304808616638184,
0.008450569152832032,
0.008729129791259766,
0.008396329879760743,
0.008321608543395996,
0.01174785327911377,
0.008532969474792481,
0.008654409408569336,
0.008299049377441406,
0.008928330421447753,
0.008669449806213378,
0.00869985008239746,
0.008220008850097656,
0.008988329887390137,
0.008434569358825684,
0.007955368995666503,
0.007960649013519287,
0.007996169090270996,
0.007945289134979248,
0.007963688850402832,
0.00795120906829834,
0.008031848907470704,
0.007986409187316895,
0.007965128898620605,
0.007940968990325929,
0.007966088771820068,
0.007956968784332276,
0.007945929050445557,
0.007967208862304688,
0.007955529212951661,
0.007942089080810547,
0.00793872880935669,
0.008035208702087402,
0.007944328784942627,
0.00872624969482422,
0.008508488655090332,
0.008429449081420898,
0.008516489028930664,
0.008496648788452148,
0.008485129356384277,
0.008919529914855957,
0.008378728866577149,
0.008474410057067871,
0.008455368995666504,
0.008423369407653808,
0.008238888740539551,
0.00814768886566162,
0.007940649032592773,
0.007913928985595703,
0.007936648845672608,
0.007962248802185058,
0.007932329177856445
]
},
"throughput": {
"unit": "tokens/s",
"value": 239.61504525455416
},
"energy": null,
"efficiency": null
},
"decode": {
"memory": {
"unit": "MB",
"max_ram": 1055.653888,
"max_global_vram": 1940.754432,
"max_process_vram": 274285.891584,
"max_reserved": 725.614592,
"max_allocated": 513.259008
},
"latency": {
"unit": "s",
"count": 60,
"total": 0.49927416133880614,
"mean": 0.008321236022313435,
"stdev": 0.00028088753895400253,
"p50": 0.008258169651031495,
"p90": 0.008704138088226317,
"p95": 0.008873601865768433,
"p99": 0.009015641908645629,
"values": [
0.008871049880981445,
0.008686570167541504,
0.008500649452209472,
0.008380969047546387,
0.008397448539733886,
0.008325770378112793,
0.008424168586730956,
0.008369769096374512,
0.008352169990539551,
0.008697770118713378,
0.00839184856414795,
0.008442728996276856,
0.008282569885253907,
0.00898480987548828,
0.008278730392456055,
0.008419369697570801,
0.008689129829406738,
0.009060009956359864,
0.008621129035949707,
0.008558090209960938,
0.008836009979248046,
0.008922089576721191,
0.008224010467529297,
0.008199369430541992,
0.008083048820495606,
0.00811488914489746,
0.008070089340209962,
0.008145769119262696,
0.008157769203186034,
0.008057929039001465,
0.008114728927612305,
0.008103528976440429,
0.008144808769226073,
0.00800624942779541,
0.008091049194335937,
0.008252009391784668,
0.008053448677062989,
0.008089288711547852,
0.008094408988952636,
0.008015048980712891,
0.008027209281921386,
0.007998729228973388,
0.008308968544006347,
0.00826432991027832,
0.008607210159301758,
0.008479209899902343,
0.008328009605407714,
0.008761449813842774,
0.008625450134277344,
0.008222088813781739,
0.00819632911682129,
0.00820481014251709,
0.008541449546813965,
0.008118088722229005,
0.007958569049835206,
0.007947848796844483,
0.007995368957519532,
0.00815424919128418,
0.00802880859375,
0.007995687961578369
]
},
"throughput": {
"unit": "tokens/s",
"value": 120.17445453037206
},
"energy": null,
"efficiency": null
},
"per_token": {
"memory": null,
"latency": {
"unit": "s",
"count": 60,
"total": 0.44968594217300417,
"mean": 0.007494765702883403,
"stdev": 0.00028086104289966546,
"p50": 0.007459208488464356,
"p90": 0.007981656789779662,
"p95": 0.008066000938415528,
"p99": 0.008131802520751954,
"values": [
0.00810080909729004,
0.007868968963623046,
0.007611207962036133,
0.00754144811630249,
0.007495368003845215,
0.007430408954620361,
0.007524007797241211,
0.0074622478485107425,
0.00749600887298584,
0.007913128852844238,
0.0075480079650878905,
0.007518407821655274,
0.007451848983764648,
0.008116648674011231,
0.0074561691284179684,
0.007513928890228272,
0.00789552879333496,
0.008153609275817871,
0.00772160816192627,
0.007713929176330566,
0.008056328773498536,
0.008064168930053711,
0.007398889064788818,
0.007359208106994629,
0.007262728214263916,
0.007236648082733155,
0.007196167945861817,
0.0072372879981994626,
0.007243847846984864,
0.007253608226776123,
0.007257927894592285,
0.0071902480125427244,
0.00727344799041748,
0.0071920080184936525,
0.0072353677749633786,
0.007404488086700439,
0.007245128154754639,
0.007222248077392578,
0.007286727905273438,
0.0072300882339477535,
0.00726688814163208,
0.007244487762451172,
0.007513288021087646,
0.007574409008026123,
0.00771760892868042,
0.007663049221038818,
0.007552009105682373,
0.00799216890335083,
0.007980488777160644,
0.00750464916229248,
0.007523047924041748,
0.007530569076538086,
0.007672968864440918,
0.007349287986755371,
0.007183207988739014,
0.0071761679649353025,
0.007134407997131348,
0.007273128032684326,
0.0072329678535461425,
0.007221286773681641
]
},
"throughput": {
"unit": "tokens/s",
"value": 133.4264524927414
},
"energy": null,
"efficiency": null
}
}
}