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
3668751
verified
{ | |
"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": 799.27296, | |
"max_global_vram": 639.107072, | |
"max_process_vram": 0.0, | |
"max_reserved": 2.097152, | |
"max_allocated": 0.534528 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.057632766723632815 | |
], | |
"count": 1, | |
"total": 0.057632766723632815, | |
"mean": 0.057632766723632815, | |
"p50": 0.057632766723632815, | |
"p90": 0.057632766723632815, | |
"p95": 0.057632766723632815, | |
"p99": 0.057632766723632815, | |
"stdev": 0, | |
"stdev_": 0 | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 9.596619925555561e-05, | |
"ram": 5.257759053840697e-05, | |
"gpu": 0.00012757176872400106, | |
"total": 0.0002761155585179636 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1038.553088, | |
"max_global_vram": 670.564352, | |
"max_process_vram": 0.0, | |
"max_reserved": 23.068672, | |
"max_allocated": 10.112 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.0027934720516204835, | |
0.0025784320831298826, | |
0.002610176086425781, | |
0.0025815041065216063, | |
0.0025077760219573975, | |
0.0025835518836975096, | |
0.002624511957168579, | |
0.002531327962875366, | |
0.002589695930480957, | |
0.002604032039642334, | |
0.0025323519706726074, | |
0.0025927679538726807, | |
0.0025927679538726807, | |
0.0025251839160919188, | |
0.0025958399772644043, | |
0.0025323519706726074, | |
0.0025661439895629883, | |
0.0026019840240478517, | |
0.002519040107727051, | |
0.0026050560474395754, | |
0.0025815041065216063, | |
0.0025067520141601562, | |
0.0025866239070892333, | |
0.0026511359214782715, | |
0.0024954879283905027, | |
0.002555903911590576, | |
0.0025722880363464357, | |
0.0025221118927001955, | |
0.0025763840675354006, | |
0.0025968639850616456, | |
0.00250982403755188, | |
0.002581536054611206, | |
0.0025518081188201903, | |
0.002530303955078125, | |
0.0025651841163635255, | |
0.0025221118927001955, | |
0.0025589759349822997, | |
0.0025835518836975096, | |
0.0025128960609436036, | |
0.002585599899291992, | |
0.0025815041065216063, | |
0.002510848045349121, | |
0.002597887992858887, | |
0.0025815041065216063, | |
0.002519040107727051, | |
0.0025661439895629883, | |
0.002540544033050537, | |
0.002496511936187744, | |
0.002553823947906494, | |
0.002496511936187744, | |
0.0025384960174560547, | |
0.0025528318881988523, | |
0.0024986240863800048, | |
0.002544640064239502, | |
0.002548736095428467, | |
0.002481152057647705, | |
0.0025579519271850585, | |
0.0025384960174560547, | |
0.002527231931686401, | |
0.002569216012954712, | |
0.0025159680843353273, | |
0.0025456640720367433, | |
0.0025876479148864745, | |
0.002494463920593262, | |
0.002549760103225708, | |
0.0025886719226837157, | |
0.0025210878849029543, | |
0.0025712640285491944, | |
0.002589695930480957, | |
0.0025180160999298097, | |
0.0025712640285491944, | |
0.0025753600597381594, | |
0.00250982403755188, | |
0.002589695930480957, | |
0.0025815041065216063, | |
0.00250982403755188, | |
0.0025671679973602295, | |
0.0025077760219573975, | |
0.0025763840675354006, | |
0.002579456090927124, | |
0.0025159680843353273, | |
0.002573312044143677, | |
0.002579456090927124, | |
0.002520064115524292, | |
0.002686975955963135, | |
0.0025671679973602295, | |
0.0025927679538726807, | |
0.002574336051940918, | |
0.0026593279838562013, | |
0.002500607967376709, | |
0.0025722880363464357, | |
0.0025866239070892333, | |
0.0025026559829711913, | |
0.0025753600597381594, | |
0.002535423994064331, | |
0.00253439998626709, | |
0.002575295925140381, | |
0.0025159680843353273, | |
0.0025579519271850585, | |
0.0025661439895629883, | |
0.0025128319263458252, | |
0.0025538558959960936, | |
0.0025712640285491944, | |
0.002531327962875366, | |
0.002569216012954712, | |
0.002561023950576782, | |
0.002506783962249756, | |
0.002559999942779541, | |
0.002535423994064331, | |
0.0025180160999298097, | |
0.0025620479583740234, | |
0.002496511936187744, | |
0.0025528318881988523, | |
0.0025702400207519532, | |
0.0025077760219573975, | |
0.002590719938278198, | |
0.0025763840675354006, | |
0.0025231359004974367, | |
0.0025589759349822997, | |
0.0025579519271850585, | |
0.0025067520141601562, | |
0.0025702400207519532, | |
0.002555936098098755, | |
0.0025128960609436036, | |
0.00256825590133667, | |
0.0025036799907684325, | |
0.0025589759349822997, | |
0.0025722880363464357, | |
0.002504672050476074, | |
0.0025722880363464357, | |
0.0025722880363464357, | |
0.00250982403755188, | |
0.0025671679973602295, | |
0.002559999942779541, | |
0.0025128960609436036, | |
0.002574336051940918, | |
0.002584575891494751, | |
0.002540544033050537, | |
0.0027586560249328613, | |
0.002722815990447998, | |
0.0026470720767974854, | |
0.002753535985946655, | |
0.002727936029434204, | |
0.0026501119136810303, | |
0.0027351040840148926, | |
0.002732032060623169, | |
0.0026449921131134033, | |
0.002698240041732788, | |
0.0028344318866729734, | |
0.0027791359424591063, | |
0.0028088319301605223, | |
0.002807807922363281, | |
0.0027340800762176514, | |
0.002654207944869995, | |
0.002694144010543823, | |
0.0027105278968811036, | |
0.002628607988357544, | |
0.0027392001152038575, | |
0.002699295997619629, | |
0.0026521599292755127, | |
0.0026972160339355468, | |
0.0027842559814453124, | |
0.0026408960819244384, | |
0.0027105278968811036, | |
0.0027197439670562746, | |
0.002686975955963135, | |
0.0026900479793548586, | |
0.0027013120651245117, | |
0.0027187199592590334, | |
0.0027545599937438964, | |
0.0027299840450286865, | |
0.0026798079013824463, | |
0.002648063898086548, | |
0.0027648000717163087, | |
0.0026951680183410643, | |
0.002657279968261719, | |
0.002694144010543823, | |
0.002742271900177002, | |
0.0026368000507354735, | |
0.0027207679748535154, | |
0.002712575912475586, | |
0.00268287992477417, | |
0.0027095038890838623, | |
0.0027207679748535154, | |
0.0026378240585327147, | |
0.0027248640060424803, | |
0.0027156479358673097, | |
0.0026368000507354735, | |
0.002699264049530029, | |
0.0027453439235687258, | |
0.002677759885787964, | |
0.002713536024093628, | |
0.0027095038890838623, | |
0.0027207679748535154, | |
0.0026818559169769288, | |
0.002726912021636963, | |
0.002698240041732788, | |
0.0026757121086120605, | |
0.0027340800762176514, | |
0.002698240041732788, | |
0.002639872074127197, | |
0.0026593279838562013, | |
0.002746367931365967, | |
0.0026460158824920654, | |
0.002665503978729248, | |
0.0027002880573272704, | |
0.0026920959949493406, | |
0.00273305606842041, | |
0.002698240041732788, | |
0.0026378240585327147, | |
0.002753535985946655, | |
0.0026675200462341307, | |
0.0026296319961547853, | |
0.002678783893585205, | |
0.002753535985946655, | |
0.0026368000507354735, | |
0.0026818559169769288, | |
0.0026849279403686525, | |
0.0027002880573272704, | |
0.002795520067214966, | |
0.0027095038890838623, | |
0.0026859519481658937, | |
0.0027197439670562746, | |
0.0026951680183410643, | |
0.0027699520587921144, | |
0.0026460158824920654, | |
0.0027453439235687258, | |
0.0026890239715576174, | |
0.0026183679103851318, | |
0.0026859519481658937, | |
0.0027146239280700685, | |
0.0026521599292755127, | |
0.002678783893585205, | |
0.0026910719871521, | |
0.0026408960819244384, | |
0.002712575912475586, | |
0.0026859519481658937, | |
0.0026336960792541506, | |
0.0026951680183410643, | |
0.002711551904678345, | |
0.0026183679103851318, | |
0.0027637760639190674, | |
0.0026890239715576174, | |
0.0027207679748535154, | |
0.002621407985687256, | |
0.00268287992477417, | |
0.00268287992477417, | |
0.002687999963760376, | |
0.0026818559169769288, | |
0.0026849279403686525, | |
0.0026255359649658204, | |
0.0027289600372314453, | |
0.0026725759506225585, | |
0.002627583980560303, | |
0.002674720048904419, | |
0.0027381761074066163, | |
0.0026357760429382322, | |
0.002669568061828613, | |
0.0026798079013824463, | |
0.0026839039325714112, | |
0.002668544054031372, | |
0.0027002880573272704, | |
0.0026265599727630616, | |
0.002686975955963135, | |
0.0026818559169769288, | |
0.002634752035140991, | |
0.0026859519481658937, | |
0.0027105278968811036, | |
0.002653183937072754, | |
0.0026521599292755127, | |
0.0026675200462341307, | |
0.0027351040840148926, | |
0.0027043840885162354, | |
0.002678783893585205, | |
0.0026316800117492677, | |
0.002643968105316162, | |
0.0027156479358673097, | |
0.002662336111068726, | |
0.0026501119136810303, | |
0.0026716160774230956, | |
0.0027269439697265624, | |
0.0026408960819244384, | |
0.0026716160774230956, | |
0.002663424015045166, | |
0.002693120002746582, | |
0.002673664093017578, | |
0.0026767361164093018, | |
0.0026224639415740967, | |
0.0027207679748535154, | |
0.0026818559169769288, | |
0.0026255359649658204, | |
0.0026808319091796875, | |
0.0027310080528259277, | |
0.0026326720714569094, | |
0.0026654720306396483, | |
0.0026654720306396483, | |
0.0026705920696258544, | |
0.0026849279403686525, | |
0.0026593279838562013, | |
0.002659359931945801, | |
0.002694144010543823, | |
0.0026972160339355468, | |
0.002638848066329956, | |
0.0026572160720825196, | |
0.0028037118911743166, | |
0.002653183937072754, | |
0.0027258880138397216, | |
0.002712575912475586, | |
0.0026255359649658204, | |
0.002707456111907959, | |
0.0026798079013824463, | |
0.002635807991027832, | |
0.002642944097518921, | |
0.0027504639625549315, | |
0.00265830397605896, | |
0.0026368000507354735, | |
0.002666527986526489, | |
0.0027310080528259277, | |
0.0026552319526672364, | |
0.0027135999202728273, | |
0.002693120002746582, | |
0.002686975955963135, | |
0.0026808319091796875, | |
0.0027043840885162354, | |
0.0026705920696258544, | |
0.0027801599502563475, | |
0.0026808319091796875, | |
0.002642944097518921, | |
0.0026746559143066406, | |
0.002714591979980469, | |
0.002643968105316162, | |
0.003351583957672119, | |
0.0031989760398864744, | |
0.0027340800762176514, | |
0.002577408075332642, | |
0.002929663896560669, | |
0.0028600320816040037, | |
0.0031846399307250976, | |
0.002654207944869995, | |
0.0026910719871521, | |
0.002753535985946655, | |
0.0026265599727630616, | |
0.0026767361164093018, | |
0.002711551904678345, | |
0.0026296319961547853, | |
0.0026910719871521, | |
0.002698240041732788, | |
0.0026357760429382322, | |
0.0026511359214782715, | |
0.002677759885787964, | |
0.0026255359649658204, | |
0.002663424015045166, | |
0.0026664960384368895, | |
0.0026511359214782715, | |
0.0026664960384368895, | |
0.0026798079013824463, | |
0.0026419200897216796, | |
0.002663424015045166, | |
0.0026449921131134033, | |
0.002592832088470459, | |
0.002669568061828613, | |
0.0026460158824920654, | |
0.0026112000942230223, | |
0.002628607988357544, | |
0.0026357760429382322, | |
0.002589695930480957, | |
0.002659359931945801, | |
0.002669568061828613, | |
0.0026214399337768555, | |
0.0026562559604644776, | |
0.002680799961090088, | |
0.002628607988357544, | |
0.0026593279838562013, | |
0.00268287992477417, | |
0.002627583980560303 | |
], | |
"count": 375, | |
"total": 0.9910487661361685, | |
"mean": 0.002642796709696452, | |
"p50": 0.0026501119136810303, | |
"p90": 0.0027310080528259277, | |
"p95": 0.0027538431882858276, | |
"p99": 0.002878136353492736, | |
"stdev": 9.445296281661517e-05, | |
"stdev_": 3.573977615079743 | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 756.7740616075299 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 3.155446726692356e-08, | |
"ram": 1.7243218394117165e-08, | |
"gpu": 4.380839793085e-08, | |
"total": 9.260608359189077e-08 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 21596853.278169878 | |
} | |
} | |
} | |
} |