hf-transformers-bot's picture
Upload folder using huggingface_hub
2e8d53c 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": "0ed3ffcb4461a244b87781a24e5ebd0a78f98142",
"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.564864,
"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.043825569152832033,
"mean": 0.021912784576416017,
"stdev": 9.732818603515672e-05,
"p50": 0.021912784576416017,
"p90": 0.021990647125244144,
"p95": 0.022000379943847657,
"p99": 0.02200816619873047,
"values": [
0.02181545639038086,
0.022010112762451173
]
},
"throughput": {
"unit": "tokens/s",
"value": 319.44821871401325
},
"energy": null,
"efficiency": null
},
"decode": {
"memory": {
"unit": "MB",
"max_ram": 1750.581248,
"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.082213623046875,
"mean": 2.5411068115234374,
"stdev": 0.002622680664062571,
"p50": 2.5411068115234374,
"p90": 2.5432049560546877,
"p95": 2.543467224121094,
"p99": 2.5436770385742187,
"values": [
2.538484130859375,
2.5437294921875
]
},
"throughput": {
"unit": "tokens/s",
"value": 49.97822186146568
},
"energy": null,
"efficiency": null
},
"per_token": {
"memory": null,
"latency": {
"unit": "s",
"count": 253,
"total": 5.083170820236204,
"mean": 0.020091584269708324,
"stdev": 0.0015193376725360361,
"p50": 0.020007936477661133,
"p90": 0.020599193572998047,
"p95": 0.02069422073364258,
"p99": 0.021532016448974612,
"values": [
0.0215285758972168,
0.020007936477661133,
0.020134912490844727,
0.020129791259765627,
0.020324352264404297,
0.01982771110534668,
0.020195327758789062,
0.020702207565307617,
0.020941823959350587,
0.021171199798583985,
0.02083737564086914,
0.020682752609252928,
0.020405248641967775,
0.020831232070922853,
0.021198848724365234,
0.021535743713378908,
0.02003865623474121,
0.02028441619873047,
0.019927040100097656,
0.020106239318847655,
0.019912704467773438,
0.02002943992614746,
0.020009983062744142,
0.01987993621826172,
0.019769344329833984,
0.019771392822265626,
0.01987276840209961,
0.02046771240234375,
0.02046156883239746,
0.02021785545349121,
0.02028544044494629,
0.019987455368041994,
0.020162559509277343,
0.020091903686523437,
0.01999667167663574,
0.020309024810791016,
0.019935199737548828,
0.02003558349609375,
0.020147199630737304,
0.020000768661499024,
0.020204544067382812,
0.019862527847290038,
0.020005952835083007,
0.0197774715423584,
0.01964543914794922,
0.019944448471069336,
0.020015104293823242,
0.019786752700805665,
0.0195020809173584,
0.019552255630493166,
0.019486719131469727,
0.019378175735473634,
0.019549184799194336,
0.01947648048400879,
0.01940377616882324,
0.019348480224609374,
0.019302400588989257,
0.019276800155639647,
0.019308544158935546,
0.019358720779418945,
0.01947648048400879,
0.019538944244384765,
0.01946112060546875,
0.019577856063842772,
0.019408895492553712,
0.01965260887145996,
0.01960140800476074,
0.01940275192260742,
0.019288063049316406,
0.019375104904174805,
0.01940275192260742,
0.019319807052612305,
0.019397632598876953,
0.01967513656616211,
0.019778560638427735,
0.01943654441833496,
0.01945599937438965,
0.01947648048400879,
0.019296255111694336,
0.019506175994873046,
0.019365888595581054,
0.019914751052856446,
0.020617216110229493,
0.020501504898071288,
0.02049945640563965,
0.020494335174560546,
0.020570112228393556,
0.020504575729370117,
0.0196997127532959,
0.02004991912841797,
0.020321279525756835,
0.019357696533203125,
0.019397632598876953,
0.01927884864807129,
0.0192542724609375,
0.019377151489257814,
0.019562496185302734,
0.01983897590637207,
0.020336639404296874,
0.019323904037475585,
0.019293184280395507,
0.019542015075683594,
0.019483648300170898,
0.019570688247680663,
0.019352575302124024,
0.020333568572998048,
0.020402175903320312,
0.020487167358398437,
0.02042572784423828,
0.020249599456787108,
0.02051584053039551,
0.020321279525756835,
0.0204902400970459,
0.02027212715148926,
0.02047590446472168,
0.02042470359802246,
0.020340736389160157,
0.020419584274291993,
0.020517887115478514,
0.0206059513092041,
0.02068889617919922,
0.020339712142944336,
0.019949567794799804,
0.019968000411987305,
0.020366336822509764,
0.02042163276672363,
0.04270284652709961,
0.02051481628417969,
0.020262912750244142,
0.020406272888183592,
0.020530176162719727,
0.020776960372924806,
0.02048419189453125,
0.020624351501464844,
0.02058950424194336,
0.020493312835693358,
0.020596736907958983,
0.020372480392456056,
0.019483648300170898,
0.019309568405151366,
0.019520511627197267,
0.02065407943725586,
0.020668415069580077,
0.020617216110229493,
0.02049945640563965,
0.02028646469116211,
0.020561920166015626,
0.02051584053039551,
0.020634624481201173,
0.020501504898071288,
0.01943244743347168,
0.019544063568115236,
0.019619840621948242,
0.019384319305419923,
0.0194467830657959,
0.01939455986022949,
0.019583999633789064,
0.020545536041259766,
0.020560895919799805,
0.02044927978515625,
0.020403200149536133,
0.020447231292724608,
0.020307968139648438,
0.02048102378845215,
0.02045849609375,
0.020518911361694335,
0.020754432678222655,
0.02027008056640625,
0.02025267219543457,
0.020426752090454102,
0.020496383666992187,
0.020568063735961914,
0.02027622413635254,
0.020314111709594726,
0.02029363250732422,
0.020337663650512695,
0.022024192810058595,
0.02123263931274414,
0.020685823440551757,
0.02043391990661621,
0.020618240356445314,
0.020538368225097657,
0.02049228858947754,
0.0206376953125,
0.02029363250732422,
0.020306943893432617,
0.020338687896728515,
0.020388864517211915,
0.020381696701049806,
0.020305919647216796,
0.020599807739257812,
0.020553728103637696,
0.020519935607910156,
0.020331520080566406,
0.020248575210571287,
0.020488191604614257,
0.020447231292724608,
0.02048409652709961,
0.02026803207397461,
0.0204902400970459,
0.020547584533691408,
0.02049126434326172,
0.02049945640563965,
0.020412416458129884,
0.019534847259521485,
0.01947238349914551,
0.019542015075683594,
0.019560447692871095,
0.019555328369140625,
0.019343360900878907,
0.019680255889892577,
0.0194969596862793,
0.0192675838470459,
0.019414016723632813,
0.0194467830657959,
0.019482624053955077,
0.01941196823120117,
0.01940275192260742,
0.019489791870117186,
0.019540031433105468,
0.01960441589355469,
0.019588096618652344,
0.019567615509033204,
0.01939558410644531,
0.019378175735473634,
0.01947238349914551,
0.019358720779418945,
0.01967820739746094,
0.01927065658569336,
0.019334144592285156,
0.019294208526611328,
0.01946419143676758,
0.019599359512329103,
0.019598335266113282,
0.0194334716796875,
0.019314687728881837,
0.01943756866455078,
0.01960550308227539,
0.01945599937438965,
0.019417087554931642,
0.019499008178710937,
0.01965875244140625,
0.0194201602935791,
0.01942937660217285,
0.019527679443359376,
0.019631103515625,
0.01960038375854492,
0.019333120346069335,
0.019466239929199217,
0.019503103256225587,
0.019563520431518554,
0.01946009635925293,
0.019535871505737306
]
},
"throughput": {
"unit": "tokens/s",
"value": 49.77208300630029
},
"energy": null,
"efficiency": null
}
}
}