IlyasMoutawwakil's picture
Upload cpu_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
3b0897d verified
raw
history blame
6.88 kB
{
"config": {
"name": "cpu_inference_transformers_fill-mask_google-bert/bert-base-uncased",
"backend": {
"name": "pytorch",
"version": "2.3.1+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-1023-azure-x86_64-with-glibc2.35",
"processor": "x86_64",
"python_version": "3.10.14",
"optimum_benchmark_version": "0.3.1",
"optimum_benchmark_commit": "64d7cde4ffc4c5c7d57f80bbb0bfaa5207878a13",
"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": 967.503872,
"max_global_vram": null,
"max_process_vram": null,
"max_reserved": null,
"max_allocated": null
},
"latency": {
"unit": "s",
"count": 1,
"total": 4.546274003999997,
"mean": 4.546274003999997,
"stdev": 0.0,
"p50": 4.546274003999997,
"p90": 4.546274003999997,
"p95": 4.546274003999997,
"p99": 4.546274003999997,
"values": [
4.546274003999997
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 5.18467492527432e-05,
"ram": 2.1669684736957605e-06,
"gpu": 0,
"total": 5.401371772643896e-05
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 881.324032,
"max_global_vram": null,
"max_process_vram": null,
"max_reserved": null,
"max_allocated": null
},
"latency": {
"unit": "s",
"count": 25,
"total": 1.0141934630002538,
"mean": 0.04056773852001015,
"stdev": 0.001904587468802259,
"p50": 0.04049026600000616,
"p90": 0.04233928200001174,
"p95": 0.044519200800004904,
"p99": 0.04547815496001476,
"values": [
0.042772536000029504,
0.040793398000005254,
0.040972803999977714,
0.04034308100000317,
0.03999602999999752,
0.04049026600000616,
0.039520504999984496,
0.04074464600000738,
0.04150499400003582,
0.04101339999999709,
0.04042938300000287,
0.04057655999997678,
0.04168940099998508,
0.04113230600000861,
0.039577503000032266,
0.039296865000039816,
0.045643088000019816,
0.04495586699999876,
0.03927394300001197,
0.03965393700002551,
0.03892110999998977,
0.04033813200004488,
0.040953378000040175,
0.03684614100001227,
0.03675418900002114
]
},
"throughput": {
"unit": "samples/s",
"value": 24.650129301803382
},
"energy": {
"unit": "kWh",
"cpu": 1.4748211260195131e-06,
"ram": 6.163416698996116e-08,
"gpu": 0.0,
"total": 1.5364552930094744e-06
},
"efficiency": {
"unit": "samples/kWh",
"value": 650848.7455181903
}
}
}
}