hf-transformers-bot's picture
Upload folder using huggingface_hub
d2e612d 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.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": "dcdda5324bcc7a750b5e40e11dd795442204ff27",
"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": 1941.93408,
"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.028233247756958006,
"mean": 0.014116623878479003,
"stdev": 0.00018327999114990234,
"p50": 0.014116623878479003,
"p90": 0.014263247871398927,
"p95": 0.014281575870513916,
"p99": 0.014296238269805908,
"values": [
0.014299903869628906,
0.013933343887329102
]
},
"throughput": {
"unit": "tokens/s",
"value": 495.86927159486066
},
"energy": null,
"efficiency": null
},
"decode": {
"memory": {
"unit": "MB",
"max_ram": 2285.735936,
"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.146983642578125,
"mean": 1.5734918212890625,
"stdev": 0.01630004882812508,
"p50": 1.5734918212890625,
"p90": 1.5865318603515626,
"p95": 1.588161865234375,
"p99": 1.5894658691406252,
"values": [
1.5897918701171876,
1.5571917724609374
]
},
"throughput": {
"unit": "tokens/s",
"value": 80.71220852991591
},
"energy": null,
"efficiency": null
},
"per_token": {
"memory": null,
"latency": {
"unit": "s",
"count": 253,
"total": 3.1480279083251954,
"mean": 0.012442798056621324,
"stdev": 0.0009014963210041338,
"p50": 0.01227673625946045,
"p90": 0.012727295875549317,
"p95": 0.01275002899169922,
"p99": 0.012789719161987305,
"values": [
0.012722175598144531,
0.01277952003479004,
0.012677120208740235,
0.012819456100463868,
0.012790783882141114,
0.012788736343383789,
0.012755968093872071,
0.012782591819763184,
0.01266483211517334,
0.012727295875549317,
0.012693504333496093,
0.012729344367980957,
0.01274880027770996,
0.012729344367980957,
0.012686335563659668,
0.012702719688415527,
0.012681216239929198,
0.012727295875549317,
0.0127457275390625,
0.012721152305603027,
0.012694527626037597,
0.012709888458251953,
0.012704768180847169,
0.012760064125061036,
0.01266483211517334,
0.012766207695007324,
0.012653568267822265,
0.012729344367980957,
0.012652544021606446,
0.012709888458251953,
0.012676095962524414,
0.012780544281005859,
0.012698623657226562,
0.012734463691711426,
0.012646400451660156,
0.012607487678527832,
0.012642304420471191,
0.012751872062683106,
0.012747776031494141,
0.012759039878845215,
0.01262284755706787,
0.012719103813171387,
0.012660736083984376,
0.012760064125061036,
0.012686335563659668,
0.012733440399169921,
0.012702719688415527,
0.012702719688415527,
0.01267302417755127,
0.012709888458251953,
0.012681216239929198,
0.012707839965820313,
0.012703743934631348,
0.012729344367980957,
0.01267404842376709,
0.01273036766052246,
0.012659711837768555,
0.012744704246520995,
0.012690431594848632,
0.012747776031494141,
0.012661760330200195,
0.012705792427062988,
0.012669952392578124,
0.012697600364685058,
0.012601375579833984,
0.012643296241760254,
0.012604415893554688,
0.012649472236633302,
0.012283904075622559,
0.012447744369506837,
0.012502016067504883,
0.01259008026123047,
0.01264844799041748,
0.01237299156188965,
0.01226956844329834,
0.012377087593078612,
0.012282879829406738,
0.012428288459777831,
0.012309503555297852,
0.012304384231567383,
0.0122357759475708,
0.012295167922973632,
0.012270591735839843,
0.012302335739135742,
0.012231679916381836,
0.012270591735839843,
0.012247039794921874,
0.012294143676757812,
0.012231679916381836,
0.01228492832183838,
0.0122357759475708,
0.012299263954162597,
0.012236800193786621,
0.012275712013244629,
0.012232704162597656,
0.012265472412109376,
0.012230655670166016,
0.012283904075622559,
0.0122357759475708,
0.012309503555297852,
0.012236800193786621,
0.012275712013244629,
0.012232704162597656,
0.012280832290649414,
0.012231679916381836,
0.012267519950866699,
0.012236800193786621,
0.012264448165893555,
0.012247039794921874,
0.012277759552001954,
0.012231679916381836,
0.012275712013244629,
0.01225216007232666,
0.01229312038421631,
0.0122357759475708,
0.012275712013244629,
0.012239871978759765,
0.012271615982055664,
0.012255231857299804,
0.012290047645568849,
0.012248064041137695,
0.012288031578063964,
0.012237792015075683,
0.012285951614379884,
0.012244992256164551,
0.012273664474487305,
0.026396671295166017,
0.012237824440002442,
0.012275712013244629,
0.012223487854003906,
0.012280832290649414,
0.012253184318542481,
0.01227673625946045,
0.012236800193786621,
0.012296192169189453,
0.012255231857299804,
0.012283904075622559,
0.012238847732543945,
0.012274687767028808,
0.012246015548706055,
0.01227673625946045,
0.012238847732543945,
0.012273664474487305,
0.012236800193786621,
0.01227673625946045,
0.012257280349731446,
0.01227673625946045,
0.012248064041137695,
0.012277759552001954,
0.01223475170135498,
0.012301312446594239,
0.012248064041137695,
0.012280832290649414,
0.01223475170135498,
0.012270591735839843,
0.012254207611083985,
0.01228492832183838,
0.012233728408813477,
0.012281920433044434,
0.012294079780578613,
0.012278783798217773,
0.012233728408813477,
0.012275712013244629,
0.012232704162597656,
0.012285951614379884,
0.012244992256164551,
0.012274687767028808,
0.012231679916381836,
0.01226137638092041,
0.012225536346435547,
0.012272640228271485,
0.01222758388519287,
0.012300288200378418,
0.012231679916381836,
0.012278783798217773,
0.01223475170135498,
0.012278783798217773,
0.0122357759475708,
0.012272640228271485,
0.0122357759475708,
0.012317695617675782,
0.012239871978759765,
0.012275712013244629,
0.012225536346435547,
0.012263423919677734,
0.012231679916381836,
0.012263423919677734,
0.0122357759475708,
0.012286975860595703,
0.012223487854003906,
0.01227673625946045,
0.01223475170135498,
0.012278783798217773,
0.012232704162597656,
0.012275712013244629,
0.01226035213470459,
0.012348416328430176,
0.012237824440002442,
0.01229312038421631,
0.01222758388519287,
0.012289024353027344,
0.0122357759475708,
0.012274687767028808,
0.012226559638977052,
0.012277759552001954,
0.012241920471191407,
0.012273695945739746,
0.012247008323669433,
0.01225830364227295,
0.012262399673461915,
0.012281855583190919,
0.012314623832702636,
0.012312576293945313,
0.012256256103515625,
0.012274687767028808,
0.012226559638977052,
0.01225830364227295,
0.012228608131408691,
0.012285951614379884,
0.01224294376373291,
0.01226956844329834,
0.01225216007232666,
0.012278783798217773,
0.012225536346435547,
0.012282879829406738,
0.012228608131408691,
0.012274687767028808,
0.01226137638092041,
0.012267519950866699,
0.012237824440002442,
0.01226854419708252,
0.012218367576599122,
0.01226956844329834,
0.01223475170135498,
0.012265472412109376,
0.012225536346435547,
0.01226956844329834,
0.012240896224975586,
0.012271615982055664,
0.01224294376373291,
0.012270591735839843,
0.012239871978759765,
0.012290047645568849,
0.012244992256164551,
0.012272640228271485,
0.012254207611083985,
0.012279808044433594,
0.012233728408813477,
0.012300288200378418,
0.0122357759475708,
0.012274687767028808,
0.01222758388519287,
0.012271615982055664
]
},
"throughput": {
"unit": "tokens/s",
"value": 80.36777543519312
},
"energy": null,
"efficiency": null
}
}
}