hf-transformers-bot's picture
Upload folder using huggingface_hub
bd4e0df 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.218-208.862.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": "1de7dc7403b3b89ec421d43a8c9ee245211a61f6",
"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": 1764.80256,
"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.04531289672851563,
"mean": 0.022656448364257814,
"stdev": 0.00025440025329589826,
"p50": 0.022656448364257814,
"p90": 0.022859968566894533,
"p95": 0.02288540859222412,
"p99": 0.022905760612487794,
"values": [
0.02291084861755371,
0.022402048110961914
]
},
"throughput": {
"unit": "tokens/s",
"value": 308.96281215210263
},
"energy": null,
"efficiency": null
},
"decode": {
"memory": {
"unit": "MB",
"max_ram": 1764.82304,
"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.30516650390625,
"mean": 2.652583251953125,
"stdev": 0.005426025390625089,
"p50": 2.652583251953125,
"p90": 2.656924072265625,
"p95": 2.6574666748046876,
"p99": 2.6579007568359376,
"values": [
2.65800927734375,
2.6471572265625
]
},
"throughput": {
"unit": "tokens/s",
"value": 47.877856390176845
},
"energy": null,
"efficiency": null
},
"per_token": {
"memory": null,
"latency": {
"unit": "s",
"count": 253,
"total": 5.306186786651615,
"mean": 0.020973070302970798,
"stdev": 0.0014580768080943384,
"p50": 0.02063052749633789,
"p90": 0.021450136947631836,
"p95": 0.02177372169494629,
"p99": 0.022235545425415035,
"values": [
0.02268262481689453,
0.02208153533935547,
0.021651456832885742,
0.021392383575439454,
0.022079488754272462,
0.022304767608642577,
0.0219238395690918,
0.02165247917175293,
0.021702655792236326,
0.021378047943115236,
0.021403648376464843,
0.02102681541442871,
0.021575679779052736,
0.02150092887878418,
0.022171648025512695,
0.02187468719482422,
0.021182464599609374,
0.02122956848144531,
0.021190656661987304,
0.021013504028320314,
0.020966400146484376,
0.02145382308959961,
0.02108415985107422,
0.020943872451782225,
0.021178367614746094,
0.021522432327270507,
0.021526527404785157,
0.02123263931274414,
0.0216627197265625,
0.021810176849365235,
0.021576704025268553,
0.0210565128326416,
0.021551103591918946,
0.020941823959350587,
0.021204992294311522,
0.021098495483398438,
0.021769216537475586,
0.02170675277709961,
0.02143436813354492,
0.02108415985107422,
0.020864000320434572,
0.020898815155029296,
0.021246976852416992,
0.021780479431152345,
0.02143539237976074,
0.02088755226135254,
0.020616191864013672,
0.02060492706298828,
0.020610048294067384,
0.020570112228393556,
0.020975616455078124,
0.021110784530639647,
0.020580352783203124,
0.020560895919799805,
0.020616191864013672,
0.020555776596069338,
0.020568063735961914,
0.020577280044555665,
0.02065715217590332,
0.020563968658447264,
0.020571136474609376,
0.020595712661743162,
0.02062131118774414,
0.020559871673583984,
0.020602880477905275,
0.02059775924682617,
0.02065100860595703,
0.020571136474609376,
0.020612096786499022,
0.020580352783203124,
0.020570112228393556,
0.020592639923095703,
0.02059878349304199,
0.02058956718444824,
0.02065715217590332,
0.02061516761779785,
0.020558847427368163,
0.020592639923095703,
0.020582399368286132,
0.02061311912536621,
0.02059775924682617,
0.020594688415527345,
0.020545536041259766,
0.020541439056396483,
0.02059878349304199,
0.020543487548828124,
0.02059878349304199,
0.020586496353149415,
0.02063871955871582,
0.0206561279296875,
0.020632575988769532,
0.02060492706298828,
0.020617216110229493,
0.020569087982177735,
0.020603904724121092,
0.02064691162109375,
0.020626432418823244,
0.020594688415527345,
0.02068889617919922,
0.021180416107177736,
0.020739072799682616,
0.020592639923095703,
0.020567039489746093,
0.02057318305969238,
0.020610048294067384,
0.02062848091125488,
0.020579328536987306,
0.020792320251464845,
0.020583423614501953,
0.020599807739257812,
0.020601856231689454,
0.020612096786499022,
0.020666368484497072,
0.02060492706298828,
0.02061414337158203,
0.020594688415527345,
0.020601856231689454,
0.020576255798339844,
0.020607999801635742,
0.02066227149963379,
0.02064793586730957,
0.020607999801635742,
0.020585472106933594,
0.020544511795043945,
0.020570112228393556,
0.020535295486450195,
0.04320153427124023,
0.02062131118774414,
0.020594688415527345,
0.020588544845581053,
0.020563968658447264,
0.020566015243530272,
0.020554752349853517,
0.020579328536987306,
0.020587520599365236,
0.02060697555541992,
0.020583423614501953,
0.020585472106933594,
0.020564992904663085,
0.020579328536987306,
0.020590591430664062,
0.020975616455078124,
0.020653055191040038,
0.020632575988769532,
0.020596736907958983,
0.020610048294067384,
0.020900863647460938,
0.020966400146484376,
0.020632575988769532,
0.020625408172607423,
0.02059775924682617,
0.02057318305969238,
0.020572160720825194,
0.02064793586730957,
0.020644863128662108,
0.020611072540283205,
0.02062950325012207,
0.020570112228393556,
0.020626432418823244,
0.02058137512207031,
0.02061516761779785,
0.020579328536987306,
0.020599807739257812,
0.02064896011352539,
0.02067865562438965,
0.020601856231689454,
0.02108006477355957,
0.020753408432006838,
0.02057318305969238,
0.020559871673583984,
0.020584447860717774,
0.020556800842285155,
0.020595712661743162,
0.020544511795043945,
0.02058137512207031,
0.020556800842285155,
0.020569087982177735,
0.02058137512207031,
0.020590591430664062,
0.020743167877197266,
0.021186559677124024,
0.020619264602661135,
0.02062335968017578,
0.020625408172607423,
0.02060492706298828,
0.020568063735961914,
0.020612096786499022,
0.020571136474609376,
0.02058137512207031,
0.0206059513092041,
0.020592639923095703,
0.02063052749633789,
0.020593664169311524,
0.020617216110229493,
0.02059878349304199,
0.021283840179443358,
0.022046720504760742,
0.021840896606445313,
0.021300224304199217,
0.021203968048095705,
0.021158912658691405,
0.02122854423522949,
0.021143552780151367,
0.021133312225341795,
0.021176319122314453,
0.02120806312561035,
0.02111692810058594,
0.02109542465209961,
0.021160959243774414,
0.021038080215454103,
0.02109542465209961,
0.02126540756225586,
0.021313535690307618,
0.021105663299560547,
0.02109644889831543,
0.02124185562133789,
0.021124095916748048,
0.02127872085571289,
0.021141504287719725,
0.021174272537231444,
0.0210831356048584,
0.02102272033691406,
0.021190656661987304,
0.021146623611450196,
0.02104422378540039,
0.021196800231933592,
0.021185535430908203,
0.021141504287719725,
0.021006336212158205,
0.021210111618041993,
0.0210513916015625,
0.021176319122314453,
0.021150720596313476,
0.020719615936279297,
0.02104729652404785,
0.02104934310913086,
0.021150720596313476,
0.02110873603820801,
0.021150720596313476,
0.02108518409729004,
0.02112512016296387,
0.021086208343505858,
0.021906431198120118,
0.0210882568359375,
0.020571136474609376,
0.020561920166015626,
0.020526079177856444,
0.020601856231689454,
0.020594688415527345,
0.020596736907958983,
0.020620288848876952,
0.020563968658447264,
0.0206080322265625
]
},
"throughput": {
"unit": "tokens/s",
"value": 47.68019110002944
},
"energy": null,
"efficiency": null
}
}
}