hf-transformers-bot's picture
Upload folder using huggingface_hub
61bb83b 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": "9ba9369a2557e53a01378199a9839ec6e82d8bc7",
"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": 1930.637312,
"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.028140575408935546,
"mean": 0.014070287704467773,
"stdev": 0.00011662387847900368,
"p50": 0.014070287704467773,
"p90": 0.014163586807250977,
"p95": 0.014175249195098877,
"p99": 0.014184579105377198,
"values": [
0.014186911582946778,
0.01395366382598877
]
},
"throughput": {
"unit": "tokens/s",
"value": 497.50226484546386
},
"energy": null,
"efficiency": null
},
"decode": {
"memory": {
"unit": "MB",
"max_ram": 2274.553856,
"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.1463156738281253,
"mean": 1.5731578369140626,
"stdev": 0.016137451171874928,
"p50": 1.5731578369140626,
"p90": 1.5860677978515625,
"p95": 1.5876815429687499,
"p99": 1.5889725390625,
"values": [
1.5892952880859375,
1.5570203857421876
]
},
"throughput": {
"unit": "tokens/s",
"value": 80.72934388397142
},
"energy": null,
"efficiency": null
},
"per_token": {
"memory": null,
"latency": {
"unit": "s",
"count": 253,
"total": 3.1474268159866328,
"mean": 0.012440422197575626,
"stdev": 0.0009017623136978595,
"p50": 0.012277759552001954,
"p90": 0.012708454704284668,
"p95": 0.012737945747375488,
"p99": 0.012812124443054199,
"values": [
0.012646400451660156,
0.012768256187438964,
0.012698623657226562,
0.012774399757385254,
0.012737536430358886,
0.01277952003479004,
0.012720128059387208,
0.01274880027770996,
0.012667903900146485,
0.012741632461547851,
0.01266585636138916,
0.012723199844360352,
0.012632063865661621,
0.012709888458251953,
0.012620800018310547,
0.012709888458251953,
0.012666879653930664,
0.012709888458251953,
0.012666879653930664,
0.012739583969116211,
0.012644351959228516,
0.012700672149658204,
0.012691455841064453,
0.012712960243225097,
0.012692480087280274,
0.01273855972290039,
0.012640255928039551,
0.012693504333496093,
0.012669952392578124,
0.01268838405609131,
0.012676095962524414,
0.012808192253112792,
0.012682239532470703,
0.012710911750793457,
0.012660736083984376,
0.012570624351501464,
0.012652544021606446,
0.012683263778686523,
0.012641280174255372,
0.01275699234008789,
0.012683263778686523,
0.01268019199371338,
0.012718079566955566,
0.012783616065979005,
0.012685312271118163,
0.012726271629333496,
0.01265561580657959,
0.012699647903442383,
0.012690431594848632,
0.012722175598144531,
0.012646400451660156,
0.012697600364685058,
0.012676095962524414,
0.012718079566955566,
0.012696576118469239,
0.012702719688415527,
0.012644351959228516,
0.012722208023071288,
0.012683232307434083,
0.012699647903442383,
0.012646400451660156,
0.012682239532470703,
0.01264742374420166,
0.012695551872253418,
0.01255628776550293,
0.01262284755706787,
0.012615679740905762,
0.012679167747497559,
0.012259327888488769,
0.01244979190826416,
0.012533760070800782,
0.012816384315490722,
0.012896256446838379,
0.012424192428588866,
0.012365823745727538,
0.01235865592956543,
0.012344320297241211,
0.012302335739135742,
0.012248064041137695,
0.012299263954162597,
0.01228492832183838,
0.012278783798217773,
0.012253184318542481,
0.01228492832183838,
0.012267519950866699,
0.012290047645568849,
0.01223475170135498,
0.012278783798217773,
0.012229632377624512,
0.012283904075622559,
0.012240896224975586,
0.012273664474487305,
0.012244992256164551,
0.012270591735839843,
0.01226035213470459,
0.01234329605102539,
0.0122357759475708,
0.012281855583190919,
0.012272640228271485,
0.012306431770324706,
0.012253184318542481,
0.012280832290649414,
0.012220447540283202,
0.012264415740966797,
0.012224512100219726,
0.012259327888488769,
0.012239871978759765,
0.012290047645568849,
0.012238847732543945,
0.012285951614379884,
0.012241920471191407,
0.012285951614379884,
0.012259327888488769,
0.012280832290649414,
0.012239871978759765,
0.012313599586486817,
0.01223475170135498,
0.01226956844329834,
0.012232704162597656,
0.012267519950866699,
0.012244992256164551,
0.012288000106811523,
0.012246015548706055,
0.012283904075622559,
0.012253184318542481,
0.012288000106811523,
0.026411008834838868,
0.01222758388519287,
0.012272640228271485,
0.01225113582611084,
0.012298239707946777,
0.012231679916381836,
0.012302335739135742,
0.012233728408813477,
0.012262399673461915,
0.012228608131408691,
0.012315648078918457,
0.012274687767028808,
0.012313664436340332,
0.012234687805175781,
0.012307456016540527,
0.01222758388519287,
0.012267519950866699,
0.012229632377624512,
0.012275712013244629,
0.012229632377624512,
0.012308480262756348,
0.012274687767028808,
0.012281855583190919,
0.012217344284057617,
0.012271615982055664,
0.012225536346435547,
0.012282879829406738,
0.012265472412109376,
0.012280832290649414,
0.012244992256164551,
0.012274687767028808,
0.01222758388519287,
0.012270591735839843,
0.012238847732543945,
0.012256256103515625,
0.012225536346435547,
0.01228492832183838,
0.012265472412109376,
0.012277759552001954,
0.012244992256164551,
0.012262399673461915,
0.0122357759475708,
0.012285951614379884,
0.012306431770324706,
0.012270591735839843,
0.012248064041137695,
0.012273664474487305,
0.012239871978759765,
0.01226035213470459,
0.012246015548706055,
0.012267519950866699,
0.01224396800994873,
0.012307456016540527,
0.0122357759475708,
0.012290047645568849,
0.012271615982055664,
0.012282879829406738,
0.012241920471191407,
0.012267519950866699,
0.012226559638977052,
0.012253184318542481,
0.012255231857299804,
0.012281855583190919,
0.012240896224975586,
0.012277759552001954,
0.012231679916381836,
0.012323840141296387,
0.01225011157989502,
0.01226035213470459,
0.01224294376373291,
0.012270624160766602,
0.012228575706481934,
0.012282879829406738,
0.012237824440002442,
0.012274687767028808,
0.012224512100219726,
0.012277759552001954,
0.012238847732543945,
0.012289024353027344,
0.012232704162597656,
0.01227673625946045,
0.012217344284057617,
0.012262399673461915,
0.012231679916381836,
0.012273664474487305,
0.012231679916381836,
0.01228492832183838,
0.01225830364227295,
0.012286975860595703,
0.012221440315246582,
0.01225830364227295,
0.012239871978759765,
0.012270591735839843,
0.012225536346435547,
0.012283904075622559,
0.01223475170135498,
0.01226956844329834,
0.01221939182281494,
0.01226956844329834,
0.01223475170135498,
0.012267519950866699,
0.012211199760437011,
0.012295167922973632,
0.01228492832183838,
0.012281855583190919,
0.01221939182281494,
0.012262399673461915,
0.012217344284057617,
0.012280832290649414,
0.012220416069030762,
0.01226854419708252,
0.012246015548706055,
0.012267519950866699,
0.01222758388519287,
0.01226854419708252,
0.012224512100219726,
0.01226137638092041,
0.012218367576599122,
0.01228492832183838,
0.01225011157989502,
0.012294143676757812,
0.012240896224975586,
0.01226956844329834,
0.0122357759475708,
0.012262399673461915,
0.012254207611083985,
0.012280832290649414
]
},
"throughput": {
"unit": "tokens/s",
"value": 80.38312399034808
},
"energy": null,
"efficiency": null
}
}
}