IlyasMoutawwakil
HF staff
Upload cpu_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
89cf6e7
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.767104, | |
"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": "49771cb6395d934ebff3a2ed2c7dc1d9c4b28359", | |
"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.390912, | |
"max_global_vram": null, | |
"max_process_vram": null, | |
"max_reserved": null, | |
"max_allocated": null | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 4.214844948999996, | |
"mean": 4.214844948999996, | |
"stdev": 0.0, | |
"p50": 4.214844948999996, | |
"p90": 4.214844948999996, | |
"p95": 4.214844948999996, | |
"p99": 4.214844948999996, | |
"values": [ | |
4.214844948999996 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 4.95751695444448e-05, | |
"ram": 2.0732090009604434e-06, | |
"gpu": 0, | |
"total": 5.1648378545405245e-05 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 877.883392, | |
"max_global_vram": null, | |
"max_process_vram": null, | |
"max_reserved": null, | |
"max_allocated": null | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 24, | |
"total": 1.0314584020000552, | |
"mean": 0.042977433416668966, | |
"stdev": 0.000872099339523106, | |
"p50": 0.043162914000021146, | |
"p90": 0.04410601249998081, | |
"p95": 0.044156310950029365, | |
"p99": 0.04445097774998317, | |
"values": [ | |
0.043204616999958034, | |
0.04400096000000531, | |
0.04292052499999954, | |
0.043600798999989365, | |
0.04325829800001202, | |
0.04317895900004487, | |
0.043753175000006195, | |
0.043625796000014816, | |
0.04128442899997253, | |
0.04366970900002798, | |
0.0421901149999826, | |
0.041938704000017424, | |
0.04229286800000409, | |
0.04146035799999481, | |
0.04244697699999733, | |
0.04249721100001125, | |
0.04415724200003979, | |
0.04320679100004554, | |
0.0427874150000207, | |
0.041663909000021704, | |
0.04314686899999742, | |
0.044538716999966255, | |
0.04415103499997031, | |
0.042482923999955347 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 23.268025112270806 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 1.4527926331275604e-06, | |
"ram": 6.07485562019508e-08, | |
"gpu": 0.0, | |
"total": 1.513541189329511e-06 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 660702.2042412956 | |
} | |
} | |
} | |
} |