IlyasMoutawwakil
HF staff
Upload cpu_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
5fb76a2
verified
{ | |
"config": { | |
"name": "cpu_inference_transformers_fill-mask_google-bert/bert-base-uncased", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.3.0+cpu", | |
"_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": "cpu", | |
"device_ids": null, | |
"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": false, | |
"device_isolation_action": "error", | |
"start_method": "spawn" | |
}, | |
"environment": { | |
"cpu": " AMD EPYC 7763 64-Core Processor", | |
"cpu_count": 4, | |
"cpu_ram_mb": 16757.354496, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-6.5.0-1021-azure-x86_64-with-glibc2.35", | |
"processor": "x86_64", | |
"python_version": "3.10.14", | |
"optimum_benchmark_version": "0.2.0", | |
"optimum_benchmark_commit": "420ddf2d65dc94a93273eacd14ac0bd4f4b6cef7", | |
"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": 865.021952, | |
"max_global_vram": null, | |
"max_process_vram": null, | |
"max_reserved": null, | |
"max_allocated": null | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 25, | |
"total": 1.0328709440000807, | |
"mean": 0.04131483776000323, | |
"stdev": 0.0027887123356645223, | |
"p50": 0.04317610700002206, | |
"p90": 0.04381429579999576, | |
"p95": 0.04395439020000822, | |
"p99": 0.04437765571996806, | |
"values": [ | |
0.04375865600002271, | |
0.04383527900000672, | |
0.04317610700002206, | |
0.04350758699996504, | |
0.04378282099997932, | |
0.043296682000004694, | |
0.042993916000000354, | |
0.0434539359999917, | |
0.043984168000008594, | |
0.04359727399997837, | |
0.04361022800003411, | |
0.04363642699996717, | |
0.04326206700000057, | |
0.04450191499995526, | |
0.03913650399999824, | |
0.038497038000002703, | |
0.03867393900003435, | |
0.03780433299999686, | |
0.03844054200004621, | |
0.042893969000033394, | |
0.03779688899999201, | |
0.03702904300001819, | |
0.037291996000021754, | |
0.03740952399999742, | |
0.03750010400000292 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 24.204379206544942 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 1.4654435248041353e-06, | |
"ram": 6.12399022466758e-08, | |
"gpu": 0.0, | |
"total": 1.5266834270508112e-06 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 655014.643036875 | |
} | |
} | |
} | |
} |