IlyasMoutawwakil's picture
Upload cpu_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
4811dc6 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-1024-azure-x86_64-with-glibc2.35",
"processor": "x86_64",
"python_version": "3.10.14",
"optimum_benchmark_version": "0.4.0",
"optimum_benchmark_commit": "3e7bebdc507bc4e37dce5660074b7586de6b39b2",
"transformers_version": "4.43.3",
"transformers_commit": null,
"accelerate_version": "0.33.0",
"accelerate_commit": null,
"diffusers_version": "0.29.2",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.8",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 971.669504,
"max_global_vram": null,
"max_process_vram": null,
"max_reserved": null,
"max_allocated": null
},
"latency": {
"unit": "s",
"count": 1,
"total": 4.447990705999985,
"mean": 4.447990705999985,
"stdev": 0.0,
"p50": 4.447990705999985,
"p90": 4.447990705999985,
"p95": 4.447990705999985,
"p99": 4.447990705999985,
"values": [
4.447990705999985
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 5.1217052671644425e-05,
"ram": 2.1406552812106838e-06,
"gpu": 0,
"total": 5.335770795285511e-05
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 885.358592,
"max_global_vram": null,
"max_process_vram": null,
"max_reserved": null,
"max_allocated": null
},
"latency": {
"unit": "s",
"count": 26,
"total": 1.012184552000008,
"mean": 0.03893017507692338,
"stdev": 0.002565083261383906,
"p50": 0.03832252549997861,
"p90": 0.04266503400000943,
"p95": 0.04496659950001458,
"p99": 0.04657898749998424,
"values": [
0.03840710899999067,
0.03745956499994918,
0.037482108000006065,
0.038474103999988074,
0.038495034000050055,
0.039019646000042485,
0.038779695999949126,
0.03875766500004829,
0.03823794199996655,
0.038602816000036455,
0.0435578099999816,
0.04695991799997046,
0.045436196000025575,
0.0381187159999854,
0.038641777999998794,
0.039324500000020635,
0.03729752300000655,
0.03764820899999677,
0.037509698999997454,
0.03693290900002921,
0.037449627000000874,
0.03721246300000303,
0.041772258000037255,
0.03702830899999299,
0.036960290999957124,
0.03661866099997724
]
},
"throughput": {
"unit": "samples/s",
"value": 25.687015227238714
},
"energy": {
"unit": "kWh",
"cpu": 1.4472879009482303e-06,
"ram": 6.048403975682959e-08,
"gpu": 0.0,
"total": 1.5077719407050601e-06
},
"efficiency": {
"unit": "samples/kWh",
"value": 663230.2757487202
}
}
}
}