IlyasMoutawwakil
HF staff
Upload cpu_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
0f5969d
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": "1c43fa2fcd13a51b92e79f85bd1b3b0bffb11f79", | |
"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": 964.194304, | |
"max_global_vram": null, | |
"max_process_vram": null, | |
"max_reserved": null, | |
"max_allocated": null | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 4.4220277819999865, | |
"mean": 4.4220277819999865, | |
"stdev": 0.0, | |
"p50": 4.4220277819999865, | |
"p90": 4.4220277819999865, | |
"p95": 4.4220277819999865, | |
"p99": 4.4220277819999865, | |
"values": [ | |
4.4220277819999865 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 5.076705441111074e-05, | |
"ram": 2.1230509295983003e-06, | |
"gpu": 0, | |
"total": 5.289010534070904e-05 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 877.948928, | |
"max_global_vram": null, | |
"max_process_vram": null, | |
"max_reserved": null, | |
"max_allocated": null | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 26, | |
"total": 1.0233695600001056, | |
"mean": 0.03936036769231176, | |
"stdev": 0.0013773917042732933, | |
"p50": 0.039179907499999445, | |
"p90": 0.040623288999995566, | |
"p95": 0.04081822675001945, | |
"p99": 0.04375749624999514, | |
"values": [ | |
0.03998080200000231, | |
0.04062165099998083, | |
0.03971559500001831, | |
0.03956238900002518, | |
0.039963781000039944, | |
0.0406249270000103, | |
0.044715774999986024, | |
0.0387137700000153, | |
0.038238008999996964, | |
0.039197606000016094, | |
0.03873123300002135, | |
0.039530660000025364, | |
0.03938338299997213, | |
0.039162208999982795, | |
0.039320975999999064, | |
0.03860511599998517, | |
0.03912725300000375, | |
0.038883177000002433, | |
0.03840927099997771, | |
0.038353014999984225, | |
0.03799999400001752, | |
0.038437913999985085, | |
0.039972436000027756, | |
0.0408826600000225, | |
0.037876263000043764, | |
0.03735969499996372 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 25.406266725382487 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 1.505150701923053e-06, | |
"ram": 6.2937341886104e-08, | |
"gpu": 0.0, | |
"total": 1.568088043809157e-06 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 637719.2938547169 | |
} | |
} | |
} | |
} |