IlyasMoutawwakil's picture
Upload cpu_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
a5f0031 verified
raw
history blame
6.62 kB
{
"config": {
"name": "cpu_inference_transformers_fill-mask_google-bert/bert-base-uncased",
"backend": {
"name": "pytorch",
"version": "2.4.1+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": null,
"numactl": false,
"numactl_kwargs": {},
"start_method": "spawn"
},
"environment": {
"cpu": " AMD EPYC 7763 64-Core Processor",
"cpu_count": 4,
"cpu_ram_mb": 16766.7712,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-6.8.0-1014-azure-x86_64-with-glibc2.35",
"processor": "x86_64",
"python_version": "3.10.15",
"optimum_benchmark_version": "0.5.0",
"optimum_benchmark_commit": "1d52d2c35074aaaacac2a8342653779fa0d40c86",
"transformers_version": "4.45.1",
"transformers_commit": null,
"accelerate_version": "0.34.2",
"accelerate_commit": null,
"diffusers_version": "0.30.3",
"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.031104,
"max_global_vram": null,
"max_process_vram": null,
"max_reserved": null,
"max_allocated": null
},
"latency": {
"unit": "s",
"values": [
1.3080673270000034
],
"count": 1,
"total": 1.3080673270000034,
"mean": 1.3080673270000034,
"p50": 1.3080673270000034,
"p90": 1.3080673270000034,
"p95": 1.3080673270000034,
"p99": 1.3080673270000034,
"stdev": 0,
"stdev_": 0
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 884.047872,
"max_global_vram": null,
"max_process_vram": null,
"max_reserved": null,
"max_allocated": null
},
"latency": {
"unit": "s",
"values": [
0.04683651999999938,
0.04638292499998897,
0.04696747399998458,
0.04733514899999136,
0.046675909999976284,
0.046504872000014075,
0.04784939699999313,
0.04830640900001981,
0.04814082000001463,
0.046431405000021186,
0.04835216300000411,
0.05096218599999247,
0.04859122000004845,
0.04717217500001425,
0.047541462999959094,
0.04778462600000921,
0.04831450400001813,
0.04395642299999736,
0.043303436000030615,
0.04316184300000714,
0.04432506999995667,
0.04377436400000079
],
"count": 22,
"total": 1.0286703540000417,
"mean": 0.046757743363638256,
"p50": 0.04706982449999941,
"p90": 0.04834839710000551,
"p95": 0.048579267150046235,
"p99": 0.05046428314000422,
"stdev": 0.0019256390536110247,
"stdev_": 4.118331884914108
},
"throughput": {
"unit": "samples/s",
"value": 21.386831956857492
},
"energy": {
"unit": "kWh",
"cpu": 1.6670503564814387e-06,
"ram": 6.97067467201581e-08,
"gpu": 0.0,
"total": 1.736757103201597e-06
},
"efficiency": {
"unit": "samples/kWh",
"value": 575785.755046901
}
}
}
}