IlyasMoutawwakil's picture
Upload cuda_inference_transformers_text-generation_openai-community/gpt2/benchmark.json with huggingface_hub
2999b10 verified
raw
history blame
15.1 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.871232,
"max_global_vram": 68702.69952,
"max_process_vram": 45263.405056,
"max_reserved": 725.614592,
"max_allocated": 666.338304
},
"latency": {
"unit": "s",
"count": 1,
"total": 7.873080078125,
"mean": 7.873080078125,
"stdev": 0.0,
"p50": 7.873080078125,
"p90": 7.873080078125,
"p95": 7.873080078125,
"p99": 7.873080078125,
"values": [
7.873080078125
]
},
"throughput": null,
"energy": null,
"efficiency": null
},
"prefill": {
"memory": {
"unit": "MB",
"max_ram": 1130.389504,
"max_global_vram": 68702.69952,
"max_process_vram": 295725.973504,
"max_reserved": 725.614592,
"max_allocated": 513.035264
},
"latency": {
"unit": "s",
"count": 60,
"total": 0.5083073568344116,
"mean": 0.008471789280573527,
"stdev": 0.000553401583887197,
"p50": 0.008352252960205078,
"p90": 0.00906193389892578,
"p95": 0.00910401406288147,
"p99": 0.01055808269500732,
"values": [
0.009001773834228516,
0.010115216255187989,
0.00877473258972168,
0.008612174034118653,
0.008481932640075683,
0.008330412864685059,
0.008374093055725097,
0.008443053245544434,
0.008378892898559571,
0.008308012962341309,
0.00858273410797119,
0.00889393424987793,
0.008462574005126953,
0.011195378303527832,
0.008067052841186523,
0.0080846529006958,
0.008066412925720214,
0.008079373359680175,
0.008028332710266112,
0.008073452949523927,
0.008066093444824219,
0.008052653312683105,
0.008035372734069825,
0.008086091995239257,
0.008107692718505859,
0.008071852684020995,
0.008056173324584961,
0.008055533409118652,
0.008065933227539063,
0.008078731536865235,
0.008048972129821778,
0.008076492309570313,
0.008059372901916504,
0.00805681324005127,
0.008067373275756837,
0.008073613166809082,
0.008092171669006347,
0.00810385227203369,
0.008469934463500977,
0.008524493217468261,
0.00846305274963379,
0.008469292640686035,
0.008499532699584962,
0.008427053451538087,
0.008147052764892578,
0.008159212112426758,
0.008047693252563477,
0.008295852661132813,
0.009072013854980469,
0.008633613586425781,
0.009087214469909668,
0.009060813903808593,
0.009122254371643067,
0.00910305404663086,
0.009059853553771972,
0.009060813903808593,
0.009038093566894532,
0.009051854133605958,
0.00845745277404785,
0.008448172569274902
]
},
"throughput": {
"unit": "tokens/s",
"value": 236.07763764688482
},
"energy": null,
"efficiency": null
},
"decode": {
"memory": {
"unit": "MB",
"max_ram": 1130.405888,
"max_global_vram": 68702.69952,
"max_process_vram": 303455.9488,
"max_reserved": 725.614592,
"max_allocated": 513.259008
},
"latency": {
"unit": "s",
"count": 60,
"total": 0.5049043064117432,
"mean": 0.008415071773529053,
"stdev": 0.0012748222749504796,
"p50": 0.008158573150634766,
"p90": 0.008915533828735351,
"p95": 0.00895102195739746,
"p99": 0.012668567581176727,
"values": [
0.01777202796936035,
0.008900813102722168,
0.008333772659301757,
0.008273933410644531,
0.008142252922058106,
0.008114413261413574,
0.008174893379211425,
0.008197133064270019,
0.008122093200683593,
0.008463692665100098,
0.0084984130859375,
0.00838913345336914,
0.008484333038330079,
0.007966891765594482,
0.007928651809692383,
0.007870091915130615,
0.007897771835327149,
0.007872811794281006,
0.007869932174682617,
0.00786705207824707,
0.007904491901397704,
0.007887052059173585,
0.00809073257446289,
0.007952972888946534,
0.007953611850738526,
0.007924972057342529,
0.007937292098999023,
0.00788129186630249,
0.007928812026977539,
0.007866412162780763,
0.007892652988433838,
0.008016972541809083,
0.007945452213287353,
0.007920812129974366,
0.007977131843566895,
0.008011853218078614,
0.007948973178863526,
0.008258732795715332,
0.008299853324890137,
0.008295212745666504,
0.00831441307067871,
0.008304332733154297,
0.008324172973632813,
0.008219853401184082,
0.007939212799072266,
0.007884492874145508,
0.007930572032928468,
0.0088323335647583,
0.00894849395751953,
0.00881265354156494,
0.008939694404602051,
0.008913293838500976,
0.009122095108032226,
0.00885361385345459,
0.008999053955078124,
0.008935693740844727,
0.00887169361114502,
0.008527853012084962,
0.008648332595825195,
0.008547054290771485
]
},
"throughput": {
"unit": "tokens/s",
"value": 118.83439938630816
},
"energy": null,
"efficiency": null
},
"per_token": {
"memory": null,
"latency": {
"unit": "s",
"count": 60,
"total": 0.46590904474258427,
"mean": 0.007765150745709737,
"stdev": 0.0012523311153199907,
"p50": 0.0075221719741821284,
"p90": 0.008211788749694825,
"p95": 0.00825948510169983,
"p99": 0.011883821592330902,
"values": [
0.01703778648376465,
0.008138731956481933,
0.007649131774902344,
0.007619371891021728,
0.007518251895904541,
0.007480812072753906,
0.007526092052459717,
0.007567371845245361,
0.007462252140045166,
0.007735211849212647,
0.007805131912231446,
0.0077104120254516606,
0.007574090957641602,
0.007352971076965332,
0.007291050910949707,
0.007278410911560058,
0.007331690788269043,
0.007288011074066162,
0.007276650905609131,
0.007308491230010986,
0.007302570819854737,
0.007291370868682861,
0.007511372089385986,
0.007362411975860596,
0.007354890823364258,
0.007311370849609375,
0.0073291311264038084,
0.007311851024627686,
0.00731217098236084,
0.007265451908111572,
0.007296812057495117,
0.007359052181243896,
0.007358251094818115,
0.007300011157989502,
0.007349771022796631,
0.007432491779327393,
0.007285292148590088,
0.007608652114868164,
0.007662251949310302,
0.007680972099304199,
0.007686892032623291,
0.007686892032623291,
0.007673612117767334,
0.007589612007141113,
0.007311212062835693,
0.007274251937866211,
0.00731217098236084,
0.00822561264038086,
0.008282893180847168,
0.008172172546386719,
0.00825825309753418,
0.008189292907714843,
0.008302252769470215,
0.008195693016052247,
0.00824529266357422,
0.008188013076782227,
0.00821025276184082,
0.007863852024078369,
0.007808812141418457,
0.007793932914733887
]
},
"throughput": {
"unit": "tokens/s",
"value": 128.78050056562034
},
"energy": null,
"efficiency": null
}
}
}