IlyasMoutawwakil
HF staff
Upload cpu_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
d079c4f
verified
{ | |
"config": { | |
"name": "cpu_inference_transformers_fill-mask_google-bert/bert-base-uncased", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.4.0+cpu", | |
"_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": "cpu", | |
"device_ids": null, | |
"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": false, | |
"device_isolation_action": "error", | |
"numactl": false, | |
"numactl_kwargs": {}, | |
"start_method": "spawn" | |
}, | |
"environment": { | |
"cpu": " AMD EPYC 7763 64-Core Processor", | |
"cpu_count": 4, | |
"cpu_ram_mb": 16757.342208, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-6.5.0-1025-azure-x86_64-with-glibc2.35", | |
"processor": "x86_64", | |
"python_version": "3.10.14", | |
"optimum_benchmark_version": "0.4.0", | |
"optimum_benchmark_commit": "900139739b058e0bc6c42842dca50b13fd103f21", | |
"transformers_version": "4.44.0", | |
"transformers_commit": null, | |
"accelerate_version": "0.33.0", | |
"accelerate_commit": null, | |
"diffusers_version": "0.30.0", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.8", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 969.166848, | |
"max_global_vram": null, | |
"max_process_vram": null, | |
"max_reserved": null, | |
"max_allocated": null | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 4.356854923000014, | |
"mean": 4.356854923000014, | |
"stdev": 0.0, | |
"p50": 4.356854923000014, | |
"p90": 4.356854923000014, | |
"p95": 4.356854923000014, | |
"p99": 4.356854923000014, | |
"values": [ | |
4.356854923000014 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 5.087418770000057e-05, | |
"ram": 2.1263164250813715e-06, | |
"gpu": 0, | |
"total": 5.3000504125081944e-05 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 882.987008, | |
"max_global_vram": null, | |
"max_process_vram": null, | |
"max_reserved": null, | |
"max_allocated": null | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 27, | |
"total": 1.0239864299998658, | |
"mean": 0.037925423333328365, | |
"stdev": 0.001043783555849595, | |
"p50": 0.037701384999991205, | |
"p90": 0.038622093600008615, | |
"p95": 0.0395699356999728, | |
"p99": 0.041581862239991094, | |
"values": [ | |
0.038451672000007875, | |
0.037663635999990674, | |
0.03986659699995698, | |
0.03782854299998917, | |
0.03736664299998438, | |
0.037400676000004296, | |
0.03785650499997928, | |
0.03813383000004933, | |
0.037136524000004556, | |
0.037868806999995286, | |
0.03768492500000775, | |
0.037144359000023996, | |
0.038141716999973596, | |
0.037306640999986485, | |
0.037322098999993614, | |
0.037217165000015484, | |
0.037701384999991205, | |
0.03805457400000023, | |
0.038877726000009716, | |
0.037900225999976556, | |
0.03755177699997603, | |
0.03745635000001357, | |
0.03810834299997623, | |
0.04218452300000308, | |
0.03674266100000523, | |
0.03814792699995451, | |
0.03687059899999667 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 26.367536921366757 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 1.4410069388888916e-06, | |
"ram": 6.022194305100999e-08, | |
"gpu": 0.0, | |
"total": 1.5012288819399016e-06 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 666120.9440014176 | |
} | |
} | |
} | |
} |