IlyasMoutawwakil
HF staff
Upload cpu_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
e47fb56
verified
{ | |
"config": { | |
"name": "cpu_inference_transformers_fill-mask_google-bert/bert-base-uncased", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.5.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, | |
"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": 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.15", | |
"optimum_benchmark_version": "0.5.0.dev0", | |
"optimum_benchmark_commit": "6807ba28334c8c98abf72a03d78f86133328d180", | |
"transformers_version": "4.46.3", | |
"transformers_commit": null, | |
"accelerate_version": "1.1.1", | |
"accelerate_commit": null, | |
"diffusers_version": "0.31.0", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.11", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
}, | |
"print_report": true, | |
"log_report": true | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 988.368896, | |
"max_global_vram": null, | |
"max_process_vram": null, | |
"max_reserved": null, | |
"max_allocated": null | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
1.320219662999989 | |
], | |
"count": 1, | |
"total": 1.320219662999989, | |
"mean": 1.320219662999989, | |
"p50": 1.320219662999989, | |
"p90": 1.320219662999989, | |
"p95": 1.320219662999989, | |
"p99": 1.320219662999989, | |
"stdev": 0, | |
"stdev_": 0 | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 902.414336, | |
"max_global_vram": null, | |
"max_process_vram": null, | |
"max_reserved": null, | |
"max_allocated": null | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.046674376999988, | |
0.04629105300000447, | |
0.04908905299998878, | |
0.04822053199995935, | |
0.04760002500000837, | |
0.048074410000026546, | |
0.047451387000023715, | |
0.04733164399999623, | |
0.04762481100004834, | |
0.04887401099995259, | |
0.046376983000016025, | |
0.047196352000014485, | |
0.04715971199999558, | |
0.047721571000010954, | |
0.04844241600000032, | |
0.04697265300001163, | |
0.04687613400000146, | |
0.046902041999999255, | |
0.047909687000014856, | |
0.04163711900002909, | |
0.04078571100001227, | |
0.0435484540000175 | |
], | |
"count": 22, | |
"total": 1.0287601370001198, | |
"mean": 0.046761824409096354, | |
"p50": 0.04726399800000536, | |
"p90": 0.04842022759999622, | |
"p95": 0.048852431249954975, | |
"p99": 0.04904389417998118, | |
"stdev": 0.002068625017921856, | |
"stdev_": 4.423747456524508 | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 21.384965463526157 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 1.5602357586666486e-06, | |
"ram": 6.52026019961935e-08, | |
"gpu": 0.0, | |
"total": 1.625438360662842e-06 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 615218.6537496306 | |
} | |
} | |
} | |
} |