hf-transformers-bot's picture
Upload folder using huggingface_hub
0f84566 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": true,
"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": "0f67ba1d741d65b07d549daf4ee157609ce4f9c1",
"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": 1922.453504,
"max_global_vram": 6094.848,
"max_process_vram": 0.0,
"max_reserved": 5379.19488,
"max_allocated": 5021.251584
},
"latency": {
"unit": "s",
"count": 2,
"total": 0.028112671852111817,
"mean": 0.014056335926055909,
"stdev": 0.00011601591110229487,
"p50": 0.014056335926055909,
"p90": 0.014149148654937745,
"p95": 0.014160750246047973,
"p99": 0.014170031518936158,
"values": [
0.014172351837158204,
0.013940320014953614
]
},
"throughput": {
"unit": "tokens/s",
"value": 497.9960664588458
},
"energy": null,
"efficiency": null
},
"decode": {
"memory": {
"unit": "MB",
"max_ram": 2266.136576,
"max_global_vram": 8907.128832,
"max_process_vram": 0.0,
"max_reserved": 5379.19488,
"max_allocated": 5027.089408
},
"latency": {
"unit": "s",
"count": 2,
"total": 3.1222723388671874,
"mean": 1.5611361694335937,
"stdev": 0.0027151489257812855,
"p50": 1.5611361694335937,
"p90": 1.5633082885742187,
"p95": 1.563579803466797,
"p99": 1.5637970153808594,
"values": [
1.563851318359375,
1.5584210205078124
]
},
"throughput": {
"unit": "tokens/s",
"value": 81.35100735387978
},
"energy": null,
"efficiency": null
},
"per_token": {
"memory": null,
"latency": {
"unit": "s",
"count": 253,
"total": 3.1233525753021243,
"mean": 0.012345267096055825,
"stdev": 0.0008903137739901615,
"p50": 0.012279840469360351,
"p90": 0.012323225784301757,
"p95": 0.012383231735229492,
"p99": 0.012740935554504394,
"values": [
0.01266585636138916,
0.0127457275390625,
0.012708864212036132,
0.012736512184143066,
0.0127457275390625,
0.012320768356323243,
0.012256256103515625,
0.012281855583190919,
0.012248064041137695,
0.012292160034179687,
0.012251071929931641,
0.01228492832183838,
0.01226956844329834,
0.012301312446594239,
0.01225216007232666,
0.01228492832183838,
0.012246015548706055,
0.012317695617675782,
0.012324864387512208,
0.012282879829406738,
0.012280832290649414,
0.012296192169189453,
0.012248064041137695,
0.01228492832183838,
0.012253184318542481,
0.01229312038421631,
0.012253184318542481,
0.012306431770324706,
0.012246015548706055,
0.012291071891784668,
0.012241920471191407,
0.01227673625946045,
0.01223475170135498,
0.012283904075622559,
0.01223686408996582,
0.012287936210632323,
0.01225011157989502,
0.012270591735839843,
0.012248064041137695,
0.012289119720458984,
0.012285856246948243,
0.012313599586486817,
0.01226854419708252,
0.012296192169189453,
0.012239871978759765,
0.012281855583190919,
0.012239871978759765,
0.012278783798217773,
0.012229632377624512,
0.012275712013244629,
0.012230655670166016,
0.012278783798217773,
0.012237824440002442,
0.012282912254333495,
0.012305376052856445,
0.012283904075622559,
0.012259327888488769,
0.01234227180480957,
0.012309503555297852,
0.01234124755859375,
0.012270591735839843,
0.012290047645568849,
0.012244992256164551,
0.012267519950866699,
0.012241920471191407,
0.012290047645568849,
0.01225939178466797,
0.012296128273010253,
0.012256256103515625,
0.012314623832702636,
0.012285951614379884,
0.012303359985351562,
0.012254207611083985,
0.012294143676757812,
0.012264448165893555,
0.012295167922973632,
0.012253184318542481,
0.012288000106811523,
0.012239871978759765,
0.012296192169189453,
0.012364800453186036,
0.012464127540588378,
0.012502079963684081,
0.012529600143432617,
0.012497920036315918,
0.01239244842529297,
0.012259327888488769,
0.012300319671630859,
0.012242912292480469,
0.012288000106811523,
0.01224396800994873,
0.012308511734008789,
0.012262368202209472,
0.012336128234863282,
0.01225216007232666,
0.012303359985351562,
0.012262399673461915,
0.012298303604125977,
0.012252096176147462,
0.012286975860595703,
0.01226035213470459,
0.012381183624267577,
0.012331007957458496,
0.012356608390808106,
0.012560383796691894,
0.012323840141296387,
0.012275712013244629,
0.012315648078918457,
0.012297280311584472,
0.012295104026794434,
0.012256256103515625,
0.012305407524108887,
0.012248064041137695,
0.012297216415405274,
0.01224396800994873,
0.012281855583190919,
0.012248064041137695,
0.012331007957458496,
0.012329983711242675,
0.012386303901672363,
0.012279808044433594,
0.01234227180480957,
0.01225939178466797,
0.012287936210632323,
0.012253184318542481,
0.012280832290649414,
0.026427391052246094,
0.012257280349731446,
0.012302335739135742,
0.012246015548706055,
0.012285951614379884,
0.012237824440002442,
0.012280832290649414,
0.012246015548706055,
0.012272640228271485,
0.012231679916381836,
0.01228492832183838,
0.012246015548706055,
0.012270591735839843,
0.01225216007232666,
0.012295167922973632,
0.012256256103515625,
0.012297216415405274,
0.012249088287353516,
0.012318719863891601,
0.012247039794921874,
0.012280832290649414,
0.0122357759475708,
0.012295167922973632,
0.012238880157470704,
0.012286944389343262,
0.01225113582611084,
0.012285951614379884,
0.012246015548706055,
0.012283904075622559,
0.012265472412109376,
0.012288096427917481,
0.012253087997436523,
0.012296192169189453,
0.012248064041137695,
0.012279808044433594,
0.012229632377624512,
0.012286975860595703,
0.012240896224975586,
0.012281855583190919,
0.01223475170135498,
0.012278783798217773,
0.012244992256164551,
0.012288000106811523,
0.012299263954162597,
0.012314623832702636,
0.012255231857299804,
0.012295231819152833,
0.01226028823852539,
0.012273664474487305,
0.012233728408813477,
0.012281855583190919,
0.012249088287353516,
0.012265472412109376,
0.01224396800994873,
0.012281855583190919,
0.012240896224975586,
0.012286975860595703,
0.0122357759475708,
0.012275712013244629,
0.012264448165893555,
0.012283904075622559,
0.012257280349731446,
0.012292096138000488,
0.012229632377624512,
0.012278783798217773,
0.012238847732543945,
0.012286975860595703,
0.012240960121154785,
0.012277695655822754,
0.012241920471191407,
0.012285951614379884,
0.012282879829406738,
0.012294143676757812,
0.012244992256164551,
0.012303359985351562,
0.012271615982055664,
0.012308480262756348,
0.012257280349731446,
0.01227673625946045,
0.012238880157470704,
0.01230025577545166,
0.01225113582611084,
0.012288000106811523,
0.012246015548706055,
0.012273664474487305,
0.012239871978759765,
0.01227673625946045,
0.01224396800994873,
0.01228492832183838,
0.012309503555297852,
0.012310527801513671,
0.012258367538452148,
0.012289983749389648,
0.012239871978759765,
0.012278783798217773,
0.012230655670166016,
0.012285951614379884,
0.012248064041137695,
0.012291071891784668,
0.0122357759475708,
0.012320768356323243,
0.01223475170135498,
0.012307456016540527,
0.01224294376373291,
0.012309503555297852,
0.012229632377624512,
0.012292096138000488,
0.01225830364227295,
0.012306431770324706,
0.0122357759475708,
0.012331007957458496,
0.012253184318542481,
0.012291071891784668,
0.01225011157989502,
0.012278783798217773,
0.012253184318542481,
0.01229312038421631,
0.012236800193786621,
0.012289024353027344,
0.01224294376373291,
0.012286975860595703,
0.012279840469360351,
0.012284895896911622,
0.012302335739135742,
0.012279808044433594,
0.012257280349731446,
0.012290047645568849
]
},
"throughput": {
"unit": "tokens/s",
"value": 81.002702672953
},
"energy": null,
"efficiency": null
}
}
}