IlyasMoutawwakil's picture
Upload cpu_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
519e34c verified
raw
history blame
5.81 kB
{
"config": {
"name": "cpu_inference_transformers_fill-mask_google-bert/bert-base-uncased",
"backend": {
"name": "pytorch",
"version": "2.3.1+cpu",
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
"task": "fill-mask",
"library": "transformers",
"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": {},
"hub_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,
"latency": true,
"memory": 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-1022-azure-x86_64-with-glibc2.35",
"processor": "x86_64",
"python_version": "3.10.14",
"optimum_benchmark_version": "0.2.1",
"optimum_benchmark_commit": "88e73025c13ec1a964328bd3aa8fa3b1b8ab2582",
"transformers_version": "4.42.3",
"transformers_commit": null,
"accelerate_version": "0.31.0",
"accelerate_commit": null,
"diffusers_version": "0.29.2",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.7",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"forward": {
"memory": {
"unit": "MB",
"max_ram": 865.939456,
"max_global_vram": null,
"max_process_vram": null,
"max_reserved": null,
"max_allocated": null
},
"latency": {
"unit": "s",
"count": 25,
"total": 1.0217401229999155,
"mean": 0.04086960491999662,
"stdev": 0.0008676075736872911,
"p50": 0.04070948399998997,
"p90": 0.04132338619997426,
"p95": 0.041426161799995496,
"p99": 0.04375219875999846,
"values": [
0.04135297699997409,
0.040648350999987315,
0.04100803299999711,
0.04053455899997971,
0.04118127699999263,
0.04144445800000085,
0.0410423470000012,
0.04002151100002038,
0.04127899999997453,
0.04114038100001949,
0.04018307300000856,
0.04047671099999661,
0.04053757500000188,
0.040483905000002096,
0.04051637499998151,
0.04071071800001391,
0.04118338099999619,
0.04054175299998519,
0.04070948399998997,
0.041087693000008585,
0.04448095899999771,
0.04026838199999361,
0.03988138900001559,
0.04123357399998895,
0.039792256999987785
]
},
"throughput": {
"unit": "samples/s",
"value": 24.468061336964908
},
"energy": {
"unit": "kWh",
"cpu": 1.583038753933377e-06,
"ram": 6.615596041592653e-08,
"gpu": 0.0,
"total": 1.6491947143493034e-06
},
"efficiency": {
"unit": "samples/kWh",
"value": 606356.5395275683
}
}
}
}