IlyasMoutawwakil's picture
Upload cpu_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
3e9a14a verified
raw
history blame
6.92 kB
{
"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-1025-azure-x86_64-with-glibc2.35",
"processor": "x86_64",
"python_version": "3.10.14",
"optimum_benchmark_version": "0.4.0",
"optimum_benchmark_commit": "07a8cb687fae1efd79b34b906447fdcec00042fd",
"transformers_version": "4.44.2",
"transformers_commit": null,
"accelerate_version": "0.33.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": 972.607488,
"max_global_vram": null,
"max_process_vram": null,
"max_reserved": null,
"max_allocated": null
},
"latency": {
"unit": "s",
"count": 1,
"total": 4.347414977000028,
"mean": 4.347414977000028,
"stdev": 0.0,
"p50": 4.347414977000028,
"p90": 4.347414977000028,
"p95": 4.347414977000028,
"p99": 4.347414977000028,
"values": [
4.347414977000028
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 5.124768627222302e-05,
"ram": 2.1419295570572964e-06,
"gpu": 0,
"total": 5.338961582928032e-05
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 886.165504,
"max_global_vram": null,
"max_process_vram": null,
"max_reserved": null,
"max_allocated": null
},
"latency": {
"unit": "s",
"count": 26,
"total": 1.0327618690000122,
"mean": 0.03972161034615432,
"stdev": 0.002104539996459001,
"p50": 0.038960175500051264,
"p90": 0.04410467249996941,
"p95": 0.04473811399996919,
"p99": 0.04497082124998997,
"values": [
0.03935207199998558,
0.039227187999983926,
0.03918881500004545,
0.03866441000002396,
0.038980203000051006,
0.03845261100002517,
0.038456730000007155,
0.03850555100001429,
0.03849265700000615,
0.039362371999970946,
0.0390158899999733,
0.039054683000017576,
0.03865516299998717,
0.038708141999961754,
0.03822263000000703,
0.03836435599998822,
0.03849382800001422,
0.038405121000039344,
0.038445844999955625,
0.03894014800005152,
0.03934507899998607,
0.04411792099995182,
0.044979479999994965,
0.044944844999974976,
0.044091423999987,
0.04029470500000798
]
},
"throughput": {
"unit": "samples/s",
"value": 25.175212970609483
},
"energy": {
"unit": "kWh",
"cpu": 1.481794033539057e-06,
"ram": 6.192641954193564e-08,
"gpu": 0.0,
"total": 1.5437204530809928e-06
},
"efficiency": {
"unit": "samples/kWh",
"value": 647785.6777787565
}
}
}
}