IlyasMoutawwakil's picture
Upload cuda_inference_transformers_text-generation_openai-community/gpt2/benchmark.json with huggingface_hub
876286d verified
raw
history blame
14.6 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": 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.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.12.0",
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 1078.050816,
"max_global_vram": 68702.69952,
"max_process_vram": 41923.579904,
"max_reserved": 725.614592,
"max_allocated": 666.338304
},
"latency": {
"unit": "s",
"count": 1,
"total": 8.3422373046875,
"mean": 8.3422373046875,
"stdev": 0.0,
"p50": 8.3422373046875,
"p90": 8.3422373046875,
"p95": 8.3422373046875,
"p99": 8.3422373046875,
"values": [
8.3422373046875
]
},
"throughput": null,
"energy": null,
"efficiency": null
},
"prefill": {
"memory": {
"unit": "MB",
"max_ram": 1247.260672,
"max_global_vram": 68702.69952,
"max_process_vram": 268220.23168,
"max_reserved": 725.614592,
"max_allocated": 513.035264
},
"latency": {
"unit": "s",
"count": 56,
"total": 0.5085426712036133,
"mean": 0.009081119128635951,
"stdev": 0.0003224412371839231,
"p50": 0.009064813137054442,
"p90": 0.009560334205627442,
"p95": 0.00972045397758484,
"p99": 0.009801125860214234,
"values": [
0.0097744140625,
0.00971937370300293,
0.009637934684753418,
0.00941313362121582,
0.00945185375213623,
0.009127054214477539,
0.009184972763061523,
0.009530413627624511,
0.009723694801330566,
0.009225613594055175,
0.009423853874206543,
0.009590254783630372,
0.009321614265441895,
0.009522414207458496,
0.009299054145812988,
0.009073452949523926,
0.009078093528747559,
0.008965933799743652,
0.008901773452758789,
0.009833773612976075,
0.00915041446685791,
0.009070572853088378,
0.009088652610778809,
0.00907297420501709,
0.0090964937210083,
0.009017132759094238,
0.008955372810363769,
0.00897169303894043,
0.009350093841552734,
0.009264333724975586,
0.009079373359680176,
0.009278573989868165,
0.009100334167480469,
0.009059053421020508,
0.008980173110961914,
0.008955533027648926,
0.008910412788391114,
0.008991052627563476,
0.009029932975769043,
0.008705133438110352,
0.008734892845153809,
0.008715533256530761,
0.008674412727355958,
0.008680493354797363,
0.008694732666015625,
0.00885105323791504,
0.00872065258026123,
0.008720973014831542,
0.00867473316192627,
0.008698252677917481,
0.008728652954101563,
0.008717453002929688,
0.00876369285583496,
0.008712492942810058,
0.008797452926635743,
0.008731212615966797
]
},
"throughput": {
"unit": "tokens/s",
"value": 220.23717249708784
},
"energy": null,
"efficiency": null
},
"decode": {
"memory": {
"unit": "MB",
"max_ram": 1247.4368,
"max_global_vram": 68702.69952,
"max_process_vram": 312629.39136,
"max_reserved": 725.614592,
"max_allocated": 513.259008
},
"latency": {
"unit": "s",
"count": 56,
"total": 0.4894895315170288,
"mean": 0.008740884491375514,
"stdev": 0.001159711880900307,
"p50": 0.008490492820739746,
"p90": 0.00905345344543457,
"p95": 0.009366454362869262,
"p99": 0.014280069780349739,
"values": [
0.009181453704833984,
0.009118253707885743,
0.008842093467712402,
0.008886893272399903,
0.008697612762451172,
0.008506732940673828,
0.00860097312927246,
0.009203534126281738,
0.008828493118286132,
0.008815532684326171,
0.008932653427124024,
0.008988653182983398,
0.008597932815551757,
0.008824652671813964,
0.008563532829284667,
0.008473133087158203,
0.008352171897888184,
0.008398571968078613,
0.015560824394226075,
0.008737612724304199,
0.008324332237243652,
0.008461133003234863,
0.008711213111877442,
0.008368971824645997,
0.008553133010864258,
0.00835825252532959,
0.008387533187866211,
0.008640493392944336,
0.008792813301086427,
0.008585932731628419,
0.008790733337402344,
0.008583852767944336,
0.00854945182800293,
0.008460332870483398,
0.00838161277770996,
0.008570093154907227,
0.009855215072631835,
0.013232179641723633,
0.008216492652893067,
0.00820433235168457,
0.008213452339172363,
0.008163212776184082,
0.008102252006530761,
0.008157292366027831,
0.008184171676635743,
0.008161771774291992,
0.008177613258361817,
0.008180011749267578,
0.008316171646118165,
0.008179692268371582,
0.008474252700805663,
0.008184971809387208,
0.008221932411193848,
0.008217931747436524,
0.008218731880187988,
0.008196652412414551
]
},
"throughput": {
"unit": "tokens/s",
"value": 114.40489815266217
},
"energy": null,
"efficiency": null
},
"per_token": {
"memory": null,
"latency": {
"unit": "s",
"count": 56,
"total": 0.4585222849845884,
"mean": 0.008187897946153369,
"stdev": 0.0011614121951401383,
"p50": 0.00793425178527832,
"p90": 0.008401772499084473,
"p95": 0.008678333520889283,
"p99": 0.013799396562576302,
"values": [
0.00849729347229004,
0.008442092895507812,
0.008241771697998047,
0.008268331527709961,
0.008152972221374512,
0.007932971954345704,
0.008044491767883301,
0.008465453147888184,
0.008242252349853516,
0.008244651794433594,
0.008294092178344727,
0.008361452102661133,
0.00799809217453003,
0.008199531555175782,
0.008001611709594727,
0.00793425178527832,
0.00784225082397461,
0.007876491069793701,
0.015089303016662598,
0.008164973258972167,
0.007826412200927734,
0.007925931930541991,
0.00816193199157715,
0.0078369722366333,
0.007971531867980957,
0.00784465217590332,
0.00786273193359375,
0.008052971839904785,
0.008215532302856446,
0.00792065191268921,
0.008213293075561524,
0.00793425178527832,
0.00803745174407959,
0.007945291996002198,
0.007875371932983398,
0.008051531791687012,
0.009221453666687012,
0.0127440185546875,
0.007699212074279785,
0.007681130886077881,
0.007709452152252197,
0.007669291973114014,
0.007611051082611084,
0.007652970790863037,
0.007674251079559326,
0.007661612033843994,
0.007640491962432861,
0.007660810947418213,
0.007818571090698242,
0.007661131858825684,
0.007960172176361083,
0.007672811985015869,
0.007703211784362793,
0.007698250770568848,
0.0077140917778015135,
0.007697451114654541
]
},
"throughput": {
"unit": "tokens/s",
"value": 122.13146848878286
},
"energy": null,
"efficiency": null
}
}
}