
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
37a6d34
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.457216, | |
"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.98373388671875, | |
"mean": 7.98373388671875, | |
"stdev": 0.0, | |
"p50": 7.98373388671875, | |
"p90": 7.98373388671875, | |
"p95": 7.98373388671875, | |
"p99": 7.98373388671875, | |
"values": [ | |
7.98373388671875 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 2.3917015840276515e-06, | |
"ram": 1.291773976574912e-06, | |
"gpu": 3.511947253999944e-06, | |
"total": 7.195422814602508e-06 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1048.00256, | |
"max_global_vram": 1236.795392, | |
"max_process_vram": 0.0, | |
"max_reserved": 589.299712, | |
"max_allocated": 449.025024 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 181, | |
"total": 1.0017149133682248, | |
"mean": 0.005534336537945995, | |
"stdev": 0.00032811593046687886, | |
"p50": 0.0055316481590271, | |
"p90": 0.005672959804534912, | |
"p95": 0.005851136207580566, | |
"p99": 0.007023206233978258, | |
"values": [ | |
0.007910399913787843, | |
0.007987199783325195, | |
0.006801407814025879, | |
0.005938176155090332, | |
0.0058716158866882326, | |
0.005896192073822021, | |
0.005825535774230957, | |
0.00588595199584961, | |
0.005666816234588623, | |
0.005658656120300293, | |
0.005708799839019775, | |
0.005638144016265869, | |
0.005658624172210694, | |
0.005573631763458252, | |
0.005559296131134033, | |
0.00563097620010376, | |
0.005492735862731934, | |
0.005459968090057373, | |
0.005437439918518067, | |
0.005467135906219483, | |
0.00557260799407959, | |
0.005654528141021729, | |
0.005634047985076904, | |
0.005620736122131348, | |
0.005620736122131348, | |
0.005676032066345215, | |
0.005612544059753418, | |
0.005633024215698243, | |
0.005553152084350586, | |
0.00552243185043335, | |
0.0055797758102417, | |
0.005582848072052002, | |
0.005646336078643799, | |
0.005601280212402344, | |
0.00559007978439331, | |
0.0056514558792114256, | |
0.0055920639038085935, | |
0.005637119770050049, | |
0.005569536209106446, | |
0.005543968200683594, | |
0.005618688106536865, | |
0.005606400012969971, | |
0.005602303981781006, | |
0.005605375766754151, | |
0.005598207950592041, | |
0.0055316481590271, | |
0.005444608211517334, | |
0.00551526403427124, | |
0.0055285758972167965, | |
0.005532671928405761, | |
0.005611519813537597, | |
0.00552345609664917, | |
0.00552345609664917, | |
0.0055552000999450684, | |
0.0055214080810546875, | |
0.006051839828491211, | |
0.005758975982666016, | |
0.005851136207580566, | |
0.005604351997375488, | |
0.005588992118835449, | |
0.005654528141021729, | |
0.005600255966186523, | |
0.00563097620010376, | |
0.005544960021972656, | |
0.005493760108947754, | |
0.005529600143432617, | |
0.00556441593170166, | |
0.006354944229125976, | |
0.005596159934997558, | |
0.005653503894805908, | |
0.005573631763458252, | |
0.005602303981781006, | |
0.005635072231292724, | |
0.005495808124542236, | |
0.005431295871734619, | |
0.005465087890625, | |
0.00552243185043335, | |
0.005547008037567139, | |
0.005516287803649903, | |
0.005606400012969971, | |
0.005552127838134766, | |
0.005435391902923584, | |
0.005548031806945801, | |
0.005571584224700928, | |
0.00550707197189331, | |
0.0055552000999450684, | |
0.0055316481590271, | |
0.0055920639038085935, | |
0.005567488193511963, | |
0.0055316481590271, | |
0.005672959804534912, | |
0.005632063865661621, | |
0.00566374397277832, | |
0.005640192031860352, | |
0.005585919857025146, | |
0.00567193603515625, | |
0.005604351997375488, | |
0.005607423782348633, | |
0.005586944103240967, | |
0.0055797758102417, | |
0.005703680038452149, | |
0.00551423978805542, | |
0.005440512180328369, | |
0.005560319900512695, | |
0.005538815975189209, | |
0.005483520030975342, | |
0.005398528099060058, | |
0.005398528099060058, | |
0.005372928142547607, | |
0.005292031764984131, | |
0.005438464164733887, | |
0.005489664077758789, | |
0.005346303939819336, | |
0.0052367358207702636, | |
0.005277696132659912, | |
0.005227519989013672, | |
0.0052367358207702636, | |
0.00530841588973999, | |
0.005261312007904053, | |
0.005594111919403076, | |
0.005596159934997558, | |
0.005595136165618897, | |
0.005708799839019775, | |
0.005754879951477051, | |
0.005786623954772949, | |
0.005607423782348633, | |
0.005526527881622314, | |
0.005553152084350586, | |
0.005552127838134766, | |
0.005438464164733887, | |
0.00547430419921875, | |
0.005400576114654541, | |
0.005452799797058106, | |
0.005414912223815918, | |
0.00537497615814209, | |
0.005476352214813233, | |
0.005405695915222168, | |
0.00535756778717041, | |
0.00542310380935669, | |
0.005375999927520752, | |
0.00537497615814209, | |
0.005421055793762207, | |
0.005379072189331055, | |
0.005375999927520752, | |
0.005417984008789062, | |
0.005406720161437988, | |
0.00537395191192627, | |
0.005633024215698243, | |
0.005252096176147461, | |
0.005234687805175781, | |
0.005248000144958496, | |
0.005219327926635742, | |
0.005252096176147461, | |
0.005272575855255127, | |
0.005234687805175781, | |
0.0052367358207702636, | |
0.005291007995605469, | |
0.0052408318519592285, | |
0.005215231895446777, | |
0.005250048160552978, | |
0.005237760066986084, | |
0.005228544235229492, | |
0.005250048160552978, | |
0.0052705278396606445, | |
0.005243904113769531, | |
0.005228544235229492, | |
0.005268479824066162, | |
0.005228544235229492, | |
0.005228544235229492, | |
0.005275680065155029, | |
0.005224448204040527, | |
0.005228544235229492, | |
0.0052674560546875, | |
0.005201920032501221, | |
0.00521830415725708, | |
0.005253119945526123, | |
0.0052367358207702636, | |
0.005221375942230225, | |
0.0052008957862854, | |
0.005254144191741943, | |
0.005228544235229492 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 180.69013207699481 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 6.31605106826256e-08, | |
"ram": 3.448539041444924e-08, | |
"gpu": 1.3397321592553254e-07, | |
"total": 2.3161911702260742e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 4317432.916827819 | |
} | |
} | |
} | |
} |