IlyasMoutawwakil's picture
Upload cuda_inference_transformers_text-generation_openai-community/gpt2/benchmark.json with huggingface_hub
a49104a verified
raw
history blame
15.6 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.345728,
"max_global_vram": 68702.69952,
"max_process_vram": 49129.201664,
"max_reserved": 725.614592,
"max_allocated": 666.338304
},
"latency": {
"unit": "s",
"count": 1,
"total": 8.5172509765625,
"mean": 8.5172509765625,
"stdev": 0.0,
"p50": 8.5172509765625,
"p90": 8.5172509765625,
"p95": 8.5172509765625,
"p99": 8.5172509765625,
"values": [
8.5172509765625
]
},
"throughput": null,
"energy": null,
"efficiency": null
},
"prefill": {
"memory": {
"unit": "MB",
"max_ram": 1247.625216,
"max_global_vram": 68702.69952,
"max_process_vram": 312206.04928,
"max_reserved": 725.614592,
"max_allocated": 513.035264
},
"latency": {
"unit": "s",
"count": 64,
"total": 0.5165113139152526,
"mean": 0.008070489279925824,
"stdev": 0.0004885025718443092,
"p50": 0.007954366922378539,
"p90": 0.0083975172996521,
"p95": 0.008539948987960816,
"p99": 0.0097150818824768,
"values": [
0.00826412582397461,
0.008232605934143067,
0.008260605812072754,
0.008188925743103027,
0.007870687961578368,
0.007877087116241455,
0.00805644702911377,
0.008257246017456055,
0.007998847007751464,
0.007942048072814942,
0.007910206794738769,
0.007944606781005859,
0.008028447151184082,
0.008160126686096192,
0.007989887237548829,
0.007959486961364746,
0.00799852705001831,
0.011370512962341308,
0.008122687339782714,
0.008032926559448242,
0.007882688045501709,
0.008385085105895996,
0.00844444465637207,
0.007949246883392333,
0.00840284538269043,
0.007915167808532715,
0.007971487045288085,
0.007784768104553223,
0.007778529167175293,
0.007778048038482666,
0.007755167961120605,
0.007790847778320313,
0.007772448062896728,
0.007787968158721924,
0.007773888111114502,
0.007749407768249512,
0.007754368782043457,
0.007780767917633056,
0.007822368144989014,
0.007758848190307617,
0.007803487777709961,
0.007765567779541015,
0.007755008220672608,
0.007767488002777099,
0.00775212812423706,
0.00792652702331543,
0.007794847965240478,
0.007741087913513183,
0.007762688159942627,
0.007736288070678711,
0.008555644989013672,
0.008742844581604004,
0.008112127304077149,
0.008183646202087402,
0.00845100498199463,
0.008727323532104493,
0.008366044998168945,
0.008224286079406739,
0.008234846115112304,
0.008252765655517578,
0.008283966064453125,
0.00825468635559082,
0.008044286727905274,
0.007768288135528565
]
},
"throughput": {
"unit": "tokens/s",
"value": 247.81644961411584
},
"energy": null,
"efficiency": null
},
"decode": {
"memory": {
"unit": "MB",
"max_ram": 1247.625216,
"max_global_vram": 68702.69952,
"max_process_vram": 296857.358336,
"max_reserved": 725.614592,
"max_allocated": 513.259008
},
"latency": {
"unit": "s",
"count": 64,
"total": 0.4912807011604309,
"mean": 0.0076762609556317325,
"stdev": 0.00025257936923748305,
"p50": 0.007595328330993653,
"p90": 0.008023359060287475,
"p95": 0.00819380645751953,
"p99": 0.008355421781539916,
"values": [
0.007934846878051759,
0.00783996820449829,
0.007734528064727783,
0.007794688224792481,
0.0075457291603088375,
0.007983966827392578,
0.007777408123016357,
0.007644289016723633,
0.007597407817840576,
0.0077207679748535155,
0.007579009056091309,
0.007610528945922851,
0.007732128143310547,
0.007577407836914063,
0.007832287788391113,
0.00759308910369873,
0.0076270089149475095,
0.007993566989898681,
0.007547008991241455,
0.00785468816757202,
0.0074398088455200195,
0.007817728042602539,
0.0076716489791870115,
0.007593248844146729,
0.008036127090454101,
0.007507009029388428,
0.0077097277641296385,
0.007635008811950683,
0.007544448852539062,
0.007585089206695556,
0.007438849925994873,
0.007518208980560302,
0.007487648963928222,
0.007417088985443116,
0.007428770065307617,
0.0075676488876342774,
0.00741244888305664,
0.007423490047454834,
0.007380929946899414,
0.007382050037384034,
0.0074140501022338864,
0.007441089153289795,
0.0074017300605773925,
0.007399969100952149,
0.007463970184326172,
0.007442369937896729,
0.0073980498313903804,
0.00748236894607544,
0.007521248817443847,
0.007431809902191162,
0.008290205955505371,
0.008383645057678222,
0.007651968002319336,
0.007656768798828125,
0.008216126441955567,
0.00833884620666504,
0.007913087844848633,
0.007941407203674316,
0.008067326545715332,
0.007924287796020509,
0.007942526817321778,
0.00804604721069336,
0.007525248050689697,
0.00746924877166748
]
},
"throughput": {
"unit": "tokens/s",
"value": 130.2717567550051
},
"energy": null,
"efficiency": null
},
"per_token": {
"memory": null,
"latency": {
"unit": "s",
"count": 64,
"total": 0.4561717262268068,
"mean": 0.0071276832222938544,
"stdev": 0.0002484033725207396,
"p50": 0.007035331010818482,
"p90": 0.007464720916748047,
"p95": 0.007667920207977294,
"p99": 0.0077968476963043215,
"values": [
0.0073020501136779785,
0.007281569957733154,
0.007210529804229736,
0.007240129947662354,
0.006967330932617187,
0.00741068983078003,
0.007204610824584961,
0.007093730926513672,
0.00703485107421875,
0.007178369998931885,
0.007035810947418213,
0.007065250873565674,
0.007148291110992432,
0.007031331062316895,
0.0072577309608459475,
0.007027172088623047,
0.0070230112075805665,
0.007466208934783935,
0.0070258908271789555,
0.007371809959411621,
0.006948770999908448,
0.007259810924530029,
0.007117091178894043,
0.007024930953979492,
0.007478528976440429,
0.006937251091003418,
0.007156449794769287,
0.007101571083068848,
0.007020451068878174,
0.00704061222076416,
0.006910371780395508,
0.006920290946960449,
0.006912291049957275,
0.006867812156677246,
0.006884612083435058,
0.007014050960540772,
0.006870211124420166,
0.006898372173309326,
0.0068300518989562985,
0.00685949182510376,
0.006890532016754151,
0.006904932022094726,
0.006877731800079345,
0.006877411842346191,
0.006919491767883301,
0.006903011798858643,
0.00687581205368042,
0.006926211833953857,
0.006978211879730224,
0.006911491870880127,
0.007758368015289307,
0.007862367153167725,
0.007148290157318115,
0.007125891208648681,
0.007698207855224609,
0.007749728202819824,
0.0073375701904296875,
0.007391329765319824,
0.00749629020690918,
0.007392769813537598,
0.00737148904800415,
0.0074612488746643064,
0.006983970165252686,
0.0068999710083007815
]
},
"throughput": {
"unit": "tokens/s",
"value": 140.29804198820395
},
"energy": null,
"efficiency": null
}
}
}