IlyasMoutawwakil's picture
Upload cpu_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
de45020 verified
raw
history blame
6.79 kB
{
"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": "warn",
"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-1025-azure-x86_64-with-glibc2.35",
"processor": "x86_64",
"python_version": "3.10.14",
"optimum_benchmark_version": "0.4.0",
"optimum_benchmark_commit": "ea76e356b5c355783ee27d2d429a010ded791f8b",
"transformers_version": "4.44.2",
"transformers_commit": null,
"accelerate_version": "0.34.0",
"accelerate_commit": null,
"diffusers_version": "0.30.2",
"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": 968.138752,
"max_global_vram": null,
"max_process_vram": null,
"max_reserved": null,
"max_allocated": null
},
"latency": {
"unit": "s",
"count": 1,
"total": 4.492047818000003,
"mean": 4.492047818000003,
"stdev": 0.0,
"p50": 4.492047818000003,
"p90": 4.492047818000003,
"p95": 4.492047818000003,
"p99": 4.492047818000003,
"values": [
4.492047818000003
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 5.147852764444312e-05,
"ram": 2.151582748910762e-06,
"gpu": 0,
"total": 5.363011039335388e-05
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 882.044928,
"max_global_vram": null,
"max_process_vram": null,
"max_reserved": null,
"max_allocated": null
},
"latency": {
"unit": "s",
"count": 23,
"total": 1.0130471230000353,
"mean": 0.04404552708695806,
"stdev": 0.0019397615563806901,
"p50": 0.0444551679999563,
"p90": 0.045764630000007855,
"p95": 0.04611271569997939,
"p99": 0.04676261982000028,
"values": [
0.04478551800002606,
0.04357774099997869,
0.04326259999999138,
0.04427914799998689,
0.044415805000028286,
0.04462528799996335,
0.04332045900002868,
0.04277524600001925,
0.04280934899998101,
0.046935071000007156,
0.04572969100001956,
0.0457663390000107,
0.04471968500001822,
0.0444551679999563,
0.04615120199997591,
0.045757793999996466,
0.04527943499999765,
0.045411573000023964,
0.045333868000000166,
0.044021729999997206,
0.039900159000012536,
0.038950436999982685,
0.040783817000033196
]
},
"throughput": {
"unit": "samples/s",
"value": 22.703780977026867
},
"energy": {
"unit": "kWh",
"cpu": 1.532312900641052e-06,
"ram": 6.403733274714227e-08,
"gpu": 0.0,
"total": 1.5963502333881944e-06
},
"efficiency": {
"unit": "samples/kWh",
"value": 626428.949665724
}
}
}
}