IlyasMoutawwakil's picture
Upload cuda_inference_transformers_text-generation_openai-community/gpt2/benchmark.json with huggingface_hub
2485520 verified
raw
history blame
15.8 kB
{
"config": {
"name": "cuda_inference_transformers_text-generation_openai-community/gpt2",
"backend": {
"name": "pytorch",
"version": "2.4.0+rocm6.1",
"_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": "0",
"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": "error",
"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.33.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": 1389.228032,
"max_global_vram": 11.149312,
"max_process_vram": 0.0,
"max_reserved": 725.614592,
"max_allocated": 666.338304
},
"latency": {
"unit": "s",
"count": 1,
"total": 7.83218115234375,
"mean": 7.83218115234375,
"stdev": 0.0,
"p50": 7.83218115234375,
"p90": 7.83218115234375,
"p95": 7.83218115234375,
"p99": 7.83218115234375,
"values": [
7.83218115234375
]
},
"throughput": null,
"energy": null,
"efficiency": null
},
"prefill": {
"memory": {
"unit": "MB",
"max_ram": 1548.386304,
"max_global_vram": 11.145216,
"max_process_vram": 0.0,
"max_reserved": 725.614592,
"max_allocated": 513.035264
},
"latency": {
"unit": "s",
"count": 65,
"total": 0.492705816745758,
"mean": 0.007580089488396277,
"stdev": 0.0017224311113465402,
"p50": 0.007120780944824219,
"p90": 0.007793578052520752,
"p95": 0.008039593124389647,
"p99": 0.015513767013549801,
"values": [
0.007576457977294922,
0.007710058212280274,
0.007708777904510498,
0.007641579151153564,
0.007517259120941162,
0.007535978794097901,
0.007381740093231201,
0.007333899974822998,
0.007380139827728271,
0.007386858940124512,
0.007425899028778076,
0.007326698780059814,
0.0073215789794921875,
0.007363658905029297,
0.007470058917999268,
0.0070049409866333005,
0.0070993399620056154,
0.007090700149536133,
0.007035339832305908,
0.007255178928375244,
0.007264298915863037,
0.0072505388259887695,
0.007086700916290283,
0.007120780944824219,
0.007090539932250977,
0.008015016555786132,
0.008045737266540526,
0.007563018798828125,
0.007088620185852051,
0.007079179763793945,
0.007094060897827149,
0.007316298961639404,
0.0070774202346801755,
0.007337100028991699,
0.007117579936981202,
0.007098700046539307,
0.007103340148925781,
0.007096779823303223,
0.007105899810791016,
0.0070755000114440915,
0.007100619792938232,
0.013016122817993164,
0.007195020198822021,
0.007078220844268799,
0.00711486005783081,
0.007076620101928711,
0.007082221031188965,
0.007090219974517822,
0.007095660209655762,
0.007090219974517822,
0.0070798201560974125,
0.007086380004882813,
0.007098859786987305,
0.007065899848937988,
0.0070545411109924315,
0.007038060188293457,
0.007072781085968018,
0.0070633401870727535,
0.019954023361206056,
0.008129257202148438,
0.007849257946014404,
0.007698537826538086,
0.008005098342895508,
0.007502859115600586,
0.007474059104919433
]
},
"throughput": {
"unit": "tokens/s",
"value": 263.84912777898364
},
"energy": null,
"efficiency": null
},
"decode": {
"memory": {
"unit": "MB",
"max_ram": 1548.587008,
"max_global_vram": 11.075584,
"max_process_vram": 0.0,
"max_reserved": 725.614592,
"max_allocated": 513.259008
},
"latency": {
"unit": "s",
"count": 65,
"total": 0.506803219795227,
"mean": 0.007796972612234262,
"stdev": 0.001602717989468749,
"p50": 0.007461258888244629,
"p90": 0.008062409973144532,
"p95": 0.008342504692077637,
"p99": 0.013092200698852533,
"values": [
0.008083658218383789,
0.007881738185882569,
0.007859657764434815,
0.007732778072357178,
0.0077474980354309084,
0.0076714978218078616,
0.007577737808227539,
0.007601738929748535,
0.007693898200988769,
0.007941897869110107,
0.0076175789833068846,
0.00763261890411377,
0.00760205888748169,
0.009005894660949707,
0.0073900589942932126,
0.0072969388961792,
0.007330699920654297,
0.007364139080047607,
0.007314859867095947,
0.007348139762878418,
0.007329579830169678,
0.0074687800407409665,
0.00751741886138916,
0.007410698890686035,
0.007533898830413818,
0.008318057060241699,
0.020356744766235352,
0.007913258075714111,
0.007378058910369873,
0.007376619815826416,
0.007375819206237793,
0.007415019989013672,
0.007598698139190674,
0.007441419124603272,
0.007460938930511475,
0.0075374188423156735,
0.007472299098968506,
0.007461258888244629,
0.007443978786468506,
0.007411019802093506,
0.007440779209136963,
0.0074236588478088375,
0.007365739822387695,
0.007404458999633789,
0.00742189884185791,
0.00739997911453247,
0.007462539196014404,
0.007415658950805664,
0.007525419235229492,
0.007384298801422119,
0.007392459869384765,
0.007417579174041748,
0.0074158191680908205,
0.0074396591186523435,
0.007373738765716553,
0.007394218921661377,
0.007379818916320801,
0.007417098999023437,
0.008030537605285645,
0.008260136604309081,
0.007735978126525879,
0.008521095275878906,
0.00834861660003662,
0.007766698837280274,
0.007749258041381836
]
},
"throughput": {
"unit": "tokens/s",
"value": 128.25490735095002
},
"energy": null,
"efficiency": null
},
"per_token": {
"memory": null,
"latency": {
"unit": "s",
"count": 65,
"total": 0.47390778875350936,
"mean": 0.007290889057746302,
"stdev": 0.0015962762959269888,
"p50": 0.006970860958099365,
"p90": 0.007463947582244872,
"p95": 0.007835946083068847,
"p99": 0.01248765159606933,
"values": [
0.0074492602348327636,
0.007294060230255127,
0.007278860092163086,
0.007188779830932617,
0.007152780055999756,
0.007123340129852295,
0.007060460090637207,
0.007086699962615967,
0.0071727800369262695,
0.007391499996185303,
0.0071110200881958005,
0.007123819828033447,
0.007100619792938232,
0.008354057312011718,
0.006921741008758545,
0.006832300186157226,
0.0068764610290527346,
0.00690142011642456,
0.0068551812171936035,
0.006891020774841309,
0.00686958122253418,
0.006970860958099365,
0.007040140151977539,
0.00691726016998291,
0.006985740184783935,
0.007789097785949707,
0.019836263656616213,
0.007428938865661621,
0.006901899814605713,
0.0068839812278747555,
0.006902219772338868,
0.006911180973052979,
0.007083020210266113,
0.006945580005645752,
0.006973100185394287,
0.00704941987991333,
0.006980939865112305,
0.006976940155029297,
0.006935020923614502,
0.006930380821228027,
0.006948299884796142,
0.006926540851593018,
0.006879341125488281,
0.006928460121154785,
0.006926859855651855,
0.006879820823669434,
0.006933740139007568,
0.00691949987411499,
0.007032139778137207,
0.006907501220703125,
0.006900461196899414,
0.006918379783630371,
0.006925741195678711,
0.00694110107421875,
0.006892940044403076,
0.006895020961761474,
0.006906700134277344,
0.0069027009010314945,
0.007473739147186279,
0.007757098197937012,
0.007242218971252441,
0.008002857208251953,
0.007847658157348633,
0.007292620182037354,
0.007248619079589844
]
},
"throughput": {
"unit": "tokens/s",
"value": 137.15748409825778
},
"energy": null,
"efficiency": null
}
}
}