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
610c730 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": " AMD EPYC 7763 64-Core Processor", | |
| "cpu_count": 4, | |
| "cpu_ram_mb": 16772.575232, | |
| "system": "Linux", | |
| "machine": "x86_64", | |
| "platform": "Linux-6.11.0-1018-azure-x86_64-with-glibc2.39", | |
| "processor": "x86_64", | |
| "python_version": "3.10.18", | |
| "optimum_benchmark_version": "0.7.0.dev0", | |
| "optimum_benchmark_commit": "ffeb48436c3c615bec107d34b9af3eae965f2702", | |
| "transformers_version": "4.56.2", | |
| "transformers_commit": "ffeb48436c3c615bec107d34b9af3eae965f2702", | |
| "accelerate_version": "1.10.1", | |
| "accelerate_commit": "ffeb48436c3c615bec107d34b9af3eae965f2702", | |
| "diffusers_version": "0.35.1", | |
| "diffusers_commit": "ffeb48436c3c615bec107d34b9af3eae965f2702", | |
| "optimum_version": null, | |
| "optimum_commit": null, | |
| "timm_version": "1.0.19", | |
| "timm_commit": "ffeb48436c3c615bec107d34b9af3eae965f2702", | |
| "peft_version": "0.17.1", | |
| "peft_commit": "ffeb48436c3c615bec107d34b9af3eae965f2702" | |
| }, | |
| "print_report": true, | |
| "log_report": true | |
| }, | |
| "report": { | |
| "load_model": { | |
| "memory": { | |
| "unit": "MB", | |
| "max_ram": 920.63744, | |
| "max_global_vram": null, | |
| "max_process_vram": null, | |
| "max_reserved": null, | |
| "max_allocated": null | |
| }, | |
| "latency": { | |
| "unit": "s", | |
| "values": [ | |
| 0.11618936700000404 | |
| ], | |
| "count": 1, | |
| "total": 0.11618936700000404, | |
| "mean": 0.11618936700000404, | |
| "p50": 0.11618936700000404, | |
| "p90": 0.11618936700000404, | |
| "p95": 0.11618936700000404, | |
| "p99": 0.11618936700000404, | |
| "stdev": 0, | |
| "stdev_": 0 | |
| }, | |
| "throughput": null, | |
| "energy": { | |
| "unit": "kWh", | |
| "cpu": 8.454539928681055e-05, | |
| "ram": 1.3959102305555545e-05, | |
| "gpu": 0.0, | |
| "total": 9.850450159236609e-05 | |
| }, | |
| "efficiency": null | |
| }, | |
| "first_forward": { | |
| "memory": { | |
| "unit": "MB", | |
| "max_ram": 920.899584, | |
| "max_global_vram": null, | |
| "max_process_vram": null, | |
| "max_reserved": null, | |
| "max_allocated": null | |
| }, | |
| "latency": { | |
| "unit": "s", | |
| "values": [ | |
| 0.0049236490000055255 | |
| ], | |
| "count": 1, | |
| "total": 0.0049236490000055255, | |
| "mean": 0.0049236490000055255, | |
| "p50": 0.0049236490000055255, | |
| "p90": 0.0049236490000055255, | |
| "p95": 0.0049236490000055255, | |
| "p99": 0.0049236490000055255, | |
| "stdev": 0, | |
| "stdev_": 0 | |
| }, | |
| "throughput": null, | |
| "energy": { | |
| "unit": "kWh", | |
| "cpu": 8.687261198743588e-05, | |
| "ram": 1.384098709444446e-05, | |
| "gpu": 0.0, | |
| "total": 0.00010071359908188033 | |
| }, | |
| "efficiency": null | |
| }, | |
| "forward": { | |
| "memory": { | |
| "unit": "MB", | |
| "max_ram": 926.928896, | |
| "max_global_vram": null, | |
| "max_process_vram": null, | |
| "max_reserved": null, | |
| "max_allocated": null | |
| }, | |
| "latency": { | |
| "unit": "s", | |
| "values": [ | |
| 0.003612548999996079, | |
| 0.003010123000024123, | |
| 0.003098039000008157, | |
| 0.002987650999983771, | |
| 0.0029889839999839296, | |
| 0.002974867000006043, | |
| 0.0029748380000000907, | |
| 0.002974485999999388, | |
| 0.002993442000018831, | |
| 0.0029597390000049018, | |
| 0.002957004000023744, | |
| 0.002983011999987184, | |
| 0.0029845260000058715, | |
| 0.002974817000023222, | |
| 0.0029789849999986018, | |
| 0.002972792999997864, | |
| 0.0029573140000138665, | |
| 0.0029740559999993366, | |
| 0.0029840440000157287, | |
| 0.0029647179999869877, | |
| 0.0029607200000043576, | |
| 0.0029664619999891784, | |
| 0.002961882999983345, | |
| 0.0029555099999925005, | |
| 0.0029825210000069546, | |
| 0.002952114000009942, | |
| 0.0029468339999993987, | |
| 0.002958467000013343, | |
| 0.0029787340000098084, | |
| 0.002956491999981381, | |
| 0.0029646179999929245, | |
| 0.002977751999992506, | |
| 0.002969245999992154, | |
| 0.0029993830000023536, | |
| 0.003001907999987452, | |
| 0.0030051239999977497, | |
| 0.0029756380000094396, | |
| 0.0029587170000127117, | |
| 0.00338450899999998, | |
| 0.0029815089999942757, | |
| 0.0030731319999972584, | |
| 0.0037629320000007738, | |
| 0.002983642999993208, | |
| 0.0030509099999846967, | |
| 0.002971260000009579, | |
| 0.0029595979999896826, | |
| 0.0029524649999927988, | |
| 0.0029575040000224817, | |
| 0.0030048829999884674, | |
| 0.003041521999989527, | |
| 0.00295365700000616, | |
| 0.0029700780000041505, | |
| 0.003004030999989027, | |
| 0.002959296999989647, | |
| 0.002962964000005286, | |
| 0.0029593470000008892, | |
| 0.0029523240000060014, | |
| 0.0029635150000046906, | |
| 0.0029623730000025716, | |
| 0.0029933710000022984, | |
| 0.0029714199999943958, | |
| 0.0029563219999886314, | |
| 0.002968364999986761, | |
| 0.002972132000024885, | |
| 0.0029692960000033963, | |
| 0.00299321099998906, | |
| 0.002974116000018512, | |
| 0.0029484069999909934, | |
| 0.0029475460000014664, | |
| 0.0029475460000014664, | |
| 0.002948757000012847, | |
| 0.0029704179999896496, | |
| 0.002940612999992709, | |
| 0.003065968999976576, | |
| 0.002982892000005677, | |
| 0.0029552190000003975, | |
| 0.00294645400001059, | |
| 0.002949358999984497, | |
| 0.0029491180000036366, | |
| 0.0029458220000151414, | |
| 0.0029574440000033064, | |
| 0.00295676299998604, | |
| 0.002948246000016752, | |
| 0.0029436180000175227, | |
| 0.0029553900000109934, | |
| 0.0030285880000064935, | |
| 0.002954318000007561, | |
| 0.002939179999998487, | |
| 0.002960850999983222, | |
| 0.002935722000017904, | |
| 0.0029486569999903622, | |
| 0.002953596999986985, | |
| 0.0029456809999999223, | |
| 0.0029448299999899064, | |
| 0.002946793999996089, | |
| 0.0029322270000022854, | |
| 0.0029170279999846116, | |
| 0.0029242410000165364, | |
| 0.0029364050000140196, | |
| 0.0029414139999914823, | |
| 0.002948717999998962, | |
| 0.0029472150000060537, | |
| 0.0029505610000057914, | |
| 0.002938658999994459, | |
| 0.002931394999990289, | |
| 0.0029364149999935307, | |
| 0.00294015099999001, | |
| 0.002930362999990166, | |
| 0.00294552200000453, | |
| 0.0029438079999977163, | |
| 0.002926335000012159, | |
| 0.0029421449999915694, | |
| 0.002955990999993219, | |
| 0.0030421839999803524, | |
| 0.002941824999993514, | |
| 0.002943938000015578, | |
| 0.0029060070000070937, | |
| 0.002908652000002121, | |
| 0.002951684000009891, | |
| 0.0029838439999991806, | |
| 0.0029350220000026184, | |
| 0.0029362540000192894, | |
| 0.0029396600000097806, | |
| 0.0029367749999948956, | |
| 0.0029264850000174647, | |
| 0.0030347089999906984, | |
| 0.002947304999992184, | |
| 0.002921706999984508, | |
| 0.002946183000005931, | |
| 0.0029308139999955074, | |
| 0.0029361640000047373, | |
| 0.002962623999991365, | |
| 0.002940622000011217, | |
| 0.0029310440000074323, | |
| 0.0029288899999926343, | |
| 0.0029823309999983394, | |
| 0.0029337500000110595, | |
| 0.002934259999989308, | |
| 0.002913011000003962, | |
| 0.0029354419999947368, | |
| 0.0029515539999920293, | |
| 0.0029298919999973805, | |
| 0.0029244319999861546, | |
| 0.0029316849999929673, | |
| 0.0029446099999859143, | |
| 0.0029467640000007123, | |
| 0.002941744999986895, | |
| 0.0029296010000052775, | |
| 0.0029362740000067333, | |
| 0.0029454920000091533, | |
| 0.0029251630000146633, | |
| 0.0029213660000095842, | |
| 0.0029375459999982922, | |
| 0.002941534000001411, | |
| 0.0029275769999799195, | |
| 0.002917198000005783, | |
| 0.0029135919999987436, | |
| 0.002937766999991709, | |
| 0.0029226389999905678, | |
| 0.0029290209999999206, | |
| 0.0029446599999971568, | |
| 0.002922509000001128, | |
| 0.0029557009999905404, | |
| 0.0029485169999929894, | |
| 0.002938268000008293, | |
| 0.0029387890000123207, | |
| 0.002953356999995549, | |
| 0.0029443799999739895, | |
| 0.002975138000010702, | |
| 0.002944299999995792, | |
| 0.0030389380000030997, | |
| 0.002946804000004022, | |
| 0.002937285000001566, | |
| 0.0029341299999998682, | |
| 0.002942966999995633, | |
| 0.0029308040000159963, | |
| 0.0029363349999869115, | |
| 0.0029115279999984978, | |
| 0.0029377870000075745, | |
| 0.0029440590000149314, | |
| 0.002925604000012072, | |
| 0.002927828999986559, | |
| 0.00293284699998253, | |
| 0.0029444699999885415, | |
| 0.003017327000009118, | |
| 0.0029370560000074875, | |
| 0.0029508020000150736, | |
| 0.0029937919999838414, | |
| 0.0029379770000161898, | |
| 0.0029333079999958045, | |
| 0.00294286700000157, | |
| 0.002936715000004142, | |
| 0.0029311750000147185, | |
| 0.002945300999982692, | |
| 0.002949478999994426, | |
| 0.002945571999987351, | |
| 0.0029334490000110236, | |
| 0.0029095040000015615, | |
| 0.0029255739999882735, | |
| 0.002919853000008743, | |
| 0.00293745599998374, | |
| 0.002947664999993549, | |
| 0.0029602190000161954, | |
| 0.0029544890000181567, | |
| 0.0029532260000166843, | |
| 0.002945079999989275, | |
| 0.0029524949999881756, | |
| 0.0029234099999939644, | |
| 0.002941163000002689, | |
| 0.0029358239999908164, | |
| 0.0029537370000127794, | |
| 0.002944979999995212, | |
| 0.0029472550000093634, | |
| 0.0029464840000059667, | |
| 0.0029554700000176126, | |
| 0.0029747460000066894, | |
| 0.0029475649999994857, | |
| 0.0029701979999856576, | |
| 0.0029856580000000577, | |
| 0.002935984000004055, | |
| 0.002923109999983353, | |
| 0.0029449299999839695, | |
| 0.002942977000003566, | |
| 0.0029404619999979786, | |
| 0.002926865999995698, | |
| 0.0029359440000007453, | |
| 0.0029253340000252592, | |
| 0.002976138999997602, | |
| 0.0029501209999978073, | |
| 0.002936465000004773, | |
| 0.002948056000008137, | |
| 0.0029192319999822303, | |
| 0.002930052000010619, | |
| 0.0029513829999814334, | |
| 0.0029446099999859143, | |
| 0.002969817000007424, | |
| 0.002964497000021993, | |
| 0.002961932000005163, | |
| 0.0029563319999965643, | |
| 0.0029359539999802564, | |
| 0.0029387890000123207, | |
| 0.0029080809999868507, | |
| 0.0029228089999833173, | |
| 0.002936575000006769, | |
| 0.0029212559999791665, | |
| 0.0029310439999790106, | |
| 0.0029514830000039183, | |
| 0.002941964999990887, | |
| 0.0029241919999947186, | |
| 0.002967753999996603, | |
| 0.0029338090000123884, | |
| 0.002940793000021813, | |
| 0.002932636999986471, | |
| 0.0029374669999810976, | |
| 0.003021474000007629, | |
| 0.0030273260000228674, | |
| 0.002936825000006138, | |
| 0.0029511719999959496, | |
| 0.0029384179999851767, | |
| 0.002943468000012217, | |
| 0.002925562999990916, | |
| 0.002950831000021026, | |
| 0.002920273999990286, | |
| 0.0029308750000041073, | |
| 0.0029513730000019223, | |
| 0.0029515140000171414, | |
| 0.0029343810000170834, | |
| 0.0029341999999985546, | |
| 0.0029351719999795023, | |
| 0.0029391589999931966, | |
| 0.002938539000012952, | |
| 0.002938138000018853, | |
| 0.002933699999999817, | |
| 0.002940302000013162, | |
| 0.0029328580000083093, | |
| 0.002932226000012861, | |
| 0.0029457820000118318, | |
| 0.0029487669999923583, | |
| 0.0029592680000121163, | |
| 0.0029405020000012883, | |
| 0.002922468999997818, | |
| 0.002917909999979429, | |
| 0.002930052000010619, | |
| 0.0029366949999882763, | |
| 0.0029429569999877003, | |
| 0.002927267000018219, | |
| 0.00292016399998829, | |
| 0.0029413839999961056, | |
| 0.002949709000006351, | |
| 0.0029520139999874573, | |
| 0.003029860000026474, | |
| 0.0029475260000140224, | |
| 0.002941333999984863, | |
| 0.0029330879999918125, | |
| 0.002969847000002801, | |
| 0.002948716999981116, | |
| 0.0036934410000242224, | |
| 0.0029990319999910753, | |
| 0.002925804999989623, | |
| 0.0029275279999865234, | |
| 0.0029402619999814306, | |
| 0.00300249000000008, | |
| 0.0029375670000035825, | |
| 0.0029334490000110236, | |
| 0.002943837999993093, | |
| 0.0029341399999793794, | |
| 0.0029335189999812883, | |
| 0.0029318259999797647, | |
| 0.002944449000011673, | |
| 0.002924361999987468, | |
| 0.002936223999995491, | |
| 0.002954738999989104, | |
| 0.002940962999986141, | |
| 0.0029450810000071215, | |
| 0.0029429970000194317, | |
| 0.0029550989999904687, | |
| 0.002958014999990155, | |
| 0.002950691999984656, | |
| 0.0029698970000140434, | |
| 0.002941764000013336, | |
| 0.0029180189999920003, | |
| 0.002956643000004533, | |
| 0.002946954999998752, | |
| 0.0029467850000060025, | |
| 0.0030263040000022556, | |
| 0.0029587269999922228, | |
| 0.0029504310000163514, | |
| 0.0029513720000124977, | |
| 0.002944289999987859, | |
| 0.002937917000025436, | |
| 0.0029431369999883827, | |
| 0.002941644000003407, | |
| 0.0029666110000050594, | |
| 0.0029463429999907476, | |
| 0.0029556910000110292, | |
| 0.0029575439999973696, | |
| 0.0029556099999865637 | |
| ], | |
| "count": 337, | |
| "total": 0.9974178559999416, | |
| "mean": 0.002959696902076978, | |
| "p50": 0.002946183000005931, | |
| "p90": 0.002984236800011786, | |
| "p95": 0.00301815640000882, | |
| "p99": 0.00328137980000292, | |
| "stdev": 7.810512061243055e-05, | |
| "stdev_": 2.638956730928089 | |
| }, | |
| "throughput": { | |
| "unit": "samples/s", | |
| "value": 675.7448705630948 | |
| }, | |
| "energy": { | |
| "unit": "kWh", | |
| "cpu": 5.364766398963968e-08, | |
| "ram": 1.656505563822756e-08, | |
| "gpu": 0.0, | |
| "total": 7.021271962786706e-08 | |
| }, | |
| "efficiency": { | |
| "unit": "samples/kWh", | |
| "value": 28484867.280460827 | |
| } | |
| } | |
| } | |
| } |