IlyasMoutawwakil's picture
Upload cpu_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
09b2c9d 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": "1c0c7070b263cda84bbf4ff92db4fa108762afe2",
"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.17856,
"max_global_vram": null,
"max_process_vram": null,
"max_reserved": null,
"max_allocated": null
},
"latency": {
"unit": "s",
"count": 1,
"total": 4.417894636999989,
"mean": 4.417894636999989,
"stdev": 0.0,
"p50": 4.417894636999989,
"p90": 4.417894636999989,
"p95": 4.417894636999989,
"p99": 4.417894636999989,
"values": [
4.417894636999989
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 5.113155448333389e-05,
"ram": 2.1370661956515235e-06,
"gpu": 0,
"total": 5.3268620678985414e-05
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 883.781632,
"max_global_vram": null,
"max_process_vram": null,
"max_reserved": null,
"max_allocated": null
},
"latency": {
"unit": "s",
"count": 25,
"total": 1.0178926460001207,
"mean": 0.04071570584000483,
"stdev": 0.0009716227249883708,
"p50": 0.04038851100000329,
"p90": 0.04162669119998554,
"p95": 0.04253078400001868,
"p99": 0.04383607519999259,
"values": [
0.04191900399996484,
0.04110946500003365,
0.04011899900001481,
0.039669962000004944,
0.04038851100000329,
0.04011991099997658,
0.03993031800001745,
0.040953004000016335,
0.04036265199999889,
0.040089644000033786,
0.04090164800004459,
0.040210229000024356,
0.04054123600002413,
0.042683729000032145,
0.041188222000016594,
0.04024855999995225,
0.03995630600002187,
0.04089239099999986,
0.039890793999973084,
0.04094352300000992,
0.04038278000001583,
0.039904962999969484,
0.04068044299998519,
0.0441999739999801,
0.04060637800000677
]
},
"throughput": {
"unit": "samples/s",
"value": 24.5605468300014
},
"energy": {
"unit": "kWh",
"cpu": 1.5335408247863431e-06,
"ram": 6.408851997455132e-08,
"gpu": 0.0,
"total": 1.5976293447608945e-06
},
"efficiency": {
"unit": "samples/kWh",
"value": 625927.411310577
}
}
}
}