hf-transformers-bot's picture
Upload folder using huggingface_hub
bc8b69b verified
raw
history blame
18 kB
{
"config": {
"name": "pytorch_generate",
"backend": {
"name": "pytorch",
"version": "2.4.0+cu121",
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
"task": "text-generation",
"library": "transformers",
"model_type": "gemma",
"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": {},
"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,
"memory": true,
"latency": 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",
"numactl": false,
"numactl_kwargs": {},
"start_method": "spawn"
},
"environment": {
"cpu": " AMD EPYC 7R32",
"cpu_count": 16,
"cpu_ram_mb": 66697.261056,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.223-211.872.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.4.0",
"optimum_benchmark_commit": null,
"transformers_version": "4.45.0.dev0",
"transformers_commit": "5c1027bf09717f664b579e01cbb8ec3ef5aeb140",
"accelerate_version": "0.34.0.dev0",
"accelerate_commit": null,
"diffusers_version": null,
"diffusers_commit": null,
"optimum_version": "1.22.0.dev0",
"optimum_commit": null,
"timm_version": "0.9.16",
"timm_commit": null,
"peft_version": "0.12.1.dev0",
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 1321.259008,
"max_global_vram": 6768.033792,
"max_process_vram": 0.0,
"max_reserved": 6138.363904,
"max_allocated": 6060.931072
},
"latency": {
"unit": "s",
"count": 1,
"total": 11.3464619140625,
"mean": 11.3464619140625,
"stdev": 0.0,
"p50": 11.3464619140625,
"p90": 11.3464619140625,
"p95": 11.3464619140625,
"p99": 11.3464619140625,
"values": [
11.3464619140625
]
},
"throughput": null,
"energy": null,
"efficiency": null
},
"prefill": {
"memory": {
"unit": "MB",
"max_ram": 1750.8352,
"max_global_vram": 6789.005312,
"max_process_vram": 0.0,
"max_reserved": 6142.558208,
"max_allocated": 5028.450816
},
"latency": {
"unit": "s",
"count": 2,
"total": 0.04506313514709473,
"mean": 0.022531567573547365,
"stdev": 0.0006003999710083013,
"p50": 0.022531567573547365,
"p90": 0.023011887550354004,
"p95": 0.023071927547454834,
"p99": 0.023119959545135498,
"values": [
0.023131967544555664,
0.02193116760253906
]
},
"throughput": {
"unit": "tokens/s",
"value": 310.67523274404476
},
"energy": null,
"efficiency": null
},
"decode": {
"memory": {
"unit": "MB",
"max_ram": 1775.419392,
"max_global_vram": 6793.199616,
"max_process_vram": 0.0,
"max_reserved": 6146.752512,
"max_allocated": 5031.820288
},
"latency": {
"unit": "s",
"count": 2,
"total": 5.20160107421875,
"mean": 2.600800537109375,
"stdev": 0.032942626953125,
"p50": 2.600800537109375,
"p90": 2.627154638671875,
"p95": 2.6304489013671875,
"p99": 2.6330843115234375,
"values": [
2.6337431640625,
2.56785791015625
]
},
"throughput": {
"unit": "tokens/s",
"value": 48.83111879896504
},
"energy": null,
"efficiency": null
},
"per_token": {
"memory": null,
"latency": {
"unit": "s",
"count": 254,
"total": 5.201337326049804,
"mean": 0.0204777060080701,
"stdev": 0.0005291648902045253,
"p50": 0.02016819190979004,
"p90": 0.02119546871185303,
"p95": 0.021245183753967285,
"p99": 0.02163812328338623,
"values": [
0.02108006477355957,
0.021154815673828126,
0.021173248291015623,
0.021130239486694336,
0.02107596778869629,
0.02107187271118164,
0.021073919296264648,
0.02109542465209961,
0.021186559677124024,
0.021090303421020508,
0.021082111358642578,
0.02103500747680664,
0.021138431549072266,
0.021191680908203125,
0.02122956848144531,
0.02105446434020996,
0.021154815673828126,
0.021177343368530274,
0.021202943801879884,
0.021160959243774414,
0.021217279434204102,
0.02120806312561035,
0.021200895309448242,
0.021184511184692383,
0.021215232849121093,
0.02107084846496582,
0.021255168914794922,
0.02107904052734375,
0.02104217529296875,
0.02105855941772461,
0.021121023178100586,
0.02104319953918457,
0.021082111358642578,
0.021097471237182617,
0.02106265640258789,
0.021751840591430663,
0.021476320266723633,
0.021201919555664063,
0.02111692810058594,
0.021109760284423826,
0.02127257537841797,
0.021006336212158205,
0.02122137641906738,
0.021214208602905273,
0.02126848030090332,
0.021195775985717775,
0.021296127319335938,
0.021145599365234375,
0.021204992294311522,
0.021161983489990235,
0.02126233673095703,
0.02109235191345215,
0.021176319122314453,
0.02105548858642578,
0.021073919296264648,
0.02063871955871582,
0.021148672103881837,
0.021194751739501954,
0.02105241584777832,
0.02108415985107422,
0.021259263992309572,
0.021152767181396484,
0.021090303421020508,
0.021072895050048827,
0.023966720581054687,
0.021621759414672852,
0.021331968307495116,
0.021186559677124024,
0.02109235191345215,
0.021117952346801756,
0.02020966339111328,
0.020189184188842774,
0.020172800064086914,
0.020703231811523438,
0.020619264602661135,
0.020192256927490236,
0.020167680740356447,
0.020132863998413086,
0.02011955261230469,
0.02020351982116699,
0.020149248123168945,
0.020125696182250977,
0.02012876892089844,
0.020106239318847655,
0.020099071502685546,
0.020129791259765627,
0.020151296615600587,
0.020122623443603514,
0.020090879440307616,
0.020139007568359374,
0.02007961654663086,
0.020099071502685546,
0.02008576011657715,
0.020093952178955078,
0.020146175384521483,
0.020157440185546875,
0.020215808868408205,
0.020180992126464844,
0.02021887969970703,
0.020282367706298828,
0.020165632247924805,
0.020106239318847655,
0.020305919647216796,
0.02011238479614258,
0.020113407135009767,
0.020146175384521483,
0.020155391693115234,
0.020090879440307616,
0.020124671936035156,
0.020135936737060548,
0.020145151138305666,
0.020147199630737304,
0.020116479873657226,
0.020145151138305666,
0.020719615936279297,
0.02021887969970703,
0.020156415939331054,
0.020118528366088868,
0.020170751571655272,
0.020156415939331054,
0.020131839752197265,
0.02005299186706543,
0.02007961654663086,
0.020129791259765627,
0.020134912490844727,
0.02009600067138672,
0.020109312057495117,
0.020115455627441405,
0.020154367446899413,
0.02008064079284668,
0.020093952178955078,
0.020101119995117187,
0.020109312057495117,
0.02023219108581543,
0.02008883285522461,
0.020109312057495117,
0.020134912490844727,
0.020074495315551756,
0.02001408004760742,
0.019912704467773438,
0.019944448471069336,
0.0200949764251709,
0.02006630325317383,
0.02021683120727539,
0.02010419273376465,
0.019938304901123048,
0.02008064079284668,
0.02016972732543945,
0.020136959075927736,
0.019938304901123048,
0.020011007308959963,
0.02001408004760742,
0.020116479873657226,
0.020107263565063475,
0.020117504119873047,
0.020108287811279296,
0.02008883285522461,
0.020134912490844727,
0.020137983322143553,
0.0200949764251709,
0.020134912490844727,
0.020092927932739257,
0.020140031814575195,
0.020133888244628906,
0.020091903686523437,
0.020102144241333008,
0.020110336303710938,
0.020092927932739257,
0.020101119995117187,
0.020115455627441405,
0.020165632247924805,
0.020180992126464844,
0.020195327758789062,
0.020158464431762696,
0.020108287811279296,
0.020125696182250977,
0.02030284881591797,
0.02024038314819336,
0.02108518409729004,
0.02110054397583008,
0.021105663299560547,
0.020108287811279296,
0.020091903686523437,
0.020118528366088868,
0.020161535263061522,
0.020296703338623046,
0.02165657615661621,
0.02132275199890137,
0.02122137641906738,
0.02123980712890625,
0.02106265640258789,
0.021073919296264648,
0.02089472007751465,
0.020154367446899413,
0.020160512924194338,
0.020162559509277343,
0.02043084716796875,
0.02030182456970215,
0.02024550437927246,
0.020190208435058594,
0.020161535263061522,
0.020170751571655272,
0.020162559509277343,
0.020198400497436524,
0.020162559509277343,
0.020136959075927736,
0.020121599197387697,
0.020154367446899413,
0.020158464431762696,
0.020108287811279296,
0.020170751571655272,
0.02012057685852051,
0.02018611145019531,
0.02018611145019531,
0.02021990394592285,
0.020166656494140626,
0.020157440185546875,
0.02023628807067871,
0.020150272369384766,
0.020125696182250977,
0.020136959075927736,
0.020222976684570314,
0.020174848556518556,
0.020168703079223634,
0.0201308479309082,
0.020243423461914063,
0.0202106876373291,
0.020132863998413086,
0.020110336303710938,
0.020140031814575195,
0.02010316848754883,
0.02007347106933594,
0.020068351745605468,
0.020123647689819335,
0.020190208435058594,
0.02021887969970703,
0.020101119995117187,
0.020168703079223634,
0.02011136054992676,
0.020170751571655272,
0.020152320861816408,
0.020144128799438478,
0.020163583755493163,
0.020151296615600587,
0.020164608001708984,
0.020188159942626953,
0.02019430351257324,
0.020011007308959963,
0.0200130558013916,
0.020023296356201172,
0.02019430351257324,
0.020213760375976563,
0.020113407135009767,
0.020118528366088868
]
},
"throughput": {
"unit": "tokens/s",
"value": 48.83359491565648
},
"energy": null,
"efficiency": null
}
}
}