hf-transformers-bot's picture
Upload folder using huggingface_hub
e45cbb2 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": "static",
"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": "22b41b3f8a5cdb37e686d18d8d9a24eb98a331ec",
"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": 1753.98912,
"max_global_vram": 6793.199616,
"max_process_vram": 0.0,
"max_reserved": 6146.752512,
"max_allocated": 5036.936192
},
"latency": {
"unit": "s",
"count": 2,
"total": 0.051860095977783204,
"mean": 0.025930047988891602,
"stdev": 0.003861440658569335,
"p50": 0.025930047988891602,
"p90": 0.02901920051574707,
"p95": 0.029405344581604004,
"p99": 0.02971425983428955,
"values": [
0.029791488647460937,
0.022068607330322267
]
},
"throughput": {
"unit": "tokens/s",
"value": 269.95707848280074
},
"energy": null,
"efficiency": null
},
"decode": {
"memory": {
"unit": "MB",
"max_ram": 1754.001408,
"max_global_vram": 6793.199616,
"max_process_vram": 0.0,
"max_reserved": 6146.752512,
"max_allocated": 5036.936704
},
"latency": {
"unit": "s",
"count": 2,
"total": 5.20590576171875,
"mean": 2.602952880859375,
"stdev": 0.022719726562499876,
"p50": 2.602952880859375,
"p90": 2.621128662109375,
"p95": 2.6234006347656247,
"p99": 2.625218212890625,
"values": [
2.625672607421875,
2.580233154296875
]
},
"throughput": {
"unit": "tokens/s",
"value": 48.79074105946569
},
"energy": null,
"efficiency": null
},
"per_token": {
"memory": null,
"latency": {
"unit": "s",
"count": 253,
"total": 5.205692440032958,
"mean": 0.020575859446770588,
"stdev": 0.0015052639092512589,
"p50": 0.020297727584838866,
"p90": 0.021364122009277346,
"p95": 0.021879602813720703,
"p99": 0.02286710784912108,
"values": [
0.023555072784423828,
0.022115327835083007,
0.021965824127197265,
0.02192793655395508,
0.021755903244018555,
0.021876735687255858,
0.021615615844726564,
0.021736448287963867,
0.021910528182983398,
0.022040576934814454,
0.02188390350341797,
0.021884927749633788,
0.021164031982421876,
0.021154815673828126,
0.020999168395996092,
0.02089472007751465,
0.020786176681518553,
0.021013504028320314,
0.020700159072875975,
0.02068889617919922,
0.02086092758178711,
0.02164121627807617,
0.021696512222290038,
0.021708799362182618,
0.022232063293457033,
0.0221265926361084,
0.022041599273681642,
0.020962303161621093,
0.020975616455078124,
0.020715520858764647,
0.020956159591674805,
0.020922367095947265,
0.02106265640258789,
0.02067967987060547,
0.02088652801513672,
0.020802560806274413,
0.020757503509521484,
0.02065510368347168,
0.020738048553466795,
0.02070528030395508,
0.020602880477905275,
0.02068377685546875,
0.021164031982421876,
0.024213504791259766,
0.02149478340148926,
0.020566015243530272,
0.020513792037963868,
0.021328895568847657,
0.021816320419311523,
0.021372928619384765,
0.021223424911499023,
0.021246976852416992,
0.020215808868408205,
0.020075519561767577,
0.02006937599182129,
0.0202926082611084,
0.02029363250732422,
0.02023321533203125,
0.020279296875,
0.020296703338623046,
0.020320255279541014,
0.02026905632019043,
0.020348928451538087,
0.020299776077270508,
0.020297727584838866,
0.02029465675354004,
0.020151296615600587,
0.02009600067138672,
0.020121599197387697,
0.0200949764251709,
0.02005401611328125,
0.02017791938781738,
0.020312063217163084,
0.020068351745605468,
0.020092927932739257,
0.02007961654663086,
0.020091903686523437,
0.020205568313598633,
0.020307968139648438,
0.020316160202026368,
0.020108287811279296,
0.02007347106933594,
0.020107263565063475,
0.02005299186706543,
0.020067327499389647,
0.02007961654663086,
0.020105215072631837,
0.02007347106933594,
0.020076543807983398,
0.02007859230041504,
0.02011955261230469,
0.02010419273376465,
0.020141056060791016,
0.020237312316894532,
0.02030182456970215,
0.020340736389160157,
0.02030080032348633,
0.02026905632019043,
0.02028339195251465,
0.020239360809326173,
0.020273151397705077,
0.02024448013305664,
0.02028544044494629,
0.020133888244628906,
0.02009702491760254,
0.020105215072631837,
0.020099071502685546,
0.020065280914306642,
0.02007040023803711,
0.020083711624145507,
0.0200898551940918,
0.020116479873657226,
0.020118528366088868,
0.02011136054992676,
0.02026188850402832,
0.020335615158081053,
0.020162559509277343,
0.020101119995117187,
0.020093952178955078,
0.020091903686523437,
0.02007244873046875,
0.02006630325317383,
0.020133888244628906,
0.020008960723876954,
0.02007244873046875,
0.020118528366088868,
0.042534912109375,
0.020374528884887694,
0.020324352264404297,
0.020324352264404297,
0.020322303771972656,
0.02032640075683594,
0.02029363250732422,
0.020306943893432617,
0.020328447341918944,
0.020340736389160157,
0.02026905632019043,
0.02029363250732422,
0.020313087463378905,
0.02029363250732422,
0.020395008087158203,
0.020329471588134765,
0.020323328018188477,
0.020298751831054687,
0.020343807220458983,
0.02026905632019043,
0.020937728881835937,
0.02128281593322754,
0.020931583404541015,
0.02079539108276367,
0.020143104553222657,
0.020102144241333008,
0.020126720428466797,
0.020206592559814454,
0.020306943893432617,
0.02024550437927246,
0.020307968139648438,
0.020248575210571287,
0.020308000564575195,
0.02031305694580078,
0.02028339195251465,
0.02030182456970215,
0.020130815505981444,
0.020092927932739257,
0.02022400093078613,
0.02007040023803711,
0.020155391693115234,
0.020074495315551756,
0.020101119995117187,
0.02007244873046875,
0.0201308479309082,
0.02012156867980957,
0.020108287811279296,
0.020207616806030275,
0.02030182456970215,
0.02025984001159668,
0.02011238479614258,
0.02009702491760254,
0.020098079681396486,
0.02006729507446289,
0.020107263565063475,
0.02008064079284668,
0.02008883285522461,
0.020109312057495117,
0.020092927932739257,
0.02007859230041504,
0.02004991912841797,
0.020063232421875,
0.02012057685852051,
0.020131839752197265,
0.02009702491760254,
0.020093984603881836,
0.02011952018737793,
0.020100095748901366,
0.020304895401000975,
0.020319232940673827,
0.020279296875,
0.020366336822509764,
0.020307968139648438,
0.020368383407592772,
0.020313087463378905,
0.020356128692626953,
0.02034787178039551,
0.020357120513916017,
0.020349952697753908,
0.020339712142944336,
0.02064793586730957,
0.020374528884887694,
0.020304895401000975,
0.020281343460083007,
0.020236352920532226,
0.02035500717163086,
0.02028646469116211,
0.020335615158081053,
0.02030182456970215,
0.020356096267700196,
0.02030182456970215,
0.02167296028137207,
0.021374975204467773,
0.02022400093078613,
0.020378623962402344,
0.020365312576293947,
0.020358144760131838,
0.020373504638671876,
0.020338687896728515,
0.020361215591430663,
0.020381696701049806,
0.020343807220458983,
0.02023628807067871,
0.020144128799438478,
0.02007347106933594,
0.020156415939331054,
0.020132863998413086,
0.020386816024780274,
0.020139007568359374,
0.020126720428466797,
0.020146175384521483,
0.020355072021484375,
0.020332544326782227,
0.02011238479614258,
0.0200949764251709,
0.02012876892089844,
0.020115455627441405,
0.020122623443603514,
0.02028441619873047,
0.021400575637817384,
0.021150720596313476,
0.021133312225341795,
0.021090303421020508,
0.020296703338623046,
0.020340736389160157,
0.020324352264404297,
0.020340736389160157
]
},
"throughput": {
"unit": "tokens/s",
"value": 48.60064302961359
},
"energy": null,
"efficiency": null
}
}
}