hf-transformers-bot's picture
Upload folder using huggingface_hub
72346c5 verified
raw
history blame
17 kB
{
"config": {
"name": "pytorch_generate",
"backend": {
"name": "pytorch",
"version": "2.3.0+cu121",
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
"task": "text-generation",
"library": "transformers",
"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": {},
"hub_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,
"latency": true,
"memory": 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",
"start_method": "spawn"
},
"environment": {
"cpu": " AMD EPYC 7R32",
"cpu_count": 16,
"cpu_ram_mb": 66697.29792,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.217-205.860.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.2.1",
"optimum_benchmark_commit": null,
"transformers_version": "4.42.0.dev0",
"transformers_commit": "b7672826cad31e30319487af876e608d8af7d37b",
"accelerate_version": "0.32.0.dev0",
"accelerate_commit": null,
"diffusers_version": null,
"diffusers_commit": null,
"optimum_version": "1.21.0.dev0",
"optimum_commit": null,
"timm_version": "0.9.16",
"timm_commit": null,
"peft_version": "0.11.2.dev0",
"peft_commit": null
}
},
"report": {
"prefill": {
"memory": {
"unit": "MB",
"max_ram": 1703.899136,
"max_global_vram": 6793.199616,
"max_process_vram": 0.0,
"max_reserved": 6146.752512,
"max_allocated": 5034.576896
},
"latency": {
"unit": "s",
"count": 2,
"total": 0.0394006404876709,
"mean": 0.01970032024383545,
"stdev": 0.0002354879379272458,
"p50": 0.01970032024383545,
"p90": 0.019888710594177246,
"p95": 0.01991225938796997,
"p99": 0.01993109842300415,
"values": [
0.019935808181762694,
0.019464832305908203
]
},
"throughput": {
"unit": "tokens/s",
"value": 355.3241730773597
},
"energy": null,
"efficiency": null
},
"decode": {
"memory": {
"unit": "MB",
"max_ram": 1703.989248,
"max_global_vram": 6795.296768,
"max_process_vram": 0.0,
"max_reserved": 6148.849664,
"max_allocated": 5034.577408
},
"latency": {
"unit": "s",
"count": 2,
"total": 4.782302001953125,
"mean": 2.3911510009765626,
"stdev": 0.004780395507812507,
"p50": 2.3911510009765626,
"p90": 2.3949753173828126,
"p95": 2.395453356933594,
"p99": 2.3958357885742187,
"values": [
2.395931396484375,
2.38637060546875
]
},
"throughput": {
"unit": "tokens/s",
"value": 53.11249684697132
},
"energy": null,
"efficiency": null
},
"per_token": {
"memory": null,
"latency": {
"unit": "s",
"count": 253,
"total": 4.78247526359558,
"mean": 0.01890306428298649,
"stdev": 0.001235033105667377,
"p50": 0.0188272647857666,
"p90": 0.01889751091003418,
"p95": 0.01893766403198242,
"p99": 0.019935887908935544,
"values": [
0.02027622413635254,
0.01886617660522461,
0.018725887298583984,
0.018710527420043945,
0.018686975479125977,
0.018715648651123046,
0.018711551666259766,
0.018770944595336913,
0.018714624404907225,
0.018761728286743166,
0.018751487731933594,
0.018746368408203123,
0.018746368408203123,
0.018765823364257812,
0.018710527420043945,
0.018751487731933594,
0.018897920608520507,
0.018748416900634765,
0.01880473518371582,
0.018760704040527345,
0.018743295669555664,
0.01877299118041992,
0.018698335647583008,
0.018693023681640625,
0.018775039672851563,
0.018761728286743166,
0.01877299118041992,
0.018780160903930664,
0.018722816467285155,
0.018774015426635742,
0.018726911544799805,
0.018718719482421875,
0.018744319915771485,
0.018722816467285155,
0.018759679794311524,
0.018722816467285155,
0.018700288772583007,
0.0188272647857666,
0.018815999984741212,
0.018691072463989256,
0.018959360122680666,
0.018712575912475587,
0.018576383590698242,
0.018727935791015626,
0.018684928894042968,
0.018683904647827147,
0.018765823364257812,
0.018766847610473633,
0.018742271423339844,
0.018718719482421875,
0.018723840713500976,
0.018736127853393555,
0.01893891143798828,
0.01893475151062012,
0.019166208267211913,
0.019319807052612305,
0.018884607315063476,
0.018907136917114258,
0.018832384109497072,
0.01883647918701172,
0.018915327072143554,
0.018894847869873048,
0.019323904037475585,
0.018940927505493164,
0.018899967193603515,
0.018865152359008788,
0.01886412811279297,
0.01886412811279297,
0.018876415252685547,
0.018881536483764647,
0.018851839065551757,
0.01882521629333496,
0.018893823623657227,
0.018815999984741212,
0.018852863311767578,
0.018865152359008788,
0.018869247436523438,
0.018884607315063476,
0.018876415252685547,
0.018890752792358398,
0.01887027168273926,
0.018832384109497072,
0.01881395149230957,
0.01884774398803711,
0.01885491180419922,
0.01882521629333496,
0.018869247436523438,
0.01880985641479492,
0.0188590087890625,
0.018930688858032226,
0.01884979248046875,
0.018865152359008788,
0.018860031127929687,
0.018856960296630858,
0.01883852767944336,
0.01887539291381836,
0.018856960296630858,
0.018968576431274413,
0.01881907272338867,
0.018851839065551757,
0.01885798454284668,
0.018890752792358398,
0.01884979248046875,
0.018898944854736328,
0.01887948799133301,
0.01884262466430664,
0.018817024230957033,
0.01883955192565918,
0.01886412811279297,
0.01879449653625488,
0.01883545684814453,
0.018851839065551757,
0.01886720085144043,
0.01886617660522461,
0.01883852767944336,
0.018865152359008788,
0.019803136825561524,
0.020065280914306642,
0.01981644821166992,
0.018902015686035157,
0.01883033561706543,
0.0189040641784668,
0.018799615859985352,
0.01881497573852539,
0.01886310386657715,
0.01887027168273926,
0.03829043197631836,
0.01860505676269531,
0.01861324882507324,
0.018685951232910156,
0.01863987159729004,
0.018695167541503906,
0.018703359603881836,
0.018679807662963867,
0.0186746883392334,
0.018716672897338867,
0.018710527420043945,
0.018726911544799805,
0.018715648651123046,
0.018689023971557618,
0.018721792221069337,
0.018732032775878905,
0.018671615600585938,
0.01865830421447754,
0.018707487106323244,
0.01871971130371094,
0.018726911544799805,
0.018714624404907225,
0.01868185615539551,
0.018712575912475587,
0.018715648651123046,
0.018677759170532226,
0.018695167541503906,
0.018704383850097657,
0.018751487731933594,
0.018733055114746093,
0.018752511978149415,
0.018757631301879883,
0.018701311111450195,
0.018718719482421875,
0.018792448043823243,
0.018689023971557618,
0.01868083190917969,
0.018726911544799805,
0.0187064323425293,
0.018708480834960937,
0.01868083190917969,
0.018684928894042968,
0.018694143295288086,
0.018664512634277344,
0.018683839797973632,
0.01864396858215332,
0.018693119049072265,
0.018716672897338867,
0.0187064323425293,
0.018759679794311524,
0.018718719482421875,
0.018726911544799805,
0.018694143295288086,
0.018689023971557618,
0.018724863052368163,
0.018700288772583007,
0.018682880401611326,
0.01887027168273926,
0.018936832427978514,
0.018700288772583007,
0.018691072463989256,
0.01884876823425293,
0.018877439498901367,
0.018926591873168946,
0.018883583068847656,
0.01889587211608887,
0.0188723201751709,
0.018885631561279297,
0.01884160041809082,
0.01884671974182129,
0.018880512237548826,
0.01884876823425293,
0.018865152359008788,
0.018881536483764647,
0.018865152359008788,
0.01884876823425293,
0.018834495544433595,
0.018893760681152345,
0.01885491180419922,
0.018886655807495118,
0.01888768005371094,
0.018815999984741212,
0.018894847869873048,
0.01884262466430664,
0.018807807922363282,
0.01883545684814453,
0.018883583068847656,
0.018906112670898437,
0.01885798454284668,
0.01883443260192871,
0.018856960296630858,
0.018844671249389648,
0.01883955192565918,
0.01882828712463379,
0.01883647918701172,
0.01886310386657715,
0.018928640365600585,
0.018861055374145508,
0.018873344421386717,
0.018832384109497072,
0.01887948799133301,
0.018851839065551757,
0.018865152359008788,
0.01887027168273926,
0.01883443260192871,
0.01887129592895508,
0.018894847869873048,
0.01882624053955078,
0.018832384109497072,
0.01886412811279297,
0.01881907272338867,
0.0188272647857666,
0.018883583068847656,
0.01878937530517578,
0.018852863311767578,
0.01883033561706543,
0.018795520782470702,
0.018770944595336913,
0.018795520782470702,
0.018817024230957033,
0.01884671974182129,
0.01885491180419922,
0.018869247436523438,
0.01879449653625488,
0.0188221435546875,
0.01887846374511719,
0.019596288681030274
]
},
"throughput": {
"unit": "tokens/s",
"value": 52.90147592102513
},
"energy": null,
"efficiency": null
}
}
}