MrOpenVINO's picture
Upload 2024-10-10-13-27-38/pytorch/benchmark.json with huggingface_hub
1a30117 verified
raw
history blame contribute delete
20.2 kB
{
"config": {
"name": "2024-10-10-13-27-38/pytorch",
"backend": {
"name": "pytorch",
"version": "2.4.1",
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
"task": "text-generation",
"library": "transformers",
"model_type": "qwen2",
"model": "Qwen/Qwen2.5-7B-Instruct",
"processor": "Qwen/Qwen2.5-7B-Instruct",
"device": "cpu",
"device_ids": null,
"seed": 42,
"inter_op_num_threads": null,
"intra_op_num_threads": null,
"model_kwargs": {},
"processor_kwargs": {},
"no_weights": false,
"device_map": null,
"torch_dtype": "float32",
"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": 10,
"duration": 10,
"warmup_runs": 10,
"input_shapes": {
"batch_size": 2,
"num_choices": 2,
"sequence_length": 16
},
"new_tokens": null,
"memory": true,
"latency": true,
"energy": false,
"forward_kwargs": {},
"generate_kwargs": {
"max_new_tokens": 32,
"min_new_tokens": 32
},
"call_kwargs": {}
},
"launcher": {
"name": "process",
"_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher",
"device_isolation": false,
"device_isolation_action": null,
"numactl": true,
"numactl_kwargs": {
"cpunodebind": 0,
"membind": 0
},
"start_method": "spawn"
},
"environment": {
"cpu": " AMD EPYC 7R13 Processor",
"cpu_count": 64,
"cpu_ram_mb": 529717.026816,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.205-195.807.amzn2.x86_64-x86_64-with-glibc2.36",
"processor": "",
"python_version": "3.10.15",
"optimum_benchmark_version": "0.5.0",
"optimum_benchmark_commit": null,
"transformers_version": "4.44.2",
"transformers_commit": null,
"accelerate_version": "0.34.2",
"accelerate_commit": null,
"diffusers_version": null,
"diffusers_commit": null,
"optimum_version": "1.22.0",
"optimum_commit": null,
"timm_version": null,
"timm_commit": null,
"peft_version": null,
"peft_commit": null
},
"print_report": false,
"log_report": true
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 35904.417792,
"max_global_vram": null,
"max_process_vram": null,
"max_reserved": null,
"max_allocated": null
},
"latency": {
"unit": "s",
"values": [
17.653250481933355
],
"count": 1,
"total": 17.653250481933355,
"mean": 17.653250481933355,
"p50": 17.653250481933355,
"p90": 17.653250481933355,
"p95": 17.653250481933355,
"p99": 17.653250481933355,
"stdev": 0,
"stdev_": 0
},
"throughput": null,
"energy": null,
"efficiency": null
},
"prefill": {
"memory": {
"unit": "MB",
"max_ram": 32586.477568,
"max_global_vram": null,
"max_process_vram": null,
"max_reserved": null,
"max_allocated": null
},
"latency": {
"unit": "s",
"values": [
7.114257633686066,
6.9122952707111835,
7.246219478547573,
7.030736085027456,
7.265082646161318,
6.757320333272219,
6.376978535205126,
7.046132210642099,
6.656667198985815,
6.604565516114235
],
"count": 10,
"total": 69.01025490835309,
"mean": 6.901025490835309,
"p50": 6.97151567786932,
"p90": 7.248105795308947,
"p95": 7.256594220735133,
"p99": 7.263384961076081,
"stdev": 0.27893514120336665,
"stdev_": 4.041937558031016
},
"throughput": {
"unit": "tokens/s",
"value": 4.63699200104341
},
"energy": null,
"efficiency": null
},
"decode": {
"memory": {
"unit": "MB",
"max_ram": 32586.477568,
"max_global_vram": null,
"max_process_vram": null,
"max_reserved": null,
"max_allocated": null
},
"latency": {
"unit": "s",
"values": [
63.17382514476776,
65.35659051686525,
55.37452078983188,
50.915375493466854,
47.49415132775903,
45.104538425803185,
45.05941754952073,
48.155522741377354,
45.74066999182105,
47.49882814288139
],
"count": 10,
"total": 513.8734401240945,
"mean": 51.38734401240945,
"p50": 47.82717544212937,
"p90": 63.39210168197751,
"p95": 64.37434609942137,
"p99": 65.16014163337648,
"stdev": 7.08734589851425,
"stdev_": 13.792006640395227
},
"throughput": {
"unit": "tokens/s",
"value": 1.2065227575300976
},
"energy": null,
"efficiency": null
},
"per_token": {
"memory": null,
"latency": {
"unit": "s",
"values": [
1.7681835927069187,
3.4078874364495277,
1.8021652027964592,
1.8068931549787521,
2.261068418622017,
1.726471833884716,
1.9878739155828953,
1.5795339308679104,
1.8304941393435001,
1.5634720548987389,
1.606158822774887,
1.616318330168724,
1.6184928230941296,
1.9202837757766247,
3.450111825019121,
1.6720258966088295,
1.7256851755082607,
1.75783621519804,
1.7265837825834751,
1.5630804300308228,
1.5898851603269577,
1.533352144062519,
3.1931427754461765,
5.343102682381868,
1.6616773642599583,
1.7369111701846123,
1.5022210367023945,
1.598583146929741,
1.624124240130186,
2.656230367720127,
2.343122761696577,
1.7591094300150871,
1.6286157593131065,
1.7802175655961037,
1.5908653438091278,
1.5171627439558506,
1.493276171386242,
1.6895058862864971,
3.347988873720169,
5.13086811080575,
1.5426892451941967,
1.6004906855523586,
2.0029783472418785,
1.6391308568418026,
1.52532322332263,
1.5069370567798615,
2.186821110546589,
2.093376763164997,
1.9745018891990185,
2.0757181458175182,
1.7520508393645287,
2.346122395247221,
1.6076675169169903,
2.084550578147173,
1.8133570104837418,
1.9934194646775723,
2.128780335187912,
2.2920861802995205,
2.1631330735981464,
2.6446249149739742,
2.5772662423551083,
3.8671637177467346,
1.9852449893951416,
2.3654357455670834,
2.0360347852110863,
2.374017111957073,
2.723650574684143,
1.8582580871880054,
1.5034046098589897,
1.6465991362929344,
1.4499674253165722,
1.6358654126524925,
1.8747524544596672,
1.4206897020339966,
1.4671851061284542,
1.4384502470493317,
1.4643107503652573,
1.9214762523770332,
1.6099670119583607,
1.4689327515661716,
1.6052444465458393,
1.9042164869606495,
1.4260458834469318,
1.679093286395073,
1.4906517751514912,
1.565056350082159,
1.4333108961582184,
1.6245144605636597,
1.4097499176859856,
1.462467536330223,
3.8359421268105507,
2.106362149119377,
1.5868472456932068,
1.5491143092513084,
2.0500447005033493,
1.7718442045152187,
1.701318010687828,
1.4650880098342896,
1.9086740873754025,
1.640469465404749,
1.460494514554739,
1.5559008307754993,
1.680026601999998,
1.464311558753252,
1.7624241672456264,
1.5449306890368462,
1.4213817492127419,
1.568018052726984,
1.7861261330544949,
1.6119177863001823,
1.7638235799968243,
2.141072131693363,
1.5725331641733646,
1.7254820428788662,
1.4259584471583366,
1.4681672006845474,
1.7029561065137386,
1.4312676340341568,
1.4676583148539066,
1.459305603057146,
1.4513339586555958,
1.7661967910826206,
1.4546430632472038,
2.1419729441404343,
1.9010721147060394,
1.7762134373188019,
2.2160165905952454,
1.6020240932703018,
1.4636012949049473,
1.6160628609359264,
1.8222533836960793,
1.4647764824330807,
1.7365992963314056,
1.4626570045948029,
1.4276827089488506,
1.468505822122097,
1.4329461827874184,
1.4534464962780476,
1.4221769347786903,
1.423435002565384,
1.4693606309592724,
1.429002270102501,
1.4702580831944942,
1.435199748724699,
1.4652475081384182,
1.4286426231265068,
1.474669460207224,
1.4328301846981049,
1.464672900736332,
1.4327681809663773,
1.4693042039871216,
1.4310141205787659,
1.4982984140515327,
1.4678047075867653,
1.4311448149383068,
1.438781276345253,
1.4013014882802963,
1.4686011709272861,
1.4323601126670837,
1.6065926253795624,
1.4586185403168201,
1.437251329421997,
1.4721843674778938,
1.4274075105786324,
1.4661480821669102,
1.4193136915564537,
1.410939633846283,
1.469047974795103,
1.4303078353404999,
1.4693841524422169,
1.433273371309042,
1.4672483839094639,
1.4289179928600788,
1.6004419699311256,
1.4669023714959621,
1.434362668544054,
1.4672634564340115,
1.4329279772937298,
1.4656192809343338,
1.4319997280836105,
1.4704417325556278,
1.4181833565235138,
1.4165718294680119,
1.4671027697622776,
1.4308040924370289,
1.463426098227501,
1.4551252573728561,
1.4723606295883656,
1.3972427360713482,
1.5316320396959782,
1.4691742546856403,
1.4322599954903126,
1.471731297671795,
1.4259674474596977,
1.4151211753487587,
1.4538570679724216,
1.5188346281647682,
1.4142794720828533,
1.468948818743229,
1.5021546743810177,
1.431886613368988,
1.4644411280751228,
1.434070136398077,
1.4692771509289742,
1.4331989660859108,
1.464082259684801,
1.436005748808384,
1.4635489657521248,
1.4311735518276691,
1.4684767164289951,
1.43087899684906,
1.4675031937658787,
1.4375089146196842,
1.4641438461840153,
1.435873582959175,
1.4659490697085857,
1.4319299049675465,
1.4575478471815586,
2.5977691896259785,
1.46378618106246,
1.4319142065942287,
1.470462467521429,
1.4337660819292068,
1.4779867082834244,
1.4157986715435982,
1.4697876125574112,
1.4317081272602081,
1.4674253277480602,
1.423119131475687,
1.409830268472433,
1.4705512672662735,
1.4304680824279785,
1.4666381552815437,
1.4366301782429218,
1.467168401926756,
1.4340135417878628,
1.4701542630791664,
1.4268802665174007,
1.468014683574438,
1.4302533492445946,
1.4716646037995815,
3.4407747872173786,
1.4562487825751305,
1.5330546535551548,
1.4706882983446121,
1.428062915802002,
1.4668530523777008,
1.4319939278066158,
1.529294889420271,
1.5111301951110363,
1.4708303660154343,
1.4178302213549614,
1.4096245132386684,
1.4697333239018917,
1.48112278804183,
1.4199819527566433,
1.4294500797986984,
1.7169660702347755,
1.5820492394268513,
1.5101014636456966,
1.7897575870156288,
1.4517071843147278,
1.4105923362076283,
1.4401911534368992,
1.464747030287981,
1.4333813078701496,
1.468441180884838,
1.399736039340496,
1.5200213603675365,
1.4172282554209232,
1.4615039676427841,
1.4375051446259022,
1.4635396413505077,
1.424740869551897,
1.4582512192428112,
1.4166014529764652,
1.4317531250417233,
1.4724761247634888,
1.4295803979039192,
1.4657687619328499,
1.42853232473135,
1.4724901355803013,
1.426195602864027,
1.4717541746795177,
1.4288433454930782,
1.4715972393751144,
1.4293026141822338,
1.8215524479746819,
3.227171815931797,
1.440565425902605,
1.408451296389103,
1.4700793586671352,
1.4310657270252705,
1.4687310978770256,
1.4323204793035984,
1.4678363390266895,
1.430955681949854,
1.4694240540266037,
1.4306833483278751,
1.4684094078838825,
1.4312798827886581,
1.4700833931565285,
1.6013607122004032,
1.4290366619825363,
1.4716910608112812,
1.4340159222483635,
1.4633553586900234,
1.4303532429039478,
1.7709635347127914,
1.434176791459322
],
"count": 310,
"total": 513.8579590767622,
"mean": 1.6576063196024586,
"p50": 1.4693723917007446,
"p90": 2.052612045034767,
"p95": 2.3701554970815777,
"p99": 3.8012173996493317,
"stdev": 0.4835444308274939,
"stdev_": 29.171246821951165
},
"throughput": {
"unit": "tokens/s",
"value": 1.2065591065553232
},
"energy": null,
"efficiency": null
}
}
}