cpu / cpu_inference_transformers_fill-mask_hf-internal-testing /tiny-random-BertModel /benchmark.json
IlyasMoutawwakil HF Staff
Upload cpu_inference_transformers_fill-mask_hf-internal-testing/tiny-random-BertModel/benchmark.json with huggingface_hub
66a67d1 verified | { | |
| "config": { | |
| "name": "cpu_inference_transformers_fill-mask_hf-internal-testing/tiny-random-BertModel", | |
| "backend": { | |
| "name": "pytorch", | |
| "version": "2.8.0", | |
| "_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend", | |
| "model": "hf-internal-testing/tiny-random-BertModel", | |
| "processor": "hf-internal-testing/tiny-random-BertModel", | |
| "task": "fill-mask", | |
| "library": "transformers", | |
| "model_type": "bert", | |
| "device": "cpu", | |
| "device_ids": null, | |
| "seed": 42, | |
| "inter_op_num_threads": null, | |
| "intra_op_num_threads": null, | |
| "model_kwargs": {}, | |
| "processor_kwargs": {}, | |
| "no_weights": true, | |
| "tp_plan": null, | |
| "device_map": null, | |
| "torch_dtype": null, | |
| "eval_mode": true, | |
| "to_bettertransformer": false, | |
| "low_cpu_mem_usage": null, | |
| "attn_implementation": null, | |
| "cache_implementation": null, | |
| "allow_tf32": false, | |
| "autocast_enabled": false, | |
| "autocast_dtype": null, | |
| "torch_compile": false, | |
| "torch_compile_target": "forward", | |
| "torch_compile_config": {}, | |
| "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": 1, | |
| "duration": 1, | |
| "warmup_runs": 1, | |
| "input_shapes": { | |
| "batch_size": 2, | |
| "sequence_length": 16, | |
| "num_choices": 2 | |
| }, | |
| "new_tokens": null, | |
| "memory": true, | |
| "latency": true, | |
| "energy": true, | |
| "forward_kwargs": {}, | |
| "generate_kwargs": { | |
| "max_new_tokens": 2, | |
| "min_new_tokens": 2 | |
| }, | |
| "call_kwargs": { | |
| "num_inference_steps": 2 | |
| } | |
| }, | |
| "launcher": { | |
| "name": "process", | |
| "_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher", | |
| "device_isolation": false, | |
| "device_isolation_action": null, | |
| "numactl": false, | |
| "numactl_kwargs": {}, | |
| "start_method": "spawn" | |
| }, | |
| "environment": { | |
| "cpu": " Intel(R) Xeon(R) Platinum 8370C CPU @ 2.80GHz", | |
| "cpu_count": 4, | |
| "cpu_ram_mb": 16765.403136, | |
| "system": "Linux", | |
| "machine": "x86_64", | |
| "platform": "Linux-6.17.0-1008-azure-x86_64-with-glibc2.39", | |
| "processor": "x86_64", | |
| "python_version": "3.10.20", | |
| "optimum_benchmark_version": "0.7.0.dev0", | |
| "optimum_benchmark_commit": "702a15ec4a239bd5d594601dbd03bd645cc66674", | |
| "transformers_version": "4.56.2", | |
| "transformers_commit": "702a15ec4a239bd5d594601dbd03bd645cc66674", | |
| "accelerate_version": "1.10.1", | |
| "accelerate_commit": "702a15ec4a239bd5d594601dbd03bd645cc66674", | |
| "diffusers_version": "0.35.1", | |
| "diffusers_commit": "702a15ec4a239bd5d594601dbd03bd645cc66674", | |
| "optimum_version": null, | |
| "optimum_commit": null, | |
| "timm_version": "1.0.20", | |
| "timm_commit": "702a15ec4a239bd5d594601dbd03bd645cc66674", | |
| "peft_version": "0.17.1", | |
| "peft_commit": "702a15ec4a239bd5d594601dbd03bd645cc66674" | |
| }, | |
| "print_report": true, | |
| "log_report": true | |
| }, | |
| "report": { | |
| "load_model": { | |
| "memory": { | |
| "unit": "MB", | |
| "max_ram": 922.329088, | |
| "max_global_vram": null, | |
| "max_process_vram": null, | |
| "max_reserved": null, | |
| "max_allocated": null | |
| }, | |
| "latency": { | |
| "unit": "s", | |
| "values": [ | |
| 0.13030345500001772 | |
| ], | |
| "count": 1, | |
| "total": 0.13030345500001772, | |
| "mean": 0.13030345500001772, | |
| "p50": 0.13030345500001772, | |
| "p90": 0.13030345500001772, | |
| "p95": 0.13030345500001772, | |
| "p99": 0.13030345500001772, | |
| "stdev": 0, | |
| "stdev_": 0 | |
| }, | |
| "throughput": null, | |
| "energy": { | |
| "unit": "kWh", | |
| "cpu": 6.337601266828798e-05, | |
| "ram": 1.3402902891666615e-05, | |
| "gpu": 0.0, | |
| "total": 7.67789155599546e-05 | |
| }, | |
| "efficiency": null | |
| }, | |
| "first_forward": { | |
| "memory": { | |
| "unit": "MB", | |
| "max_ram": 923.058176, | |
| "max_global_vram": null, | |
| "max_process_vram": null, | |
| "max_reserved": null, | |
| "max_allocated": null | |
| }, | |
| "latency": { | |
| "unit": "s", | |
| "values": [ | |
| 0.003916863999990028 | |
| ], | |
| "count": 1, | |
| "total": 0.003916863999990028, | |
| "mean": 0.003916863999990028, | |
| "p50": 0.003916863999990028, | |
| "p90": 0.003916863999990028, | |
| "p95": 0.003916863999990028, | |
| "p99": 0.003916863999990028, | |
| "stdev": 0, | |
| "stdev_": 0 | |
| }, | |
| "throughput": null, | |
| "energy": { | |
| "unit": "kWh", | |
| "cpu": 6.2015661945225e-05, | |
| "ram": 1.3210404872222232e-05, | |
| "gpu": 0.0, | |
| "total": 7.522606681744723e-05 | |
| }, | |
| "efficiency": null | |
| }, | |
| "forward": { | |
| "memory": { | |
| "unit": "MB", | |
| "max_ram": 929.370112, | |
| "max_global_vram": null, | |
| "max_process_vram": null, | |
| "max_reserved": null, | |
| "max_allocated": null | |
| }, | |
| "latency": { | |
| "unit": "s", | |
| "values": [ | |
| 0.0035017209999921306, | |
| 0.00310470200000168, | |
| 0.0031262560000016038, | |
| 0.0030776010000010956, | |
| 0.003056500999974787, | |
| 0.0030807630000140307, | |
| 0.003435187000008, | |
| 0.0030907290000072862, | |
| 0.003077506000010999, | |
| 0.0031903360000171688, | |
| 0.003087448999991693, | |
| 0.003041225000004033, | |
| 0.0030504209999833165, | |
| 0.0030341739999926176, | |
| 0.003034307000007175, | |
| 0.003035479999994095, | |
| 0.0030441429999825687, | |
| 0.0030478870000081315, | |
| 0.002975969000004852, | |
| 0.003013691000006702, | |
| 0.0030320459999870764, | |
| 0.003027285999991136, | |
| 0.0030344399999933103, | |
| 0.0029946800000004714, | |
| 0.0029432890000009593, | |
| 0.0030133029999888095, | |
| 0.0030780449999951998, | |
| 0.0030439900000089892, | |
| 0.003031550999992305, | |
| 0.0031423149999909583, | |
| 0.0031797740000172325, | |
| 0.0030567179999820837, | |
| 0.0031605389999924682, | |
| 0.0030249409999782984, | |
| 0.003039471999983334, | |
| 0.0030380640000089443, | |
| 0.003060814999997774, | |
| 0.003016161999994438, | |
| 0.0030524059999947895, | |
| 0.002991823000002114, | |
| 0.00297723500000302, | |
| 0.003032974000007016, | |
| 0.0030493360000036773, | |
| 0.0030309649999935573, | |
| 0.0028672560000018166, | |
| 0.0029060839999885957, | |
| 0.0030204789999856985, | |
| 0.0030330129999924793, | |
| 0.0030435390000036477, | |
| 0.00301585299999374, | |
| 0.003013702999993484, | |
| 0.003007002000003922, | |
| 0.003022733999983984, | |
| 0.003041236999990815, | |
| 0.003037359000018114, | |
| 0.003033528000003116, | |
| 0.0030512109999847326, | |
| 0.00305467500001555, | |
| 0.0030705960000148025, | |
| 0.0030830000000037217, | |
| 0.0030408979999947405, | |
| 0.0030541860000141696, | |
| 0.003024716999988186, | |
| 0.003024401000004673, | |
| 0.0030211959999917326, | |
| 0.0029320300000108546, | |
| 0.002960151999985783, | |
| 0.003111786000005168, | |
| 0.003026086999994959, | |
| 0.003031550999992305, | |
| 0.002936968999989631, | |
| 0.002923652999982096, | |
| 0.00300223799999344, | |
| 0.0029937779999897884, | |
| 0.0029988430000003063, | |
| 0.00301280800002246, | |
| 0.003009687000002259, | |
| 0.0030647529999896506, | |
| 0.0030458370000019386, | |
| 0.003022222999987889, | |
| 0.0029291509999893606, | |
| 0.0029769079999937276, | |
| 0.003001017999991973, | |
| 0.003025695999980371, | |
| 0.003010294999995722, | |
| 0.0030202099999883103, | |
| 0.0030055520000189517, | |
| 0.0029549049999957333, | |
| 0.003020082999995566, | |
| 0.0030203729999982443, | |
| 0.0030085539999902267, | |
| 0.002855476000007684, | |
| 0.003092352999999548, | |
| 0.003029432000005272, | |
| 0.003009852000019464, | |
| 0.0030328709999878356, | |
| 0.0030216819999964173, | |
| 0.0028331439999931263, | |
| 0.0030471630000192818, | |
| 0.003004877999984501, | |
| 0.002993543000002319, | |
| 0.0029071539999847573, | |
| 0.0028916879999769662, | |
| 0.0029943160000129865, | |
| 0.0030629149999867877, | |
| 0.0031040749999817763, | |
| 0.003051808999998684, | |
| 0.0028578209999921, | |
| 0.002926960999985795, | |
| 0.0030315830000233746, | |
| 0.003040006000020412, | |
| 0.0032787680000012642, | |
| 0.0030988100000115537, | |
| 0.0030607060000136244, | |
| 0.003028237000023637, | |
| 0.003049755000006371, | |
| 0.0032159000000149263, | |
| 0.0030257969999922807, | |
| 0.0030518359999973654, | |
| 0.003080695999983618, | |
| 0.0031043390000036197, | |
| 0.0030269350000082795, | |
| 0.0029330839999772707, | |
| 0.0028200730000094154, | |
| 0.0030135250000000724, | |
| 0.0030076379999854908, | |
| 0.003019681000012042, | |
| 0.0030132910000020274, | |
| 0.0031055919999971593, | |
| 0.003051128999999264, | |
| 0.003009872000006908, | |
| 0.0030338159999985237, | |
| 0.0029966800000238436, | |
| 0.0029007539999952314, | |
| 0.002915509000018801, | |
| 0.003012732000001961, | |
| 0.0030120979999992414, | |
| 0.003015194999989035, | |
| 0.003049678999985872, | |
| 0.0030028049999941686, | |
| 0.003004451000009567, | |
| 0.0030328920000215476, | |
| 0.0030268879999937326, | |
| 0.002910345999993069, | |
| 0.0029102940000029776, | |
| 0.0029978329999948983, | |
| 0.003023471000005884, | |
| 0.0029994810000175676, | |
| 0.002988047000002325, | |
| 0.0028338939999912327, | |
| 0.0028996479999818803, | |
| 0.003039811999997255, | |
| 0.003035686000004034, | |
| 0.0030052779999891754, | |
| 0.0029303080000033788, | |
| 0.0030559100000004946, | |
| 0.003035162000003311, | |
| 0.0030270290000089517, | |
| 0.003073203000013791, | |
| 0.002920316999990291, | |
| 0.002813857000006692, | |
| 0.0029830340000103206, | |
| 0.0030613700000117205, | |
| 0.003039815999983375, | |
| 0.0030238810000184912, | |
| 0.003042715000020735, | |
| 0.0030081390000020747, | |
| 0.0030086560000199825, | |
| 0.00304047000000196, | |
| 0.0029754630000127236, | |
| 0.0028491070000029595, | |
| 0.0029901240000071994, | |
| 0.00301814499999864, | |
| 0.0030487800000003062, | |
| 0.0030274169999984224, | |
| 0.003039735999976756, | |
| 0.002876467000021421, | |
| 0.003005123000008325, | |
| 0.003031521999986353, | |
| 0.0030071150000026137, | |
| 0.0029116190000024744, | |
| 0.002839119999975992, | |
| 0.002960513000004994, | |
| 0.003025827000016079, | |
| 0.003033604999984618, | |
| 0.0030231799999853592, | |
| 0.0030071729999860963, | |
| 0.0030136629999901743, | |
| 0.003020650000024716, | |
| 0.0030123809999906825, | |
| 0.0030149870000002466, | |
| 0.003019553999990876, | |
| 0.0030104039999798715, | |
| 0.0030160109999997076, | |
| 0.0030228230000091116, | |
| 0.003000434000000496, | |
| 0.0029202609999856577, | |
| 0.002985745000017914, | |
| 0.0030483820000029027, | |
| 0.0030048740000268026, | |
| 0.0030265580000161663, | |
| 0.0028749919999881968, | |
| 0.0028231139999945754, | |
| 0.0029787930000111373, | |
| 0.003037874000000329, | |
| 0.003014339000003474, | |
| 0.003026079999983722, | |
| 0.0030117679999932534, | |
| 0.00300860999999486, | |
| 0.003010237000012239, | |
| 0.002993348999979162, | |
| 0.0030251270000007935, | |
| 0.0029944160000070497, | |
| 0.0029963800000132323, | |
| 0.0030096410000055585, | |
| 0.003001667999996016, | |
| 0.0030078990000106387, | |
| 0.002997291000014002, | |
| 0.0029515270000217697, | |
| 0.003006502999994609, | |
| 0.003005758000000469, | |
| 0.0030157340000016575, | |
| 0.0028966049999894494, | |
| 0.0028361900000106743, | |
| 0.0029675420000216945, | |
| 0.0030079080000007252, | |
| 0.0030097000000068874, | |
| 0.0029636270000139575, | |
| 0.0028053100000136055, | |
| 0.0028916360000152963, | |
| 0.002991001999987475, | |
| 0.003044238000001087, | |
| 0.00300482400001556, | |
| 0.0030001180000169825, | |
| 0.0030023439999808943, | |
| 0.0029958750000105283, | |
| 0.002991514000001416, | |
| 0.0029856470000027002, | |
| 0.00286960799999747, | |
| 0.0028509819999840147, | |
| 0.0029830200000162677, | |
| 0.0030142130000001544, | |
| 0.002986968000016077, | |
| 0.00298821600000565, | |
| 0.003006096000007119, | |
| 0.0029907649999927344, | |
| 0.0030927760000167837, | |
| 0.003034759000001941, | |
| 0.0030131750000066404, | |
| 0.0029812829999968926, | |
| 0.003013688999999431, | |
| 0.0030128450000006524, | |
| 0.002996377000016537, | |
| 0.0029931130000022677, | |
| 0.003057951000016601, | |
| 0.002991019000006645, | |
| 0.0030107980000195766, | |
| 0.003015317999995659, | |
| 0.0031155249999983425, | |
| 0.0030697649999922305, | |
| 0.003029970999989473, | |
| 0.003038787999997794, | |
| 0.003138834000026236, | |
| 0.0030245610000179113, | |
| 0.0030394359999945664, | |
| 0.0030170840000209864, | |
| 0.003005158999997093, | |
| 0.0030020129999854817, | |
| 0.0030177980000019033, | |
| 0.0029997760000242124, | |
| 0.0030051770000056877, | |
| 0.0030248269999901822, | |
| 0.0030055880000077195, | |
| 0.00301631700000371, | |
| 0.003019396999974333, | |
| 0.002945820999997295, | |
| 0.0029353090000086013, | |
| 0.0030402769999966495, | |
| 0.0030089489999909347, | |
| 0.0030086549999737144, | |
| 0.0029431330000022626, | |
| 0.0029285940000249866, | |
| 0.002990783000001329, | |
| 0.0030157099999996717, | |
| 0.0030223159999991367, | |
| 0.0030198709999922357, | |
| 0.004002243999991606, | |
| 0.003095523000013145, | |
| 0.0030839069999899493, | |
| 0.0030289540000012494, | |
| 0.002989823999996588, | |
| 0.0029263719999903515, | |
| 0.002962058000008483, | |
| 0.0030112489999964964, | |
| 0.0030583239999941725, | |
| 0.0030197639999869352, | |
| 0.003042494999988321, | |
| 0.0029703730000107953, | |
| 0.0030214870000122573, | |
| 0.0030168289999892295, | |
| 0.0030138620000172978, | |
| 0.0029875369999956547, | |
| 0.0028436210000108986, | |
| 0.002983678000020973, | |
| 0.0030136840000238863, | |
| 0.003004702999987785, | |
| 0.0029946509999945192, | |
| 0.002951194999980089, | |
| 0.002989821999989317, | |
| 0.0030247500000086802, | |
| 0.0030147949999843604, | |
| 0.0029906769999854532, | |
| 0.0029080529999987448, | |
| 0.002939081999983273, | |
| 0.002925263999998151, | |
| 0.0030028859999902124, | |
| 0.0030024829999888425, | |
| 0.002841716000006045, | |
| 0.0028205799999909686, | |
| 0.002968828999996731, | |
| 0.0030081299999835664, | |
| 0.0030174929999873257, | |
| 0.002990472999982785, | |
| 0.0029957760000058897, | |
| 0.003014479000000847, | |
| 0.003003242000005457, | |
| 0.0029983889999982694, | |
| 0.002968318000000636, | |
| 0.0028777260000083515, | |
| 0.002970298999997567, | |
| 0.003009654000010187 | |
| ], | |
| "count": 331, | |
| "total": 0.9967751640000415, | |
| "mean": 0.0030114053293052614, | |
| "p50": 0.0030136629999901743, | |
| "p90": 0.0030647529999896506, | |
| "p95": 0.003101442499996665, | |
| "p99": 0.003259907600005362, | |
| "stdev": 9.087696499194097e-05, | |
| "stdev_": 3.017759320128005 | |
| }, | |
| "throughput": { | |
| "unit": "samples/s", | |
| "value": 664.1417482187311 | |
| }, | |
| "energy": { | |
| "unit": "kWh", | |
| "cpu": 3.9759617434030965e-08, | |
| "ram": 1.6858766144781112e-08, | |
| "gpu": 0.0, | |
| "total": 5.661838357881212e-08 | |
| }, | |
| "efficiency": { | |
| "unit": "samples/kWh", | |
| "value": 35324215.80379496 | |
| } | |
| } | |
| } | |
| } |