IlyasMoutawwakil's picture
Upload cpu_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
f5ded95 verified
raw
history blame
6.72 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.783488,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-6.8.0-1015-azure-x86_64-with-glibc2.39",
"processor": "x86_64",
"python_version": "3.10.15",
"optimum_benchmark_version": "0.5.0.dev0",
"optimum_benchmark_commit": "8bd7430b5a210454e1554b813733827ac7ec1b24",
"transformers_version": "4.45.2",
"transformers_commit": null,
"accelerate_version": "1.0.1",
"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
},
"print_report": true,
"log_report": true
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 971.743232,
"max_global_vram": null,
"max_process_vram": null,
"max_reserved": null,
"max_allocated": null
},
"latency": {
"unit": "s",
"values": [
1.2991189980000115
],
"count": 1,
"total": 1.2991189980000115,
"mean": 1.2991189980000115,
"p50": 1.2991189980000115,
"p90": 1.2991189980000115,
"p95": 1.2991189980000115,
"p99": 1.2991189980000115,
"stdev": 0,
"stdev_": 0
},
"throughput": null,
"energy": null,
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 885.891072,
"max_global_vram": null,
"max_process_vram": null,
"max_reserved": null,
"max_allocated": null
},
"latency": {
"unit": "s",
"values": [
0.043222601999985955,
0.04371638399999256,
0.04317533299999354,
0.04298403699999653,
0.04380598999998142,
0.04356507999997916,
0.043590488000006644,
0.044525071999999,
0.0413681520000182,
0.043957812999991575,
0.043893604000004416,
0.04337712999998189,
0.04363705500000492,
0.0430956550000019,
0.044160802000021704,
0.042673756999988655,
0.04340818800000079,
0.0432078679999961,
0.04377508600001079,
0.04365544300000579,
0.043061064999989185,
0.044710511000005226,
0.044816138000015826
],
"count": 23,
"total": 1.0013832529999718,
"mean": 0.0435384023043466,
"p50": 0.043590488000006644,
"p90": 0.04445221800000354,
"p95": 0.0446919671000046,
"p99": 0.04479290006001349,
"stdev": 0.0007048939522572046,
"stdev_": 1.6190165806493833
},
"throughput": {
"unit": "samples/s",
"value": 22.96822912815444
},
"energy": {
"unit": "kWh",
"cpu": 1.4758056458847722e-06,
"ram": 6.170876117996437e-08,
"gpu": 0.0,
"total": 1.5375144070647366e-06
},
"efficiency": {
"unit": "samples/kWh",
"value": 650400.4095214278
}
}
}
}