hf-transformers-bot's picture
Upload folder using huggingface_hub
438750d verified
{
"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-212.873.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": "f745e7d3f902601686b83c7cce2660c2a94509f0",
"accelerate_version": "0.35.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": 1333.673984,
"max_global_vram": 6775.373824,
"max_process_vram": 0.0,
"max_reserved": 6138.363904,
"max_allocated": 6060.931072
},
"latency": {
"unit": "s",
"count": 1,
"total": 11.43676953125,
"mean": 11.43676953125,
"stdev": 0.0,
"p50": 11.43676953125,
"p90": 11.43676953125,
"p95": 11.43676953125,
"p99": 11.43676953125,
"values": [
11.43676953125
]
},
"throughput": null,
"energy": null,
"efficiency": null
},
"prefill": {
"memory": {
"unit": "MB",
"max_ram": 1835.728896,
"max_global_vram": 6796.345344,
"max_process_vram": 0.0,
"max_reserved": 6142.558208,
"max_allocated": 5028.450816
},
"latency": {
"unit": "s",
"count": 2,
"total": 0.04459542274475098,
"mean": 0.02229771137237549,
"stdev": 1.8832206726073636e-05,
"p50": 0.02229771137237549,
"p90": 0.022312777137756347,
"p95": 0.022314660358428957,
"p99": 0.022316166934967043,
"values": [
0.022278879165649416,
0.022316543579101563
]
},
"throughput": {
"unit": "tokens/s",
"value": 313.9335639922338
},
"energy": null,
"efficiency": null
},
"decode": {
"memory": {
"unit": "MB",
"max_ram": 1862.868992,
"max_global_vram": 6800.539648,
"max_process_vram": 0.0,
"max_reserved": 6146.752512,
"max_allocated": 5031.820288
},
"latency": {
"unit": "s",
"count": 2,
"total": 5.257376953125,
"mean": 2.6286884765625,
"stdev": 0.008773925781250025,
"p50": 2.6286884765625,
"p90": 2.6357076171875002,
"p95": 2.636585009765625,
"p99": 2.637286923828125,
"values": [
2.61991455078125,
2.63746240234375
]
},
"throughput": {
"unit": "tokens/s",
"value": 48.313066052648495
},
"energy": null,
"efficiency": null
},
"per_token": {
"memory": null,
"latency": {
"unit": "s",
"count": 254,
"total": 5.257122823715212,
"mean": 0.020697333951634683,
"stdev": 0.0003283237564827691,
"p50": 0.020535295486450195,
"p90": 0.02123630771636963,
"p95": 0.021291468238830567,
"p99": 0.02175401975631714,
"values": [
0.020512767791748047,
0.020540416717529295,
0.020556800842285155,
0.02049843215942383,
0.020526079177856444,
0.020526079177856444,
0.020531200408935548,
0.020502527236938475,
0.020388864517211915,
0.020582399368286132,
0.020932607650756836,
0.021168127059936523,
0.020595712661743162,
0.020521984100341797,
0.020534271240234374,
0.020554752349853517,
0.020540416717529295,
0.02050048065185547,
0.020535295486450195,
0.02046771240234375,
0.020527103424072265,
0.020519935607910156,
0.02058137512207031,
0.02053222465515137,
0.02049945640563965,
0.02046668815612793,
0.02064384078979492,
0.021788671493530275,
0.021380096435546874,
0.021259263992309572,
0.021242879867553712,
0.021222400665283202,
0.021296127319335938,
0.02053222465515137,
0.020553728103637696,
0.020368383407592772,
0.02063871955871582,
0.020513792037963868,
0.020588544845581053,
0.020512767791748047,
0.020510719299316405,
0.020501504898071288,
0.020561920166015626,
0.02051481628417969,
0.020539392471313478,
0.02050361633300781,
0.0205731201171875,
0.02048204803466797,
0.02046668815612793,
0.02046463966369629,
0.02050662422180176,
0.020537376403808594,
0.02053424072265625,
0.02048409652709961,
0.020570112228393556,
0.02051584053039551,
0.020525056838989256,
0.020489215850830078,
0.020538368225097657,
0.020644863128662108,
0.020692991256713866,
0.021128192901611328,
0.020641792297363282,
0.020508672714233397,
0.020529151916503906,
0.021007360458374022,
0.021393407821655275,
0.021271551132202148,
0.021198848724365234,
0.021210111618041993,
0.02109951972961426,
0.020426752090454102,
0.020521984100341797,
0.020551679611206054,
0.020518911361694335,
0.020508672714233397,
0.020463615417480468,
0.020513792037963868,
0.02045644760131836,
0.020528127670288086,
0.020454399108886717,
0.020502527236938475,
0.02049945640563965,
0.02051481628417969,
0.02046566390991211,
0.020535295486450195,
0.020549631118774413,
0.020509695053100584,
0.020537343978881836,
0.020620288848876952,
0.020562944412231447,
0.020551679611206054,
0.020505599975585938,
0.020559871673583984,
0.020534271240234374,
0.020526079177856444,
0.020530176162719727,
0.020463615417480468,
0.020553728103637696,
0.020445184707641603,
0.020497407913208008,
0.020772863388061523,
0.021226495742797852,
0.021180416107177736,
0.020520959854125977,
0.020460544586181642,
0.020505599975585938,
0.020521984100341797,
0.020547584533691408,
0.020518911361694335,
0.02087321662902832,
0.02104319953918457,
0.020770816802978515,
0.020538368225097657,
0.02057318305969238,
0.020551679611206054,
0.020567039489746093,
0.020526079177856444,
0.020512767791748047,
0.020554752349853517,
0.02048307228088379,
0.02048204803466797,
0.020509695053100584,
0.020471872329711913,
0.020444095611572264,
0.02043084716796875,
0.020460544586181642,
0.02053222465515137,
0.02049228858947754,
0.0204400634765625,
0.020479999542236327,
0.02046771240234375,
0.020502527236938475,
0.02048409652709961,
0.020545536041259766,
0.02048307228088379,
0.02048307228088379,
0.020561920166015626,
0.020486143112182616,
0.02051584053039551,
0.02044927978515625,
0.021583871841430666,
0.021198848724365234,
0.020495359420776366,
0.020753408432006838,
0.021167104721069335,
0.020592639923095703,
0.020516864776611327,
0.020495359420776366,
0.02046463966369629,
0.020516864776611327,
0.020493312835693358,
0.020471807479858398,
0.02044927978515625,
0.021109760284423826,
0.02122035217285156,
0.021164031982421876,
0.02162483215332031,
0.02048204803466797,
0.02128895950317383,
0.021740543365478517,
0.021769216537475586,
0.021268512725830076,
0.021240800857543946,
0.020530176162719727,
0.020508672714233397,
0.02050764846801758,
0.02045337677001953,
0.020554752349853517,
0.020337663650512695,
0.020384767532348632,
0.02047590446472168,
0.02046668815612793,
0.020468736648559572,
0.021226495742797852,
0.021255168914794922,
0.020510719299316405,
0.020463615417480468,
0.020611072540283205,
0.021420032501220702,
0.02124799919128418,
0.021179391860961915,
0.020545536041259766,
0.0204769287109375,
0.020530176162719727,
0.020553728103637696,
0.020518911361694335,
0.020531200408935548,
0.020943872451782225,
0.0212992000579834,
0.021238784790039062,
0.02125312042236328,
0.021195775985717775,
0.021213184356689452,
0.021128192901611328,
0.02061516761779785,
0.021186559677124024,
0.021243904113769533,
0.021215232849121093,
0.021211135864257814,
0.021191680908203125,
0.021212160110473634,
0.021100608825683594,
0.021230527877807617,
0.0211712646484375,
0.02115065574645996,
0.020802560806274413,
0.02122137641906738,
0.02125721549987793,
0.021394432067871092,
0.021783552169799804,
0.02142720031738281,
0.021213184356689452,
0.02125312042236328,
0.020617216110229493,
0.020587520599365236,
0.020540416717529295,
0.020531200408935548,
0.020479999542236327,
0.020553728103637696,
0.020553728103637696,
0.020552703857421875,
0.020545536041259766,
0.020543487548828124,
0.02044927978515625,
0.020496383666992187,
0.020470783233642577,
0.020546560287475587,
0.020498464584350586,
0.020567007064819336,
0.020502527236938475,
0.020511743545532226,
0.020501504898071288,
0.020517887115478514,
0.020516864776611327,
0.020548608779907225,
0.020564992904663085,
0.020552703857421875,
0.02047283172607422,
0.020557823181152343,
0.020523008346557618,
0.020504575729370117,
0.020511743545532226,
0.020553728103637696,
0.020572160720825194,
0.020493343353271486,
0.02049737548828125,
0.020552703857421875,
0.020560895919799805,
0.02039091110229492,
0.020526079177856444,
0.020727807998657227,
0.020669439315795898,
0.020523008346557618
]
},
"throughput": {
"unit": "tokens/s",
"value": 48.31540150711148
},
"energy": null,
"efficiency": null
}
}
}