IlyasMoutawwakil
HF staff
Upload cpu_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
95f8e8b
verified
{ | |
"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-1024-azure-x86_64-with-glibc2.35", | |
"processor": "x86_64", | |
"python_version": "3.10.14", | |
"optimum_benchmark_version": "0.3.1", | |
"optimum_benchmark_commit": "b0801269b3611e452bb077a62163b08a99ceb2a9", | |
"transformers_version": "4.42.4", | |
"transformers_commit": null, | |
"accelerate_version": "0.33.0", | |
"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": 971.247616, | |
"max_global_vram": null, | |
"max_process_vram": null, | |
"max_reserved": null, | |
"max_allocated": null | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 4.389554126000007, | |
"mean": 4.389554126000007, | |
"stdev": 0.0, | |
"p50": 4.389554126000007, | |
"p90": 4.389554126000007, | |
"p95": 4.389554126000007, | |
"p99": 4.389554126000007, | |
"values": [ | |
4.389554126000007 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 5.055560933219063e-05, | |
"ram": 2.1129990845281555e-06, | |
"gpu": 0, | |
"total": 5.2668608416718785e-05 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 884.834304, | |
"max_global_vram": null, | |
"max_process_vram": null, | |
"max_reserved": null, | |
"max_allocated": null | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 25, | |
"total": 1.0140399389998151, | |
"mean": 0.040561597559992606, | |
"stdev": 0.0006076277326125384, | |
"p50": 0.04036790899999687, | |
"p90": 0.04146664399999054, | |
"p95": 0.04158694879996574, | |
"p99": 0.0416147880399717, | |
"values": [ | |
0.040779870999983814, | |
0.040160490999994636, | |
0.04148365999998305, | |
0.04073171100003492, | |
0.04022965000001477, | |
0.040002544999993006, | |
0.0407546130000469, | |
0.04036790899999687, | |
0.03970826400001215, | |
0.03998128499995346, | |
0.04105317299996614, | |
0.04161277099996141, | |
0.04128387499997643, | |
0.040640048000000206, | |
0.039734171999953105, | |
0.041216267999971024, | |
0.040745105999974385, | |
0.04018898399999671, | |
0.040309289000049375, | |
0.03969829400000435, | |
0.03994213199996466, | |
0.04033995700001469, | |
0.04001932599999236, | |
0.04161542499997495, | |
0.041441120000001774 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 24.65386129135941 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 1.5311498927254964e-06, | |
"ram": 6.398862683113293e-08, | |
"gpu": 0.0, | |
"total": 1.5951385195566295e-06 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 626904.8034009931 | |
} | |
} | |
} | |
} |