
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
356a09f
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.4.1+cu124", | |
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend", | |
"task": "fill-mask", | |
"library": "transformers", | |
"model_type": "bert", | |
"model": "google-bert/bert-base-uncased", | |
"processor": "google-bert/bert-base-uncased", | |
"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": 1, | |
"num_choices": 2, | |
"sequence_length": 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.261056, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.10.224-212.876.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.4.0", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.44.2", | |
"transformers_commit": null, | |
"accelerate_version": "0.34.2", | |
"accelerate_commit": null, | |
"diffusers_version": "0.30.3", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.9", | |
"timm_commit": null, | |
"peft_version": "0.12.0", | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 792.772608, | |
"max_global_vram": 1226.309632, | |
"max_process_vram": 0.0, | |
"max_reserved": 589.299712, | |
"max_allocated": 533.571072 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 7.93738037109375, | |
"mean": 7.93738037109375, | |
"stdev": 0.0, | |
"p50": 7.93738037109375, | |
"p90": 7.93738037109375, | |
"p95": 7.93738037109375, | |
"p99": 7.93738037109375, | |
"values": [ | |
7.93738037109375 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 2.393100377220334e-06, | |
"ram": 1.2917708448586375e-06, | |
"gpu": 3.4111138400017005e-06, | |
"total": 7.095985062080671e-06 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1048.12544, | |
"max_global_vram": 1236.795392, | |
"max_process_vram": 0.0, | |
"max_reserved": 589.299712, | |
"max_allocated": 449.025024 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 185, | |
"total": 1.00051366853714, | |
"mean": 0.005408181992092648, | |
"stdev": 0.00018803271929113954, | |
"p50": 0.005408768177032471, | |
"p90": 0.005573427200317382, | |
"p95": 0.005715763092041015, | |
"p99": 0.006095175724029541, | |
"values": [ | |
0.006074368000030517, | |
0.006161407947540283, | |
0.005974016189575195, | |
0.005923840045928955, | |
0.0058429441452026365, | |
0.005858304023742676, | |
0.005657599925994873, | |
0.0062464637756347655, | |
0.005508096218109131, | |
0.005228544235229492, | |
0.005183487892150879, | |
0.0052008957862854, | |
0.005139455795288086, | |
0.0051363840103149415, | |
0.005157887935638428, | |
0.005112832069396973, | |
0.005146624088287354, | |
0.005108736038208008, | |
0.005126143932342529, | |
0.005097472190856934, | |
0.005152768135070801, | |
0.00515174388885498, | |
0.005163008213043213, | |
0.0051773438453674315, | |
0.005150720119476319, | |
0.005198847770690918, | |
0.005174272060394287, | |
0.005190656185150146, | |
0.005186560153961181, | |
0.0051476478576660155, | |
0.005201920032501221, | |
0.00515174388885498, | |
0.00522649621963501, | |
0.005182464122772217, | |
0.005172224044799805, | |
0.005155839920043945, | |
0.0051998720169067385, | |
0.005190656185150146, | |
0.005180416107177735, | |
0.005164031982421875, | |
0.005192704200744629, | |
0.005163008213043213, | |
0.005172224044799805, | |
0.005146624088287354, | |
0.005188608169555664, | |
0.005174272060394287, | |
0.005163008213043213, | |
0.00535859203338623, | |
0.0056483840942382815, | |
0.005421055793762207, | |
0.0054876160621643065, | |
0.005449728012084961, | |
0.005435391902923584, | |
0.005401599884033203, | |
0.005411839962005615, | |
0.005443583965301513, | |
0.006082560062408447, | |
0.005509119987487793, | |
0.005412864208221436, | |
0.005402624130249023, | |
0.005441535949707031, | |
0.0054282240867614745, | |
0.005375999927520752, | |
0.005436416149139404, | |
0.0054271998405456545, | |
0.005414976119995117, | |
0.005439487934112549, | |
0.005442560195922852, | |
0.005403647899627686, | |
0.005406720161437988, | |
0.00541593599319458, | |
0.005389311790466309, | |
0.005416959762573242, | |
0.0053975038528442385, | |
0.005402624130249023, | |
0.005379072189331055, | |
0.005387263774871826, | |
0.005420032024383545, | |
0.005404672145843506, | |
0.00538316822052002, | |
0.005425151824951172, | |
0.005391359806060791, | |
0.005398528099060058, | |
0.005431295871734619, | |
0.005402624130249023, | |
0.005389311790466309, | |
0.005408768177032471, | |
0.005400576114654541, | |
0.005473279953002929, | |
0.005405695915222168, | |
0.005401599884033203, | |
0.0054271998405456545, | |
0.00601087999343872, | |
0.0054282240867614745, | |
0.005414912223815918, | |
0.005410816192626953, | |
0.005391359806060791, | |
0.005404672145843506, | |
0.005454847812652588, | |
0.005410816192626953, | |
0.005379072189331055, | |
0.005422080039978027, | |
0.005433343887329102, | |
0.005416959762573242, | |
0.005472256183624268, | |
0.005407743930816651, | |
0.005432320117950439, | |
0.005407743930816651, | |
0.005468160152435303, | |
0.005407743930816651, | |
0.005388288021087646, | |
0.005399551868438721, | |
0.0053975038528442385, | |
0.005384191989898681, | |
0.005417984008789062, | |
0.005396480083465576, | |
0.005453824043273926, | |
0.005411839962005615, | |
0.005406720161437988, | |
0.005455872058868408, | |
0.005387263774871826, | |
0.005399551868438721, | |
0.005468160152435303, | |
0.005470208168029785, | |
0.005414912223815918, | |
0.005420032024383545, | |
0.005441535949707031, | |
0.005434368133544922, | |
0.005448703765869141, | |
0.005443583965301513, | |
0.005453824043273926, | |
0.005406720161437988, | |
0.005436416149139404, | |
0.005446656227111817, | |
0.005437439918518067, | |
0.005445631980895996, | |
0.005618688106536865, | |
0.005529600143432617, | |
0.0055808000564575196, | |
0.0055623679161071774, | |
0.0057190399169921875, | |
0.005702655792236328, | |
0.005586944103240967, | |
0.005654528141021729, | |
0.005647359848022461, | |
0.005545983791351319, | |
0.0054568958282470706, | |
0.005408768177032471, | |
0.005411839962005615, | |
0.00546611213684082, | |
0.005398528099060058, | |
0.005429247856140137, | |
0.00563097620010376, | |
0.005414912223815918, | |
0.0054579200744628905, | |
0.005412864208221436, | |
0.005398528099060058, | |
0.0054579200744628905, | |
0.005411839962005615, | |
0.0054241280555725096, | |
0.005454847812652588, | |
0.005393407821655274, | |
0.005438464164733887, | |
0.00537497615814209, | |
0.005390336036682129, | |
0.005413887977600097, | |
0.0054282240867614745, | |
0.005398528099060058, | |
0.0054241280555725096, | |
0.005390336036682129, | |
0.005429247856140137, | |
0.005471231937408447, | |
0.005414912223815918, | |
0.005398528099060058, | |
0.005407743930816651, | |
0.005404672145843506, | |
0.00538316822052002, | |
0.005417984008789062, | |
0.005347328186035156, | |
0.005292031764984131, | |
0.005342207908630371, | |
0.005313536167144775, | |
0.00532480001449585, | |
0.005319680213928223, | |
0.0053309440612792965 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 184.90502010881087 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 6.263347696935668e-08, | |
"ram": 3.422536923027018e-08, | |
"gpu": 1.3094308721089673e-07, | |
"total": 2.2780193341052358e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 4389778.370308615 | |
} | |
} | |
} | |
} |