IlyasMoutawwakil's picture
Upload cuda_inference_transformers_fill-mask_hf-internal-testing/tiny-random-BertModel/benchmark.json with huggingface_hub
aeb99ac verified
raw
history blame
22.2 kB
{
"config": {
"name": "cuda_inference_transformers_fill-mask_hf-internal-testing/tiny-random-BertModel",
"backend": {
"name": "pytorch",
"version": "2.5.1+cu124",
"_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": "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": 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": true,
"device_isolation_action": "error",
"numactl": false,
"numactl_kwargs": {},
"start_method": "spawn"
},
"environment": {
"cpu": " AMD EPYC 7R32",
"cpu_count": 16,
"cpu_ram_mb": 66697.248768,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-5.10.228-219.884.amzn2.x86_64-x86_64-with-glibc2.35",
"processor": "x86_64",
"python_version": "3.10.12",
"gpu": [
"NVIDIA A10G"
],
"gpu_count": 1,
"gpu_vram_mb": 24146608128,
"optimum_benchmark_version": "0.5.0.dev0",
"optimum_benchmark_commit": null,
"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": "0.14.0",
"peft_commit": null
},
"print_report": true,
"log_report": true
},
"report": {
"load_model": {
"memory": {
"unit": "MB",
"max_ram": 798.937088,
"max_global_vram": 639.107072,
"max_process_vram": 0.0,
"max_reserved": 2.097152,
"max_allocated": 0.534528
},
"latency": {
"unit": "s",
"values": [
0.059684864044189455
],
"count": 1,
"total": 0.059684864044189455,
"mean": 0.059684864044189455,
"p50": 0.059684864044189455,
"p90": 0.059684864044189455,
"p95": 0.059684864044189455,
"p99": 0.059684864044189455,
"stdev": 0,
"stdev_": 0
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 9.679005700972173e-05,
"ram": 5.301773496786639e-05,
"gpu": 0.00012988510390800345,
"total": 0.0002796928958855916
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 1038.49984,
"max_global_vram": 670.564352,
"max_process_vram": 0.0,
"max_reserved": 23.068672,
"max_allocated": 10.112
},
"latency": {
"unit": "s",
"values": [
0.002875391960144043,
0.002732032060623169,
0.0027013120651245117,
0.0026798079013824463,
0.0025610880851745605,
0.0025671679973602295,
0.002580480098724365,
0.0025231359004974367,
0.002597887992858887,
0.0026368000507354735,
0.0026368000507354735,
0.0027392001152038575,
0.002746367931365967,
0.0027135999202728273,
0.0026808319091796875,
0.0026859519481658937,
0.002653183937072754,
0.0026705920696258544,
0.002686975955963135,
0.002648063898086548,
0.0026623680591583254,
0.0026859519481658937,
0.002678783893585205,
0.002771967887878418,
0.0027351040840148926,
0.002699264049530029,
0.002575392007827759,
0.0025958399772644043,
0.0026112000942230223,
0.0027340800762176514,
0.0026316800117492677,
0.002643968105316162,
0.002737152099609375,
0.0026183679103851318,
0.0026009600162506105,
0.0025732800960540773,
0.0026798079013824463,
0.002706432104110718,
0.002639872074127197,
0.002811903953552246,
0.0027985920906066896,
0.0026071040630340574,
0.0026910719871521,
0.0026900479793548586,
0.002632704019546509,
0.0026460158824920654,
0.002648063898086548,
0.0026173439025878906,
0.0027054080963134766,
0.002717695951461792,
0.0026705920696258544,
0.002699264049530029,
0.0027217919826507567,
0.0026603519916534426,
0.0026368000507354735,
0.0026859519481658937,
0.002672640085220337,
0.002668544054031372,
0.0028129279613494872,
0.002736128091812134,
0.00263372802734375,
0.0027105278968811036,
0.002662400007247925,
0.0026521599292755127,
0.0027290239334106445,
0.0027729918956756593,
0.002747391939163208,
0.0028334081172943113,
0.0028876800537109377,
0.0030904319286346434,
0.0028231680393218995,
0.0028579840660095217,
0.0028559360504150392,
0.002876415967941284,
0.0028272640705108644,
0.0028815360069274903,
0.0028579840660095217,
0.0027432959079742433,
0.002732032060623169,
0.00291430401802063,
0.002755552053451538,
0.0026511359214782715,
0.00268287992477417,
0.0026890239715576174,
0.002677759885787964,
0.0028026878833770754,
0.002821120023727417,
0.0027883520126342773,
0.0028293440341949465,
0.002747391939163208,
0.0026757121086120605,
0.002687999963760376,
0.0027217919826507567,
0.002726912021636963,
0.0028917438983917234,
0.002825216054916382,
0.002728032112121582,
0.0026122241020202636,
0.00265830397605896,
0.0026306560039520265,
0.0026265599727630616,
0.002669568061828613,
0.0026859519481658937,
0.002672640085220337,
0.00271776008605957,
0.0027075200080871583,
0.0026316800117492677,
0.002661375999450684,
0.002662400007247925,
0.0026122241020202636,
0.002648063898086548,
0.002687999963760376,
0.0026920959949493406,
0.0028426239490509033,
0.0029122560024261476,
0.0029235200881958007,
0.0028845438957214357,
0.0026675200462341307,
0.002654207944869995,
0.002603008031845093,
0.0026316800117492677,
0.0026521599292755127,
0.0025968639850616456,
0.0026511359214782715,
0.0026654720306396483,
0.0026050560474395754,
0.00268287992477417,
0.0026716160774230956,
0.0026368000507354735,
0.002669568061828613,
0.0026654720306396483,
0.002628607988357544,
0.0026449921131134033,
0.0026449921131134033,
0.0026173439025878906,
0.002662400007247925,
0.0026746881008148193,
0.002648063898086548,
0.0026654720306396483,
0.002699264049530029,
0.0026449599266052245,
0.002653183937072754,
0.003088383913040161,
0.003274751901626587,
0.002708479881286621,
0.0027688961029052736,
0.0028784639835357667,
0.002913280010223389,
0.0028569600582122805,
0.0029235200881958007,
0.0028519039154052735,
0.002800640106201172,
0.0027862720489501953,
0.0028866560459136965,
0.002866175889968872,
0.002776063919067383,
0.0027514879703521727,
0.0026859519481658937,
0.0026746881008148193,
0.0027135999202728273,
0.0027514879703521727,
0.0027924480438232422,
0.002698240041732788,
0.002680799961090088,
0.0026593279838562013,
0.002597887992858887,
0.0026972160339355468,
0.0028866560459136965,
0.002693120002746582,
0.00265830397605896,
0.002649087905883789,
0.002594815969467163,
0.0026316800117492677,
0.0026562559604644776,
0.0026224639415740967,
0.0026552319526672364,
0.0026357760429382322,
0.002565119981765747,
0.0026265599727630616,
0.002796544075012207,
0.0026224639415740967,
0.0026839039325714112,
0.0026961920261383055,
0.0026183679103851318,
0.0026961920261383055,
0.0026603519916534426,
0.0025723199844360353,
0.002615295886993408,
0.0026511359214782715,
0.002574336051940918,
0.0026265599727630616,
0.0027555840015411376,
0.0026081280708312986,
0.0026778240203857422,
0.002712575912475586,
0.002584575891494751,
0.002649087905883789,
0.0026470398902893066,
0.002619391918182373,
0.0027197439670562746,
0.0027207679748535154,
0.0026357760429382322,
0.0026798079013824463,
0.0029061119556427002,
0.0027596800327301025,
0.002657279968261719,
0.0027975680828094484,
0.00280678391456604,
0.002762752056121826,
0.0027842559814453124,
0.002770944118499756,
0.0026562879085540773,
0.0026408960819244384,
0.0026654720306396483,
0.0025866239070892333,
0.002630687952041626,
0.0026449921131134033,
0.0025671679973602295,
0.002627583980560303,
0.0026419200897216796,
0.0025835518836975096,
0.0026470398902893066,
0.002628607988357544,
0.00256825590133667,
0.0026460158824920654,
0.002634752035140991,
0.002564095973968506,
0.002634752035140991,
0.0026368000507354735,
0.0025753600597381594,
0.0026501119136810303,
0.0026204159259796142,
0.0025538558959960936,
0.002642944097518921,
0.0026081280708312986,
0.002559999942779541,
0.002615295886993408,
0.002603008031845093,
0.0025784320831298826,
0.0026071040630340574,
0.002742271900177002,
0.002565119981765747,
0.0026112000942230223,
0.0026664960384368895,
0.0025538558959960936,
0.0027555840015411376,
0.0026019840240478517,
0.002662400007247925,
0.0029921278953552247,
0.0026265919208526612,
0.002561023950576782,
0.00260915207862854,
0.002597887992858887,
0.0025538558959960936,
0.0025282559394836424,
0.0025067520141601562,
0.002456576108932495,
0.0024995200634002684,
0.0024780800342559814,
0.0024729280471801757,
0.0025016000270843505,
0.002460671901702881,
0.0025077760219573975,
0.002500607967376709,
0.002465791940689087,
0.002497535943984985,
0.00247705602645874,
0.002494463920593262,
0.0025180160999298097,
0.0024688639640808104,
0.0025067520141601562,
0.002497535943984985,
0.0024749441146850585,
0.0025128960609436036,
0.002500607967376709,
0.0024688639640808104,
0.0025067520141601562,
0.002447360038757324,
0.0025047039985656738,
0.002505728006362915,
0.002470911979675293,
0.002505728006362915,
0.002510848045349121,
0.0024627199172973634,
0.002694144010543823,
0.0024832000732421876,
0.0024913918972015382,
0.0025088000297546387,
0.0024821760654449463,
0.0025128960609436036,
0.002510848045349121,
0.0024729599952697753,
0.002511904001235962,
0.002505728006362915,
0.0024739840030670165,
0.0025088000297546387,
0.002484224081039429,
0.0025047039985656738,
0.0025077760219573975,
0.002497535943984985,
0.0026470398902893066,
0.0025047039985656738,
0.002476032018661499,
0.002531327962875366,
0.0025159680843353273,
0.00245961594581604,
0.0025118720531463624,
0.002484224081039429,
0.00248524808883667,
0.002500607967376709,
0.0024647359848022463,
0.002520064115524292,
0.0025088000297546387,
0.002467839956283569,
0.00250163197517395,
0.00247705602645874,
0.0025016961097717285,
0.0025118720531463624,
0.0024627199172973634,
0.002505728006362915,
0.002513920068740845,
0.0025026559829711913,
0.0025067520141601562,
0.002496511936187744,
0.002476032018661499,
0.0025251200199127195,
0.0024780800342559814,
0.0025077760219573975,
0.0025128960609436036,
0.002490367889404297,
0.0025118401050567628,
0.002513920068740845,
0.002470911979675293,
0.0025088000297546387,
0.0024719679355621337,
0.0024954879283905027,
0.0025333759784698486,
0.002465791940689087,
0.0025088000297546387,
0.00250982403755188,
0.002639872074127197,
0.0024965438842773436,
0.002510848045349121,
0.002466815948486328,
0.0024924159049987795,
0.00247705602645874,
0.002500607967376709,
0.002497535943984985,
0.002461695909500122,
0.0024862720966339113,
0.002589695930480957,
0.0027135999202728273,
0.0026173439025878906,
0.0026255359649658204,
0.0025764479637146,
0.0026255359649658204,
0.0026255359649658204,
0.0025835518836975096,
0.0026357760429382322,
0.002627583980560303,
0.0025722880363464357,
0.002639872074127197,
0.0026378240585327147,
0.0025712640285491944,
0.002623487949371338,
0.0026214399337768555,
0.0025722880363464357,
0.00263372802734375,
0.0025753600597381594,
0.0026019840240478517,
0.002606080055236816,
0.002580480098724365,
0.0027095038890838623,
0.002615295886993408,
0.002579456090927124
],
"count": 375,
"total": 0.9898386549949653,
"mean": 0.0026395697466532393,
"p50": 0.0026368000507354735,
"p90": 0.002798182487487793,
"p95": 0.0028689407110214235,
"p99": 0.0029413581180572504,
"stdev": 0.00012090973815892432,
"stdev_": 4.580660856271295
},
"throughput": {
"unit": "samples/s",
"value": 757.69924342247
},
"energy": {
"unit": "kWh",
"cpu": 3.137986269473129e-08,
"ram": 1.7128293353626598e-08,
"gpu": 4.7920379312177e-08,
"total": 9.64285353605349e-08
},
"efficiency": {
"unit": "samples/kWh",
"value": 20740748.498587437
}
}
}
}