IlyasMoutawwakil
HF staff
Upload cpu_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
29b09bb
verified
{ | |
"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-1023-azure-x86_64-with-glibc2.35", | |
"processor": "x86_64", | |
"python_version": "3.10.14", | |
"optimum_benchmark_version": "0.3.1", | |
"optimum_benchmark_commit": "15551974bf1587da56f13594c8d29dbb2a9cc72d", | |
"transformers_version": "4.43.1", | |
"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.7", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 970.555392, | |
"max_global_vram": null, | |
"max_process_vram": null, | |
"max_reserved": null, | |
"max_allocated": null | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 4.603154910000001, | |
"mean": 4.603154910000001, | |
"stdev": 0.0, | |
"p50": 4.603154910000001, | |
"p90": 4.603154910000001, | |
"p95": 4.603154910000001, | |
"p99": 4.603154910000001, | |
"values": [ | |
4.603154910000001 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 5.1658707194858134e-05, | |
"ram": 2.1591015310707463e-06, | |
"gpu": 0, | |
"total": 5.381780872592888e-05 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 884.375552, | |
"max_global_vram": null, | |
"max_process_vram": null, | |
"max_reserved": null, | |
"max_allocated": null | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 22, | |
"total": 1.0391389929999946, | |
"mean": 0.04723359059090884, | |
"stdev": 0.0008043608754899815, | |
"p50": 0.04719145550001258, | |
"p90": 0.048284553100018, | |
"p95": 0.04869007364999902, | |
"p99": 0.04873204848001194, | |
"values": [ | |
0.04788660099995923, | |
0.0487379730000157, | |
0.045394237999971665, | |
0.047278763999997864, | |
0.0487097609999978, | |
0.046866703000034704, | |
0.04720390400001406, | |
0.04629260899997689, | |
0.046341730999984065, | |
0.04800140499997951, | |
0.0470823160000009, | |
0.0471790070000111, | |
0.04676987199997029, | |
0.04746952099998225, | |
0.04695474700002933, | |
0.04642232200001217, | |
0.04779064100000596, | |
0.04756966799999418, | |
0.04642349400000967, | |
0.046842867999998816, | |
0.04760483400002613, | |
0.04831601400002228 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 21.171373750960875 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 1.6325605136376844e-06, | |
"ram": 6.822575985509616e-08, | |
"gpu": 0.0, | |
"total": 1.7007862734927806e-06 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 587963.3529416798 | |
} | |
} | |
} | |
} |