hf-transformers-bot's picture
Upload folder using huggingface_hub
b07f607 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": false,
"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": "25245ec26dc29bcf6102e1b4ddd0dfd02e720cf5",
"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": 1763.38944,
"max_global_vram": 6793.199616,
"max_process_vram": 0.0,
"max_reserved": 6146.752512,
"max_allocated": 5036.936192
},
"latency": {
"unit": "s",
"count": 2,
"total": 0.043408096313476564,
"mean": 0.021704048156738282,
"stdev": 0.00020817565917968794,
"p50": 0.021704048156738282,
"p90": 0.021870588684082034,
"p95": 0.021891406250000002,
"p99": 0.021908060302734376,
"values": [
0.02191222381591797,
0.021495872497558594
]
},
"throughput": {
"unit": "tokens/s",
"value": 322.52047864291
},
"energy": null,
"efficiency": null
},
"decode": {
"memory": {
"unit": "MB",
"max_ram": 1763.401728,
"max_global_vram": 6793.199616,
"max_process_vram": 0.0,
"max_reserved": 6146.752512,
"max_allocated": 5036.936704
},
"latency": {
"unit": "s",
"count": 2,
"total": 5.184416259765625,
"mean": 2.5922081298828124,
"stdev": 0.002266479492187612,
"p50": 2.5922081298828124,
"p90": 2.5940213134765626,
"p95": 2.5942479614257814,
"p99": 2.5944292797851563,
"values": [
2.589941650390625,
2.594474609375
]
},
"throughput": {
"unit": "tokens/s",
"value": 48.99297958985314
},
"energy": null,
"efficiency": null
},
"per_token": {
"memory": null,
"latency": {
"unit": "s",
"count": 253,
"total": 5.185601533889769,
"mean": 0.020496448750552454,
"stdev": 0.001512014375107108,
"p50": 0.020572160720825194,
"p90": 0.020751974868774416,
"p95": 0.020997119903564454,
"p99": 0.022830817642211898,
"values": [
0.02065407943725586,
0.021000192642211913,
0.020497407913208008,
0.020410367965698242,
0.02046463966369629,
0.020350976943969725,
0.02105548858642578,
0.02065203285217285,
0.020591615676879883,
0.02031001663208008,
0.020496383666992187,
0.02048102378845215,
0.02021683120727539,
0.020540416717529295,
0.020544511795043945,
0.020539392471313478,
0.02027212715148926,
0.020220928192138672,
0.020331520080566406,
0.020358144760131838,
0.02010419273376465,
0.020139007568359374,
0.02022707176208496,
0.020168703079223634,
0.020295679092407228,
0.02023423957824707,
0.02045644760131836,
0.020641792297363282,
0.02058137512207031,
0.020248575210571287,
0.02059775924682617,
0.020368383407592772,
0.020340736389160157,
0.020207616806030275,
0.02069811248779297,
0.02086809539794922,
0.02655232048034668,
0.021336063385009766,
0.020794368743896483,
0.02109644889831543,
0.021176319122314453,
0.02062745666503906,
0.020692991256713866,
0.022148096084594726,
0.023570432662963867,
0.02123776054382324,
0.020995071411132812,
0.0208353271484375,
0.020720640182495118,
0.02062131118774414,
0.020746240615844725,
0.02062131118774414,
0.020753408432006838,
0.020619264602661135,
0.02064588737487793,
0.02068992042541504,
0.02069196891784668,
0.02066739273071289,
0.0206878719329834,
0.020816896438598635,
0.02017791938781738,
0.02004787254333496,
0.019791872024536132,
0.019763200759887696,
0.019927040100097656,
0.019727359771728514,
0.019764223098754884,
0.019785728454589844,
0.019770368576049805,
0.019729408264160156,
0.019794944763183595,
0.019778560638427735,
0.01982771110534668,
0.019710975646972655,
0.01979084777832031,
0.019720191955566405,
0.01983180809020996,
0.02089574432373047,
0.020620288848876952,
0.020602880477905275,
0.02060697555541992,
0.02041753578186035,
0.020767744064331056,
0.019778560638427735,
0.020602880477905275,
0.020145151138305666,
0.020538368225097657,
0.020548608779907225,
0.020624383926391602,
0.020184064865112306,
0.019750911712646483,
0.019711999893188475,
0.019770368576049805,
0.019719167709350584,
0.019736576080322265,
0.019741695404052736,
0.019719167709350584,
0.01986867141723633,
0.019791872024536132,
0.01971609687805176,
0.019745792388916016,
0.019743743896484374,
0.019771392822265626,
0.02011238479614258,
0.020701183319091796,
0.02064076805114746,
0.020607999801635742,
0.020542463302612304,
0.020987903594970703,
0.02168115234375,
0.02080460739135742,
0.020557823181152343,
0.020601856231689454,
0.019742719650268553,
0.019770368576049805,
0.019730432510375977,
0.019747840881347657,
0.019781631469726564,
0.019772415161132813,
0.019744768142700195,
0.01990656089782715,
0.019734527587890623,
0.019732479095458985,
0.019708927154541016,
0.019717119216918946,
0.019698688507080078,
0.042347518920898435,
0.01982054328918457,
0.019703807830810546,
0.020389888763427736,
0.020534271240234374,
0.020634624481201173,
0.019793920516967774,
0.020489215850830078,
0.019524608612060547,
0.019561471939086913,
0.019937280654907227,
0.019809280395507813,
0.019711999893188475,
0.02021683120727539,
0.020575231552124023,
0.02062131118774414,
0.020544511795043945,
0.020641792297363282,
0.02062950325012207,
0.020603904724121092,
0.02062131118774414,
0.020609024047851563,
0.020587520599365236,
0.020668415069580077,
0.020649984359741212,
0.020612096786499022,
0.020620288848876952,
0.020599807739257812,
0.02065203285217285,
0.02059775924682617,
0.020584447860717774,
0.02061414337158203,
0.02065510368347168,
0.02066227149963379,
0.020536319732666015,
0.020619264602661135,
0.0206059513092041,
0.020533248901367186,
0.02061516761779785,
0.020544511795043945,
0.020555776596069338,
0.02062335968017578,
0.020420608520507814,
0.02062950325012207,
0.020602880477905275,
0.020668415069580077,
0.020582399368286132,
0.02065920066833496,
0.020661247253417968,
0.020732927322387695,
0.020593664169311524,
0.020572160720825194,
0.020714496612548827,
0.020866111755371095,
0.020652992248535156,
0.02067046356201172,
0.020633600234985353,
0.02067148780822754,
0.020736000061035157,
0.02085171127319336,
0.020501504898071288,
0.02063052749633789,
0.02066534423828125,
0.020612096786499022,
0.020591615676879883,
0.020624383926391602,
0.02044108772277832,
0.020599807739257812,
0.02064384078979492,
0.02062131118774414,
0.020685823440551757,
0.02064691162109375,
0.020588544845581053,
0.020686847686767578,
0.020719615936279297,
0.020710399627685547,
0.020690944671630858,
0.020583423614501953,
0.020588544845581053,
0.01987276840209961,
0.019733503341674806,
0.019776512145996093,
0.019786752700805665,
0.0198154239654541,
0.019741695404052736,
0.019802112579345704,
0.021840896606445313,
0.01988812828063965,
0.019746816635131836,
0.019792896270751953,
0.019734527587890623,
0.01982156753540039,
0.019792896270751953,
0.019761152267456054,
0.019734527587890623,
0.019735551834106444,
0.019701759338378907,
0.019772415161132813,
0.01982771110534668,
0.019753984451293945,
0.019757055282592775,
0.019803136825561524,
0.019730432510375977,
0.020649984359741212,
0.021424127578735352,
0.020900863647460938,
0.020674560546875,
0.020706304550170897,
0.020549631118774413,
0.0206878719329834,
0.020588544845581053,
0.02069606399536133,
0.020596736907958983,
0.020742143630981445,
0.02063564872741699,
0.02037555122375488,
0.020618240356445314,
0.020684799194335936,
0.020742143630981445,
0.02066534423828125,
0.020602880477905275,
0.020529151916503906,
0.02062335968017578,
0.020566015243530272,
0.0206059513092041,
0.02063564872741699,
0.020566015243530272
]
},
"throughput": {
"unit": "tokens/s",
"value": 48.78893959486744
},
"energy": null,
"efficiency": null
}
}
}