IlyasMoutawwakil's picture
Upload cuda_inference_transformers_text-generation_openai-community/gpt2/benchmark.json with huggingface_hub
df22f4e 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": "5",
"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.595584,
"max_global_vram": 68702.69952,
"max_process_vram": 49823.629312,
"max_reserved": 725.614592,
"max_allocated": 666.338304
},
"latency": {
"unit": "s",
"count": 1,
"total": 8.3580849609375,
"mean": 8.3580849609375,
"stdev": 0.0,
"p50": 8.3580849609375,
"p90": 8.3580849609375,
"p95": 8.3580849609375,
"p99": 8.3580849609375,
"values": [
8.3580849609375
]
},
"throughput": null,
"energy": null,
"efficiency": null
},
"prefill": {
"memory": {
"unit": "MB",
"max_ram": 1247.899648,
"max_global_vram": 68702.69952,
"max_process_vram": 296487.284736,
"max_reserved": 725.614592,
"max_allocated": 513.035264
},
"latency": {
"unit": "s",
"count": 61,
"total": 0.5260666456222532,
"mean": 0.008624043370856612,
"stdev": 0.0025346559446840704,
"p50": 0.008007342338562012,
"p90": 0.008855340003967285,
"p95": 0.008902058601379395,
"p99": 0.022001934432983396,
"values": [
0.008365580558776856,
0.008291661262512207,
0.008547341346740723,
0.00831998062133789,
0.007979022026062012,
0.008663021087646484,
0.008256621360778808,
0.008279180526733399,
0.007943501949310303,
0.008191501617431641,
0.007965261936187745,
0.02119611167907715,
0.008376461029052734,
0.008329581260681153,
0.00870829963684082,
0.008860139846801758,
0.008902058601379395,
0.008855340003967285,
0.007808142185211182,
0.007815502166748046,
0.008021422386169434,
0.007851982116699218,
0.007870701789855957,
0.007852781772613525,
0.007851821899414062,
0.007806861877441406,
0.007858222007751464,
0.008269580841064453,
0.008405581474304199,
0.008065741539001465,
0.008858220100402832,
0.007858703136444092,
0.007932462215423585,
0.0078508620262146,
0.008007342338562012,
0.007850701808929444,
0.007851181983947754,
0.007814382076263428,
0.007876142024993897,
0.007823822021484374,
0.00790702199935913,
0.007861422061920167,
0.007872141838073731,
0.007830701828002929,
0.007862862110137939,
0.007974222183227539,
0.007858382225036622,
0.007855341911315919,
0.008931979179382325,
0.008827340126037598,
0.008704140663146972,
0.008690220832824707,
0.008666860580444335,
0.023210668563842775,
0.008768619537353516,
0.008679500579833984,
0.008196141242980957,
0.008048622131347657,
0.007834221839904785,
0.0076321430206298824,
0.007621263027191162
]
},
"throughput": {
"unit": "tokens/s",
"value": 231.90977990192357
},
"energy": null,
"efficiency": null
},
"decode": {
"memory": {
"unit": "MB",
"max_ram": 1247.977472,
"max_global_vram": 68702.69952,
"max_process_vram": 297853.628416,
"max_reserved": 725.614592,
"max_allocated": 513.259008
},
"latency": {
"unit": "s",
"count": 61,
"total": 0.4811555466651918,
"mean": 0.007887795846970354,
"stdev": 0.0009791005653271602,
"p50": 0.007582862854003906,
"p90": 0.008365582466125489,
"p95": 0.008406861305236817,
"p99": 0.01208147640228271,
"values": [
0.007526223182678223,
0.00778478193283081,
0.007449903011322021,
0.007535502910614013,
0.007972461223602295,
0.008263021469116212,
0.007956781864166259,
0.007781423091888427,
0.007558541774749756,
0.007841742038726807,
0.00774334192276001,
0.00801294231414795,
0.010441096305847167,
0.007736942768096924,
0.008392300605773926,
0.008419820785522461,
0.008406861305236817,
0.008070382118225097,
0.007542862892150879,
0.007514223098754883,
0.007537423133850097,
0.007485743045806885,
0.007646702766418457,
0.007476303100585937,
0.007521742820739746,
0.007526223182678223,
0.008018542289733886,
0.007970541954040527,
0.007992301940917969,
0.014542046546936036,
0.0075404620170593266,
0.007560622215270996,
0.007582862854003906,
0.007514702796936035,
0.007551023006439209,
0.007660623073577881,
0.007479662895202637,
0.0075463829040527345,
0.0075409431457519535,
0.007528303146362304,
0.007576303005218506,
0.007534382820129394,
0.007581263065338135,
0.007509582996368408,
0.0075819029808044435,
0.007519662857055664,
0.007550703048706055,
0.008406380653381347,
0.008365582466125489,
0.007991821765899658,
0.00799406099319458,
0.007988461971282959,
0.007959661960601806,
0.008118541717529296,
0.008040460586547851,
0.007981101989746093,
0.007722541809082031,
0.007454223155975341,
0.007047664165496826,
0.0070300641059875485,
0.007026863098144531
]
},
"throughput": {
"unit": "tokens/s",
"value": 126.778129074435
},
"energy": null,
"efficiency": null
},
"per_token": {
"memory": null,
"latency": {
"unit": "s",
"count": 61,
"total": 0.44943929481506356,
"mean": 0.00736785729205022,
"stdev": 0.0009762184321801357,
"p50": 0.007070064067840576,
"p90": 0.007815182209014893,
"p95": 0.007872942924499512,
"p99": 0.011502502059936517,
"values": [
0.007024784088134766,
0.007258543014526367,
0.006986063957214355,
0.0070294241905212405,
0.0074167828559875484,
0.00768702220916748,
0.00738670301437378,
0.0072465438842773434,
0.006987504005432129,
0.007277102947235108,
0.0071131038665771485,
0.007350543975830078,
0.009808298110961913,
0.007178383827209473,
0.007815182209014893,
0.007851501941680909,
0.00785822296142578,
0.007544463157653809,
0.0069993438720703125,
0.00697822380065918,
0.0069926238059997555,
0.006964464187622071,
0.007096464157104492,
0.006949103832244873,
0.006977263927459717,
0.006998383998870849,
0.00747454309463501,
0.0074067039489746096,
0.00744014310836792,
0.014043807983398438,
0.006977583885192871,
0.006981904029846191,
0.007045104026794434,
0.00698206377029419,
0.0069633440971374515,
0.007105103969573975,
0.006931663990020752,
0.006977583885192871,
0.006991663932800293,
0.00700878381729126,
0.007007664203643799,
0.006985583782196045,
0.007016623973846435,
0.0069475040435791014,
0.00704750394821167,
0.00695582389831543,
0.0070067038536071775,
0.008007182121276855,
0.007872942924499512,
0.007578063011169434,
0.007582382202148437,
0.0075692620277404785,
0.007549263000488281,
0.007658863067626953,
0.0076047821044921875,
0.007559982776641846,
0.007344462871551514,
0.007070064067840576,
0.006667184829711914,
0.006650704860687256,
0.00665070390701294
]
},
"throughput": {
"unit": "tokens/s",
"value": 135.72467005827886
},
"energy": null,
"efficiency": null
}
}
}