
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
15b8344
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": {}, | |
"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, | |
"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.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.4", | |
"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": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 712.3968, | |
"max_global_vram": 1218.9696, | |
"max_process_vram": 0.0, | |
"max_reserved": 589.299712, | |
"max_allocated": 533.57312 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 7.1900263671875, | |
"mean": 7.1900263671875, | |
"stdev": 0.0, | |
"p50": 7.1900263671875, | |
"p90": 7.1900263671875, | |
"p95": 7.1900263671875, | |
"p99": 7.1900263671875, | |
"values": [ | |
7.1900263671875 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 9.226721194055345e-07, | |
"ram": 4.895895393396662e-07, | |
"gpu": 1.865001491999866e-06, | |
"total": 3.277263150745067e-06 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 879.034368, | |
"max_global_vram": 1229.45536, | |
"max_process_vram": 0.0, | |
"max_reserved": 589.299712, | |
"max_allocated": 449.025024 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 190, | |
"total": 0.9997456622123713, | |
"mean": 0.005261819274801957, | |
"stdev": 0.0002683085478944741, | |
"p50": 0.005213183879852295, | |
"p90": 0.005304422283172607, | |
"p95": 0.005398732876777649, | |
"p99": 0.006409656367301923, | |
"values": [ | |
0.007515135765075683, | |
0.007573503971099854, | |
0.006273024082183838, | |
0.005754879951477051, | |
0.005783552169799804, | |
0.005697535991668701, | |
0.006020095825195313, | |
0.00522649621963501, | |
0.005282815933227539, | |
0.005223423957824707, | |
0.005294079780578613, | |
0.005250048160552978, | |
0.005244927883148193, | |
0.00530944013595581, | |
0.0052367358207702636, | |
0.0052930560111999515, | |
0.005238783836364746, | |
0.005295104026794434, | |
0.005198847770690918, | |
0.005325823783874512, | |
0.005202943801879883, | |
0.005291007995605469, | |
0.005234687805175781, | |
0.005291007995605469, | |
0.005213183879852295, | |
0.005286911964416504, | |
0.005220352172851562, | |
0.0052930560111999515, | |
0.005192704200744629, | |
0.005287936210632324, | |
0.0050657281875610355, | |
0.005188608169555664, | |
0.005123072147369385, | |
0.0052111358642578124, | |
0.005121024131774903, | |
0.0052111358642578124, | |
0.005128191947937012, | |
0.005280767917633057, | |
0.0052070398330688475, | |
0.005277696132659912, | |
0.00516096019744873, | |
0.0052715520858764645, | |
0.0051773438453674315, | |
0.005251071929931641, | |
0.005224448204040527, | |
0.005277696132659912, | |
0.0052070398330688475, | |
0.0052367358207702636, | |
0.005222400188446045, | |
0.0052408318519592285, | |
0.00521830415725708, | |
0.005203968048095703, | |
0.0053043198585510255, | |
0.0051476478576660155, | |
0.005278719902038574, | |
0.005172224044799805, | |
0.005305344104766845, | |
0.005193727970123291, | |
0.005286911964416504, | |
0.0051435518264770505, | |
0.005268479824066162, | |
0.00515993595123291, | |
0.005292031764984131, | |
0.0051701760292053225, | |
0.005322751998901368, | |
0.005198847770690918, | |
0.005215231895446777, | |
0.005197824001312256, | |
0.005237760066986084, | |
0.0051660799980163576, | |
0.005239808082580567, | |
0.005238783836364746, | |
0.005231616020202637, | |
0.00536678409576416, | |
0.00522649621963501, | |
0.005228544235229492, | |
0.005213183879852295, | |
0.0051998720169067385, | |
0.005251071929931641, | |
0.0051896958351135255, | |
0.005228544235229492, | |
0.005206016063690186, | |
0.0052367358207702636, | |
0.0052008957862854, | |
0.005254144191741943, | |
0.005230591773986816, | |
0.005194752216339111, | |
0.005214208126068115, | |
0.005227519989013672, | |
0.0052111358642578124, | |
0.0051968002319335935, | |
0.005204991817474365, | |
0.005184512138366699, | |
0.005219327926635742, | |
0.005222400188446045, | |
0.005213183879852295, | |
0.005173247814178467, | |
0.005192704200744629, | |
0.005186560153961181, | |
0.005187583923339844, | |
0.005179391860961914, | |
0.005194752216339111, | |
0.0051435518264770505, | |
0.005215231895446777, | |
0.005202943801879883, | |
0.005165056228637695, | |
0.0051660799980163576, | |
0.005222400188446045, | |
0.0052111358642578124, | |
0.005187583923339844, | |
0.005189631938934326, | |
0.005216256141662597, | |
0.00515993595123291, | |
0.005175295829772949, | |
0.005180416107177735, | |
0.005189631938934326, | |
0.005169151782989502, | |
0.0051968002319335935, | |
0.005182464122772217, | |
0.005185535907745361, | |
0.005161983966827393, | |
0.00521727991104126, | |
0.005141503810882568, | |
0.00531660795211792, | |
0.005062655925750732, | |
0.00515174388885498, | |
0.005175295829772949, | |
0.005215231895446777, | |
0.005252096176147461, | |
0.005385216236114502, | |
0.005222400188446045, | |
0.005215231895446777, | |
0.005208064079284668, | |
0.005190656185150146, | |
0.0052367358207702636, | |
0.005156864166259765, | |
0.0051701760292053225, | |
0.005187583923339844, | |
0.00522547197341919, | |
0.00515174388885498, | |
0.005216256141662597, | |
0.005180416107177735, | |
0.005210112094879151, | |
0.005144576072692871, | |
0.005156864166259765, | |
0.005201920032501221, | |
0.0052674560546875, | |
0.005409791946411133, | |
0.005489664077758789, | |
0.0052336640357971195, | |
0.005195775985717774, | |
0.005219327926635742, | |
0.005178368091583252, | |
0.005310463905334473, | |
0.005258240222930908, | |
0.005232639789581299, | |
0.005228544235229492, | |
0.005249023914337158, | |
0.005195775985717774, | |
0.005215231895446777, | |
0.005305344104766845, | |
0.005184512138366699, | |
0.005203968048095703, | |
0.0052111358642578124, | |
0.0052336640357971195, | |
0.005195775985717774, | |
0.0052070398330688475, | |
0.005187583923339844, | |
0.005172224044799805, | |
0.005265408039093018, | |
0.005216256141662597, | |
0.0051773438453674315, | |
0.005232639789581299, | |
0.005295104026794434, | |
0.005509119987487793, | |
0.005210112094879151, | |
0.0051773438453674315, | |
0.005213183879852295, | |
0.005180480003356934, | |
0.005198847770690918, | |
0.005189631938934326, | |
0.005169151782989502, | |
0.005174272060394287, | |
0.005183487892150879, | |
0.005191679954528809, | |
0.00516812801361084, | |
0.005194752216339111, | |
0.005219327926635742, | |
0.005183487892150879, | |
0.005231616020202637 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 190.04833647344105 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 6.121420744221918e-08, | |
"ram": 3.345644421632684e-08, | |
"gpu": 1.3448034813402212e-07, | |
"total": 2.2915099979256815e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 4363934.702031495 | |
} | |
} | |
} | |
} |