
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
e4ecad6
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": "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": {}, | |
"hub_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, | |
"latency": true, | |
"memory": 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.293824, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.10.219-208.866.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.3.1", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.42.3", | |
"transformers_commit": null, | |
"accelerate_version": "0.32.1", | |
"accelerate_commit": null, | |
"diffusers_version": "0.29.2", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.7", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 874.369024, | |
"max_global_vram": 1231.552512, | |
"max_process_vram": 0.0, | |
"max_reserved": 591.396864, | |
"max_allocated": 449.261056 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 183, | |
"total": 1.001265183925628, | |
"mean": 0.00547139444768103, | |
"stdev": 0.00041074007759160067, | |
"p50": 0.00535859203338623, | |
"p90": 0.005760204792022705, | |
"p95": 0.005817036962509155, | |
"p99": 0.007644201059341431, | |
"values": [ | |
0.008116224288940429, | |
0.007709695816040039, | |
0.007629824161529541, | |
0.00744755220413208, | |
0.005636096000671387, | |
0.005752831935882568, | |
0.005814271926879883, | |
0.005817344188690185, | |
0.005753856182098388, | |
0.005697535991668701, | |
0.0056852478981018065, | |
0.005582848072052002, | |
0.00568012809753418, | |
0.005731328010559082, | |
0.005733376026153565, | |
0.005777408123016357, | |
0.005697535991668701, | |
0.00577023983001709, | |
0.005761023998260498, | |
0.005805056095123291, | |
0.0059269118309021, | |
0.0057825279235839844, | |
0.005728256225585937, | |
0.005705728054046631, | |
0.005706751823425293, | |
0.005601280212402344, | |
0.005645311832427978, | |
0.005604351997375488, | |
0.005691391944885254, | |
0.005735424041748047, | |
0.005720064163208007, | |
0.005831679821014404, | |
0.005933055877685547, | |
0.00576204776763916, | |
0.005677055835723877, | |
0.0057784318923950195, | |
0.005698560237884521, | |
0.005697535991668701, | |
0.005670911788940429, | |
0.005637119770050049, | |
0.005756927967071533, | |
0.005657599925994873, | |
0.005709824085235596, | |
0.005673984050750733, | |
0.005658624172210694, | |
0.005742591857910156, | |
0.0057784318923950195, | |
0.005844992160797119, | |
0.005720064163208007, | |
0.005715968132019043, | |
0.005694464206695556, | |
0.005646336078643799, | |
0.005734399795532226, | |
0.005628928184509278, | |
0.005545983791351319, | |
0.005473279953002929, | |
0.005400576114654541, | |
0.005472256183624268, | |
0.0054876160621643065, | |
0.0055203838348388675, | |
0.0057190399169921875, | |
0.005350399971008301, | |
0.005493760108947754, | |
0.005606400012969971, | |
0.005594111919403076, | |
0.005549056053161621, | |
0.005482495784759522, | |
0.005612544059753418, | |
0.005547008037567139, | |
0.005571584224700928, | |
0.005631999969482422, | |
0.005583871841430664, | |
0.005692416191101074, | |
0.005485568046569824, | |
0.005387263774871826, | |
0.005931007862091065, | |
0.005653503894805908, | |
0.005389311790466309, | |
0.005329919815063477, | |
0.0053647360801696775, | |
0.005421055793762207, | |
0.005356544017791748, | |
0.00537497615814209, | |
0.005419007778167725, | |
0.0053340158462524415, | |
0.005356544017791748, | |
0.005431295871734619, | |
0.005345280170440674, | |
0.0053350400924682614, | |
0.005347328186035156, | |
0.0053309440612792965, | |
0.005352447986602784, | |
0.00535859203338623, | |
0.005338111877441406, | |
0.005325823783874512, | |
0.005362688064575195, | |
0.0053309440612792965, | |
0.005321728229522705, | |
0.0053647360801696775, | |
0.005318655967712403, | |
0.005328896045684814, | |
0.005332992076873779, | |
0.005337088108062744, | |
0.00530944013595581, | |
0.005380095958709717, | |
0.005343232154846191, | |
0.0053534722328186036, | |
0.005391359806060791, | |
0.005355519771575928, | |
0.005329919815063477, | |
0.005386240005493164, | |
0.005322751998901368, | |
0.005322751998901368, | |
0.005355519771575928, | |
0.005338111877441406, | |
0.0053350400924682614, | |
0.005354496002197265, | |
0.0053534722328186036, | |
0.005336063861846924, | |
0.0053821439743042, | |
0.005321728229522705, | |
0.005338111877441406, | |
0.005385216236114502, | |
0.005347328186035156, | |
0.005340159893035889, | |
0.0053647360801696775, | |
0.005404672145843506, | |
0.005142528057098389, | |
0.005210112094879151, | |
0.0051476478576660155, | |
0.005149695873260498, | |
0.00515993595123291, | |
0.005129216194152832, | |
0.005135359764099121, | |
0.005135359764099121, | |
0.005157887935638428, | |
0.005165056228637695, | |
0.00511897611618042, | |
0.0052336640357971195, | |
0.005130239963531494, | |
0.005158912181854248, | |
0.005141503810882568, | |
0.0051701760292053225, | |
0.005149695873260498, | |
0.005156864166259765, | |
0.005185535907745361, | |
0.005145599842071533, | |
0.0051333122253417966, | |
0.005164031982421875, | |
0.005142528057098389, | |
0.005148672103881836, | |
0.0051435518264770505, | |
0.005179391860961914, | |
0.005141503810882568, | |
0.005127168178558349, | |
0.0051701760292053225, | |
0.005150720119476319, | |
0.0051476478576660155, | |
0.005203968048095703, | |
0.005157887935638428, | |
0.005157887935638428, | |
0.005148672103881836, | |
0.005182464122772217, | |
0.005142528057098389, | |
0.005155839920043945, | |
0.005163008213043213, | |
0.005184512138366699, | |
0.00515174388885498, | |
0.005153791904449463, | |
0.005183487892150879, | |
0.00515993595123291, | |
0.0051404800415039064, | |
0.005149695873260498, | |
0.005156864166259765, | |
0.005161983966827393, | |
0.005128191947937012, | |
0.005171199798583984, | |
0.005126143932342529, | |
0.005134335994720459, | |
0.005179391860961914, | |
0.0051743040084838866, | |
0.005127168178558349, | |
0.0051476478576660155 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 182.7687638978095 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 6.283610305808559e-08, | |
"ram": 3.4353509505799005e-08, | |
"gpu": 1.3189310962963064e-07, | |
"total": 2.290827221935152e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 4365235.363124683 | |
} | |
} | |
} | |
} |