IlyasMoutawwakil's picture
Upload cuda_inference_transformers_text-generation_openai-community/gpt2/benchmark.json with huggingface_hub
a29a492 verified
raw
history blame
15.3 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": "6",
"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.1",
"transformers_commit": null,
"accelerate_version": "0.34.2",
"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
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 1106.157568,
"max_global_vram": 68702.69952,
"max_process_vram": 4438.831104,
"max_reserved": 725.614592,
"max_allocated": 666.338304
},
"latency": {
"unit": "s",
"values": [
0.07476767730712891
],
"count": 1,
"total": 0.07476767730712891,
"mean": 0.07476767730712891,
"p50": 0.07476767730712891,
"p90": 0.07476767730712891,
"p95": 0.07476767730712891,
"p99": 0.07476767730712891,
"stdev": 0,
"stdev_": 0
},
"throughput": null,
"energy": null,
"efficiency": null
},
"prefill": {
"memory": {
"unit": "MB",
"max_ram": 1272.6272,
"max_global_vram": 68702.69952,
"max_process_vram": 298833.05984,
"max_reserved": 725.614592,
"max_allocated": 513.235456
},
"latency": {
"unit": "s",
"values": [
0.008543856620788574,
0.009133938789367677,
0.00912545871734619,
0.009338740348815919,
0.008829938888549804,
0.009116019248962402,
0.009145459175109864,
0.009133618354797363,
0.00912001895904541,
0.009084178924560546,
0.009073617935180665,
0.009098898887634278,
0.009129138946533203,
0.009213459014892579,
0.00911121940612793,
0.0091062593460083,
0.009148338317871093,
0.009190258979797363,
0.009132338523864745,
0.009193778991699219,
0.009114739418029785,
0.009080819129943848,
0.009094259262084962,
0.00907953929901123,
0.009131218910217285,
0.009129939079284667,
0.009112499237060546,
0.00911825942993164,
0.009127698898315429,
0.009112178802490234,
0.009163699150085448,
0.00916737937927246,
0.009116819381713867,
0.00914833927154541,
0.00852641773223877,
0.008487057685852051,
0.008509617805480957,
0.008904659271240234,
0.008512336730957032,
0.00863489818572998,
0.008474576950073242,
0.008468658447265624,
0.00846513843536377,
0.00810833740234375,
0.008127376556396485,
0.008193137168884278,
0.008309137344360352,
0.008072977066040038,
0.008111216545104981,
0.008118416786193848,
0.008123855590820312,
0.008098896980285644,
0.008102577209472656,
0.008098896026611329,
0.008134737014770507,
0.008120017051696777,
0.00806705665588379,
0.00814289665222168,
0.00810833740234375,
0.008074095726013183
],
"count": 60,
"total": 0.524761251449585,
"mean": 0.00874602085749308,
"p50": 0.009080179214477539,
"p90": 0.009149875259399413,
"p95": 0.009190434980392456,
"p99": 0.009264824361801148,
"stdev": 0.0004483248299734678,
"stdev_": 5.126043457687037
},
"throughput": {
"unit": "tokens/s",
"value": 228.67542080996947
},
"energy": null,
"efficiency": null
},
"decode": {
"memory": {
"unit": "MB",
"max_ram": 1272.6272,
"max_global_vram": 68702.69952,
"max_process_vram": 294887.95648,
"max_reserved": 725.614592,
"max_allocated": 513.257984
},
"latency": {
"unit": "s",
"values": [
0.007854416847229003,
0.008402256965637208,
0.008346096992492676,
0.008397936820983887,
0.007825456142425536,
0.00835185718536377,
0.008365456581115722,
0.008408337593078614,
0.008402896881103515,
0.008347058296203613,
0.008313617706298827,
0.00835889720916748,
0.008371216773986816,
0.00834497833251953,
0.00834849739074707,
0.008409136772155762,
0.008612977981567382,
0.008480978012084962,
0.008476178169250488,
0.008377616882324218,
0.00834257698059082,
0.008361457824707031,
0.008337297439575196,
0.008322257041931153,
0.008484018325805665,
0.008410257339477539,
0.008479537963867188,
0.008428497314453125,
0.008491217613220215,
0.00864097785949707,
0.008465456962585449,
0.008496177673339845,
0.008362896919250488,
0.008023056983947754,
0.007969456195831299,
0.007982736110687255,
0.008221616744995117,
0.00815921688079834,
0.007910737037658691,
0.00823057746887207,
0.008112016677856446,
0.007983535766601562,
0.007859375953674317,
0.0075867362022399906,
0.007516174793243408,
0.007555856227874756,
0.0076118559837341304,
0.007583695888519287,
0.007852816104888916,
0.007598735809326172,
0.007578735828399658,
0.007599376201629639,
0.007628654956817627,
0.007638256072998047,
0.0075659360885620116,
0.007757936000823975,
0.007610095024108887,
0.007553775787353515,
0.007633776187896729,
0.007582415103912354
],
"count": 60,
"total": 0.4863256468772887,
"mean": 0.008105427447954814,
"p50": 0.00831793737411499,
"p90": 0.008479681968688965,
"p95": 0.008491465616226197,
"p99": 0.008624457931518554,
"stdev": 0.0003559351651556435,
"stdev_": 4.391318871720382
},
"throughput": {
"unit": "tokens/s",
"value": 123.37412263832218
},
"energy": null,
"efficiency": null
},
"per_token": {
"memory": null,
"latency": {
"unit": "s",
"values": [
0.007385615825653076,
0.007890096187591553,
0.007831535816192626,
0.007871535778045655,
0.007236655235290527,
0.007856336116790772,
0.007851696014404297,
0.007865937232971191,
0.007884016036987304,
0.007841455936431884,
0.007832656860351563,
0.00785649585723877,
0.00786625623703003,
0.007853776931762695,
0.007818895816802979,
0.007896175861358642,
0.00806257724761963,
0.007920977115631103,
0.007916816234588623,
0.007880815982818604,
0.007853136062622071,
0.007847376823425293,
0.00784657621383667,
0.007828176021575928,
0.007940976142883301,
0.007899856090545655,
0.007956017017364501,
0.007912015914916993,
0.007979376792907715,
0.008047216415405274,
0.007909455776214599,
0.007910737037658691,
0.00785745620727539,
0.007560175895690918,
0.007469454765319824,
0.007422894954681397,
0.007648335933685303,
0.007600335121154786,
0.007340496063232422,
0.007652336120605468,
0.007533616065979004,
0.007436015129089355,
0.00731729507446289,
0.007025615215301513,
0.006996973991394043,
0.0070180950164794925,
0.0070395350456237795,
0.007059374809265137,
0.007295374870300293,
0.0070390539169311525,
0.007001935005187988,
0.007030574798583984,
0.007014574050903321,
0.007022095203399658,
0.007005294799804687,
0.007150414943695068,
0.0070342540740966795,
0.007009775161743164,
0.007001453876495361,
0.006990893840789795
],
"count": 60,
"total": 0.4539249405860901,
"mean": 0.007565415676434834,
"p50": 0.007823535919189453,
"p90": 0.00791723232269287,
"p95": 0.007957185006141662,
"p99": 0.00805351435661316,
"stdev": 0.0003743055537348716,
"stdev_": 4.947587412820934
},
"throughput": {
"unit": "tokens/s",
"value": 132.18044358287597
},
"energy": null,
"efficiency": null
}
}
}