IlyasMoutawwakil's picture
Upload cuda_inference_transformers_text-generation_openai-community/gpt2/benchmark.json with huggingface_hub
1787924 verified
raw
history blame
15.1 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": {},
"hub_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": "e9af750a2bec0e8b3a11d3bf5c5aa883075e8a03",
"transformers_version": "4.42.4",
"transformers_commit": null,
"accelerate_version": "0.32.1",
"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": 899.473408,
"max_global_vram": 1011.757056,
"max_process_vram": 46991.249408,
"max_reserved": 725.614592,
"max_allocated": 666.338304
},
"latency": {
"unit": "s",
"count": 1,
"total": 7.52832177734375,
"mean": 7.52832177734375,
"stdev": 0.0,
"p50": 7.52832177734375,
"p90": 7.52832177734375,
"p95": 7.52832177734375,
"p99": 7.52832177734375,
"values": [
7.52832177734375
]
},
"throughput": null,
"energy": null,
"efficiency": null
},
"prefill": {
"memory": {
"unit": "MB",
"max_ram": 1053.81888,
"max_global_vram": 1107.488768,
"max_process_vram": 292150.41536,
"max_reserved": 725.614592,
"max_allocated": 513.035264
},
"latency": {
"unit": "s",
"count": 62,
"total": 0.5136712098121644,
"mean": 0.008285019513099425,
"stdev": 0.00039378915137054334,
"p50": 0.008266550064086914,
"p90": 0.00872952527999878,
"p95": 0.008777821302413941,
"p99": 0.009074588136672973,
"values": [
0.008748788833618164,
0.008567350387573242,
0.008402229309082031,
0.008475029945373535,
0.008081430435180665,
0.007992469787597656,
0.007966390132904053,
0.00805807113647461,
0.008030229568481446,
0.008006710052490235,
0.008018549919128417,
0.00903246784210205,
0.008836309432983398,
0.00914046859741211,
0.008779349327087403,
0.008695509910583496,
0.008719189643859863,
0.008692468643188477,
0.008675668716430664,
0.00868286895751953,
0.008683829307556153,
0.008679349899291993,
0.008701749801635742,
0.008695830345153808,
0.008709268569946289,
0.00873534870147705,
0.008366548538208007,
0.008584308624267577,
0.008398870468139648,
0.008029749870300293,
0.007824950218200684,
0.007712151050567627,
0.007679350852966308,
0.007956950187683106,
0.007692310810089111,
0.007887829780578613,
0.007700150966644287,
0.007903989791870117,
0.007721270084381103,
0.008139510154724122,
0.00826303005218506,
0.008234550476074218,
0.00770078992843628,
0.00827007007598877,
0.008730069160461425,
0.008648948669433594,
0.008661749839782715,
0.008315349578857422,
0.008158229827880859,
0.008724630355834961,
0.008243989944458009,
0.008407670021057129,
0.008294389724731446,
0.008070550918579101,
0.007736791133880616,
0.007753430843353271,
0.00776223087310791,
0.0077633500099182125,
0.007767029762268066,
0.008406390190124511,
0.008262069702148437,
0.008091030120849609
]
},
"throughput": {
"unit": "tokens/s",
"value": 241.39955214804317
},
"energy": null,
"efficiency": null
},
"decode": {
"memory": {
"unit": "MB",
"max_ram": 1053.81888,
"max_global_vram": 1107.525632,
"max_process_vram": 294646.70208,
"max_reserved": 725.614592,
"max_allocated": 513.259008
},
"latency": {
"unit": "s",
"count": 62,
"total": 0.49081939315795897,
"mean": 0.00791644182512837,
"stdev": 0.00034804227962036653,
"p50": 0.00789055061340332,
"p90": 0.00831925392150879,
"p95": 0.008414973211288451,
"p99": 0.00846189679145813,
"values": [
0.00827103042602539,
0.00816911029815674,
0.008086389541625976,
0.007791830062866211,
0.007705591201782227,
0.007704151153564453,
0.007676149845123291,
0.007758230209350586,
0.007706070899963379,
0.00784319019317627,
0.007874711036682129,
0.008447669982910156,
0.008372309684753419,
0.008484148979187011,
0.008282389640808106,
0.008261268615722656,
0.008265589714050293,
0.008243189811706544,
0.008250069618225098,
0.008245590209960938,
0.00824542999267578,
0.008260149002075196,
0.008404788970947265,
0.008323349952697755,
0.008252149581909179,
0.008264470100402831,
0.008085270881652833,
0.007906390190124511,
0.00796223020553589,
0.007667671203613282,
0.007507030963897705,
0.00737519121170044,
0.0073276710510253905,
0.007508310794830322,
0.007356471061706543,
0.007861430168151856,
0.00736207103729248,
0.007346870899200439,
0.007368950843811035,
0.007746070861816406,
0.007827509880065918,
0.007367671012878418,
0.0076756711006164555,
0.008275989532470704,
0.008268309593200683,
0.00811007022857666,
0.0076900701522827145,
0.00809486961364746,
0.008431509971618652,
0.008415509223937988,
0.008132309913635253,
0.008149589538574219,
0.007514070987701416,
0.0075308699607849125,
0.007861589908599854,
0.007480790138244629,
0.007536631107330322,
0.007585270881652832,
0.007500310897827148,
0.008061750411987305,
0.007770709991455078,
0.007967669010162354
]
},
"throughput": {
"unit": "tokens/s",
"value": 126.31937707491262
},
"energy": null,
"efficiency": null
},
"per_token": {
"memory": null,
"latency": {
"unit": "s",
"count": 62,
"total": 0.4579266357421874,
"mean": 0.0073859134797127,
"stdev": 0.00033852463463548895,
"p50": 0.007398310422897339,
"p90": 0.007788695096969604,
"p95": 0.007840655088424683,
"p99": 0.007913111605644226,
"values": [
0.007584471225738526,
0.0075313510894775395,
0.007483191013336181,
0.00721583080291748,
0.007170392036437988,
0.007148951053619385,
0.007136311054229736,
0.007164791107177735,
0.007178071022033691,
0.00729391098022461,
0.007284310817718506,
0.007841431140899658,
0.0077919912338256835,
0.007907509803771973,
0.007750071048736572,
0.00775806999206543,
0.0077590298652648925,
0.007749750137329102,
0.007733750820159912,
0.007740951061248779,
0.007714550971984863,
0.007755350112915039,
0.007909430027008056,
0.00780063009262085,
0.007753429889678955,
0.00775423002243042,
0.0076193509101867675,
0.007436951160430908,
0.007451351165771484,
0.007172152042388916,
0.0070393519401550295,
0.006890710830688477,
0.006851992130279541,
0.006997432231903076,
0.006888791084289551,
0.007406550884246826,
0.0068934311866760255,
0.0068915109634399415,
0.00688975191116333,
0.007280150890350342,
0.007342710971832276,
0.006874231815338134,
0.007117432117462158,
0.0077486300468444826,
0.007739029884338379,
0.007584791183471679,
0.007183510780334473,
0.0075924711227416996,
0.007918869972229004,
0.007825910091400146,
0.0076028709411621095,
0.007583031177520752,
0.006951510906219482,
0.006944951057434082,
0.007306390762329101,
0.006934550762176514,
0.006963350772857666,
0.006987990856170655,
0.006952151775360107,
0.0075174298286437985,
0.007243511199951172,
0.007390069961547852
]
},
"throughput": {
"unit": "tokens/s",
"value": 135.39286680608373
},
"energy": null,
"efficiency": null
}
}
}