hf-transformers-bot's picture
Upload folder using huggingface_hub
0a791a4 verified
{
"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.218-208.862.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": "4b822560a1dfd5d63c985ecf9a3c0aae0a4feeee",
"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": 1773.645824,
"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.04540800094604492,
"mean": 0.02270400047302246,
"stdev": 0.0007516479492187499,
"p50": 0.02270400047302246,
"p90": 0.02330531883239746,
"p95": 0.023380483627319336,
"p99": 0.023440615463256834,
"values": [
0.02345564842224121,
0.02195235252380371
]
},
"throughput": {
"unit": "tokens/s",
"value": 308.3157088689105
},
"energy": null,
"efficiency": null
},
"decode": {
"memory": {
"unit": "MB",
"max_ram": 1773.658112,
"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.176133544921875,
"mean": 2.5880667724609374,
"stdev": 0.010075805664062631,
"p50": 2.5880667724609374,
"p90": 2.5961274169921875,
"p95": 2.5971349975585936,
"p99": 2.597941062011719,
"values": [
2.598142578125,
2.577990966796875
]
},
"throughput": {
"unit": "tokens/s",
"value": 49.07137688694114
},
"energy": null,
"efficiency": null
},
"per_token": {
"memory": null,
"latency": {
"unit": "s",
"count": 253,
"total": 5.176393714904784,
"mean": 0.02046005420910982,
"stdev": 0.001430816024711554,
"p50": 0.02021785545349121,
"p90": 0.020832051467895508,
"p95": 0.020994866561889647,
"p99": 0.02205061088562011,
"values": [
0.022375423431396483,
0.022443008422851563,
0.021750783920288085,
0.02086809539794922,
0.02085990333557129,
0.020907007217407226,
0.020755456924438476,
0.020676607131958007,
0.020727807998657227,
0.021020671844482423,
0.02104832077026367,
0.020599807739257812,
0.02104319953918457,
0.021106687545776368,
0.02102374458312988,
0.020727807998657227,
0.020831232070922853,
0.020617216110229493,
0.02084147262573242,
0.020519935607910156,
0.02066227149963379,
0.020566015243530272,
0.02060697555541992,
0.020626432418823244,
0.02067148780822754,
0.02082918357849121,
0.021094400405883788,
0.020996095657348633,
0.020773887634277344,
0.021019647598266602,
0.020806655883789063,
0.020757503509521484,
0.02068172836303711,
0.021032960891723632,
0.020582399368286132,
0.020591615676879883,
0.020690944671630858,
0.02058137512207031,
0.02061311912536621,
0.02050048065185547,
0.020583423614501953,
0.02046668815612793,
0.02064793586730957,
0.020618240356445314,
0.02079539108276367,
0.02063564872741699,
0.02045849609375,
0.0204400634765625,
0.020790271759033203,
0.0200581111907959,
0.020190208435058594,
0.020316160202026368,
0.020288511276245116,
0.020110336303710938,
0.020168703079223634,
0.020110336303710938,
0.02020147132873535,
0.020152320861816408,
0.020305919647216796,
0.02023526382446289,
0.020168703079223634,
0.02046668815612793,
0.02021990394592285,
0.020156415939331054,
0.020152320861816408,
0.02025574493408203,
0.02020351982116699,
0.020196352005004883,
0.020214784622192384,
0.020147199630737304,
0.02007040023803711,
0.02009702491760254,
0.020102144241333008,
0.020155391693115234,
0.020139007568359374,
0.02012774467468262,
0.020159488677978517,
0.020098047256469728,
0.020139007568359374,
0.020265983581542968,
0.02017791938781738,
0.02028646469116211,
0.020182016372680665,
0.020152320861816408,
0.02020147132873535,
0.020289535522460937,
0.02002227210998535,
0.019926015853881835,
0.020115455627441405,
0.020126720428466797,
0.02040012741088867,
0.020155391693115234,
0.020557823181152343,
0.020171775817871093,
0.020140031814575195,
0.020214784622192384,
0.020180992126464844,
0.020249599456787108,
0.020192256927490236,
0.02010419273376465,
0.02027827262878418,
0.020131839752197265,
0.020327423095703127,
0.020215808868408205,
0.020187135696411132,
0.020339712142944336,
0.020151296615600587,
0.020136959075927736,
0.020249599456787108,
0.020117504119873047,
0.020191232681274415,
0.020703231811523438,
0.020732927322387695,
0.020068351745605468,
0.020230144500732423,
0.020199424743652345,
0.020091903686523437,
0.02010316848754883,
0.020170751571655272,
0.020179967880249023,
0.020273151397705077,
0.020113407135009767,
0.020336639404296874,
0.020183040618896485,
0.020106239318847655,
0.020212736129760742,
0.042510337829589843,
0.020155391693115234,
0.020215808868408205,
0.020392959594726562,
0.02030182456970215,
0.019981311798095702,
0.019992576599121094,
0.020170751571655272,
0.020160512924194338,
0.020215808868408205,
0.020153343200683595,
0.020122623443603514,
0.020150272369384766,
0.020133888244628906,
0.02003660774230957,
0.019933183670043944,
0.02009600067138672,
0.02018611145019531,
0.020274175643920898,
0.02024550437927246,
0.02045337677001953,
0.02026700782775879,
0.020206592559814454,
0.020146175384521483,
0.020157440185546875,
0.0202608642578125,
0.020150272369384766,
0.02021171188354492,
0.020150272369384766,
0.020173824310302735,
0.020139007568359374,
0.020205568313598633,
0.020196352005004883,
0.020173824310302735,
0.02021785545349121,
0.020110336303710938,
0.020188159942626953,
0.02020351982116699,
0.02021887969970703,
0.02017791938781738,
0.02022502326965332,
0.020143104553222657,
0.020898815155029296,
0.020806655883789063,
0.020562944412231447,
0.020447231292724608,
0.02011136054992676,
0.020125696182250977,
0.02012774467468262,
0.02021887969970703,
0.02016972732543945,
0.020131839752197265,
0.020174848556518556,
0.02024140739440918,
0.020148223876953125,
0.020130815505981444,
0.020550655364990233,
0.020831232070922853,
0.02084249687194824,
0.020140031814575195,
0.02026393508911133,
0.020280319213867186,
0.02020351982116699,
0.020289535522460937,
0.020264959335327147,
0.020198400497436524,
0.020099071502685546,
0.02021990394592285,
0.020118528366088868,
0.020179967880249023,
0.020118528366088868,
0.02021683120727539,
0.020167680740356447,
0.020271104812622072,
0.020208639144897463,
0.020384767532348632,
0.020192256927490236,
0.02026393508911133,
0.020377599716186523,
0.020156415939331054,
0.020174848556518556,
0.02021683120727539,
0.020163583755493163,
0.02022604751586914,
0.020184064865112306,
0.020155391693115234,
0.020187135696411132,
0.02024550437927246,
0.020113407135009767,
0.020208639144897463,
0.020110336303710938,
0.020832256317138673,
0.020924415588378906,
0.020783103942871094,
0.020839424133300782,
0.020814847946166993,
0.020775936126708985,
0.020773887634277344,
0.02020249557495117,
0.020161535263061522,
0.020221952438354493,
0.020163583755493163,
0.020163583755493163,
0.020781055450439453,
0.020789247512817383,
0.02099404716491699,
0.020143104553222657,
0.020183040618896485,
0.020187135696411132,
0.02084966468811035,
0.020784160614013673,
0.020807647705078126,
0.02084147262573242,
0.02085273551940918,
0.020362239837646484,
0.02027212715148926,
0.020139007568359374,
0.020327423095703127,
0.020238336563110353,
0.02023423957824707,
0.020173824310302735,
0.020293664932250977,
0.020248544692993163,
0.020107263565063475,
0.020229120254516602,
0.020141056060791016,
0.020410367965698242
]
},
"throughput": {
"unit": "tokens/s",
"value": 48.87572583042086
},
"energy": null,
"efficiency": null
}
}
}