hf-transformers-bot's picture
Upload folder using huggingface_hub
25b4db8 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": "35a6d9d6483d4d4d7cd817ed4ecfd5f86e1f9a23",
"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": 1750.618112,
"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.04374707221984863,
"mean": 0.021873536109924315,
"stdev": 0.0006145601272583012,
"p50": 0.021873536109924315,
"p90": 0.022365184211730955,
"p95": 0.022426640224456788,
"p99": 0.02247580503463745,
"values": [
0.022488096237182616,
0.021258975982666014
]
},
"throughput": {
"unit": "tokens/s",
"value": 320.0214160537128
},
"energy": null,
"efficiency": null
},
"decode": {
"memory": {
"unit": "MB",
"max_ram": 1750.6304,
"max_global_vram": 6793.199616,
"max_process_vram": 0.0,
"max_reserved": 6146.752512,
"max_allocated": 5036.936704
},
"latency": {
"unit": "s",
"count": 2,
"total": 4.992007324218751,
"mean": 2.4960036621093753,
"stdev": 0.005812744140625048,
"p50": 2.4960036621093753,
"p90": 2.500653857421875,
"p95": 2.5012351318359376,
"p99": 2.5017001513671877,
"values": [
2.50181640625,
2.49019091796875
]
},
"throughput": {
"unit": "tokens/s",
"value": 50.88133560375956
},
"energy": null,
"efficiency": null
},
"per_token": {
"memory": null,
"latency": {
"unit": "s",
"count": 253,
"total": 4.99309157371521,
"mean": 0.019735539817056166,
"stdev": 0.0013689270958941455,
"p50": 0.019509248733520508,
"p90": 0.020166437911987304,
"p95": 0.020301005172729494,
"p99": 0.020579819412231443,
"values": [
0.021006336212158205,
0.020468736648559572,
0.020248575210571287,
0.020017152786254884,
0.020133888244628906,
0.019997695922851562,
0.02005504035949707,
0.019812351226806642,
0.01986662483215332,
0.019953664779663087,
0.020197376251220703,
0.02016972732543945,
0.019965951919555663,
0.020410367965698242,
0.02032640075683594,
0.020307968139648438,
0.02004991912841797,
0.02007142448425293,
0.02014726448059082,
0.02015328025817871,
0.019894271850585937,
0.0198973445892334,
0.019991552352905274,
0.019861503601074217,
0.01999564743041992,
0.019933183670043944,
0.020135936737060548,
0.02030284881591797,
0.020299776077270508,
0.019961856842041017,
0.020363264083862305,
0.020102144241333008,
0.019948543548583983,
0.019987455368041994,
0.020145151138305666,
0.020109312057495117,
0.019908672332763673,
0.0199617919921875,
0.019957759857177734,
0.019955711364746095,
0.01986355209350586,
0.01978265571594238,
0.020050943374633787,
0.019677183151245118,
0.01982975959777832,
0.019900415420532228,
0.01982361602783203,
0.01979903984069824,
0.0198604793548584,
0.019843072891235353,
0.019523584365844726,
0.019717119216918946,
0.019530752182006835,
0.0194334716796875,
0.01947238349914551,
0.019188735961914064,
0.01944780731201172,
0.01947648048400879,
0.01946828842163086,
0.019474431991577147,
0.01943756866455078,
0.019478527069091797,
0.019494911193847657,
0.019414016723632813,
0.019503103256225587,
0.019491840362548828,
0.019511295318603517,
0.019474431991577147,
0.01944883155822754,
0.019406848907470704,
0.019449855804443358,
0.01945088005065918,
0.01943142318725586,
0.01947340774536133,
0.01948876762390137,
0.01942323112487793,
0.01943449592590332,
0.019408895492553712,
0.019491840362548828,
0.01948467254638672,
0.01944883155822754,
0.019430400848388672,
0.019467264175415038,
0.019475456237792968,
0.01943552017211914,
0.019400703430175782,
0.019458047866821288,
0.01944268798828125,
0.019507200241088866,
0.0194652156829834,
0.019501056671142578,
0.01946009635925293,
0.01947648048400879,
0.0195020809173584,
0.01945292854309082,
0.0194201602935791,
0.019471359252929688,
0.01949286460876465,
0.019518463134765626,
0.01946828842163086,
0.019479551315307618,
0.01945088005065918,
0.019491840362548828,
0.019483648300170898,
0.01947340774536133,
0.019499008178710937,
0.019277856826782225,
0.019397600173950195,
0.019479551315307618,
0.01944166374206543,
0.019280895233154297,
0.01925632095336914,
0.01944883155822754,
0.019474431991577147,
0.019532800674438477,
0.019504127502441407,
0.019499008178710937,
0.019479551315307618,
0.019487743377685548,
0.019581951141357423,
0.01947750473022461,
0.01944576072692871,
0.01948569679260254,
0.01947340774536133,
0.019518463134765626,
0.01946419143676758,
0.0409354248046875,
0.019520511627197267,
0.019540992736816407,
0.01946419143676758,
0.019430400848388672,
0.01946931266784668,
0.01944576072692871,
0.019518463134765626,
0.019511295318603517,
0.01946828842163086,
0.019562496185302734,
0.01945907211303711,
0.019569664001464843,
0.019471359252929688,
0.019606527328491212,
0.019505151748657225,
0.019506175994873046,
0.019517440795898438,
0.019513343811035155,
0.019482624053955077,
0.019535871505737306,
0.019524608612060547,
0.01946316719055176,
0.019510271072387696,
0.019518463134765626,
0.0194703369140625,
0.01946419143676758,
0.019514368057250975,
0.019553279876708983,
0.01945497512817383,
0.01945395278930664,
0.01943449592590332,
0.019481599807739256,
0.019531776428222656,
0.019503103256225587,
0.01944371223449707,
0.01942630386352539,
0.01946419143676758,
0.019528703689575197,
0.01946316719055176,
0.01946316719055176,
0.01946009635925293,
0.0194652156829834,
0.02002124786376953,
0.019544063568115236,
0.019329023361206055,
0.019375104904174805,
0.0194467830657959,
0.019795967102050782,
0.020237312316894532,
0.019538944244384765,
0.019490816116333007,
0.019524608612060547,
0.019523584365844726,
0.019516416549682617,
0.019509248733520508,
0.01949286460876465,
0.019511295318603517,
0.019495935440063478,
0.01944576072692871,
0.01945395278930664,
0.01944063949584961,
0.0194652156829834,
0.019491840362548828,
0.01946419143676758,
0.019479551315307618,
0.0194969596862793,
0.019481599807739256,
0.02023321533203125,
0.02042470359802246,
0.020346879959106445,
0.020700159072875975,
0.019696640014648437,
0.01970790481567383,
0.019575807571411134,
0.019535871505737306,
0.01948057556152344,
0.01945292854309082,
0.019538944244384765,
0.019546112060546874,
0.01948467254638672,
0.019505151748657225,
0.019512319564819337,
0.019499008178710937,
0.01949286460876465,
0.019475456237792968,
0.019813375473022463,
0.02025881576538086,
0.020090879440307616,
0.020328447341918944,
0.020175872802734376,
0.02024140739440918,
0.020297727584838866,
0.02029465675354004,
0.020341760635375978,
0.02024448013305664,
0.020257791519165038,
0.01965977668762207,
0.019530752182006835,
0.01963827133178711,
0.019487743377685548,
0.019515455245971678,
0.019467199325561523,
0.019507200241088866,
0.019474431991577147,
0.019516416549682617,
0.019570688247680663,
0.019597312927246095,
0.01946931266784668,
0.019514368057250975,
0.01946419143676758,
0.019503103256225587,
0.01947340774536133,
0.019475456237792968,
0.019511295318603517,
0.01947238349914551,
0.019546112060546874,
0.019526655197143555,
0.019577856063842772,
0.019545087814331053,
0.019516416549682617,
0.019511295318603517,
0.019546112060546874,
0.019552255630493166,
0.019555328369140625,
0.019524608612060547,
0.01946931266784668
]
},
"throughput": {
"unit": "tokens/s",
"value": 50.67001000579492
},
"energy": null,
"efficiency": null
}
}
}