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
cf92198
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.966.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": "f22b1bee8ed3f82f26b7e707031dd0063f1eaf25", | |
| "transformers_version": "4.55.2", | |
| "transformers_commit": "f22b1bee8ed3f82f26b7e707031dd0063f1eaf25", | |
| "accelerate_version": "1.10.0", | |
| "accelerate_commit": "f22b1bee8ed3f82f26b7e707031dd0063f1eaf25", | |
| "diffusers_version": "0.35.0", | |
| "diffusers_commit": "f22b1bee8ed3f82f26b7e707031dd0063f1eaf25", | |
| "optimum_version": null, | |
| "optimum_commit": null, | |
| "timm_version": "1.0.19", | |
| "timm_commit": "f22b1bee8ed3f82f26b7e707031dd0063f1eaf25", | |
| "peft_version": "0.17.0", | |
| "peft_commit": "f22b1bee8ed3f82f26b7e707031dd0063f1eaf25" | |
| }, | |
| "print_report": true, | |
| "log_report": true | |
| }, | |
| "report": { | |
| "load_model": { | |
| "memory": { | |
| "unit": "MB", | |
| "max_ram": 1013.960704, | |
| "max_global_vram": 469.041152, | |
| "max_process_vram": 0.0, | |
| "max_reserved": 2.097152, | |
| "max_allocated": 0.389632 | |
| }, | |
| "latency": { | |
| "unit": "s", | |
| "values": [ | |
| 0.07922073364257813 | |
| ], | |
| "count": 1, | |
| "total": 0.07922073364257813, | |
| "mean": 0.07922073364257813, | |
| "p50": 0.07922073364257813, | |
| "p90": 0.07922073364257813, | |
| "p95": 0.07922073364257813, | |
| "p99": 0.07922073364257813, | |
| "stdev": 0, | |
| "stdev_": 0 | |
| }, | |
| "throughput": null, | |
| "energy": { | |
| "unit": "kWh", | |
| "cpu": 0.00012269129836458303, | |
| "ram": 5.7735937616666574e-05, | |
| "gpu": 0.0001672426337940001, | |
| "total": 0.0003476698697752497 | |
| }, | |
| "efficiency": null | |
| }, | |
| "first_forward": { | |
| "memory": { | |
| "unit": "MB", | |
| "max_ram": 1177.366528, | |
| "max_global_vram": 544.538624, | |
| "max_process_vram": 0.0, | |
| "max_reserved": 23.068672, | |
| "max_allocated": 10.112 | |
| }, | |
| "latency": { | |
| "unit": "s", | |
| "values": [ | |
| 0.10682163238525391 | |
| ], | |
| "count": 1, | |
| "total": 0.10682163238525391, | |
| "mean": 0.10682163238525391, | |
| "p50": 0.10682163238525391, | |
| "p90": 0.10682163238525391, | |
| "p95": 0.10682163238525391, | |
| "p99": 0.10682163238525391, | |
| "stdev": 0, | |
| "stdev_": 0 | |
| }, | |
| "throughput": null, | |
| "energy": { | |
| "unit": "kWh", | |
| "cpu": 0.00012359152062638902, | |
| "ram": 5.8159804849999984e-05, | |
| "gpu": 0.00016922513538000002, | |
| "total": 0.00035097646085638893 | |
| }, | |
| "efficiency": null | |
| }, | |
| "forward": { | |
| "memory": { | |
| "unit": "MB", | |
| "max_ram": 1181.96224, | |
| "max_global_vram": 544.538624, | |
| "max_process_vram": 0.0, | |
| "max_reserved": 23.068672, | |
| "max_allocated": 10.112 | |
| }, | |
| "latency": { | |
| "unit": "s", | |
| "values": [ | |
| 0.002899967908859253, | |
| 0.0028088319301605223, | |
| 0.0027637760639190674, | |
| 0.0027555840015411376, | |
| 0.0027688961029052736, | |
| 0.0027514879703521727, | |
| 0.002867199897766113, | |
| 0.002894848108291626, | |
| 0.0028487679958343506, | |
| 0.002829312086105347, | |
| 0.0028518400192260743, | |
| 0.002871295928955078, | |
| 0.0028641281127929686, | |
| 0.002909183979034424, | |
| 0.0029317119121551514, | |
| 0.0028825600147247316, | |
| 0.0028149759769439697, | |
| 0.002861056089401245, | |
| 0.0028354880809783934, | |
| 0.002865216016769409, | |
| 0.002855967998504639, | |
| 0.002826240062713623, | |
| 0.00283238410949707, | |
| 0.002807807922363281, | |
| 0.0028743679523468017, | |
| 0.0028642239570617675, | |
| 0.002876415967941284, | |
| 0.002861056089401245, | |
| 0.002807807922363281, | |
| 0.0027217919826507567, | |
| 0.002642944097518921, | |
| 0.0026655359268188475, | |
| 0.002624511957168579, | |
| 0.0025958399772644043, | |
| 0.002606080055236816, | |
| 0.002580480098724365, | |
| 0.002555903911590576, | |
| 0.0026173439025878906, | |
| 0.0026695361137390136, | |
| 0.0026491520404815674, | |
| 0.002859008073806763, | |
| 0.0026808319091796875, | |
| 0.002661375999450684, | |
| 0.002669568061828613, | |
| 0.0026767361164093018, | |
| 0.002607072114944458, | |
| 0.002555840015411377, | |
| 0.0025415680408477784, | |
| 0.0025180160999298097, | |
| 0.0025323519706726074, | |
| 0.002550784111022949, | |
| 0.0025210878849029543, | |
| 0.002554879903793335, | |
| 0.002577408075332642, | |
| 0.002577408075332642, | |
| 0.0025702400207519532, | |
| 0.002584575891494751, | |
| 0.002565119981765747, | |
| 0.0025671679973602295, | |
| 0.0025876479148864745, | |
| 0.002628607988357544, | |
| 0.002687072038650513, | |
| 0.0027248640060424803, | |
| 0.002693120002746582, | |
| 0.002703360080718994, | |
| 0.0027392001152038575, | |
| 0.0027054080963134766, | |
| 0.0027258880138397216, | |
| 0.002711551904678345, | |
| 0.0026664960384368895, | |
| 0.0027648000717163087, | |
| 0.0026972160339355468, | |
| 0.002662400007247925, | |
| 0.002678783893585205, | |
| 0.0026449921131134033, | |
| 0.0025856640338897704, | |
| 0.002702336072921753, | |
| 0.0026562559604644776, | |
| 0.0025569279193878173, | |
| 0.0025876479148864745, | |
| 0.0025866239070892333, | |
| 0.0025231359004974367, | |
| 0.002603008031845093, | |
| 0.0027555840015411376, | |
| 0.002776063919067383, | |
| 0.0028005759716033937, | |
| 0.0027648000717163087, | |
| 0.002722815990447998, | |
| 0.002747391939163208, | |
| 0.0028518400192260743, | |
| 0.0027453439235687258, | |
| 0.0026972160339355468, | |
| 0.0027453439235687258, | |
| 0.002753535985946655, | |
| 0.0026890239715576174, | |
| 0.002736128091812134, | |
| 0.002766848087310791, | |
| 0.0026920959949493406, | |
| 0.002694144010543823, | |
| 0.002624511957168579, | |
| 0.0026071040630340574, | |
| 0.0026357760429382322, | |
| 0.0026521599292755127, | |
| 0.0026408960819244384, | |
| 0.0026460158824920654, | |
| 0.0027289280891418456, | |
| 0.0026767361164093018, | |
| 0.002638848066329956, | |
| 0.002644927978515625, | |
| 0.002663424015045166, | |
| 0.0026767361164093018, | |
| 0.002706432104110718, | |
| 0.002732032060623169, | |
| 0.002659359931945801, | |
| 0.0025927679538726807, | |
| 0.0025681920051574708, | |
| 0.00252620792388916, | |
| 0.0025456640720367433, | |
| 0.002540544033050537, | |
| 0.0025671679973602295, | |
| 0.0025549120903015136, | |
| 0.002540544033050537, | |
| 0.0025702400207519532, | |
| 0.0025712640285491944, | |
| 0.0026449921131134033, | |
| 0.002698240041732788, | |
| 0.002645024061203003, | |
| 0.002597887992858887, | |
| 0.0025917439460754394, | |
| 0.002580480098724365, | |
| 0.002694144010543823, | |
| 0.0026204159259796142, | |
| 0.002613248109817505, | |
| 0.002580480098724365, | |
| 0.002589695930480957, | |
| 0.002589695930480957, | |
| 0.0025825281143188475, | |
| 0.0026255359649658204, | |
| 0.0026357760429382322, | |
| 0.0025763840675354006, | |
| 0.0025815041065216063, | |
| 0.00263372802734375, | |
| 0.002573312044143677, | |
| 0.0026112000942230223, | |
| 0.0026224639415740967, | |
| 0.002623487949371338, | |
| 0.002687999963760376, | |
| 0.00268287992477417, | |
| 0.0027013120651245117, | |
| 0.0028057599067687986, | |
| 0.0027944960594177247, | |
| 0.002736128091812134, | |
| 0.002756608009338379, | |
| 0.002737152099609375, | |
| 0.0027289600372314453, | |
| 0.002737152099609375, | |
| 0.0027340800762176514, | |
| 0.0027740159034729006, | |
| 0.002762752056121826, | |
| 0.002723839998245239, | |
| 0.002643968105316162, | |
| 0.0026265599727630616, | |
| 0.0026798079013824463, | |
| 0.0026296319961547853, | |
| 0.002561023950576782, | |
| 0.002549760103225708, | |
| 0.0025702400207519532, | |
| 0.0025620479583740234, | |
| 0.002702336072921753, | |
| 0.0026829121112823488, | |
| 0.0026204159259796142, | |
| 0.002632704019546509, | |
| 0.002693120002746582, | |
| 0.0026408960819244384, | |
| 0.0025589759349822997, | |
| 0.0025569279193878173, | |
| 0.002544640064239502, | |
| 0.0025886719226837157, | |
| 0.002619391918182373, | |
| 0.0025712640285491944, | |
| 0.002613248109817505, | |
| 0.0026122241020202636, | |
| 0.0025866239070892333, | |
| 0.0026255359649658204, | |
| 0.0026408960819244384, | |
| 0.0025876479148864745, | |
| 0.0025466880798339846, | |
| 0.0025477120876312258, | |
| 0.0025702400207519532, | |
| 0.0025681920051574708, | |
| 0.002530303955078125, | |
| 0.0025456640720367433, | |
| 0.002535423994064331, | |
| 0.0025323519706726074, | |
| 0.0025466880798339846, | |
| 0.002564095973968506, | |
| 0.0025477120876312258, | |
| 0.002590719938278198, | |
| 0.0031580159664154053, | |
| 0.0028538880348205568, | |
| 0.0028477439880371094, | |
| 0.003284991979598999, | |
| 0.0032880640029907225, | |
| 0.0035174400806427, | |
| 0.003453952074050903, | |
| 0.004067327976226807, | |
| 0.002998271942138672, | |
| 0.0028610880374908445, | |
| 0.0027054080963134766, | |
| 0.002604032039642334, | |
| 0.0026746881008148193, | |
| 0.002653183937072754, | |
| 0.0026112000942230223, | |
| 0.002662400007247925, | |
| 0.002653183937072754, | |
| 0.002619391918182373, | |
| 0.002638848066329956, | |
| 0.0026593279838562013, | |
| 0.0026009600162506105, | |
| 0.00268287992477417, | |
| 0.0026511359214782715, | |
| 0.002628607988357544, | |
| 0.002642944097518921, | |
| 0.0026603519916534426, | |
| 0.0026511681079864503, | |
| 0.0026491520404815674, | |
| 0.0027002880573272704, | |
| 0.0026716160774230956, | |
| 0.002669568061828613, | |
| 0.002597887992858887, | |
| 0.0025784320831298826, | |
| 0.0026122241020202636, | |
| 0.0025630719661712646, | |
| 0.002569216012954712, | |
| 0.0025712640285491944, | |
| 0.002580480098724365, | |
| 0.0025589759349822997, | |
| 0.0025763840675354006, | |
| 0.002561023950576782, | |
| 0.0025917439460754394, | |
| 0.002707456111907959, | |
| 0.0026603519916534426, | |
| 0.002594815969467163, | |
| 0.00264083194732666, | |
| 0.002686975955963135, | |
| 0.002653183937072754, | |
| 0.0027156479358673097, | |
| 0.0028559360504150392, | |
| 0.0026818559169769288, | |
| 0.0026972160339355468, | |
| 0.0027013120651245117, | |
| 0.002662400007247925, | |
| 0.00265830397605896, | |
| 0.003166208028793335, | |
| 0.003619839906692505, | |
| 0.003663872003555298, | |
| 0.002850816011428833, | |
| 0.003502079963684082, | |
| 0.0034734079837799073, | |
| 0.00276582407951355, | |
| 0.0027299840450286865, | |
| 0.002751552104949951, | |
| 0.0030935680866241455, | |
| 0.002778111934661865, | |
| 0.002752511978149414, | |
| 0.002840575933456421, | |
| 0.0027002880573272704, | |
| 0.0026859519481658937, | |
| 0.0025999360084533693, | |
| 0.0026306560039520265, | |
| 0.002672640085220337, | |
| 0.002687999963760376, | |
| 0.0026521599292755127, | |
| 0.0026316800117492677, | |
| 0.002610176086425781, | |
| 0.002741247892379761, | |
| 0.0026910719871521, | |
| 0.002642911911010742, | |
| 0.00265830397605896, | |
| 0.0026357760429382322, | |
| 0.002577408075332642, | |
| 0.0026122241020202636, | |
| 0.002573312044143677, | |
| 0.002569216012954712, | |
| 0.0025825281143188475, | |
| 0.00260915207862854, | |
| 0.0025804479122161867, | |
| 0.002590719938278198, | |
| 0.00253439998626709, | |
| 0.0025241599082946775, | |
| 0.0025221118927001955, | |
| 0.0025835518836975096, | |
| 0.0025958399772644043, | |
| 0.002656224012374878, | |
| 0.002664448022842407, | |
| 0.002590719938278198, | |
| 0.0025681920051574708, | |
| 0.0028641281127929686, | |
| 0.0027453439235687258, | |
| 0.00265830397605896, | |
| 0.0026767361164093018, | |
| 0.0026204159259796142, | |
| 0.0026951680183410643, | |
| 0.002698240041732788, | |
| 0.0026316800117492677, | |
| 0.0029173760414123533, | |
| 0.002653183937072754, | |
| 0.0025876479148864745, | |
| 0.002576351881027222, | |
| 0.002623487949371338, | |
| 0.0025876479148864745, | |
| 0.002598912000656128, | |
| 0.002648128032684326, | |
| 0.002630624055862427, | |
| 0.00252620792388916, | |
| 0.00253439998626709, | |
| 0.002514944076538086, | |
| 0.0025466880798339846, | |
| 0.0025569279193878173, | |
| 0.002520064115524292, | |
| 0.0025538558959960936, | |
| 0.002590719938278198, | |
| 0.00260915207862854, | |
| 0.002597887992858887, | |
| 0.0025763840675354006, | |
| 0.002654207944869995, | |
| 0.0026112000942230223, | |
| 0.002573312044143677, | |
| 0.002686975955963135, | |
| 0.0025251200199127195, | |
| 0.0025046401023864746, | |
| 0.002535423994064331, | |
| 0.0025148799419403077, | |
| 0.002505728006362915, | |
| 0.0025159680843353273, | |
| 0.0025251839160919188, | |
| 0.0024985599517822264, | |
| 0.002530303955078125, | |
| 0.0025026559829711913, | |
| 0.0025281920433044432, | |
| 0.0025169920921325685, | |
| 0.002505728006362915, | |
| 0.0025118720531463624, | |
| 0.0025169920921325685, | |
| 0.0025118720531463624, | |
| 0.0025169920921325685, | |
| 0.0025251839160919188, | |
| 0.002498528003692627, | |
| 0.0025026559829711913, | |
| 0.0024872961044311525, | |
| 0.002513920068740845, | |
| 0.0025088000297546387, | |
| 0.0024954879283905027, | |
| 0.002520064115524292, | |
| 0.0025159680843353273, | |
| 0.002497535943984985, | |
| 0.00250982403755188, | |
| 0.0024934399127960207, | |
| 0.002505728006362915, | |
| 0.0025036799907684325, | |
| 0.0024862720966339113, | |
| 0.0025169920921325685, | |
| 0.0025159680843353273, | |
| 0.0025866239070892333, | |
| 0.002958336114883423, | |
| 0.0025927679538726807, | |
| 0.002559999942779541, | |
| 0.0025763840675354006, | |
| 0.002525248050689697, | |
| 0.00250163197517395 | |
| ], | |
| "count": 370, | |
| "total": 0.9886517477035511, | |
| "mean": 0.002672031750550141, | |
| "p50": 0.0026347520351409914, | |
| "p90": 0.0028509184122085572, | |
| "p95": 0.0028893184661865235, | |
| "p99": 0.003506841599941254, | |
| "stdev": 0.00017988378053920316, | |
| "stdev_": 6.732097419956448 | |
| }, | |
| "throughput": { | |
| "unit": "samples/s", | |
| "value": 748.4940998879308 | |
| }, | |
| "energy": { | |
| "unit": "kWh", | |
| "cpu": 3.190880788851291e-08, | |
| "ram": 1.5012750375374638e-08, | |
| "gpu": 4.5143429508108295e-08, | |
| "total": 9.206498777199577e-08 | |
| }, | |
| "efficiency": { | |
| "unit": "samples/kWh", | |
| "value": 21723784.995802257 | |
| } | |
| } | |
| } | |
| } |