IlyasMoutawwakil's picture
Upload cpu_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
c595d97 verified
raw
history blame
6.83 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": "04f11cfa2362366194d86281303d45b96dbfadaa",
"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": 970.641408,
"max_global_vram": null,
"max_process_vram": null,
"max_reserved": null,
"max_allocated": null
},
"latency": {
"unit": "s",
"count": 1,
"total": 4.374531642000022,
"mean": 4.374531642000022,
"stdev": 0.0,
"p50": 4.374531642000022,
"p90": 4.374531642000022,
"p95": 4.374531642000022,
"p99": 4.374531642000022,
"values": [
4.374531642000022
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 5.246312672222252e-05,
"ram": 2.1927366237281906e-06,
"gpu": 0,
"total": 5.465586334595071e-05
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 884.330496,
"max_global_vram": null,
"max_process_vram": null,
"max_reserved": null,
"max_allocated": null
},
"latency": {
"unit": "s",
"count": 24,
"total": 1.013852704000044,
"mean": 0.0422438626666685,
"stdev": 0.0015488013381707879,
"p50": 0.042511935000021595,
"p90": 0.04400915610001448,
"p95": 0.044039830000039616,
"p99": 0.04410081451999019,
"values": [
0.04302389000002904,
0.04244541099996013,
0.0409701959999893,
0.043948016000001644,
0.04267726400001948,
0.04254955500005053,
0.042253924000021925,
0.0415809159999867,
0.04171658000001344,
0.04403535900001998,
0.042727135999996335,
0.042585431999953016,
0.04105898200003821,
0.04269651999999269,
0.04247431499999266,
0.043359907999956704,
0.042463243999975475,
0.04210849200001121,
0.041437449000000015,
0.04404061900004308,
0.0441187949999744,
0.04316444300002331,
0.03963064499998836,
0.03678561300000638
]
},
"throughput": {
"unit": "samples/s",
"value": 23.672077714356977
},
"energy": {
"unit": "kWh",
"cpu": 1.4313296763888496e-06,
"ram": 5.981806883407663e-08,
"gpu": 0.0,
"total": 1.4911477452229262e-06
},
"efficiency": {
"unit": "samples/kWh",
"value": 670624.35845383
}
}
}
}