hf-transformers-bot's picture
Upload folder using huggingface_hub
438750d verified
{
"config": {
"name": "pytorch_generate",
"backend": {
"name": "pytorch",
"version": "2.4.0+cu121",
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
"task": "text-generation",
"library": "transformers",
"model_type": "gemma",
"model": "google/gemma-2b",
"processor": "google/gemma-2b",
"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": "float16",
"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": {
"backend": "inductor",
"mode": "reduce-overhead",
"fullgraph": true
},
"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": 2,
"duration": 0,
"warmup_runs": 10,
"input_shapes": {
"batch_size": 1,
"num_choices": 2,
"sequence_length": 7
},
"new_tokens": null,
"memory": true,
"latency": true,
"energy": false,
"forward_kwargs": {},
"generate_kwargs": {
"max_new_tokens": 128,
"min_new_tokens": 128,
"do_sample": false
},
"call_kwargs": {}
},
"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 7R32",
"cpu_count": 16,
"cpu_ram_mb": 66697.261056,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.223-212.873.amzn2.x86_64-x86_64-with-glibc2.29",
"processor": "x86_64",
"python_version": "3.8.10",
"gpu": [
"NVIDIA A10G"
],
"gpu_count": 1,
"gpu_vram_mb": 24146608128,
"optimum_benchmark_version": "0.4.0",
"optimum_benchmark_commit": null,
"transformers_version": "4.45.0.dev0",
"transformers_commit": "f745e7d3f902601686b83c7cce2660c2a94509f0",
"accelerate_version": "0.35.0.dev0",
"accelerate_commit": null,
"diffusers_version": null,
"diffusers_commit": null,
"optimum_version": "1.22.0.dev0",
"optimum_commit": null,
"timm_version": "0.9.16",
"timm_commit": null,
"peft_version": "0.12.1.dev0",
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 1334.534144,
"max_global_vram": 6775.373824,
"max_process_vram": 0.0,
"max_reserved": 6138.363904,
"max_allocated": 6060.931072
},
"latency": {
"unit": "s",
"count": 1,
"total": 11.4153681640625,
"mean": 11.4153681640625,
"stdev": 0.0,
"p50": 11.4153681640625,
"p90": 11.4153681640625,
"p95": 11.4153681640625,
"p99": 11.4153681640625,
"values": [
11.4153681640625
]
},
"throughput": null,
"energy": null,
"efficiency": null
},
"prefill": {
"memory": {
"unit": "MB",
"max_ram": 1770.340352,
"max_global_vram": 6796.345344,
"max_process_vram": 0.0,
"max_reserved": 6142.558208,
"max_allocated": 5028.431872
},
"latency": {
"unit": "s",
"count": 2,
"total": 0.04313571357727051,
"mean": 0.021567856788635254,
"stdev": 0.00015540790557861187,
"p50": 0.021567856788635254,
"p90": 0.021692183113098142,
"p95": 0.021707723903656006,
"p99": 0.021720156536102295,
"values": [
0.021412448883056642,
0.021723264694213866
]
},
"throughput": {
"unit": "tokens/s",
"value": 324.5570511989169
},
"energy": null,
"efficiency": null
},
"decode": {
"memory": {
"unit": "MB",
"max_ram": 1828.306944,
"max_global_vram": 6800.539648,
"max_process_vram": 0.0,
"max_reserved": 6146.752512,
"max_allocated": 5031.801344
},
"latency": {
"unit": "s",
"count": 2,
"total": 5.2175419921875,
"mean": 2.60877099609375,
"stdev": 0.004361572265624947,
"p50": 2.60877099609375,
"p90": 2.61226025390625,
"p95": 2.6126964111328124,
"p99": 2.6130453369140625,
"values": [
2.604409423828125,
2.613132568359375
]
},
"throughput": {
"unit": "tokens/s",
"value": 48.68192730989565
},
"energy": null,
"efficiency": null
},
"per_token": {
"memory": null,
"latency": {
"unit": "s",
"count": 254,
"total": 5.217216512680051,
"mean": 0.02054022249086635,
"stdev": 0.00032452951192328636,
"p50": 0.020625920295715333,
"p90": 0.020822732734680178,
"p95": 0.02085790729522705,
"p99": 0.021302917289733887,
"values": [
0.01998028755187988,
0.020323328018188477,
0.019924991607666014,
0.02001203155517578,
0.019886079788208007,
0.019775487899780272,
0.020523008346557618,
0.020611072540283205,
0.02063564872741699,
0.020501504898071288,
0.0200263671875,
0.020545536041259766,
0.020609024047851563,
0.020684799194335936,
0.020701183319091796,
0.020402175903320312,
0.02062745666503906,
0.01982156753540039,
0.019825664520263672,
0.01987583923339844,
0.019817472457885742,
0.020347904205322266,
0.020372480392456056,
0.01987379264831543,
0.02005606460571289,
0.020191232681274415,
0.020075519561767577,
0.020063232421875,
0.020116479873657226,
0.020067327499389647,
0.020337663650512695,
0.02068992042541504,
0.020603904724121092,
0.02067865562438965,
0.020024320602416993,
0.02008883285522461,
0.020540416717529295,
0.02058956718444824,
0.02067251205444336,
0.020602880477905275,
0.020418560028076172,
0.020345855712890625,
0.020384767532348632,
0.020607999801635742,
0.020982784271240236,
0.020908031463623047,
0.02066431999206543,
0.020619264602661135,
0.02065203285217285,
0.02003558349609375,
0.020350976943969725,
0.019833856582641602,
0.01980620765686035,
0.019924991607666014,
0.020017152786254884,
0.02043289566040039,
0.020641792297363282,
0.020123647689819335,
0.02011136054992676,
0.020167680740356447,
0.02063052749633789,
0.020781055450439453,
0.020773887634277344,
0.02072166442871094,
0.020707328796386718,
0.020772863388061523,
0.020769792556762694,
0.020757503509521484,
0.020789247512817383,
0.020526079177856444,
0.020794368743896483,
0.020781055450439453,
0.02083737564086914,
0.020884479522705078,
0.02083020782470703,
0.020727807998657227,
0.020840448379516603,
0.020792320251464845,
0.02076982307434082,
0.020847583770751955,
0.02085068893432617,
0.020822015762329102,
0.02071244812011719,
0.020728832244873048,
0.020743167877197266,
0.02044927978515625,
0.020790271759033203,
0.02068070411682129,
0.02043801689147949,
0.02051584053039551,
0.020460544586181642,
0.01988812828063965,
0.01987379264831543,
0.020328447341918944,
0.020768768310546876,
0.02047385597229004,
0.020205568313598633,
0.02008883285522461,
0.020101119995117187,
0.020533248901367186,
0.019993600845336915,
0.021370880126953123,
0.021788671493530275,
0.020920320510864256,
0.020823040008544923,
0.020780031204223632,
0.02072985649108887,
0.020754432678222655,
0.02058137512207031,
0.020824064254760744,
0.020738048553466795,
0.020788223266601562,
0.020725759506225586,
0.02087014389038086,
0.020775936126708985,
0.02052403259277344,
0.020545536041259766,
0.020734975814819336,
0.020724735260009765,
0.020753408432006838,
0.020746240615844725,
0.020929536819458007,
0.02079641532897949,
0.020720640182495118,
0.020730880737304686,
0.020793344497680662,
0.020855808258056642,
0.020782079696655274,
0.020570112228393556,
0.020577280044555665,
0.02062233543395996,
0.02062335968017578,
0.020576255798339844,
0.020557823181152343,
0.020599807739257812,
0.020584447860717774,
0.020576255798339844,
0.020561920166015626,
0.020583423614501953,
0.020591615676879883,
0.020685823440551757,
0.020727807998657227,
0.02069708824157715,
0.020059135437011717,
0.020619264602661135,
0.02010419273376465,
0.02049945640563965,
0.020545536041259766,
0.020685823440551757,
0.020802560806274413,
0.020771839141845702,
0.02131865692138672,
0.02128895950317383,
0.02069811248779297,
0.020747264862060546,
0.020618240356445314,
0.020723712921142577,
0.020582399368286132,
0.020590591430664062,
0.020684799194335936,
0.020641792297363282,
0.020714496612548827,
0.02065203285217285,
0.020612096786499022,
0.020722688674926756,
0.020624383926391602,
0.02062131118774414,
0.02064896011352539,
0.02065715217590332,
0.02066534423828125,
0.02061311912536621,
0.020786176681518553,
0.020718591690063477,
0.020720640182495118,
0.02059775924682617,
0.020741119384765624,
0.02062950325012207,
0.020684799194335936,
0.02066227149963379,
0.02061516761779785,
0.02060697555541992,
0.02062131118774414,
0.020592639923095703,
0.02058137512207031,
0.020741119384765624,
0.020772863388061523,
0.020730880737304686,
0.020750335693359375,
0.020813823699951172,
0.020757503509521484,
0.020801536560058592,
0.020123647689819335,
0.020142080307006836,
0.020185087203979494,
0.020556800842285155,
0.020716543197631835,
0.020971519470214844,
0.020847616195678712,
0.020786176681518553,
0.020560895919799805,
0.020801536560058592,
0.020756479263305663,
0.02085683250427246,
0.020802560806274413,
0.02082815933227539,
0.020792320251464845,
0.020769792556762694,
0.020756479263305663,
0.020772863388061523,
0.020781055450439453,
0.020715520858764647,
0.020762624740600585,
0.020840448379516603,
0.020711423873901368,
0.020790271759033203,
0.020783103942871094,
0.020185087203979494,
0.020153343200683595,
0.020155391693115234,
0.020801536560058592,
0.02048102378845215,
0.020454431533813478,
0.02073187255859375,
0.020419584274291993,
0.02083737564086914,
0.020759552001953126,
0.02085990333557129,
0.020792320251464845,
0.020776960372924806,
0.02086604881286621,
0.020807680130004884,
0.020564992904663085,
0.020486143112182616,
0.02044108772277832,
0.019914751052856446,
0.019923967361450197,
0.019899391174316407,
0.019982336044311523,
0.020152320861816408,
0.019947519302368166,
0.01992192077636719,
0.019914751052856446,
0.019937280654907227,
0.02065407943725586,
0.020306943893432617,
0.0206561279296875,
0.020271104812622072,
0.020155391693115234,
0.020478975296020507,
0.019999744415283204,
0.019918848037719726,
0.020125696182250977,
0.020075519561767577,
0.020393983840942383
]
},
"throughput": {
"unit": "tokens/s",
"value": 48.684964364172366
},
"energy": null,
"efficiency": null
}
}
}