IlyasMoutawwakil's picture
Upload cpu_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
0c1160a verified
raw
history blame
6.91 kB
{
"config": {
"name": "cpu_inference_transformers_fill-mask_google-bert/bert-base-uncased",
"backend": {
"name": "pytorch",
"version": "2.4.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": null,
"numactl": false,
"numactl_kwargs": {},
"start_method": "spawn"
},
"environment": {
"cpu": " AMD EPYC 7763 64-Core Processor",
"cpu_count": 4,
"cpu_ram_mb": 16766.7712,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-6.8.0-1014-azure-x86_64-with-glibc2.35",
"processor": "x86_64",
"python_version": "3.10.15",
"optimum_benchmark_version": "0.4.0",
"optimum_benchmark_commit": "90b9d6a064a5ab3f3d10643e55c9c7af485f9e6c",
"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": null,
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 964.452352,
"max_global_vram": null,
"max_process_vram": null,
"max_reserved": null,
"max_allocated": null
},
"latency": {
"unit": "s",
"count": 1,
"total": 4.223682423000014,
"mean": 4.223682423000014,
"stdev": 0.0,
"p50": 4.223682423000014,
"p90": 4.223682423000014,
"p95": 4.223682423000014,
"p99": 4.223682423000014,
"values": [
4.223682423000014
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 4.851469346111105e-05,
"ram": 2.0288078801555713e-06,
"gpu": 0,
"total": 5.054350134126662e-05
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 878.46912,
"max_global_vram": null,
"max_process_vram": null,
"max_reserved": null,
"max_allocated": null
},
"latency": {
"unit": "s",
"count": 26,
"total": 1.0094104049999828,
"mean": 0.038823477115383954,
"stdev": 0.001783441628211334,
"p50": 0.03791193550000571,
"p90": 0.042031060499994055,
"p95": 0.04216677774998345,
"p99": 0.043013407749995736,
"values": [
0.04328830800000105,
0.042100989999994454,
0.04196113099999366,
0.042188706999979786,
0.039797306999986404,
0.03834050800000455,
0.03741110900000422,
0.0378731680000044,
0.039366075000003775,
0.0377930299999889,
0.03755119999999579,
0.037574613000003865,
0.03751481200001194,
0.03787103499999489,
0.03839009000000715,
0.03884748999999488,
0.037950703000007024,
0.03726570899999615,
0.03780323899999871,
0.03747212299998637,
0.03727776100001279,
0.040618975000001,
0.04032909600002199,
0.0384143960000074,
0.0370004859999824,
0.03740834399999926
]
},
"throughput": {
"unit": "samples/s",
"value": 25.75761045379797
},
"energy": {
"unit": "kWh",
"cpu": 1.423324956944446e-06,
"ram": 5.9517006532335476e-08,
"gpu": 0.0,
"total": 1.4828419634767814e-06
},
"efficiency": {
"unit": "samples/kWh",
"value": 674380.6991105955
}
}
}
}