IlyasMoutawwakil's picture
Upload cpu_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
9301361 verified
raw
history blame
6.75 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_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-1023-azure-x86_64-with-glibc2.35",
"processor": "x86_64",
"python_version": "3.10.14",
"optimum_benchmark_version": "0.3.1",
"optimum_benchmark_commit": "3f7b9d2c002cca7024cac52f3c7535f2a03b7b03",
"transformers_version": "4.42.4",
"transformers_commit": null,
"accelerate_version": "0.32.1",
"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": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 965.779456,
"max_global_vram": null,
"max_process_vram": null,
"max_reserved": null,
"max_allocated": null
},
"latency": {
"unit": "s",
"count": 1,
"total": 4.43986509299998,
"mean": 4.43986509299998,
"stdev": 0.0,
"p50": 4.43986509299998,
"p90": 4.43986509299998,
"p95": 4.43986509299998,
"p99": 4.43986509299998,
"values": [
4.43986509299998
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 5.085013839933608e-05,
"ram": 2.125304336262843e-06,
"gpu": 0,
"total": 5.297544273559893e-05
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 879.988736,
"max_global_vram": null,
"max_process_vram": null,
"max_reserved": null,
"max_allocated": null
},
"latency": {
"unit": "s",
"count": 22,
"total": 1.0241261060000966,
"mean": 0.04655118663636803,
"stdev": 0.0012575540941111307,
"p50": 0.0467303815000264,
"p90": 0.04788986569999452,
"p95": 0.04825686375001226,
"p99": 0.04959591008999951,
"values": [
0.04607738900000413,
0.047477299000036055,
0.04542573000003358,
0.04994721299999583,
0.04827434200001335,
0.046787789000006796,
0.046902173000034963,
0.04540269599999647,
0.04726726699999517,
0.04700808099994447,
0.045486923999987994,
0.0456105459999776,
0.04394132099997705,
0.046675098000036996,
0.045126578999997946,
0.0467856650000158,
0.04682334599999649,
0.047924776999991536,
0.04543306400000802,
0.04631008500001599,
0.045863058000009005,
0.047575664000021334
]
},
"throughput": {
"unit": "samples/s",
"value": 21.4817295166167
},
"energy": {
"unit": "kWh",
"cpu": 1.5550744329762257e-06,
"ram": 6.498853810368332e-08,
"gpu": 0.0,
"total": 1.620062971079909e-06
},
"efficiency": {
"unit": "samples/kWh",
"value": 617259.9570826654
}
}
}
}