hf-transformers-bot's picture
Upload folder using huggingface_hub
1811f08 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": 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": "74a207404e8d4524d1fdc4aa23789694f9eef347",
"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": 1916.174336,
"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.028529088020324708,
"mean": 0.014264544010162354,
"stdev": 0.0002791676521301271,
"p50": 0.014264544010162354,
"p90": 0.014487878131866454,
"p95": 0.014515794897079468,
"p99": 0.014538128309249878,
"values": [
0.01454371166229248,
0.013985376358032226
]
},
"throughput": {
"unit": "tokens/s",
"value": 490.72721813000516
},
"energy": null,
"efficiency": null
},
"decode": {
"memory": {
"unit": "MB",
"max_ram": 2260.054016,
"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.149933349609375,
"mean": 1.5749666748046875,
"stdev": 0.017234619140624963,
"p50": 1.5749666748046875,
"p90": 1.5887543701171876,
"p95": 1.59047783203125,
"p99": 1.5918566015625,
"values": [
1.5922012939453125,
1.5577320556640626
]
},
"throughput": {
"unit": "tokens/s",
"value": 80.63662681354788
},
"energy": null,
"efficiency": null
},
"per_token": {
"memory": null,
"latency": {
"unit": "s",
"count": 253,
"total": 3.150910470962522,
"mean": 0.012454191584832113,
"stdev": 0.0009055684236847236,
"p50": 0.012282879829406738,
"p90": 0.012734259033203126,
"p95": 0.01275985927581787,
"p99": 0.012789555320739747,
"values": [
0.012726271629333496,
0.012803071975708008,
0.012758015632629394,
0.012769280433654785,
0.012731391906738282,
0.012794879913330079,
0.012718079566955566,
0.012733440399169921,
0.012654591560363769,
0.012784640312194824,
0.012727295875549317,
0.012729344367980957,
0.012662783622741699,
0.012734463691711426,
0.012675071716308594,
0.012752896308898925,
0.012676095962524414,
0.012761088371276855,
0.012697600364685058,
0.0127457275390625,
0.012700672149658204,
0.012775424003601075,
0.012725248336791992,
0.01274060821533203,
0.01268838405609131,
0.012784640312194824,
0.012713983535766601,
0.01277132797241211,
0.012697600364685058,
0.01276518440246582,
0.012705792427062988,
0.012739583969116211,
0.012776448249816894,
0.012731391906738282,
0.01268019199371338,
0.012579839706420898,
0.012682239532470703,
0.012759039878845215,
0.01266483211517334,
0.012675071716308594,
0.012612607955932617,
0.012758015632629394,
0.012716032028198243,
0.012781567573547363,
0.01267302417755127,
0.012758015632629394,
0.012695551872253418,
0.012712960243225097,
0.012695551872253418,
0.01276211166381836,
0.012729344367980957,
0.012705792427062988,
0.01265561580657959,
0.012759039878845215,
0.012750847816467285,
0.012727295875549317,
0.012653568267822265,
0.01274675178527832,
0.01265664005279541,
0.012726271629333496,
0.012685312271118163,
0.01274060821533203,
0.012649472236633302,
0.012695551872253418,
0.012570624351501464,
0.012729344367980957,
0.012597248077392579,
0.012683263778686523,
0.012265472412109376,
0.012507136344909669,
0.01258188819885254,
0.012623871803283691,
0.012702719688415527,
0.012606464385986327,
0.012646464347839356,
0.012399552345275879,
0.012452863693237304,
0.012652544021606446,
0.012266495704650878,
0.012290047645568849,
0.012256256103515625,
0.012304384231567383,
0.012295167922973632,
0.012307456016540527,
0.01224294376373291,
0.012303359985351562,
0.01225113582611084,
0.012279808044433594,
0.012300288200378418,
0.012312576293945313,
0.012257280349731446,
0.012271615982055664,
0.01223475170135498,
0.012306431770324706,
0.01225216007232666,
0.012296192169189453,
0.012257280349731446,
0.012307456016540527,
0.012241920471191407,
0.012267519950866699,
0.012228608131408691,
0.012277759552001954,
0.012229632377624512,
0.012266495704650878,
0.012228608131408691,
0.012294143676757812,
0.012226559638977052,
0.01235148811340332,
0.012256256103515625,
0.012291071891784668,
0.012259327888488769,
0.012286975860595703,
0.012314623832702636,
0.012316672325134278,
0.012241920471191407,
0.012282879829406738,
0.012230655670166016,
0.012266495704650878,
0.012248064041137695,
0.012262399673461915,
0.012228608131408691,
0.012355584144592285,
0.01224396800994873,
0.01226956844329834,
0.01225216007232666,
0.012288000106811523,
0.026460159301757814,
0.012231679916381836,
0.01226956844329834,
0.012257280349731446,
0.012266495704650878,
0.012237824440002442,
0.012281855583190919,
0.012266495704650878,
0.012283904075622559,
0.012229632377624512,
0.012280832290649414,
0.01226854419708252,
0.012270591735839843,
0.012230655670166016,
0.012277759552001954,
0.012256256103515625,
0.012283904075622559,
0.012229632377624512,
0.012277759552001954,
0.012239871978759765,
0.012286975860595703,
0.01227673625946045,
0.012301312446594239,
0.01226956844329834,
0.012299263954162597,
0.01224294376373291,
0.012267519950866699,
0.01224396800994873,
0.012288000106811523,
0.012229632377624512,
0.012283904075622559,
0.012249088287353516,
0.012329983711242675,
0.012237824440002442,
0.012273664474487305,
0.01225216007232666,
0.012286975860595703,
0.012277759552001954,
0.012289024353027344,
0.012255231857299804,
0.01228492832183838,
0.012256256103515625,
0.01235148811340332,
0.01226956844329834,
0.012288000106811523,
0.01224396800994873,
0.012279808044433594,
0.012233728408813477,
0.012281855583190919,
0.012229632377624512,
0.012271615982055664,
0.01229312038421631,
0.012303359985351562,
0.01222758388519287,
0.012280832290649414,
0.012232704162597656,
0.012290047645568849,
0.01225830364227295,
0.012308480262756348,
0.012221440315246582,
0.01227673625946045,
0.012230655670166016,
0.012333056449890138,
0.012240896224975586,
0.012278783798217773,
0.012236800193786621,
0.012329983711242675,
0.012296192169189453,
0.01228492832183838,
0.012230655670166016,
0.012263423919677734,
0.012238847732543945,
0.012292096138000488,
0.012241920471191407,
0.012280832290649414,
0.012222463607788087,
0.012289024353027344,
0.012230655670166016,
0.012285951614379884,
0.012218367576599122,
0.012292096138000488,
0.01226035213470459,
0.012295167922973632,
0.012224512100219726,
0.012271615982055664,
0.012247039794921874,
0.012264448165893555,
0.012233728408813477,
0.012273664474487305,
0.012248064041137695,
0.012280832290649414,
0.012223487854003906,
0.012273664474487305,
0.012239871978759765,
0.012259327888488769,
0.012230655670166016,
0.012288000106811523,
0.01226137638092041,
0.012288000106811523,
0.012223487854003906,
0.01227673625946045,
0.012232704162597656,
0.01227673625946045,
0.01222758388519287,
0.012262399673461915,
0.01224294376373291,
0.012281855583190919,
0.012230655670166016,
0.012266495704650878,
0.0122357759475708,
0.012271615982055664,
0.01223475170135498,
0.012277759552001954,
0.012257280349731446,
0.012273664474487305,
0.012224512100219726,
0.01226956844329834,
0.012241920471191407,
0.01226956844329834,
0.01224396800994873,
0.012265472412109376,
0.012249088287353516,
0.012280832290649414,
0.01222758388519287,
0.012278783798217773,
0.012304384231567383,
0.012313599586486817
]
},
"throughput": {
"unit": "tokens/s",
"value": 80.29425219521227
},
"energy": null,
"efficiency": null
}
}
}