hf-transformers-bot's picture
Upload folder using huggingface_hub
7fb677c 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.216-204.855.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": "6aafe5f36d73e730c988ee090233eb757b33821c",
"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": 1918.64832,
"max_global_vram": 6094.848,
"max_process_vram": 0.0,
"max_reserved": 5379.19488,
"max_allocated": 5020.227584
},
"latency": {
"unit": "s",
"count": 2,
"total": 0.027953439712524415,
"mean": 0.013976719856262207,
"stdev": 9.819221496581987e-05,
"p50": 0.013976719856262207,
"p90": 0.014055273628234864,
"p95": 0.014065092849731444,
"p99": 0.01407294822692871,
"values": [
0.014074912071228027,
0.013878527641296387
]
},
"throughput": {
"unit": "tokens/s",
"value": 500.8328185717825
},
"energy": null,
"efficiency": null
},
"decode": {
"memory": {
"unit": "MB",
"max_ram": 2262.540288,
"max_global_vram": 8902.934528,
"max_process_vram": 0.0,
"max_reserved": 5379.19488,
"max_allocated": 5026.065408
},
"latency": {
"unit": "s",
"count": 2,
"total": 3.1467089843749996,
"mean": 1.5733544921874998,
"stdev": 0.016088745117187497,
"p50": 1.5733544921874998,
"p90": 1.5862254882812499,
"p95": 1.5878343627929687,
"p99": 1.5891214624023438,
"values": [
1.5894432373046874,
1.5572657470703124
]
},
"throughput": {
"unit": "tokens/s",
"value": 80.71925343628482
},
"energy": null,
"efficiency": null
},
"per_token": {
"memory": null,
"latency": {
"unit": "s",
"count": 253,
"total": 3.147746305465696,
"mean": 0.012441685001840704,
"stdev": 0.0008986064567079216,
"p50": 0.01226956844329834,
"p90": 0.012728115272521974,
"p95": 0.012737740898132325,
"p99": 0.012776775588989257,
"values": [
0.01268838405609131,
0.012731391906738282,
0.01267199993133545,
0.012747776031494141,
0.012676095962524414,
0.0127457275390625,
0.012720128059387208,
0.012735487937927246,
0.012695551872253418,
0.012727295875549317,
0.01266585636138916,
0.012709888458251953,
0.012709888458251953,
0.012691455841064453,
0.012651519775390625,
0.0127457275390625,
0.01265766429901123,
0.01273036766052246,
0.012706815719604492,
0.012729344367980957,
0.012669952392578124,
0.01274060821533203,
0.012687359809875488,
0.012781567573547363,
0.012724224090576173,
0.012728320121765137,
0.012677120208740235,
0.012706815719604492,
0.012644351959228516,
0.012729344367980957,
0.012642304420471191,
0.012697600364685058,
0.012735487937927246,
0.012793855667114258,
0.012743680000305176,
0.012759039878845215,
0.012577792167663575,
0.012739583969116211,
0.012696576118469239,
0.012742655754089355,
0.01267404842376709,
0.012758015632629394,
0.012677120208740235,
0.012711935997009278,
0.012684288024902344,
0.012735487937927246,
0.012710911750793457,
0.012712960243225097,
0.012652544021606446,
0.012736512184143066,
0.01266380786895752,
0.012706815719604492,
0.012731391906738282,
0.012735487937927246,
0.012691455841064453,
0.012772352218627929,
0.012697600364685058,
0.012717056274414062,
0.012633088111877442,
0.012710911750793457,
0.012661760330200195,
0.012728351593017578,
0.01262895965576172,
0.012733440399169921,
0.012676095962524414,
0.012643327713012695,
0.012538880348205566,
0.012611583709716797,
0.012579839706420898,
0.012309503555297852,
0.012401663780212402,
0.01257369613647461,
0.012496895790100097,
0.012699647903442383,
0.012413951873779297,
0.01242521572113037,
0.012297216415405274,
0.012436479568481444,
0.012246015548706055,
0.012312576293945313,
0.012254207611083985,
0.012270591735839843,
0.01222758388519287,
0.012267519950866699,
0.012230655670166016,
0.01226956844329834,
0.012228608131408691,
0.012332032203674317,
0.012246015548706055,
0.012288000106811523,
0.012226559638977052,
0.01226956844329834,
0.012222463607788087,
0.012267519950866699,
0.012231679916381836,
0.012289024353027344,
0.012238847732543945,
0.012281855583190919,
0.012217344284057617,
0.012253184318542481,
0.012237824440002442,
0.012266495704650878,
0.01222758388519287,
0.012264448165893555,
0.01223475170135498,
0.012278783798217773,
0.01221939182281494,
0.012257280349731446,
0.012212224006652832,
0.012264448165893555,
0.012233728408813477,
0.012283904075622559,
0.012244992256164551,
0.01226137638092041,
0.012247039794921874,
0.012282879829406738,
0.012241920471191407,
0.012265472412109376,
0.012233728408813477,
0.012297216415405274,
0.01224294376373291,
0.012278783798217773,
0.01221939182281494,
0.012266495704650878,
0.0122357759475708,
0.012274687767028808,
0.02634649658203125,
0.012360704421997071,
0.012369919776916503,
0.012481535911560059,
0.012297216415405274,
0.01225113582611084,
0.012339200019836426,
0.012286975860595703,
0.012294143676757812,
0.012237824440002442,
0.012266495704650878,
0.012223487854003906,
0.01226137638092041,
0.012327936172485352,
0.012283904075622559,
0.0122357759475708,
0.012285951614379884,
0.012228608131408691,
0.012267519950866699,
0.012232704162597656,
0.012283904075622559,
0.012249088287353516,
0.01229312038421631,
0.012216320037841797,
0.012255231857299804,
0.012229632377624512,
0.012270591735839843,
0.012237824440002442,
0.012264448165893555,
0.012213248252868653,
0.012264448165893555,
0.012223487854003906,
0.012266495704650878,
0.012236800193786621,
0.012263423919677734,
0.01223475170135498,
0.012267519950866699,
0.012247039794921874,
0.012355584144592285,
0.012226559638977052,
0.012272640228271485,
0.01225011157989502,
0.012264448165893555,
0.012236800193786621,
0.012257280349731446,
0.012218367576599122,
0.012254207611083985,
0.012221440315246582,
0.01226035213470459,
0.012239871978759765,
0.012257280349731446,
0.012239871978759765,
0.012282879829406738,
0.012236800193786621,
0.01226956844329834,
0.012225536346435547,
0.01225830364227295,
0.012238847732543945,
0.012264448165893555,
0.01223475170135498,
0.012270591735839843,
0.012222463607788087,
0.01229312038421631,
0.012232704162597656,
0.012255231857299804,
0.012220416069030762,
0.012274687767028808,
0.012237824440002442,
0.012290047645568849,
0.01225011157989502,
0.012254207611083985,
0.012257280349731446,
0.01227673625946045,
0.012217344284057617,
0.012305407524108887,
0.012221440315246582,
0.012281855583190919,
0.012220416069030762,
0.012255231857299804,
0.012224512100219726,
0.012267519950866699,
0.012221440315246582,
0.012280832290649414,
0.012229632377624512,
0.012326911926269531,
0.01224396800994873,
0.01226035213470459,
0.012213248252868653,
0.012253184318542481,
0.012223487854003906,
0.012270591735839843,
0.012223487854003906,
0.012259327888488769,
0.012241920471191407,
0.012259327888488769,
0.012229632377624512,
0.012259327888488769,
0.012241920471191407,
0.012279808044433594,
0.01246617603302002,
0.01244057559967041,
0.01225830364227295,
0.012272640228271485,
0.012223487854003906,
0.012259327888488769,
0.012225536346435547,
0.012266495704650878,
0.012229632377624512,
0.012254207611083985,
0.012230655670166016,
0.01226956844329834,
0.012209152221679688,
0.01226137638092041,
0.012226559638977052,
0.012254207611083985,
0.012264448165893555,
0.012278783798217773,
0.012224512100219726,
0.01226137638092041,
0.012214271545410157,
0.012262399673461915,
0.012222463607788087,
0.012266495704650878,
0.012240896224975586,
0.012273664474487305,
0.012231679916381836,
0.012275712013244629
]
},
"throughput": {
"unit": "tokens/s",
"value": 80.37496527617067
},
"energy": null,
"efficiency": null
}
}
}