IlyasMoutawwakil's picture
Upload cpu_inference_transformers_fill-mask_hf-internal-testing/tiny-random-BertModel/benchmark.json with huggingface_hub
51167e0 verified
raw
history blame
25.8 kB
{
"config": {
"name": "cpu_inference_transformers_fill-mask_hf-internal-testing/tiny-random-BertModel",
"backend": {
"name": "pytorch",
"version": "2.5.1+cpu",
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
"task": "fill-mask",
"library": "transformers",
"model_type": "bert",
"model": "hf-internal-testing/tiny-random-BertModel",
"processor": "hf-internal-testing/tiny-random-BertModel",
"device": "cpu",
"device_ids": null,
"seed": 42,
"inter_op_num_threads": null,
"intra_op_num_threads": null,
"model_kwargs": {},
"processor_kwargs": {},
"no_weights": true,
"device_map": null,
"torch_dtype": null,
"eval_mode": true,
"to_bettertransformer": false,
"low_cpu_mem_usage": null,
"attn_implementation": null,
"cache_implementation": null,
"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": 16766.779392,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-6.8.0-1017-azure-x86_64-with-glibc2.39",
"processor": "x86_64",
"python_version": "3.10.15",
"optimum_benchmark_version": "0.5.0.dev0",
"optimum_benchmark_commit": "f12f642abaf558e58516daaa40124ad343ac2723",
"transformers_version": "4.47.0",
"transformers_commit": null,
"accelerate_version": "1.2.0",
"accelerate_commit": null,
"diffusers_version": "0.31.0",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.12",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
},
"print_report": true,
"log_report": true
},
"report": {
"load_model": {
"memory": {
"unit": "MB",
"max_ram": 454.2464,
"max_global_vram": null,
"max_process_vram": null,
"max_reserved": null,
"max_allocated": null
},
"latency": {
"unit": "s",
"values": [
0.03663422300002139
],
"count": 1,
"total": 0.03663422300002139,
"mean": 0.03663422300002139,
"p50": 0.03663422300002139,
"p90": 0.03663422300002139,
"p95": 0.03663422300002139,
"p99": 0.03663422300002139,
"stdev": 0,
"stdev_": 0
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 0.00012750299609444433,
"ram": 5.332602605209496e-06,
"gpu": 0,
"total": 0.00013283559869965383
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 462.11072,
"max_global_vram": null,
"max_process_vram": null,
"max_reserved": null,
"max_allocated": null
},
"latency": {
"unit": "s",
"values": [
0.0024998619999792027,
0.002395838000012418,
0.0023813500000073873,
0.0023539689999836355,
0.0024005970000189336,
0.0023464349999926526,
0.0023555719999990288,
0.002354720999989013,
0.002329293000002508,
0.0023579070000039337,
0.0023302659999728803,
0.0023211790000061683,
0.0023289030000057664,
0.0022983259999875827,
0.0023061310000116464,
0.0023139040000046407,
0.002316470000010895,
0.0023082639999927324,
0.002334703999991916,
0.002321358999978429,
0.00235355899999945,
0.002403853000004119,
0.002328882000000476,
0.0023292329999833328,
0.0023504429999832155,
0.0023280110000030163,
0.002330295999996679,
0.00236124300002416,
0.002381170000006705,
0.0023585580000258233,
0.002327180000008866,
0.0023483790000113913,
0.002339261999992459,
0.00233811999999034,
0.0023361869999973806,
0.002338460000004261,
0.0023480480000159787,
0.0023543109999764056,
0.0023557830000129343,
0.002327620999977853,
0.002317641999979969,
0.002360490999990361,
0.0023338810000268495,
0.0023077030000138166,
0.002325135999996064,
0.002325104999982841,
0.002312492000015709,
0.0023370870000007926,
0.002329965000001266,
0.0023221899999725792,
0.0024224670000023707,
0.002328192000021545,
0.0023094660000140266,
0.002382030999996232,
0.0023325100000022303,
0.0023655910000002223,
0.0023338210000076742,
0.00231250199999522,
0.0023327499999936663,
0.0023199460000000727,
0.0022985459999915747,
0.002334523000001809,
0.0023484989999928985,
0.002312281999991228,
0.002333681999999726,
0.0023094569999955183,
0.0023207780000120692,
0.0023340820000044005,
0.0023144860000172685,
0.002319585999998708,
0.002335975999983475,
0.0023402239999938956,
0.00234346999999957,
0.0023506130000043868,
0.0023237830000084614,
0.0023432790000015302,
0.002329503999987992,
0.002320446999988235,
0.002315167000006113,
0.0023951160000024174,
0.00232063699999685,
0.0023188749999860647,
0.002332469000009496,
0.0023137150000138718,
0.00232314100000508,
0.002336496999987503,
0.0023083250000013322,
0.002316299000000299,
0.002420143999984248,
0.002328801999993857,
0.002320776999994223,
0.00234334000001013,
0.0023542300000087835,
0.0023624949999998535,
0.002328571999981932,
0.002317951999998513,
0.002331948000005468,
0.00233148800001004,
0.0023147259999802827,
0.002330295999996679,
0.0023207480000166925,
0.0023344330000156788,
0.0023211989999936122,
0.00231426499999543,
0.0023208879999856435,
0.0023361970000053134,
0.002339242000005015,
0.0023420070000099713,
0.002322050000003628,
0.002330715999988797,
0.002314785999999458,
0.002328801999993857,
0.0023066109999945184,
0.0022974340000132543,
0.002362816000015755,
0.0023170199999924534,
0.0023527269999874534,
0.002360691999996334,
0.002323883999991949,
0.0023141449999855013,
0.0023290130000077625,
0.0023065910000070744,
0.0023226309999984096,
0.0023310670000000755,
0.0023269989999903373,
0.0023394220000056976,
0.0023335219999864876,
0.0023172009999825605,
0.0023090260000060425,
0.0023498820000042997,
0.0023157579999804057,
0.002335164000015766,
0.002322179999993068,
0.0023025929999960226,
0.0022994580000101905,
0.002349049999992303,
0.002316829999983838,
0.002301060999997162,
0.002323351999990564,
0.00231621899999368,
0.002306731000004447,
0.002316470000010895,
0.002309467000003451,
0.002309357000001455,
0.0023746479999999792,
0.0023107789999983197,
0.0023181930000077955,
0.0023618750000196087,
0.002316649999983156,
0.0023108990000082485,
0.0023208979999935764,
0.0023081539999907363,
0.0023243750000006003,
0.0023277200000109133,
0.002321979000015517,
0.002322030000016184,
0.002319715999988148,
0.002339772999988554,
0.002323754000002509,
0.0023664830000029724,
0.002328593000015644,
0.0023261569999988296,
0.0023512939999932314,
0.0023607830000003105,
0.0023477379999974346,
0.002338961000020845,
0.002356583999983286,
0.00232246100000566,
0.0023851269999966007,
0.0023200369999756276,
0.002292745000005425,
0.002327860000008286,
0.0023045169999988957,
0.002304597000005515,
0.0023386910000056105,
0.0023061910000024,
0.0023418570000046657,
0.0024497979999864583,
0.002366533000014215,
0.002371992999997019,
0.002335726000012528,
0.00232182899998179,
0.0023517049999952633,
0.0023251259999881313,
0.0023127319999787233,
0.0023418769999921096,
0.0023301760000151717,
0.0023031450000132736,
0.0023386909999771888,
0.002326419000013402,
0.0023297240000204056,
0.0024428650000061225,
0.0026724440000123195,
0.002808297000001403,
0.002549414000014849,
0.002637128000003486,
0.002654659999990372,
0.002497686999987536,
0.0025304490000053192,
0.0025127260000203933,
0.0025407280000138144,
0.002490754999996625,
0.0024003759999970953,
0.0025310599999954775,
0.002421926000010899,
0.0023777039999970384,
0.002387691999985009,
0.00235355899999945,
0.002391610000017863,
0.0024130999999840697,
0.002343739999986383,
0.002452343000015844,
0.0023690180000244254,
0.002382092000004832,
0.0023913990000039576,
0.0023628760000065085,
0.0024053950000109126,
0.002391339000013204,
0.002373166000012361,
0.0023449730000209,
0.0023917999999980566,
0.0023841760000209433,
0.0023529870000231767,
0.0023403440000038245,
0.002312993000003871,
0.0023096769999995104,
0.002298965999983693,
0.002316959999973278,
0.0023201869999809333,
0.0023003800000083174,
0.0023249150000026475,
0.002299317999984396,
0.002310408999989022,
0.002322622000008323,
0.0023030449999907887,
0.002297193000003972,
0.002340895000003229,
0.0023117209999838906,
0.0022990969999909794,
0.00232063699999685,
0.0023044270000127653,
0.00230706199999986,
0.002322309999982508,
0.0022970429999986663,
0.0023107890000062525,
0.0023247050000065883,
0.002300158999986479,
0.0022971840000138855,
0.0023192149999999856,
0.002314335999983541,
0.002290590999990627,
0.0022804820000033033,
0.002308354999996709,
0.0022996379999824512,
0.0022963319999860232,
0.002318612999999914,
0.0022944289999884404,
0.002284881000008454,
0.00233174799998892,
0.0023013010000170198,
0.0022982950000027813,
0.0023324600000194096,
0.002307443000006515,
0.00229994899999042,
0.002320035999986203,
0.0022864640000079817,
0.00190427100000079,
0.0018782119999798397,
0.0018673219999811863,
0.0018721309999989444,
0.0018592769999941083,
0.001883250999981101,
0.0018662500000061755,
0.00187999599998534,
0.0018520840000064709,
0.0018932010000014543,
0.0018520529999932478,
0.0018707480000159649,
0.0018635650000078385,
0.001875877999992781,
0.0018899540000063553,
0.0018955449999964458,
0.0026363360000232205,
0.002816260999992437,
0.0020778549999818097,
0.0018529550000039308,
0.0018753070000059324,
0.0018822999999770218,
0.0018527649999953155,
0.0018691660000058619,
0.0018597879999902034,
0.0018712890000074367,
0.0018665700000042307,
0.0018340899999884641,
0.00186117000001218,
0.001861199999979135,
0.0018723210000075596,
0.001956539000019575,
0.001887228999976287,
0.001876909999992904,
0.0018560900000181846,
0.0018458620000103565,
0.0018661699999995562,
0.001866600999989032,
0.0018567120000057002,
0.001847975999993423,
0.0018605989999969097,
0.001868483999999171,
0.001825023000009196,
0.0018419339999979911,
0.0018884210000180701,
0.0018540869999981169,
0.0018653889999882267,
0.0018814279999901373,
0.0018626929999925324,
0.0018865079999841328,
0.0018704979999881743,
0.0018595770000047196,
0.0018615010000075927,
0.0018707079999842335,
0.0018677630000070167,
0.0018697859999861066,
0.0018589659999861396,
0.0018706490000113263,
0.001843997999998237,
0.001834720999994488,
0.0019460190000017974,
0.0018796749999978601,
0.0018667310000068937,
0.0018857670000045346,
0.001881389000004674,
0.0018635749999873497,
0.0018584060000250702,
0.0018419040000026143,
0.001862913999985949,
0.001884012999994411,
0.0018637860000012552,
0.0018646860000046672,
0.0018814180000106262,
0.0018651880000106758,
0.0019496560000220597,
0.0018207750000271972,
0.001857663999999204,
0.0018925889999934498,
0.0018910969999978988,
0.0018647169999894686,
0.0018881210000074589,
0.001884223000018892,
0.0018696170000112033,
0.001869716000015842,
0.001833158000010826,
0.0018578739999952631,
0.0018551999999942836,
0.00187451599998667,
0.0018614509999963502,
0.001861189999999624,
0.0018607599999995728,
0.0018311839999967106,
0.0018587659999980133,
0.0018570829999760008,
0.0018612110000049142,
0.0018742949999932534,
0.0018704480000053536,
0.0018548989999942478,
0.0018439889999797288,
0.001864947999990818,
0.0018597790000001169,
0.0018763479999961419,
0.0018863170000145146,
0.0018885019999856922,
0.0018627230000163308,
0.0018812780000132534,
0.0018632450000097833,
0.001824402000011105,
0.0018539779999855455,
0.0018801360000111345,
0.0018586360000085733,
0.0018880199999955494,
0.0018736840000030952,
0.0018793939999852682,
0.0018610909999949854,
0.001840833000017028,
0.0018857969999999113,
0.0018813580000198726,
0.0018673620000129176,
0.0018656789999909051,
0.001891747000001942,
0.0018583449999880486,
0.0018662999999889962,
0.0018189719999952558,
0.0018633040000111123,
0.0018615719999957037,
0.0018722209999850747,
0.0018692360000045483,
0.0018604389999836712,
0.0018640149999953337,
0.0018810280000138846,
0.001844198000014785,
0.001858346000005895,
0.0018569430000070497,
0.0018588259999887669,
0.0018411329999992176,
0.0018495780000193918,
0.0018511220000050344,
0.00182478300001776,
0.001867001999983131,
0.0018478260000165392,
0.0018608000000028824,
0.00186264299998129,
0.00184950900001013,
0.0018666010000174538,
0.001834591000005048,
0.0018665700000042307,
0.001878342999987126,
0.0018542979999836007,
0.0018719710000141276,
0.0018835420000016256,
0.0019015560000070764,
0.0018761079999762842,
0.0018472440000039114,
0.001876619000000801,
0.0020448129999977027,
0.0020206579999921814,
0.001918918000001213,
0.0018855660000269836,
0.0018833219999976336,
0.001927273000006835,
0.0019296989999872949,
0.0020185839999840027,
0.0020497719999923447,
0.0018694260000131635,
0.0018986299999994571,
0.0018753569999887532,
0.0018719400000009045,
0.0018605090000107793,
0.0018562319999944066,
0.0018742749999773878,
0.0018657589999975244,
0.0018611400000168032,
0.0018559309999943707,
0.0018578639999873303,
0.001866831000000957,
0.0018182299999978113,
0.0018587560000185022,
0.0018512620000024071,
0.001872061000000258,
0.001884012999994411,
0.0019061550000003535,
0.0018716700000140918,
0.0018723620000002938,
0.0018644870000059655,
0.0019062040000221714,
0.001887580000015987,
0.0018652079999981197,
0.0018516529999885734,
0.0018672820000062984,
0.0019152320000159762,
0.0019403379999971548,
0.0018831710000029034,
0.0018673019999937424,
0.0018543379999869103,
0.0018783619999851453,
0.0018835220000141817,
0.0018672409999851425
],
"count": 464,
"total": 0.9963226059999784,
"mean": 0.0021472469956896087,
"p50": 0.0023072525000031874,
"p90": 0.0023628580000092823,
"p95": 0.0024005638500156578,
"p99": 0.0026366290400159187,
"stdev": 0.00024126023980649902,
"stdev_": 11.235793566869843
},
"throughput": {
"unit": "samples/s",
"value": 931.4252175063266
},
"energy": {
"unit": "kWh",
"cpu": 7.374534955808195e-08,
"ram": 3.0837260168826666e-09,
"gpu": 0.0,
"total": 7.68290755749646e-08
},
"efficiency": {
"unit": "samples/kWh",
"value": 26031811.329664323
}
}
}
}