IlyasMoutawwakil's picture
Upload cpu_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
aba7f8c verified
raw
history blame
6.88 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": "a8d6791ab3d8e1f26a8a97b676e5986c1a728520",
"transformers_version": "4.44.2",
"transformers_commit": null,
"accelerate_version": "0.33.0",
"accelerate_commit": null,
"diffusers_version": "0.30.1",
"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": 970.498048,
"max_global_vram": null,
"max_process_vram": null,
"max_reserved": null,
"max_allocated": null
},
"latency": {
"unit": "s",
"count": 1,
"total": 4.3691232950000085,
"mean": 4.3691232950000085,
"stdev": 0.0,
"p50": 4.3691232950000085,
"p90": 4.3691232950000085,
"p95": 4.3691232950000085,
"p99": 4.3691232950000085,
"values": [
4.3691232950000085
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 5.116066767777612e-05,
"ram": 2.138285738886793e-06,
"gpu": 0,
"total": 5.329895341666292e-05
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 884.191232,
"max_global_vram": null,
"max_process_vram": null,
"max_reserved": null,
"max_allocated": null
},
"latency": {
"unit": "s",
"count": 25,
"total": 1.001239574000067,
"mean": 0.04004958296000268,
"stdev": 0.001150980627981706,
"p50": 0.03976485800001228,
"p90": 0.041837812200026296,
"p95": 0.04265889179999931,
"p99": 0.04308608707997336,
"values": [
0.040087291000020286,
0.04008048800000097,
0.03917044600001418,
0.03997747599999002,
0.03965693499998224,
0.03976485800001228,
0.040402199999959976,
0.03935671499999671,
0.039057806000016626,
0.03937490800001342,
0.040038920000029066,
0.04279270199998564,
0.041409053999984735,
0.03927707500002953,
0.03890849600003321,
0.04317873499996949,
0.04005365799997662,
0.0398648460000004,
0.03919811700001219,
0.03881613300001163,
0.03948649699998441,
0.039136071999962496,
0.04080699700000423,
0.042123651000054,
0.03921949800002267
]
},
"throughput": {
"unit": "samples/s",
"value": 24.969049016033324
},
"energy": {
"unit": "kWh",
"cpu": 1.5164560384615345e-06,
"ram": 6.337441177347235e-08,
"gpu": 0.0,
"total": 1.5798304502350068e-06
},
"efficiency": {
"unit": "samples/kWh",
"value": 632979.3174015892
}
}
}
}