
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
57fc915
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.3.0+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", | |
"start_method": "spawn" | |
}, | |
"environment": { | |
"cpu": " AMD EPYC 7R32", | |
"cpu_count": 16, | |
"cpu_ram_mb": 66697.29792, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.10.215-203.850.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.2.0", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.40.2", | |
"transformers_commit": null, | |
"accelerate_version": "0.30.1", | |
"accelerate_commit": null, | |
"diffusers_version": "0.27.2", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.3", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 878.256128, | |
"max_global_vram": 1229.45536, | |
"max_process_vram": 0.0, | |
"max_reserved": 591.396864, | |
"max_allocated": 449.269248 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 149, | |
"total": 1.0034554867744445, | |
"mean": 0.0067346005823788226, | |
"stdev": 0.0001567659076599875, | |
"p50": 0.006687744140625, | |
"p90": 0.0069916672706604, | |
"p95": 0.007040819263458252, | |
"p99": 0.007122616310119629, | |
"values": [ | |
0.007097343921661377, | |
0.006822912216186523, | |
0.007045119762420654, | |
0.00689356803894043, | |
0.006842368125915528, | |
0.006880256175994873, | |
0.00689356803894043, | |
0.00675328016281128, | |
0.0067123198509216305, | |
0.007117824077606201, | |
0.006979584217071533, | |
0.006969344139099121, | |
0.006959104061126709, | |
0.00704204797744751, | |
0.007001088142395019, | |
0.006871039867401123, | |
0.006914048194885254, | |
0.007029759883880615, | |
0.007038976192474365, | |
0.007127039909362793, | |
0.0070225920677185055, | |
0.007002111911773682, | |
0.007228415966033935, | |
0.006990848064422607, | |
0.007078911781311035, | |
0.0067717118263244626, | |
0.0067338237762451176, | |
0.006703104019165039, | |
0.0067358717918396, | |
0.006738944053649902, | |
0.00667852783203125, | |
0.006779903888702392, | |
0.006721536159515381, | |
0.006703104019165039, | |
0.006706175804138184, | |
0.007058432102203369, | |
0.006937600135803222, | |
0.006872064113616944, | |
0.006994944095611572, | |
0.006903808116912841, | |
0.006890495777130127, | |
0.006917119979858399, | |
0.006709248065948486, | |
0.006739967823028564, | |
0.006709248065948486, | |
0.006709248065948486, | |
0.006732800006866455, | |
0.006670335769653321, | |
0.006651904106140137, | |
0.006618112087249756, | |
0.0066826238632202144, | |
0.006726655960083008, | |
0.0066826238632202144, | |
0.006645760059356689, | |
0.006685696125030518, | |
0.00662937593460083, | |
0.006591487884521485, | |
0.006649856090545654, | |
0.006744063854217529, | |
0.0066447358131408694, | |
0.00676966381072998, | |
0.0066713600158691405, | |
0.006591487884521485, | |
0.006609920024871826, | |
0.006638591766357422, | |
0.006625279903411865, | |
0.006669312000274658, | |
0.006652927875518798, | |
0.006616064071655273, | |
0.006670335769653321, | |
0.006732800006866455, | |
0.00675328016281128, | |
0.006710271835327148, | |
0.006747136116027832, | |
0.006692863941192627, | |
0.006691840171813965, | |
0.006717440128326416, | |
0.006639616012573242, | |
0.006643712043762207, | |
0.006920191764831543, | |
0.006964223861694336, | |
0.006829055786132812, | |
0.00672870397567749, | |
0.006816768169403077, | |
0.006851583957672119, | |
0.006773759841918945, | |
0.006633471965789795, | |
0.006631423950195312, | |
0.006822912216186523, | |
0.0067717118263244626, | |
0.006847487926483154, | |
0.006872064113616944, | |
0.006939648151397705, | |
0.006975488185882568, | |
0.0069959678649902345, | |
0.006845439910888672, | |
0.006687744140625, | |
0.0067010560035705566, | |
0.006688767910003662, | |
0.0066109437942504885, | |
0.0066109437942504885, | |
0.006603775978088379, | |
0.006672383785247803, | |
0.006550528049468994, | |
0.006621183872222901, | |
0.006639616012573242, | |
0.00657203197479248, | |
0.00657919979095459, | |
0.006625279903411865, | |
0.006754303932189941, | |
0.00659660816192627, | |
0.0065771517753601075, | |
0.0065443840026855465, | |
0.006576128005981445, | |
0.006575104236602783, | |
0.006654975891113281, | |
0.0066344962120056155, | |
0.006590464115142822, | |
0.006605823993682861, | |
0.006619135856628418, | |
0.00658022403717041, | |
0.006574079990386963, | |
0.006597631931304931, | |
0.006568960189819336, | |
0.006568960189819336, | |
0.00667955207824707, | |
0.006553599834442139, | |
0.006556672096252441, | |
0.006618112087249756, | |
0.006584320068359375, | |
0.006589439868927002, | |
0.006593535900115967, | |
0.006550528049468994, | |
0.006584320068359375, | |
0.006586368083953857, | |
0.006568960189819336, | |
0.0065781760215759275, | |
0.006657023906707763, | |
0.006564864158630371, | |
0.0066304001808166506, | |
0.006576128005981445, | |
0.006568960189819336, | |
0.006606847763061524, | |
0.00658841609954834, | |
0.006601727962493896, | |
0.006597631931304931, | |
0.006562816143035889, | |
0.0065812478065490725, | |
0.006645760059356689 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 148.48690546199788 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 7.743160297841203e-08, | |
"ram": 4.233274612131793e-08, | |
"gpu": 1.4186830521568493e-07, | |
"total": 2.616326543154149e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3822152.867793162 | |
} | |
} | |
} | |
} |