IlyasMoutawwakil's picture
Upload cuda_inference_transformers_text-generation_openai-community/gpt2/benchmark.json with huggingface_hub
acffdfa verified
raw
history blame
14.3 kB
{
"config": {
"name": "cuda_inference_transformers_text-generation_openai-community/gpt2",
"backend": {
"name": "pytorch",
"version": "2.2.0.dev20231010+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": 955.461632,
"max_global_vram": 68702.69952,
"max_process_vram": 45125.603328,
"max_reserved": 725.614592,
"max_allocated": 666.338304
},
"latency": {
"unit": "s",
"count": 1,
"total": 8.08855810546875,
"mean": 8.08855810546875,
"stdev": 0.0,
"p50": 8.08855810546875,
"p90": 8.08855810546875,
"p95": 8.08855810546875,
"p99": 8.08855810546875,
"values": [
8.08855810546875
]
},
"throughput": null,
"energy": null,
"efficiency": null
},
"prefill": {
"memory": {
"unit": "MB",
"max_ram": 1130.00448,
"max_global_vram": 68702.69952,
"max_process_vram": 252350.11584,
"max_reserved": 725.614592,
"max_allocated": 513.035264
},
"latency": {
"unit": "s",
"count": 53,
"total": 0.4932899131774903,
"mean": 0.009307356852405475,
"stdev": 0.003876286618362738,
"p50": 0.008649935722351074,
"p90": 0.009320594215393066,
"p95": 0.009631122779846192,
"p99": 0.022914751129150306,
"values": [
0.009641778945922852,
0.00946097755432129,
0.009624018669128417,
0.009342098236083984,
0.009234578132629394,
0.009170578002929688,
0.009111058235168458,
0.00863185691833496,
0.00921745777130127,
0.008803696632385253,
0.008795697212219239,
0.008748817443847656,
0.008743536949157716,
0.008908018112182618,
0.008740656852722168,
0.008718896865844726,
0.00873073673248291,
0.008762577056884765,
0.008762737274169922,
0.00878913688659668,
0.00876769733428955,
0.00877377700805664,
0.00975857925415039,
0.00881681728363037,
0.008784337043762207,
0.00884417724609375,
0.008604336738586425,
0.008583216667175294,
0.008572015762329101,
0.008563695907592773,
0.008600337028503418,
0.00855601692199707,
0.008564817428588866,
0.008543856620788574,
0.008560976982116698,
0.008595216751098632,
0.008575857162475586,
0.00854737663269043,
0.008524976730346679,
0.008574896812438965,
0.008561456680297851,
0.008531216621398927,
0.03716727066040039,
0.008609775543212891,
0.00850113582611084,
0.008649935722351074,
0.008527695655822754,
0.008517135620117187,
0.008522095680236817,
0.008554256439208985,
0.008490096092224121,
0.008481776237487793,
0.008524176597595214
]
},
"throughput": {
"unit": "tokens/s",
"value": 214.8837776090107
},
"energy": null,
"efficiency": null
},
"decode": {
"memory": {
"unit": "MB",
"max_ram": 1130.00448,
"max_global_vram": 68702.69952,
"max_process_vram": 308510.687232,
"max_reserved": 725.614592,
"max_allocated": 513.259008
},
"latency": {
"unit": "s",
"count": 53,
"total": 0.5188749294281005,
"mean": 0.009790093008077368,
"stdev": 0.011766864515738917,
"p50": 0.007988336086273194,
"p90": 0.008708624839782715,
"p95": 0.008961489486694335,
"p99": 0.05027247413635228,
"values": [
0.008714576721191407,
0.009112498283386231,
0.008860816955566406,
0.008796338081359864,
0.00868481731414795,
0.008641776084899902,
0.008240976333618165,
0.09460002136230469,
0.008335217475891114,
0.008555856704711914,
0.008316335678100585,
0.008282416343688965,
0.008280816078186036,
0.008316816329956055,
0.008301936149597167,
0.008289776802062988,
0.008271856307983399,
0.00831553554534912,
0.008363056182861327,
0.008364336013793945,
0.008341296195983887,
0.00837585735321045,
0.008523216247558594,
0.008408816337585449,
0.009354738235473633,
0.007881935119628907,
0.007897775173187255,
0.007877614974975586,
0.007921616077423095,
0.007894256114959718,
0.007939215183258058,
0.007872495174407959,
0.007919215202331542,
0.007864974975585937,
0.00783921480178833,
0.0080305757522583,
0.007879694938659669,
0.007884015083312988,
0.007829935073852538,
0.007867694854736328,
0.007847054958343506,
0.007708654880523681,
0.007857614994049073,
0.007855216026306152,
0.007872496128082275,
0.007828176021575928,
0.007778575897216797,
0.007837934970855713,
0.007988336086273194,
0.007822415828704833,
0.0078043341636657715,
0.00781409502029419,
0.0078100948333740235
]
},
"throughput": {
"unit": "tokens/s",
"value": 102.14407556444506
},
"energy": null,
"efficiency": null
},
"per_token": {
"memory": null,
"latency": {
"unit": "s",
"count": 53,
"total": 0.4931940813064576,
"mean": 0.009305548703895425,
"stdev": 0.011739058843688087,
"p50": 0.00757057523727417,
"p90": 0.008076334953308105,
"p95": 0.008331472206115723,
"p99": 0.049662895240783426,
"values": [
0.008055535316467285,
0.008426897048950195,
0.008267855644226075,
0.008172335624694825,
0.008079854965209961,
0.008062254905700684,
0.007688014984130859,
0.09392962646484375,
0.007799215793609619,
0.008010894775390624,
0.007782895088195801,
0.007738414764404297,
0.007736495018005371,
0.007795694828033447,
0.007767055034637451,
0.007737454891204834,
0.00774577522277832,
0.007779854774475098,
0.007825775146484375,
0.007828654766082764,
0.0077998552322387695,
0.007841936111450195,
0.007951375007629394,
0.007853614807128905,
0.008801297187805176,
0.00747697401046753,
0.007494255065917969,
0.007473134994506836,
0.007517455101013183,
0.0074896149635314945,
0.00752113389968872,
0.007457133769989014,
0.0075134549140930176,
0.0074633750915527345,
0.007430254936218262,
0.007616175174713135,
0.007468654155731201,
0.007468974113464356,
0.007422574043273926,
0.007447373867034912,
0.007440333843231201,
0.007354413986206055,
0.00742817497253418,
0.007434414863586426,
0.007460014820098877,
0.007421454906463623,
0.007362094879150391,
0.007401295185089111,
0.00757057523727417,
0.007406895160675049,
0.007393134117126465,
0.00739617395401001,
0.007385933876037597
]
},
"throughput": {
"unit": "tokens/s",
"value": 107.46276569176268
},
"energy": null,
"efficiency": null
}
}
}