IlyasMoutawwakil's picture
Upload cpu_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
ef8a939 verified
raw
history blame
6.84 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": "a2f76ceb4d3497d8b655e86e8345771442b69562",
"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": 965.271552,
"max_global_vram": null,
"max_process_vram": null,
"max_reserved": null,
"max_allocated": null
},
"latency": {
"unit": "s",
"count": 1,
"total": 4.6335553400000435,
"mean": 4.6335553400000435,
"stdev": 0.0,
"p50": 4.6335553400000435,
"p90": 4.6335553400000435,
"p95": 4.6335553400000435,
"p99": 4.6335553400000435,
"values": [
4.6335553400000435
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 5.1288419466666196e-05,
"ram": 2.144772720352262e-06,
"gpu": 0,
"total": 5.343319218701846e-05
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 879.157248,
"max_global_vram": null,
"max_process_vram": null,
"max_reserved": null,
"max_allocated": null
},
"latency": {
"unit": "s",
"count": 24,
"total": 1.0322828330000107,
"mean": 0.04301178470833378,
"stdev": 0.002820952212144203,
"p50": 0.04144897799997693,
"p90": 0.047729681199984955,
"p95": 0.047784989950019965,
"p99": 0.04794868465002935,
"values": [
0.04684135799999467,
0.047712064999984705,
0.04554869300000064,
0.047995063000030314,
0.04745263000000932,
0.04773723099998506,
0.04779341800002612,
0.04087857700000086,
0.04147947999996404,
0.041617927999993753,
0.04205658799997991,
0.04141847599998982,
0.0408825040000238,
0.04123161600000458,
0.04189129899998534,
0.04085484099999803,
0.04060593799999879,
0.04074232300001768,
0.04085811999999578,
0.041022987000019384,
0.04106314199998451,
0.040639811000005466,
0.04125348700000586,
0.042705258000012236
]
},
"throughput": {
"unit": "samples/s",
"value": 23.24944214198683
},
"energy": {
"unit": "kWh",
"cpu": 1.6036012424444207e-06,
"ram": 6.705267593480239e-08,
"gpu": 0.0,
"total": 1.670653918379223e-06
},
"efficiency": {
"unit": "samples/kWh",
"value": 598568.0151938022
}
}
}
}