IlyasMoutawwakil's picture
Upload cuda_inference_transformers_text-generation_openai-community/gpt2/benchmark.json with huggingface_hub
4fca491 verified
raw
history blame
15.4 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": "4",
"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.0",
"accelerate_commit": null,
"diffusers_version": "0.30.2",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.9",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 1032.11008,
"max_global_vram": 68702.69952,
"max_process_vram": 39812.272128,
"max_reserved": 725.614592,
"max_allocated": 666.338304
},
"latency": {
"unit": "s",
"count": 1,
"total": 7.48005517578125,
"mean": 7.48005517578125,
"stdev": 0.0,
"p50": 7.48005517578125,
"p90": 7.48005517578125,
"p95": 7.48005517578125,
"p99": 7.48005517578125,
"values": [
7.48005517578125
]
},
"throughput": null,
"energy": null,
"efficiency": null
},
"prefill": {
"memory": {
"unit": "MB",
"max_ram": 1201.475584,
"max_global_vram": 68702.69952,
"max_process_vram": 274634.104832,
"max_reserved": 725.614592,
"max_allocated": 513.035264
},
"latency": {
"unit": "s",
"count": 62,
"total": 0.5243646187782286,
"mean": 0.008457493851261754,
"stdev": 0.0017951367374426028,
"p50": 0.008398613929748534,
"p90": 0.008663909244537353,
"p95": 0.008976820182800292,
"p99": 0.017675971946716308,
"values": [
0.008985092163085937,
0.008819652557373046,
0.008429253578186035,
0.00774349594116211,
0.007651016235351562,
0.007598377227783203,
0.007617576122283936,
0.007611017227172851,
0.007614215850830078,
0.007608137130737305,
0.00769245719909668,
0.007874216079711914,
0.01040236759185791,
0.008040454864501953,
0.007584136009216308,
0.007559496879577637,
0.0076026968955993654,
0.007574697017669677,
0.007556457042694092,
0.007572616100311279,
0.007584455966949463,
0.0075778961181640625,
0.007611176013946533,
0.008666373252868653,
0.008532612800598145,
0.008579334259033204,
0.00854349422454834,
0.00853661346435547,
0.008536614418029786,
0.008513894081115723,
0.00854717254638672,
0.008556133270263671,
0.00860061264038086,
0.018285383224487306,
0.008635652542114259,
0.008582693099975586,
0.008583012580871583,
0.008599493026733398,
0.008596773147583009,
0.008619173049926758,
0.00856269359588623,
0.008576933860778808,
0.008631173133850098,
0.00756493616104126,
0.007575976848602295,
0.007703015804290772,
0.007617095947265625,
0.007619815826416016,
0.00758957576751709,
0.008641733169555663,
0.008563334465026856,
0.0086375732421875,
0.008367974281311035,
0.008601734161376953,
0.017286348342895507,
0.008708613395690918,
0.008568934440612793,
0.007752615928649903,
0.007578697204589844,
0.007606697082519531,
0.00759917688369751,
0.007583975791931152
]
},
"throughput": {
"unit": "tokens/s",
"value": 236.47667207013396
},
"energy": null,
"efficiency": null
},
"decode": {
"memory": {
"unit": "MB",
"max_ram": 1201.58208,
"max_global_vram": 68702.69952,
"max_process_vram": 277129.777152,
"max_reserved": 725.614592,
"max_allocated": 513.259008
},
"latency": {
"unit": "s",
"count": 62,
"total": 0.48298361778259274,
"mean": 0.007790058351332143,
"stdev": 0.0012446560970846231,
"p50": 0.007891335487365723,
"p90": 0.008126518154144287,
"p95": 0.00817574291229248,
"p99": 0.011603404178619391,
"values": [
0.008177414894104004,
0.008074535369873046,
0.0076114959716796875,
0.0070478181838989256,
0.00700013780593872,
0.006977578163146972,
0.007011178016662597,
0.007006378173828125,
0.006954218864440918,
0.007181898117065429,
0.007130696773529053,
0.007553575992584228,
0.016849388122558595,
0.0071858978271484375,
0.007150698184967041,
0.007209257125854492,
0.007162217140197754,
0.007166697025299072,
0.007171177864074707,
0.0071570978164672856,
0.007139657974243164,
0.007185577869415283,
0.007506536960601807,
0.008048455238342285,
0.008054055213928223,
0.008058375358581542,
0.00806413459777832,
0.008069254875183106,
0.008096774101257325,
0.008100295066833496,
0.008074535369873046,
0.008143975257873535,
0.008095335006713868,
0.008035175323486328,
0.008083334922790527,
0.008202855110168456,
0.008116294860839843,
0.008052934646606445,
0.00807597541809082,
0.008102375030517578,
0.008061095237731934,
0.00808205509185791,
0.007961894989013672,
0.007168138027191162,
0.00714829683303833,
0.007192937850952148,
0.007196298122406006,
0.007191818237304687,
0.007570056915283203,
0.008132614135742188,
0.007912614822387695,
0.008111815452575683,
0.008249414443969727,
0.008037895202636718,
0.008026214599609375,
0.008127654075622558,
0.007911174774169923,
0.007252936840057373,
0.007217895984649658,
0.007214217185974121,
0.007259817123413086,
0.007871496200561523
]
},
"throughput": {
"unit": "tokens/s",
"value": 128.3687431980525
},
"energy": null,
"efficiency": null
},
"per_token": {
"memory": null,
"latency": {
"unit": "s",
"count": 62,
"total": 0.453483232498169,
"mean": 0.007314245685454338,
"stdev": 0.0012386583258691994,
"p50": 0.007397336959838867,
"p90": 0.007617031955718994,
"p95": 0.007689840197563171,
"p99": 0.011104468197822575,
"values": [
0.007693096160888672,
0.007617095947265625,
0.007194537162780762,
0.006659018993377686,
0.0066161398887634275,
0.0065870189666748045,
0.006623179912567139,
0.006611979007720948,
0.006573900222778321,
0.0067948589324951176,
0.006720778942108155,
0.006685898780822754,
0.016396909713745116,
0.006737898826599121,
0.006686220169067383,
0.006747338771820068,
0.006719338893890381,
0.006721098899841308,
0.006715019226074218,
0.006709578990936279,
0.006688939094543457,
0.006733579158782959,
0.007014857769012451,
0.007533257007598877,
0.007565416812896728,
0.007567495822906494,
0.007562376022338867,
0.00758493709564209,
0.007602536201477051,
0.007620456218719482,
0.007591977119445801,
0.007627976894378662,
0.007610217094421386,
0.007517897129058838,
0.0075903768539428715,
0.007710855960845947,
0.007615177154541015,
0.007563497066497803,
0.0075977368354797365,
0.007592617034912109,
0.007558695793151856,
0.007587175846099853,
0.007509575843811035,
0.006703179836273193,
0.006704779148101807,
0.0067332592010498045,
0.006735498905181885,
0.00673085880279541,
0.007063817977905273,
0.007616456031799316,
0.00740861701965332,
0.007615817070007324,
0.007720776081085205,
0.007551815986633301,
0.007480617046356201,
0.007608776092529297,
0.007424296855926514,
0.00678269910812378,
0.006758058071136474,
0.006729259014129639,
0.006770059108734131,
0.007386056900024414
]
},
"throughput": {
"unit": "tokens/s",
"value": 136.71949822367543
},
"energy": null,
"efficiency": null
}
}
}