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
4ab7b57 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.579328, | |
| "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": 919.953408, | |
| "max_global_vram": null, | |
| "max_process_vram": null, | |
| "max_reserved": null, | |
| "max_allocated": null | |
| }, | |
| "latency": { | |
| "unit": "s", | |
| "values": [ | |
| 0.14001020000000608 | |
| ], | |
| "count": 1, | |
| "total": 0.14001020000000608, | |
| "mean": 0.14001020000000608, | |
| "p50": 0.14001020000000608, | |
| "p90": 0.14001020000000608, | |
| "p95": 0.14001020000000608, | |
| "p99": 0.14001020000000608, | |
| "stdev": 0, | |
| "stdev_": 0 | |
| }, | |
| "throughput": null, | |
| "energy": { | |
| "unit": "kWh", | |
| "cpu": 8.692520128848386e-05, | |
| "ram": 1.4586136261111134e-05, | |
| "gpu": 0.0, | |
| "total": 0.00010151133754959499 | |
| }, | |
| "efficiency": null | |
| }, | |
| "first_forward": { | |
| "memory": { | |
| "unit": "MB", | |
| "max_ram": 920.608768, | |
| "max_global_vram": null, | |
| "max_process_vram": null, | |
| "max_reserved": null, | |
| "max_allocated": null | |
| }, | |
| "latency": { | |
| "unit": "s", | |
| "values": [ | |
| 0.004242675999989842 | |
| ], | |
| "count": 1, | |
| "total": 0.004242675999989842, | |
| "mean": 0.004242675999989842, | |
| "p50": 0.004242675999989842, | |
| "p90": 0.004242675999989842, | |
| "p95": 0.004242675999989842, | |
| "p99": 0.004242675999989842, | |
| "stdev": 0, | |
| "stdev_": 0 | |
| }, | |
| "throughput": null, | |
| "energy": { | |
| "unit": "kWh", | |
| "cpu": 8.802748903005299e-05, | |
| "ram": 1.4199110544444455e-05, | |
| "gpu": 0.0, | |
| "total": 0.00010222659957449745 | |
| }, | |
| "efficiency": null | |
| }, | |
| "forward": { | |
| "memory": { | |
| "unit": "MB", | |
| "max_ram": 926.707712, | |
| "max_global_vram": null, | |
| "max_process_vram": null, | |
| "max_reserved": null, | |
| "max_allocated": null | |
| }, | |
| "latency": { | |
| "unit": "s", | |
| "values": [ | |
| 0.0036246969999922385, | |
| 0.0030561519999992015, | |
| 0.0030618440000012015, | |
| 0.003138677000009693, | |
| 0.003044721999998501, | |
| 0.003024634000013293, | |
| 0.003019434000009369, | |
| 0.0031929999999817937, | |
| 0.003086599999988948, | |
| 0.0030089750000001914, | |
| 0.0030235629999992852, | |
| 0.002997833999984323, | |
| 0.003090988999986166, | |
| 0.003080208000000084, | |
| 0.003015116000000262, | |
| 0.0030414860000007593, | |
| 0.003005838999996513, | |
| 0.0030497310000043854, | |
| 0.002995139000006475, | |
| 0.0029948780000097486, | |
| 0.0030552519999957894, | |
| 0.0029890879999925346, | |
| 0.0030064390000177355, | |
| 0.002996400999990101, | |
| 0.0029875749999916934, | |
| 0.0029893980000110787, | |
| 0.0029962910000165266, | |
| 0.0029984550000108356, | |
| 0.003076041000014129, | |
| 0.0037000780000084887, | |
| 0.0029887869999924987, | |
| 0.0030146960000081435, | |
| 0.002999317000018209, | |
| 0.0030261370000062016, | |
| 0.0030100660000016433, | |
| 0.0029835670000011305, | |
| 0.003015587000021469, | |
| 0.002981734000002234, | |
| 0.0031355120000000625, | |
| 0.0030084739999836074, | |
| 0.0029821340000069085, | |
| 0.003003645000006827, | |
| 0.0030092949999982466, | |
| 0.003012030000007826, | |
| 0.0029919930000232853, | |
| 0.0030004090000090855, | |
| 0.0030121309999913137, | |
| 0.002981984000001603, | |
| 0.003007130999975516, | |
| 0.003444360000003144, | |
| 0.0030121609999866905, | |
| 0.0033948880000025383, | |
| 0.003011871000012434, | |
| 0.0030231709999952727, | |
| 0.0030005389999985255, | |
| 0.0029916530000093644, | |
| 0.0030043360000036046, | |
| 0.003003474000024653, | |
| 0.0029806420000113576, | |
| 0.0030512639999926705, | |
| 0.0030121909999820673, | |
| 0.0029908610000006774, | |
| 0.0029944069999885414, | |
| 0.003053778999998258, | |
| 0.0030329000000222095, | |
| 0.002999256000009609, | |
| 0.0030114200000070923, | |
| 0.003010687999989159, | |
| 0.0030073120000224662, | |
| 0.0030275599999924907, | |
| 0.0030696390000173324, | |
| 0.0029960009999854265, | |
| 0.0029881460000069637, | |
| 0.0029785870000011982, | |
| 0.003006601000009823, | |
| 0.0029681379999999535, | |
| 0.0029921940000008362, | |
| 0.0029748110000014094, | |
| 0.0029977849999909267, | |
| 0.0030129620000138857, | |
| 0.0030905579999966903, | |
| 0.003415665999995099, | |
| 0.003000579000001835, | |
| 0.003002322000014601, | |
| 0.0030588979999777166, | |
| 0.0030802980000146363, | |
| 0.003280843999988292, | |
| 0.0031131700000059936, | |
| 0.0031544670000016595, | |
| 0.0031223269999998138, | |
| 0.003118008999990707, | |
| 0.003038190000012264, | |
| 0.0030343820000098276, | |
| 0.003006029000005128, | |
| 0.0030392019999965214, | |
| 0.002999557000009645, | |
| 0.0030103469999858135, | |
| 0.0029780069999958414, | |
| 0.00301559700000098, | |
| 0.0029891979999945306, | |
| 0.00301015700000562, | |
| 0.0029841980000071544, | |
| 0.0029803909999941425, | |
| 0.0029716950000135967, | |
| 0.002984137999987979, | |
| 0.0030183830000112266, | |
| 0.002972526000007747, | |
| 0.0029834270000037577, | |
| 0.002981453000018064, | |
| 0.0030165490000229056, | |
| 0.0030019220000099267, | |
| 0.00297236600002293, | |
| 0.002983727000014369, | |
| 0.0030208369999797924, | |
| 0.003014755999998897, | |
| 0.003081670999989683, | |
| 0.0029979429999968943, | |
| 0.003005058000013605, | |
| 0.003018663000005972, | |
| 0.0029704730000048585, | |
| 0.0030204260000061822, | |
| 0.002997012000008681, | |
| 0.0030052779999891754, | |
| 0.0029815640000094845, | |
| 0.00297355800000787, | |
| 0.0030480380000028617, | |
| 0.0030823120000036397, | |
| 0.0029824249999990116, | |
| 0.002985331000019187, | |
| 0.002996652000007316, | |
| 0.0030085939999935363, | |
| 0.003008493999999473, | |
| 0.002971765000012283, | |
| 0.002987553999986403, | |
| 0.002997192999998788, | |
| 0.003006741000007196, | |
| 0.002981161999997539, | |
| 0.0029620059999899695, | |
| 0.00297402999999008, | |
| 0.003296903999995493, | |
| 0.003008364000010033, | |
| 0.0029960399999993115, | |
| 0.0029687690000059774, | |
| 0.0029812319999962256, | |
| 0.002976773999989746, | |
| 0.002976805000002969, | |
| 0.0030382390000056603, | |
| 0.0029806519999908687, | |
| 0.002990189999991344, | |
| 0.0029662849999851915, | |
| 0.002968640000005962, | |
| 0.0030251249999935226, | |
| 0.0029614460000004783, | |
| 0.0029668859999958386, | |
| 0.0029700509999770475, | |
| 0.002974881000000096, | |
| 0.0030735560000039186, | |
| 0.0029932150000036017, | |
| 0.0029732779999847025, | |
| 0.0029777160000037384, | |
| 0.0029859020000060355, | |
| 0.0029983750000042164, | |
| 0.002991282000010642, | |
| 0.003006319999997231, | |
| 0.002989377999995213, | |
| 0.002985832000007349, | |
| 0.003006068999980016, | |
| 0.003021658999983856, | |
| 0.0029826749999983804, | |
| 0.0029806619999988015, | |
| 0.0029962309999973513, | |
| 0.002979580000015858, | |
| 0.003020867000003591, | |
| 0.0030839650000018537, | |
| 0.0029888870000149836, | |
| 0.002993535000001657, | |
| 0.0029702120000081322, | |
| 0.0030200750000233256, | |
| 0.0029884960000003957, | |
| 0.0029718749999858574, | |
| 0.002976755000020148, | |
| 0.002986913000000868, | |
| 0.0029942870000070343, | |
| 0.0029611550000083753, | |
| 0.0029577589999973952, | |
| 0.0030266879999771845, | |
| 0.0029982750000101532, | |
| 0.002998555000004899, | |
| 0.002982274999993706, | |
| 0.002986292000002777, | |
| 0.002978878000021723, | |
| 0.0029978640000081214, | |
| 0.0029726470000071004, | |
| 0.002983617000012373, | |
| 0.0029623579999906724, | |
| 0.0029919629999994868, | |
| 0.002980191000006016, | |
| 0.0029653530000075534, | |
| 0.0029909210000198527, | |
| 0.002959632999989026, | |
| 0.002975963000011461, | |
| 0.00299626100002115, | |
| 0.003002943999973695, | |
| 0.002990399999987403, | |
| 0.0029726270000196564, | |
| 0.0030143250000094213, | |
| 0.002992654999985689, | |
| 0.0030005290000190143, | |
| 0.0029938469999990502, | |
| 0.002976614000004929, | |
| 0.0029870639999955984, | |
| 0.002998794999996335, | |
| 0.0029989660000069307, | |
| 0.0029931649999923593, | |
| 0.002965804000012895, | |
| 0.003006951000003255, | |
| 0.0029875449999963166, | |
| 0.0029903909999973166, | |
| 0.002990399999987403, | |
| 0.0029856110000139324, | |
| 0.0029618669999820213, | |
| 0.002983157000016945, | |
| 0.002976384000021426, | |
| 0.0029758829999764203, | |
| 0.00299308499998574, | |
| 0.002978506999994579, | |
| 0.003020925999976498, | |
| 0.002998424999987037, | |
| 0.0029908410000132335, | |
| 0.0030012899999860565, | |
| 0.002971445000014228, | |
| 0.00298793500002148, | |
| 0.0029663850000076764, | |
| 0.0029783370000018294, | |
| 0.002973107999991953, | |
| 0.0029827850000003764, | |
| 0.0030054880000136563, | |
| 0.0029800700000066627, | |
| 0.0030017809999947076, | |
| 0.0030041260000075454, | |
| 0.003050682999997889, | |
| 0.002987964999988435, | |
| 0.002993867000014916, | |
| 0.002983497000002444, | |
| 0.0029703630000028625, | |
| 0.0030037960000015573, | |
| 0.002974750999982234, | |
| 0.0029811730000233183, | |
| 0.0029937160000201857, | |
| 0.0029797500000086075, | |
| 0.0029709629999956633, | |
| 0.0029852199999993445, | |
| 0.002967977999986715, | |
| 0.0030000379999819415, | |
| 0.0030308959999842955, | |
| 0.0030079629999875124, | |
| 0.002974540000025172, | |
| 0.0030962280000039755, | |
| 0.002969631000013351, | |
| 0.0029933159999870895, | |
| 0.0030075319999980366, | |
| 0.002997173000011344, | |
| 0.002994618000002447, | |
| 0.002981342999987646, | |
| 0.0030021919999967395, | |
| 0.0030005090000031487, | |
| 0.0029862519999994674, | |
| 0.0029800299999749313, | |
| 0.002987202999975125, | |
| 0.0029895180000210075, | |
| 0.0029694410000047355, | |
| 0.002982514999985142, | |
| 0.0030226599999991777, | |
| 0.002978817999974126, | |
| 0.0029720060000215653, | |
| 0.002987294999996948, | |
| 0.0029798600000106035, | |
| 0.0029782169999919006, | |
| 0.002976313000004893, | |
| 0.0029820049999784715, | |
| 0.002968459000015855, | |
| 0.002978186999996524, | |
| 0.0029878050000036183, | |
| 0.0029713750000155414, | |
| 0.0029778459999931783, | |
| 0.002993747000004987, | |
| 0.002975652999992917, | |
| 0.002985311000003321, | |
| 0.002986023000005389, | |
| 0.002972435999993195, | |
| 0.0030281909999985146, | |
| 0.0029797400000006746, | |
| 0.002994508000000451, | |
| 0.0029652230000181135, | |
| 0.003804774999991878, | |
| 0.0030206970000108413, | |
| 0.002990471000003936, | |
| 0.002969720999999481, | |
| 0.002989517999992586, | |
| 0.002972706999997854, | |
| 0.0029894179999985226, | |
| 0.0029802310000093257, | |
| 0.0029863320000060867, | |
| 0.0029683189999900605, | |
| 0.0029376610000042547, | |
| 0.0030298339999887958, | |
| 0.002957148000007237, | |
| 0.0029624069999840685, | |
| 0.0029662350000023707, | |
| 0.002963129000022491, | |
| 0.002976535000016156, | |
| 0.002995529999992641, | |
| 0.002990248999992673, | |
| 0.002988627000007682, | |
| 0.0029797899999834954, | |
| 0.002991151000003356, | |
| 0.002994899000015039, | |
| 0.003012301000012485, | |
| 0.002973437999997941, | |
| 0.0029831960000024083, | |
| 0.0029760620000160998, | |
| 0.002987955000008924, | |
| 0.002972547000013037, | |
| 0.0029963019999854623, | |
| 0.002976883999991742, | |
| 0.002985069999994039, | |
| 0.002981032000008099, | |
| 0.0030064210000091407, | |
| 0.0030024319999881754, | |
| 0.0029702020000001994, | |
| 0.0029679980000025807 | |
| ], | |
| "count": 331, | |
| "total": 0.9969104250004364, | |
| "mean": 0.003011813972810986, | |
| "p50": 0.002992654999985689, | |
| "p90": 0.003050682999997889, | |
| "p95": 0.0030907734999914283, | |
| "p99": 0.00343575180000073, | |
| "stdev": 8.762176254932583e-05, | |
| "stdev_": 2.9092687443622784 | |
| }, | |
| "throughput": { | |
| "unit": "samples/s", | |
| "value": 664.0516373371361 | |
| }, | |
| "energy": { | |
| "unit": "kWh", | |
| "cpu": 5.391092484262684e-08, | |
| "ram": 1.674974024431053e-08, | |
| "gpu": 0.0, | |
| "total": 7.066066508693737e-08 | |
| }, | |
| "efficiency": { | |
| "unit": "samples/kWh", | |
| "value": 28304290.619672194 | |
| } | |
| } | |
| } | |
| } |