IlyasMoutawwakil
HF staff
Upload cpu_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
1465f1c
verified
{ | |
"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": "a1444c36681b929bf906510506a895d0c17c0e4a", | |
"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.24288, | |
"max_global_vram": null, | |
"max_process_vram": null, | |
"max_reserved": null, | |
"max_allocated": null | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 4.362668779999979, | |
"mean": 4.362668779999979, | |
"stdev": 0.0, | |
"p50": 4.362668779999979, | |
"p90": 4.362668779999979, | |
"p95": 4.362668779999979, | |
"p99": 4.362668779999979, | |
"values": [ | |
4.362668779999979 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 5.049712138333386e-05, | |
"ram": 2.111744930637632e-06, | |
"gpu": 0, | |
"total": 5.260886631397149e-05 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 879.259648, | |
"max_global_vram": null, | |
"max_process_vram": null, | |
"max_reserved": null, | |
"max_allocated": null | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 24, | |
"total": 1.0379973870000185, | |
"mean": 0.04324989112500077, | |
"stdev": 0.0011435242319975847, | |
"p50": 0.04337989600000469, | |
"p90": 0.04443034499997793, | |
"p95": 0.04449864130001231, | |
"p99": 0.044832747140004583, | |
"values": [ | |
0.04381257900001856, | |
0.044454476999987946, | |
0.042001775000017005, | |
0.04450643500001661, | |
0.04259523400003218, | |
0.04332630000004656, | |
0.044034892999945896, | |
0.042002806999960285, | |
0.042670654999994895, | |
0.04395794000004116, | |
0.043377195999994456, | |
0.04279275300001473, | |
0.04228092599998945, | |
0.043832043999998405, | |
0.04238077299999077, | |
0.04396645499997476, | |
0.04338259600001493, | |
0.043333344000018315, | |
0.04294242299999951, | |
0.04437403699995457, | |
0.044930217000000994, | |
0.04374475099996289, | |
0.04395965100002286, | |
0.03933712600002082 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 23.121445487800223 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 1.4811211808642437e-06, | |
"ram": 6.193308982985877e-08, | |
"gpu": 0.0, | |
"total": 1.5430542706941024e-06 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 648065.3461074809 | |
} | |
} | |
} | |
} |