hf-transformers-bot's picture
Upload folder using huggingface_hub
a7788e8 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": 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": "eed9ed679878ada2f6d2eefccdbda368cabc88b1",
"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": 1754.075136,
"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.04409452819824219,
"mean": 0.022047264099121094,
"stdev": 0.00020076751708984417,
"p50": 0.022047264099121094,
"p90": 0.02220787811279297,
"p95": 0.022227954864501954,
"p99": 0.02224401626586914,
"values": [
0.022248031616210938,
0.02184649658203125
]
},
"throughput": {
"unit": "tokens/s",
"value": 317.4997119156863
},
"energy": null,
"efficiency": null
},
"decode": {
"memory": {
"unit": "MB",
"max_ram": 1754.087424,
"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.16445361328125,
"mean": 2.582226806640625,
"stdev": 0.01793774414062499,
"p50": 2.582226806640625,
"p90": 2.5965770019531247,
"p95": 2.5983707763671875,
"p99": 2.5998057958984373,
"values": [
2.60016455078125,
2.5642890625
]
},
"throughput": {
"unit": "tokens/s",
"value": 49.182356744728395
},
"energy": null,
"efficiency": null
},
"per_token": {
"memory": null,
"latency": {
"unit": "s",
"count": 253,
"total": 5.165543432235718,
"mean": 0.02041716771634671,
"stdev": 0.0014686678563924304,
"p50": 0.02002022361755371,
"p90": 0.020950016021728517,
"p95": 0.021472255706787107,
"p99": 0.022505389785766598,
"values": [
0.02162892723083496,
0.02245427131652832,
0.022798336029052735,
0.022560768127441407,
0.021556224822998047,
0.02149990463256836,
0.021336063385009766,
0.021201919555664063,
0.021375999450683594,
0.020706304550170897,
0.021203968048095705,
0.02045644760131836,
0.020676607131958007,
0.020853759765625,
0.02106470489501953,
0.02152038383483887,
0.021400575637817384,
0.02125721549987793,
0.02145382308959961,
0.021206016540527343,
0.021198848724365234,
0.020487167358398437,
0.020576255798339844,
0.020362239837646484,
0.02041753578186035,
0.020700159072875975,
0.021542911529541017,
0.02185830307006836,
0.021604352951049805,
0.021597183227539063,
0.021392383575439454,
0.020572160720825194,
0.020754432678222655,
0.020748287200927733,
0.020361215591430663,
0.020353023529052734,
0.0204769287109375,
0.02038374328613281,
0.020398080825805662,
0.020231168746948244,
0.020331520080566406,
0.020149248123168945,
0.020342784881591795,
0.020319232940673827,
0.02020147132873535,
0.02007142448425293,
0.019974143981933593,
0.02001408004760742,
0.019927040100097656,
0.02003455924987793,
0.019978239059448243,
0.019948543548583983,
0.019973119735717772,
0.019935232162475586,
0.019902463912963866,
0.0199671688079834,
0.020039487838745117,
0.02003046417236328,
0.019985408782958985,
0.01988915252685547,
0.019945472717285157,
0.020002815246582033,
0.020215808868408205,
0.019899391174316407,
0.019934207916259765,
0.01988812828063965,
0.020436992645263673,
0.02086297607421875,
0.02084249687194824,
0.020767744064331056,
0.02002022361755371,
0.019974143981933593,
0.020000768661499024,
0.019989503860473632,
0.02004582405090332,
0.020000768661499024,
0.019963903427124022,
0.02005504035949707,
0.020006912231445313,
0.02000588798522949,
0.0200263671875,
0.019984384536743165,
0.020074495315551756,
0.019952640533447266,
0.02009600067138672,
0.019909631729125975,
0.019958784103393554,
0.019927040100097656,
0.020192256927490236,
0.020775936126708985,
0.020789247512817383,
0.020789247512817383,
0.02088755226135254,
0.020790271759033203,
0.020753408432006838,
0.020703231811523438,
0.020669439315795898,
0.020934656143188478,
0.020720640182495118,
0.020817920684814452,
0.020751359939575196,
0.020706304550170897,
0.020808704376220705,
0.02087424087524414,
0.020840448379516603,
0.020084735870361328,
0.019915775299072267,
0.019945472717285157,
0.019941375732421874,
0.019959808349609375,
0.019946495056152345,
0.019955711364746095,
0.01993011283874512,
0.019911680221557617,
0.01987993621826172,
0.01988915252685547,
0.01990553665161133,
0.019919872283935547,
0.019914751052856446,
0.019918848037719726,
0.02003558349609375,
0.01983283233642578,
0.019769344329833984,
0.01983795166015625,
0.020033536911010744,
0.020016128540039063,
0.042092544555664066,
0.019959808349609375,
0.019965951919555663,
0.019983360290527344,
0.01984716796875,
0.01998028755187988,
0.019941375732421874,
0.020017152786254884,
0.019948543548583983,
0.020000768661499024,
0.019938304901123048,
0.019893247604370116,
0.019915775299072267,
0.02046976089477539,
0.020000768661499024,
0.019998720169067383,
0.019909631729125975,
0.02000588798522949,
0.019950592041015625,
0.019960832595825196,
0.019942399978637695,
0.019982336044311523,
0.020129791259765627,
0.02005606460571289,
0.019893247604370116,
0.02028646469116211,
0.020759552001953126,
0.020898815155029296,
0.020831232070922853,
0.02086809539794922,
0.02086604881286621,
0.02079641532897949,
0.02088243293762207,
0.020840448379516603,
0.019947519302368166,
0.019935232162475586,
0.019981311798095702,
0.019971071243286134,
0.019959808349609375,
0.019999744415283204,
0.019923967361450197,
0.019979263305664064,
0.020067327499389647,
0.02001203155517578,
0.02047385597229004,
0.020535295486450195,
0.020711423873901368,
0.020798463821411133,
0.020932607650756836,
0.020900863647460938,
0.02006937599182129,
0.019965951919555663,
0.019918848037719726,
0.019992576599121094,
0.02005504035949707,
0.019989503860473632,
0.019961856842041017,
0.019960832595825196,
0.019938304901123048,
0.020165632247924805,
0.02010316848754883,
0.019987455368041994,
0.020000768661499024,
0.02044825553894043,
0.019985408782958985,
0.020257791519165038,
0.019948543548583983,
0.019949567794799804,
0.019986431121826173,
0.01995680046081543,
0.020081600189208983,
0.019992576599121094,
0.019910655975341796,
0.01998847961425781,
0.019981311798095702,
0.019957759857177734,
0.019885055541992186,
0.019902463912963866,
0.019895296096801757,
0.019969024658203126,
0.020552703857421875,
0.019956735610961913,
0.019935232162475586,
0.02000588798522949,
0.019934207916259765,
0.019981311798095702,
0.019939327239990236,
0.019939327239990236,
0.019993600845336915,
0.020126720428466797,
0.019953664779663087,
0.02008064079284668,
0.019928064346313477,
0.021791744232177734,
0.020921344757080077,
0.020528127670288086,
0.02080460739135742,
0.020907007217407226,
0.02091007995605469,
0.02088652801513672,
0.02085683250427246,
0.02002943992614746,
0.019987455368041994,
0.019963903427124022,
0.019961856842041017,
0.020016128540039063,
0.019975168228149414,
0.02002841567993164,
0.019911680221557617,
0.020015104293823242,
0.019929088592529298,
0.019987455368041994,
0.01992192077636719,
0.020105215072631837,
0.01998028755187988,
0.020007936477661133,
0.019944448471069336,
0.019940351486206053,
0.01991372871398926,
0.019979263305664064,
0.020554752349853517,
0.020950016021728517,
0.021365760803222656,
0.020935680389404295,
0.020950016021728517,
0.020768768310546876,
0.019954687118530275
]
},
"throughput": {
"unit": "tokens/s",
"value": 48.97838984784185
},
"energy": null,
"efficiency": null
}
}
}