hf-transformers-bot's picture
Upload folder using huggingface_hub
f23d28c 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.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": "bdf36dcd48106a4a0278ed7f3cc26cd65ab7b066",
"accelerate_version": "0.31.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": 1927.548928,
"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.028168224334716795,
"mean": 0.014084112167358397,
"stdev": 9.243202209472615e-05,
"p50": 0.014084112167358397,
"p90": 0.01415805778503418,
"p95": 0.014167300987243652,
"p99": 0.01417469554901123,
"values": [
0.014176544189453124,
0.013991680145263672
]
},
"throughput": {
"unit": "tokens/s",
"value": 497.01393434108905
},
"energy": null,
"efficiency": null
},
"decode": {
"memory": {
"unit": "MB",
"max_ram": 2271.285248,
"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.1232266845703123,
"mean": 1.5616133422851561,
"stdev": 0.002790100097656345,
"p50": 1.5616133422851561,
"p90": 1.5638454223632814,
"p95": 1.564124432373047,
"p99": 1.5643476403808594,
"values": [
1.5644034423828126,
1.5588232421875
]
},
"throughput": {
"unit": "tokens/s",
"value": 81.32614941298917
},
"energy": null,
"efficiency": null
},
"per_token": {
"memory": null,
"latency": {
"unit": "s",
"count": 253,
"total": 3.1242772445678724,
"mean": 0.012348921915288028,
"stdev": 0.0008948487698663195,
"p50": 0.012273664474487305,
"p90": 0.01234104290008545,
"p95": 0.012484812927246094,
"p99": 0.012787465858459472,
"values": [
0.012695551872253418,
0.012752896308898925,
0.012717056274414062,
0.012781567573547363,
0.012793855667114258,
0.012813311576843261,
0.012722175598144531,
0.012306431770324706,
0.012254207611083985,
0.012310527801513671,
0.012246015548706055,
0.012283904075622559,
0.012256256103515625,
0.012290047645568849,
0.01224396800994873,
0.012311552047729492,
0.01224396800994873,
0.012294143676757812,
0.012240896224975586,
0.012286975860595703,
0.012256256103515625,
0.012291071891784668,
0.01225113582611084,
0.01228492832183838,
0.012239871978759765,
0.012294176101684571,
0.012242912292480469,
0.012282879829406738,
0.012264448165893555,
0.01245081615447998,
0.01226854419708252,
0.012270591735839843,
0.012238847732543945,
0.012294143676757812,
0.012240896224975586,
0.012308480262756348,
0.01225011157989502,
0.012303359985351562,
0.012238847732543945,
0.012272640228271485,
0.012237824440002442,
0.01228492832183838,
0.01225830364227295,
0.012283904075622559,
0.012258336067199707,
0.012348383903503417,
0.012236800193786621,
0.012278783798217773,
0.012238847732543945,
0.012300288200378418,
0.01225113582611084,
0.012309503555297852,
0.01226137638092041,
0.012302335739135742,
0.012239871978759765,
0.012340224266052247,
0.012263423919677734,
0.012294143676757812,
0.012255231857299804,
0.012305407524108887,
0.012246015548706055,
0.012271615982055664,
0.0122357759475708,
0.012272704124450683,
0.012231616020202637,
0.012280832290649414,
0.012247039794921874,
0.012280832290649414,
0.012505087852478027,
0.012679167747497559,
0.01244057559967041,
0.012382271766662598,
0.01225004768371582,
0.012289024353027344,
0.012248064041137695,
0.012288000106811523,
0.012248064041137695,
0.01228492832183838,
0.01226035213470459,
0.012357631683349609,
0.012382207870483398,
0.012580863952636719,
0.012471296310424805,
0.012515328407287597,
0.012374015808105468,
0.012295167922973632,
0.0122357759475708,
0.012285951614379884,
0.012255231857299804,
0.012286975860595703,
0.012228608131408691,
0.012328960418701173,
0.012247039794921874,
0.012274687767028808,
0.01224396800994873,
0.012278783798217773,
0.012265472412109376,
0.012280832290649414,
0.012247039794921874,
0.01229312038421631,
0.012237824440002442,
0.012281855583190919,
0.012238847732543945,
0.01228492832183838,
0.012246015548706055,
0.012271615982055664,
0.012239871978759765,
0.012286975860595703,
0.012228608131408691,
0.012286975860595703,
0.012246015548706055,
0.01232588768005371,
0.012233728408813477,
0.012264448165893555,
0.012237824440002442,
0.012278783798217773,
0.012237824440002442,
0.012285951614379884,
0.012248064041137695,
0.012271615982055664,
0.012239871978759765,
0.012277759552001954,
0.01225113582611084,
0.012283904075622559,
0.01225011157989502,
0.012289024353027344,
0.02647039985656738,
0.012229632377624512,
0.012294143676757812,
0.012230655670166016,
0.012282879829406738,
0.012244992256164551,
0.012307456016540527,
0.012281855583190919,
0.012283904075622559,
0.012238847732543945,
0.012286975860595703,
0.012236800193786621,
0.012271615982055664,
0.012236800193786621,
0.012285951614379884,
0.012229632377624512,
0.012288000106811523,
0.012223487854003906,
0.01228492832183838,
0.012426239967346191,
0.012297247886657715,
0.012247008323669433,
0.012295167922973632,
0.01224294376373291,
0.012274687767028808,
0.01223475170135498,
0.012283904075622559,
0.012230655670166016,
0.012282879829406738,
0.012249088287353516,
0.012300288200378418,
0.012229632377624512,
0.012280832290649414,
0.012221440315246582,
0.012280832290649414,
0.012262432098388672,
0.01230128002166748,
0.012248064041137695,
0.012288000106811523,
0.012238847732543945,
0.012291071891784668,
0.012233792304992675,
0.012322751998901368,
0.012241920471191407,
0.012273664474487305,
0.012230655670166016,
0.012322815895080566,
0.01226038360595703,
0.012292096138000488,
0.012253151893615723,
0.012282879829406738,
0.01225113582611084,
0.012290047645568849,
0.012229632377624512,
0.012290047645568849,
0.012232704162597656,
0.01227673625946045,
0.012280832290649414,
0.012280832290649414,
0.012234784126281739,
0.012275679588317871,
0.012237824440002442,
0.012277759552001954,
0.01223475170135498,
0.012288000106811523,
0.012264448165893555,
0.012337151527404786,
0.01226137638092041,
0.012273664474487305,
0.012230655670166016,
0.01228492832183838,
0.012248064041137695,
0.01226854419708252,
0.012321791648864745,
0.012382207870483398,
0.012336128234863282,
0.012345343589782716,
0.012257280349731446,
0.012292096138000488,
0.012240896224975586,
0.01229312038421631,
0.012257280349731446,
0.012274687767028808,
0.012233728408813477,
0.012281855583190919,
0.012249088287353516,
0.012274687767028808,
0.01224396800994873,
0.012292096138000488,
0.012229632377624512,
0.01234124755859375,
0.01226035213470459,
0.012289024353027344,
0.012249088287353516,
0.012292096138000488,
0.0122542724609375,
0.012289983749389648,
0.01224294376373291,
0.012291071891784668,
0.012244992256164551,
0.012274687767028808,
0.012248064041137695,
0.012271615982055664,
0.012246015548706055,
0.012273664474487305,
0.012230655670166016,
0.012618751525878906,
0.01224294376373291,
0.012295167922973632,
0.01225216007232666,
0.012303359985351562,
0.012239871978759765,
0.012302335739135742,
0.012249088287353516,
0.012270591735839843,
0.012229632377624512,
0.012266495704650878,
0.012248064041137695,
0.012274687767028808,
0.012232704162597656,
0.012265472412109376,
0.012231679916381836,
0.012291071891784668,
0.01224396800994873,
0.01236787223815918,
0.01225216007232666,
0.012277759552001954
]
},
"throughput": {
"unit": "tokens/s",
"value": 80.97872890118407
},
"energy": null,
"efficiency": null
}
}
}