IlyasMoutawwakil's picture
Upload cuda_inference_transformers_text-generation_openai-community/gpt2/benchmark.json with huggingface_hub
9e206ac 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": "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": 1079.578624,
"max_global_vram": 68702.69952,
"max_process_vram": 47750.868992,
"max_reserved": 725.614592,
"max_allocated": 666.338304
},
"latency": {
"unit": "s",
"count": 1,
"total": 8.3883388671875,
"mean": 8.3883388671875,
"stdev": 0.0,
"p50": 8.3883388671875,
"p90": 8.3883388671875,
"p95": 8.3883388671875,
"p99": 8.3883388671875,
"values": [
8.3883388671875
]
},
"throughput": null,
"energy": null,
"efficiency": null
},
"prefill": {
"memory": {
"unit": "MB",
"max_ram": 1248.845824,
"max_global_vram": 68702.69952,
"max_process_vram": 300809.076736,
"max_reserved": 725.614592,
"max_allocated": 513.035264
},
"latency": {
"unit": "s",
"count": 62,
"total": 0.5137956986427307,
"mean": 0.008287027397463398,
"stdev": 0.0018083759384651798,
"p50": 0.007934461116790772,
"p90": 0.0087270827293396,
"p95": 0.008751570653915405,
"p99": 0.014092603483200081,
"values": [
0.008973258018493652,
0.00856493854522705,
0.008542379379272462,
0.008369099617004395,
0.008196940422058105,
0.007935821056365967,
0.008094220161437989,
0.007942700862884521,
0.008152459144592285,
0.007998859882354737,
0.00794286012649536,
0.007935821056365967,
0.00804557991027832,
0.008250539779663085,
0.00808318042755127,
0.008023980140686036,
0.007908620834350587,
0.008074060440063476,
0.008374858856201171,
0.00797870111465454,
0.00776862096786499,
0.007904301166534424,
0.007743821144104004,
0.0077035012245178225,
0.007933101177215577,
0.00776814079284668,
0.007910860061645509,
0.007735341072082519,
0.007754061222076416,
0.007759340763092041,
0.007762381076812744,
0.007748620986938477,
0.007721580982208252,
0.007744941234588623,
0.007737260818481445,
0.00774958086013794,
0.007769741058349609,
0.007743020057678223,
0.007771020889282227,
0.007764461040496826,
0.007787341117858886,
0.007752301216125489,
0.007723180770874023,
0.007767820835113525,
0.007721261024475097,
0.00782270097732544,
0.007713901042938232,
0.007721580982208252,
0.007735500812530518,
0.007753261089324951,
0.02209978485107422,
0.008722219467163086,
0.008042860031127929,
0.008702218055725098,
0.008739019393920898,
0.008727338790893555,
0.008606538772583008,
0.008724778175354005,
0.008706857681274414,
0.008746858596801757,
0.008751818656921387,
0.008843977928161622
]
},
"throughput": {
"unit": "tokens/s",
"value": 241.34106285351322
},
"energy": null,
"efficiency": null
},
"decode": {
"memory": {
"unit": "MB",
"max_ram": 1248.956416,
"max_global_vram": 68702.69952,
"max_process_vram": 296865.501184,
"max_reserved": 725.614592,
"max_allocated": 513.259008
},
"latency": {
"unit": "s",
"count": 62,
"total": 0.4877149634361268,
"mean": 0.007866370378002044,
"stdev": 0.0014870821803774934,
"p50": 0.007511181354522705,
"p90": 0.00822497158050537,
"p95": 0.008374571228027343,
"p99": 0.013996106920242314,
"values": [
0.008272139549255372,
0.008046859741210938,
0.008142379760742188,
0.007846380233764648,
0.007578382015228272,
0.007552620887756348,
0.007574381828308105,
0.007791660785675049,
0.007662062168121338,
0.007753261089324951,
0.007511181831359863,
0.007571341037750244,
0.007608302116394043,
0.010995173454284668,
0.007600621223449707,
0.007387182235717773,
0.007551180839538574,
0.007478702068328858,
0.007847341060638427,
0.007511180877685547,
0.00752558183670044,
0.0073185420036315915,
0.007498860836029053,
0.018689874649047852,
0.007363501071929931,
0.007399181842803955,
0.007344461917877197,
0.007380142211914063,
0.007382542133331299,
0.0073675022125244145,
0.007402542114257812,
0.0073884611129760745,
0.007361581802368164,
0.0073276619911193846,
0.007406221866607666,
0.007448462009429932,
0.0073846220970153805,
0.007330542087554932,
0.007387182235717773,
0.007369582176208496,
0.007353742122650147,
0.007311341762542725,
0.00734318208694458,
0.007338700771331787,
0.0073276619911193846,
0.007377421855926514,
0.0073155021667480466,
0.007316301822662354,
0.007477901935577393,
0.007325582027435303,
0.008393580436706544,
0.007627020835876465,
0.007836141109466553,
0.00817646026611328,
0.008210859298706054,
0.008226539611816406,
0.008172300338745117,
0.00831134033203125,
0.008188299179077149,
0.008169739723205567,
0.008178059577941894,
0.008377899169921875
]
},
"throughput": {
"unit": "tokens/s",
"value": 127.12343202100624
},
"energy": null,
"efficiency": null
},
"per_token": {
"memory": null,
"latency": {
"unit": "s",
"count": 62,
"total": 0.4552617616653444,
"mean": 0.007342931639763617,
"stdev": 0.001493513745655749,
"p50": 0.006988223075866699,
"p90": 0.007681277227401734,
"p95": 0.007863611936569212,
"p99": 0.013487751226425175,
"values": [
0.00767358112335205,
0.007443181037902832,
0.007517741203308105,
0.007271502017974853,
0.007017262935638428,
0.00701710319519043,
0.007026223182678223,
0.007246702194213867,
0.007096942901611328,
0.007188782215118408,
0.006985103130340576,
0.0070020627975463864,
0.007026863098144531,
0.010446694374084473,
0.0070607829093933105,
0.006861584186553955,
0.007045901775360107,
0.0069324631690979,
0.007317101955413819,
0.006987183094024658,
0.0070393428802490235,
0.0068211030960083005,
0.0069892630577087405,
0.018244276046752928,
0.006864142894744873,
0.006874223232269287,
0.0068491029739379886,
0.00685502290725708,
0.006883183002471924,
0.006851343154907227,
0.0068566231727600095,
0.006878862857818604,
0.006836623191833496,
0.006819343090057373,
0.006876943111419678,
0.006957582950592041,
0.006861903190612793,
0.0068307042121887205,
0.006857102870941162,
0.006856142997741699,
0.006831343173980713,
0.006814702987670899,
0.006843983173370361,
0.006831822872161865,
0.00681390380859375,
0.006853743076324463,
0.0068044629096984865,
0.006853423118591309,
0.006969422817230225,
0.006828143119812012,
0.00786734104156494,
0.007183661937713623,
0.007344302177429199,
0.007681741237640381,
0.0076892609596252446,
0.007664300918579101,
0.007663500785827637,
0.0077958211898803715,
0.007677101135253907,
0.007656460762023926,
0.007658541202545166,
0.007867179870605468
]
},
"throughput": {
"unit": "tokens/s",
"value": 136.18538876009364
},
"energy": null,
"efficiency": null
}
}
}