IlyasMoutawwakil's picture
Upload cpu_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
17c13ea verified
raw
history blame
6.83 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-1024-azure-x86_64-with-glibc2.35",
"processor": "x86_64",
"python_version": "3.10.14",
"optimum_benchmark_version": "0.4.0",
"optimum_benchmark_commit": "3d7258bc53700ac83eb355d4dbbeac8dec4eb496",
"transformers_version": "4.43.3",
"transformers_commit": null,
"accelerate_version": "0.33.0",
"accelerate_commit": null,
"diffusers_version": "0.29.2",
"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.83392,
"max_global_vram": null,
"max_process_vram": null,
"max_reserved": null,
"max_allocated": null
},
"latency": {
"unit": "s",
"count": 1,
"total": 4.520929884999987,
"mean": 4.520929884999987,
"stdev": 0.0,
"p50": 4.520929884999987,
"p90": 4.520929884999987,
"p95": 4.520929884999987,
"p99": 4.520929884999987,
"values": [
4.520929884999987
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 5.11373241742452e-05,
"ram": 2.1373157937171073e-06,
"gpu": 0,
"total": 5.327463996796231e-05
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 884.46976,
"max_global_vram": null,
"max_process_vram": null,
"max_reserved": null,
"max_allocated": null
},
"latency": {
"unit": "s",
"count": 24,
"total": 1.0385315240000637,
"mean": 0.04327214683333599,
"stdev": 0.0016412554566450422,
"p50": 0.043987703999988526,
"p90": 0.04464782860000014,
"p95": 0.04511595639998234,
"p99": 0.045539220640003465,
"values": [
0.04519238799997538,
0.04450150600001734,
0.04303833800003076,
0.04456612599994969,
0.044288697000013144,
0.04453939500001525,
0.04399780299996792,
0.04303866800000833,
0.04218356900003073,
0.04449534399998356,
0.04440455300004942,
0.043977605000009135,
0.0440781829999537,
0.04279271799998696,
0.04468284400002176,
0.04376443600000357,
0.0442705730000057,
0.04564282000001185,
0.04144072900004403,
0.04037956399997711,
0.04035590900002717,
0.04001945999999634,
0.04025839700000233,
0.04262189899998248
]
},
"throughput": {
"unit": "samples/s",
"value": 23.10955367783186
},
"energy": {
"unit": "kWh",
"cpu": 1.5588477982415096e-06,
"ram": 6.514555614976416e-08,
"gpu": 0.0,
"total": 1.6239933543912738e-06
},
"efficiency": {
"unit": "samples/kWh",
"value": 615766.0665888826
}
}
}
}