
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
b57eb14
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.3.1+cu121", | |
"_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.25696, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.10.220-209.869.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.0", | |
"transformers_commit": null, | |
"accelerate_version": "0.33.0", | |
"accelerate_commit": null, | |
"diffusers_version": "0.30.0", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.8", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 716.132352, | |
"max_global_vram": 1218.9696, | |
"max_process_vram": 0.0, | |
"max_reserved": 589.299712, | |
"max_allocated": 533.571072 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 7.1783740234375, | |
"mean": 7.1783740234375, | |
"stdev": 0.0, | |
"p50": 7.1783740234375, | |
"p90": 7.1783740234375, | |
"p95": 7.1783740234375, | |
"p99": 7.1783740234375, | |
"values": [ | |
7.1783740234375 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 9.317716055560274e-07, | |
"ram": 4.949215110957122e-07, | |
"gpu": 0.0, | |
"total": 1.4266931166517396e-06 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 883.064832, | |
"max_global_vram": 1229.45536, | |
"max_process_vram": 0.0, | |
"max_reserved": 589.299712, | |
"max_allocated": 449.025024 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 190, | |
"total": 1.0023137583732609, | |
"mean": 0.0052753355703855824, | |
"stdev": 0.00024400769452972605, | |
"p50": 0.005298176050186157, | |
"p90": 0.005487820863723755, | |
"p95": 0.005591551899909973, | |
"p99": 0.006000240659713742, | |
"values": [ | |
0.005804031848907471, | |
0.005908480167388916, | |
0.005761023998260498, | |
0.005549056053161621, | |
0.005489664077758789, | |
0.005537792205810547, | |
0.0054579200744628905, | |
0.005527552127838135, | |
0.005451776027679443, | |
0.005385216236114502, | |
0.0054876160621643065, | |
0.005362688064575195, | |
0.005356544017791748, | |
0.005484543800354004, | |
0.005403647899627686, | |
0.005336063861846924, | |
0.005983232021331787, | |
0.005433343887329102, | |
0.005527552127838135, | |
0.005486591815948487, | |
0.0055244798660278325, | |
0.005585919857025146, | |
0.0054282240867614745, | |
0.005482495784759522, | |
0.005463039875030518, | |
0.005355519771575928, | |
0.005344255924224854, | |
0.0053012480735778805, | |
0.0053975038528442385, | |
0.005477375984191894, | |
0.005401599884033203, | |
0.005379072189331055, | |
0.00553984022140503, | |
0.005390336036682129, | |
0.005389311790466309, | |
0.005405695915222168, | |
0.005369855880737305, | |
0.005350399971008301, | |
0.005430272102355957, | |
0.005391359806060791, | |
0.005350399971008301, | |
0.005341184139251709, | |
0.005252096176147461, | |
0.005284863948822022, | |
0.005448703765869141, | |
0.006137856006622314, | |
0.005475327968597412, | |
0.005480447769165039, | |
0.005451776027679443, | |
0.00556441593170166, | |
0.005470208168029785, | |
0.005476352214813233, | |
0.005420032024383545, | |
0.00538316822052002, | |
0.005442560195922852, | |
0.005401599884033203, | |
0.00537497615814209, | |
0.005401599884033203, | |
0.005268479824066162, | |
0.0052633600234985355, | |
0.005419007778167725, | |
0.005377024173736572, | |
0.0053309440612792965, | |
0.005726208209991455, | |
0.0053944320678710935, | |
0.005346303939819336, | |
0.005380095958709717, | |
0.005249023914337158, | |
0.005338111877441406, | |
0.005454847812652588, | |
0.005327871799468994, | |
0.005455872058868408, | |
0.005351424217224121, | |
0.005259263992309571, | |
0.0053043198585510255, | |
0.005326848030090332, | |
0.005327871799468994, | |
0.005286911964416504, | |
0.005323775768280029, | |
0.005315584182739258, | |
0.0053606400489807126, | |
0.0053975038528442385, | |
0.0054282240867614745, | |
0.005469183921813964, | |
0.005411839962005615, | |
0.005385216236114502, | |
0.005463039875030518, | |
0.005420032024383545, | |
0.005328896045684814, | |
0.0053821439743042, | |
0.005369855880737305, | |
0.0053309440612792965, | |
0.005276671886444092, | |
0.005340159893035889, | |
0.005425151824951172, | |
0.0052715520858764645, | |
0.00522649621963501, | |
0.005148672103881836, | |
0.005116928100585938, | |
0.00515993595123291, | |
0.005295104026794434, | |
0.005186560153961181, | |
0.005061632156372071, | |
0.0050124797821044925, | |
0.004983808040618896, | |
0.005001215934753418, | |
0.0051998720169067385, | |
0.005239808082580567, | |
0.005238783836364746, | |
0.005326848030090332, | |
0.005796864032745362, | |
0.005596159934997558, | |
0.005724160194396972, | |
0.00547430419921875, | |
0.0053637118339538575, | |
0.00515174388885498, | |
0.005100543975830078, | |
0.005149695873260498, | |
0.005121024131774903, | |
0.005119008064270019, | |
0.005107711791992187, | |
0.00515993595123291, | |
0.005158912181854248, | |
0.005100543975830078, | |
0.005141503810882568, | |
0.0051404800415039064, | |
0.005139455795288086, | |
0.0051363840103149415, | |
0.005172224044799805, | |
0.0051138558387756345, | |
0.005125120162963868, | |
0.0051773438453674315, | |
0.005137407779693603, | |
0.0051036162376403805, | |
0.004988927841186524, | |
0.005008384227752686, | |
0.004980735778808594, | |
0.004999167919158935, | |
0.004971519947052002, | |
0.00499507188796997, | |
0.004992000102996826, | |
0.004969471931457519, | |
0.005078015804290771, | |
0.005008384227752686, | |
0.004955135822296143, | |
0.005035007953643799, | |
0.0049489917755126955, | |
0.004994048118591309, | |
0.0053975038528442385, | |
0.005061632156372071, | |
0.0050135040283203125, | |
0.0050954241752624516, | |
0.005085184097290039, | |
0.004971519947052002, | |
0.006687744140625, | |
0.005193727970123291, | |
0.005169151782989502, | |
0.00511078405380249, | |
0.005224448204040527, | |
0.005146624088287354, | |
0.0051773438453674315, | |
0.005138432025909424, | |
0.005121024131774903, | |
0.005185535907745361, | |
0.005038080215454102, | |
0.005026815891265869, | |
0.0050206718444824215, | |
0.005056511878967285, | |
0.004983808040618896, | |
0.0049797120094299315, | |
0.004955135822296143, | |
0.004985856056213379, | |
0.004987904071807861, | |
0.004975615978240967, | |
0.004967423915863037, | |
0.0050954241752624516, | |
0.004971519947052002, | |
0.004974592208862305, | |
0.0049827837944030765, | |
0.004976640224456787, | |
0.004964352130889893, | |
0.00497049617767334, | |
0.0049725441932678225, | |
0.0049827837944030765, | |
0.004969471931457519, | |
0.004964352130889893, | |
0.004957183837890625, | |
0.004984831809997559, | |
0.004986879825592041, | |
0.0049797120094299315 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 189.56140072183283 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 5.8595382033388046e-08, | |
"ram": 3.2033238112323507e-08, | |
"gpu": 1.250343091133007e-07, | |
"total": 2.1566292925901222e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 4636865.5171097815 | |
} | |
} | |
} | |
} |