cuda
/
cuda_inference_transformers_fill-mask_hf-internal-testing
/tiny-random-BertModel
/benchmark.json
IlyasMoutawwakil
HF Staff
Upload cuda_inference_transformers_fill-mask_hf-internal-testing/tiny-random-BertModel/benchmark.json with huggingface_hub
0645cf0
verified
| { | |
| "config": { | |
| "name": "cuda_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": "cuda", | |
| "device_ids": "0", | |
| "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": 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.240-238.959.amzn2.x86_64-x86_64-with-glibc2.35", | |
| "processor": "x86_64", | |
| "python_version": "3.10.18", | |
| "gpu": [ | |
| "NVIDIA A10G" | |
| ], | |
| "gpu_count": 1, | |
| "gpu_vram_mb": 24146608128, | |
| "optimum_benchmark_version": "0.7.0.dev0", | |
| "optimum_benchmark_commit": "995370fefa161a95ab97b2c42f8d2023f1a1edb7", | |
| "transformers_version": "4.55.2", | |
| "transformers_commit": "995370fefa161a95ab97b2c42f8d2023f1a1edb7", | |
| "accelerate_version": "1.10.0", | |
| "accelerate_commit": "995370fefa161a95ab97b2c42f8d2023f1a1edb7", | |
| "diffusers_version": "0.35.0", | |
| "diffusers_commit": "995370fefa161a95ab97b2c42f8d2023f1a1edb7", | |
| "optimum_version": null, | |
| "optimum_commit": null, | |
| "timm_version": "1.0.19", | |
| "timm_commit": "995370fefa161a95ab97b2c42f8d2023f1a1edb7", | |
| "peft_version": "0.17.0", | |
| "peft_commit": "995370fefa161a95ab97b2c42f8d2023f1a1edb7" | |
| }, | |
| "print_report": true, | |
| "log_report": true | |
| }, | |
| "report": { | |
| "load_model": { | |
| "memory": { | |
| "unit": "MB", | |
| "max_ram": 1020.235776, | |
| "max_global_vram": 592.969728, | |
| "max_process_vram": 0.0, | |
| "max_reserved": 2.097152, | |
| "max_allocated": 0.389632 | |
| }, | |
| "latency": { | |
| "unit": "s", | |
| "values": [ | |
| 0.07918694305419922 | |
| ], | |
| "count": 1, | |
| "total": 0.07918694305419922, | |
| "mean": 0.07918694305419922, | |
| "p50": 0.07918694305419922, | |
| "p90": 0.07918694305419922, | |
| "p95": 0.07918694305419922, | |
| "p99": 0.07918694305419922, | |
| "stdev": 0, | |
| "stdev_": 0 | |
| }, | |
| "throughput": null, | |
| "energy": { | |
| "unit": "kWh", | |
| "cpu": 0.00012220326847986113, | |
| "ram": 5.7506381272222346e-05, | |
| "gpu": 0.00016630179970800012, | |
| "total": 0.0003460114494600836 | |
| }, | |
| "efficiency": null | |
| }, | |
| "first_forward": { | |
| "memory": { | |
| "unit": "MB", | |
| "max_ram": 1178.64448, | |
| "max_global_vram": 670.564352, | |
| "max_process_vram": 0.0, | |
| "max_reserved": 23.068672, | |
| "max_allocated": 10.112 | |
| }, | |
| "latency": { | |
| "unit": "s", | |
| "values": [ | |
| 0.1112965087890625 | |
| ], | |
| "count": 1, | |
| "total": 0.1112965087890625, | |
| "mean": 0.1112965087890625, | |
| "p50": 0.1112965087890625, | |
| "p90": 0.1112965087890625, | |
| "p95": 0.1112965087890625, | |
| "p99": 0.1112965087890625, | |
| "stdev": 0, | |
| "stdev_": 0 | |
| }, | |
| "throughput": null, | |
| "energy": { | |
| "unit": "kWh", | |
| "cpu": 0.00012379553807500044, | |
| "ram": 5.825559255555579e-05, | |
| "gpu": 0.0001699609693019998, | |
| "total": 0.00035201209993255606 | |
| }, | |
| "efficiency": null | |
| }, | |
| "forward": { | |
| "memory": { | |
| "unit": "MB", | |
| "max_ram": 1188.610048, | |
| "max_global_vram": 670.564352, | |
| "max_process_vram": 0.0, | |
| "max_reserved": 23.068672, | |
| "max_allocated": 10.112 | |
| }, | |
| "latency": { | |
| "unit": "s", | |
| "values": [ | |
| 0.002896895885467529, | |
| 0.0027780799865722654, | |
| 0.002699264049530029, | |
| 0.0026972160339355468, | |
| 0.002627583980560303, | |
| 0.002664448022842407, | |
| 0.002717695951461792, | |
| 0.0028139519691467284, | |
| 0.002777087926864624, | |
| 0.002777087926864624, | |
| 0.002791424036026001, | |
| 0.002727936029434204, | |
| 0.00280678391456604, | |
| 0.0028334081172943113, | |
| 0.002766848087310791, | |
| 0.0028436479568481445, | |
| 0.002799616098403931, | |
| 0.0028303039073944093, | |
| 0.0030801920890808107, | |
| 0.003290112018585205, | |
| 0.0027248640060424803, | |
| 0.0026019840240478517, | |
| 0.002594815969467163, | |
| 0.002624511957168579, | |
| 0.0026368000507354735, | |
| 0.0025661439895629883, | |
| 0.0025825281143188475, | |
| 0.002593791961669922, | |
| 0.0025487680435180666, | |
| 0.002564095973968506, | |
| 0.002531327962875366, | |
| 0.0025282559394836424, | |
| 0.0025456640720367433, | |
| 0.002455552101135254, | |
| 0.00250163197517395, | |
| 0.0025056960582733154, | |
| 0.0024535040855407715, | |
| 0.0025630719661712646, | |
| 0.0025620479583740234, | |
| 0.0025128960609436036, | |
| 0.0027596800327301025, | |
| 0.002648063898086548, | |
| 0.0025384960174560547, | |
| 0.0025661439895629883, | |
| 0.0025118720531463624, | |
| 0.0025047039985656738, | |
| 0.0024698879718780516, | |
| 0.002416640043258667, | |
| 0.0024535040855407715, | |
| 0.002451456069946289, | |
| 0.002406399965286255, | |
| 0.0024627199172973634, | |
| 0.002421760082244873, | |
| 0.0024401919841766356, | |
| 0.0025323519706726074, | |
| 0.0024780800342559814, | |
| 0.002500607967376709, | |
| 0.0024750080108642577, | |
| 0.002495455980300903, | |
| 0.0025077760219573975, | |
| 0.0024371199607849123, | |
| 0.002461695909500122, | |
| 0.002564095973968506, | |
| 0.002569216012954712, | |
| 0.002634752035140991, | |
| 0.0026163198947906493, | |
| 0.0025620479583740234, | |
| 0.002614272117614746, | |
| 0.002678783893585205, | |
| 0.002584575891494751, | |
| 0.002596832036972046, | |
| 0.0025835518836975096, | |
| 0.0025323519706726074, | |
| 0.002573312044143677, | |
| 0.0025620479583740234, | |
| 0.0025333759784698486, | |
| 0.0025579519271850585, | |
| 0.0024985599517822264, | |
| 0.0024371199607849123, | |
| 0.002540544033050537, | |
| 0.002456576108932495, | |
| 0.0024401919841766356, | |
| 0.0024729599952697753, | |
| 0.002425856113433838, | |
| 0.002451456069946289, | |
| 0.0025508160591125486, | |
| 0.0026664960384368895, | |
| 0.0026890239715576174, | |
| 0.0026757121086120605, | |
| 0.0026071040630340574, | |
| 0.002648031949996948, | |
| 0.002613215923309326, | |
| 0.002569216012954712, | |
| 0.0026204159259796142, | |
| 0.0026296319961547853, | |
| 0.002565119981765747, | |
| 0.002606080055236816, | |
| 0.0026224639415740967, | |
| 0.0025968639850616456, | |
| 0.0026357760429382322, | |
| 0.0026449921131134033, | |
| 0.0025415680408477784, | |
| 0.0024924159049987795, | |
| 0.0024679040908813475, | |
| 0.0024965438842773436, | |
| 0.002519040107727051, | |
| 0.0024934399127960207, | |
| 0.0025528960227966307, | |
| 0.002550784111022949, | |
| 0.0025323519706726074, | |
| 0.0025333759784698486, | |
| 0.0025251839160919188, | |
| 0.0024821760654449463, | |
| 0.0025712640285491944, | |
| 0.0025415680408477784, | |
| 0.0025661439895629883, | |
| 0.0025876479148864745, | |
| 0.002548736095428467, | |
| 0.0025128960609436036, | |
| 0.0024545280933380128, | |
| 0.0024104959964752195, | |
| 0.0024298880100250245, | |
| 0.0024339840412139894, | |
| 0.002481152057647705, | |
| 0.0024483840465545654, | |
| 0.0024043519496917726, | |
| 0.002430975914001465, | |
| 0.0024576001167297364, | |
| 0.002461695909500122, | |
| 0.0025917439460754394, | |
| 0.0025569279193878173, | |
| 0.002476991891860962, | |
| 0.002513920068740845, | |
| 0.00243507194519043, | |
| 0.002471935987472534, | |
| 0.002500607967376709, | |
| 0.00248524808883667, | |
| 0.0024832000732421876, | |
| 0.0024924159049987795, | |
| 0.002460671901702881, | |
| 0.002669568061828613, | |
| 0.0028190720081329346, | |
| 0.0026317119598388674, | |
| 0.0027146239280700685, | |
| 0.0027135999202728273, | |
| 0.0025671679973602295, | |
| 0.0025917439460754394, | |
| 0.0026521599292755127, | |
| 0.0026173439025878906, | |
| 0.002648063898086548, | |
| 0.002664448022842407, | |
| 0.002669568061828613, | |
| 0.0027852799892425536, | |
| 0.002770944118499756, | |
| 0.0028190720081329346, | |
| 0.0031447041034698485, | |
| 0.002870271921157837, | |
| 0.002836479902267456, | |
| 0.00276582407951355, | |
| 0.0028344318866729734, | |
| 0.0028272640705108644, | |
| 0.002748415946960449, | |
| 0.003361792087554932, | |
| 0.0028129279613494872, | |
| 0.0027637760639190674, | |
| 0.00273305606842041, | |
| 0.0027494399547576902, | |
| 0.002746367931365967, | |
| 0.002638848066329956, | |
| 0.002716671943664551, | |
| 0.0027381761074066163, | |
| 0.00269215989112854, | |
| 0.002590719938278198, | |
| 0.0026316800117492677, | |
| 0.002606080055236816, | |
| 0.0025630080699920654, | |
| 0.0026675200462341307, | |
| 0.0027432959079742433, | |
| 0.002628607988357544, | |
| 0.002693120002746582, | |
| 0.0027381761074066163, | |
| 0.0026716160774230956, | |
| 0.002723839998245239, | |
| 0.002603008031845093, | |
| 0.0025713279247283937, | |
| 0.002616352081298828, | |
| 0.0026306560039520265, | |
| 0.0025999360084533693, | |
| 0.0026654720306396483, | |
| 0.0026716160774230956, | |
| 0.0026961920261383055, | |
| 0.0026890239715576174, | |
| 0.002707456111907959, | |
| 0.002634752035140991, | |
| 0.0026357760429382322, | |
| 0.0026265599727630616, | |
| 0.0025999360084533693, | |
| 0.002615295886993408, | |
| 0.002606112003326416, | |
| 0.002543616056442261, | |
| 0.0025876479148864745, | |
| 0.00260915207862854, | |
| 0.003433471918106079, | |
| 0.002761728048324585, | |
| 0.002654207944869995, | |
| 0.0026593279838562013, | |
| 0.0027944960594177247, | |
| 0.0027351040840148926, | |
| 0.0028108799457550048, | |
| 0.0027678720951080323, | |
| 0.002836479902267456, | |
| 0.0028477439880371094, | |
| 0.0027678720951080323, | |
| 0.00280678391456604, | |
| 0.0028774399757385254, | |
| 0.002799616098403931, | |
| 0.0026735999584197997, | |
| 0.0026316800117492677, | |
| 0.0026173439025878906, | |
| 0.0025466880798339846, | |
| 0.0025999360084533693, | |
| 0.0026306560039520265, | |
| 0.0025425920486450196, | |
| 0.0026368000507354735, | |
| 0.0026050560474395754, | |
| 0.002554879903793335, | |
| 0.0026163198947906493, | |
| 0.002584575891494751, | |
| 0.0025722880363464357, | |
| 0.0026900479793548586, | |
| 0.0025661439895629883, | |
| 0.0026071040630340574, | |
| 0.0026081280708312986, | |
| 0.002594815969467163, | |
| 0.0026009600162506105, | |
| 0.002634752035140991, | |
| 0.0026173439025878906, | |
| 0.002642944097518921, | |
| 0.0026368000507354735, | |
| 0.0026716160774230956, | |
| 0.0026214399337768555, | |
| 0.0026255359649658204, | |
| 0.002597887992858887, | |
| 0.0026071040630340574, | |
| 0.0027412159442901612, | |
| 0.003065824031829834, | |
| 0.003077120065689087, | |
| 0.0027432959079742433, | |
| 0.002693120002746582, | |
| 0.00260915207862854, | |
| 0.002677759885787964, | |
| 0.0026736960411071777, | |
| 0.002652127981185913, | |
| 0.0026746881008148193, | |
| 0.0026368000507354735, | |
| 0.0026184000968933105, | |
| 0.002624511957168579, | |
| 0.0026255359649658204, | |
| 0.0025927679538726807, | |
| 0.0028139519691467284, | |
| 0.002900991916656494, | |
| 0.0026449921131134033, | |
| 0.002666527986526489, | |
| 0.002769920110702515, | |
| 0.00283238410949707, | |
| 0.0027340800762176514, | |
| 0.00296345591545105, | |
| 0.004134912014007569, | |
| 0.0032102398872375488, | |
| 0.002737152099609375, | |
| 0.0026377599239349363, | |
| 0.00271776008605957, | |
| 0.0027555840015411376, | |
| 0.0025661439895629883, | |
| 0.0027985920906066896, | |
| 0.0028334081172943113, | |
| 0.0026276159286499024, | |
| 0.002639872074127197, | |
| 0.0026050560474395754, | |
| 0.0025815041065216063, | |
| 0.002623487949371338, | |
| 0.002672640085220337, | |
| 0.002548736095428467, | |
| 0.0025671679973602295, | |
| 0.0025937600135803223, | |
| 0.0025456640720367433, | |
| 0.0026265599727630616, | |
| 0.002627583980560303, | |
| 0.002566175937652588, | |
| 0.0025784320831298826, | |
| 0.0025712640285491944, | |
| 0.002519040107727051, | |
| 0.002559999942779541, | |
| 0.002541599988937378, | |
| 0.00253439998626709, | |
| 0.0025763840675354006, | |
| 0.0025323519706726074, | |
| 0.002543616056442261, | |
| 0.0025569279193878173, | |
| 0.002513887882232666, | |
| 0.002561023950576782, | |
| 0.002574336051940918, | |
| 0.002717695951461792, | |
| 0.0027299840450286865, | |
| 0.002648063898086548, | |
| 0.002580480098724365, | |
| 0.0026798079013824463, | |
| 0.0027207679748535154, | |
| 0.002580480098724365, | |
| 0.002619391918182373, | |
| 0.0026264960765838624, | |
| 0.0025702400207519532, | |
| 0.002718751907348633, | |
| 0.0026654720306396483, | |
| 0.0026368000507354735, | |
| 0.0028139519691467284, | |
| 0.002639872074127197, | |
| 0.0025477120876312258, | |
| 0.002614272117614746, | |
| 0.002577408075332642, | |
| 0.0025169920921325685, | |
| 0.0025671679973602295, | |
| 0.002606080055236816, | |
| 0.0025456640720367433, | |
| 0.0025958399772644043, | |
| 0.0025938560962677003, | |
| 0.0025159680843353273, | |
| 0.0025897281169891357, | |
| 0.002564095973968506, | |
| 0.002524127960205078, | |
| 0.0025722880363464357, | |
| 0.0025026559829711913, | |
| 0.002550784111022949, | |
| 0.002550784111022949, | |
| 0.0025036799907684325, | |
| 0.002571199893951416, | |
| 0.0025753600597381594, | |
| 0.0025077760219573975, | |
| 0.002561023950576782, | |
| 0.0025763840675354006, | |
| 0.0024995839595794676, | |
| 0.0025384960174560547, | |
| 0.0025394558906555176, | |
| 0.0024995839595794676, | |
| 0.0025927679538726807, | |
| 0.002496511936187744, | |
| 0.002520064115524292, | |
| 0.0025620479583740234, | |
| 0.002507807970046997, | |
| 0.002544640064239502, | |
| 0.0025425920486450196, | |
| 0.0024791040420532227, | |
| 0.002520064115524292, | |
| 0.0025528318881988523, | |
| 0.0024995839595794676, | |
| 0.0025364480018615723, | |
| 0.00253439998626709, | |
| 0.0026102080345153807, | |
| 0.0025415680408477784, | |
| 0.002490367889404297, | |
| 0.0025241599082946775, | |
| 0.002514944076538086, | |
| 0.002495455980300903, | |
| 0.0025374720096588135, | |
| 0.0025282559394836424, | |
| 0.0024913918972015382, | |
| 0.0025282559394836424, | |
| 0.0025047039985656738, | |
| 0.0025108160972595215, | |
| 0.0025159680843353273, | |
| 0.002497535943984985, | |
| 0.00252620792388916, | |
| 0.002544640064239502, | |
| 0.00248524808883667, | |
| 0.002535423994064331, | |
| 0.00253439998626709, | |
| 0.0024924159049987795 | |
| ], | |
| "count": 377, | |
| "total": 0.9889206738471985, | |
| "mean": 0.0026231317608679007, | |
| "p50": 0.002594815969467163, | |
| "p90": 0.0027877376079559328, | |
| "p95": 0.0028336128711700438, | |
| "p99": 0.003229409198760987, | |
| "stdev": 0.00015807700706915956, | |
| "stdev_": 6.026270179308779 | |
| }, | |
| "throughput": { | |
| "unit": "samples/s", | |
| "value": 762.4474034572596 | |
| }, | |
| "energy": { | |
| "unit": "kWh", | |
| "cpu": 3.1126329009503914e-08, | |
| "ram": 1.4644811798246146e-08, | |
| "gpu": 4.431947990000035e-08, | |
| "total": 9.009062070775044e-08 | |
| }, | |
| "efficiency": { | |
| "unit": "samples/kWh", | |
| "value": 22199869.24596626 | |
| } | |
| } | |
| } | |
| } |