IlyasMoutawwakil's picture
Upload cpu_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
13e4b06 verified
raw
history blame
6.88 kB
{
"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": "778fa3dbf39228b4d5e8f6de2e971dc51a6becb0",
"transformers_version": "4.44.1",
"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": 970.268672,
"max_global_vram": null,
"max_process_vram": null,
"max_reserved": null,
"max_allocated": null
},
"latency": {
"unit": "s",
"count": 1,
"total": 4.303620977000037,
"mean": 4.303620977000037,
"stdev": 0.0,
"p50": 4.303620977000037,
"p90": 4.303620977000037,
"p95": 4.303620977000037,
"p99": 4.303620977000037,
"values": [
4.303620977000037
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 5.1232125233334126e-05,
"ram": 2.141281191887781e-06,
"gpu": 0,
"total": 5.3373406425221906e-05
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 884.031488,
"max_global_vram": null,
"max_process_vram": null,
"max_reserved": null,
"max_allocated": null
},
"latency": {
"unit": "s",
"count": 25,
"total": 1.0286263360002295,
"mean": 0.041145053440009176,
"stdev": 0.0022716555708169168,
"p50": 0.04236455300002717,
"p90": 0.042963987199971146,
"p95": 0.04325698479998436,
"p99": 0.04342323219999116,
"values": [
0.037999545999980455,
0.043313662999992175,
0.04345783299999084,
0.04257183200002146,
0.042350155999997696,
0.042670676000000185,
0.04236455300002717,
0.042713748000039686,
0.0427438340000208,
0.0427833889999647,
0.04274437500004069,
0.04278033299999606,
0.042864559999998164,
0.04259968300004857,
0.0420032250000304,
0.04203535499999589,
0.04303027199995313,
0.04220132599999715,
0.03954107100003057,
0.038660034000031374,
0.037554160000013326,
0.03748744400002124,
0.037218950999999834,
0.037264256000014484,
0.037672061000023405
]
},
"throughput": {
"unit": "samples/s",
"value": 24.304258140241146
},
"energy": {
"unit": "kWh",
"cpu": 1.4632647267489446e-06,
"ram": 6.115211221704424e-08,
"gpu": 0.0,
"total": 1.5244168389659888e-06
},
"efficiency": {
"unit": "samples/kWh",
"value": 655988.5553863992
}
}
}
}