IlyasMoutawwakil
HF staff
Upload cpu_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
d96bb1c
verified
{ | |
"config": { | |
"name": "cpu_inference_transformers_text-classification_FacebookAI/roberta-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.4.1+cpu", | |
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend", | |
"task": "text-classification", | |
"library": "transformers", | |
"model_type": "roberta", | |
"model": "FacebookAI/roberta-base", | |
"processor": "FacebookAI/roberta-base", | |
"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.7712, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-6.8.0-1014-azure-x86_64-with-glibc2.35", | |
"processor": "x86_64", | |
"python_version": "3.10.15", | |
"optimum_benchmark_version": "0.4.0", | |
"optimum_benchmark_commit": "4c0c433dfc68fac2cdc0ae637f343f8377f20210", | |
"transformers_version": "4.44.2", | |
"transformers_commit": null, | |
"accelerate_version": "0.34.2", | |
"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 | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 939.995136, | |
"max_global_vram": null, | |
"max_process_vram": null, | |
"max_reserved": null, | |
"max_allocated": null | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 4.28913069500004, | |
"mean": 4.28913069500004, | |
"stdev": 0.0, | |
"p50": 4.28913069500004, | |
"p90": 4.28913069500004, | |
"p95": 4.28913069500004, | |
"p99": 4.28913069500004, | |
"values": [ | |
4.28913069500004 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 4.793029449444488e-05, | |
"ram": 2.0043966710151807e-06, | |
"gpu": 0, | |
"total": 4.9934691165460056e-05 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 947.597312, | |
"max_global_vram": null, | |
"max_process_vram": null, | |
"max_reserved": null, | |
"max_allocated": null | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 29, | |
"total": 1.0060132050000448, | |
"mean": 0.034690110517242925, | |
"stdev": 0.0011617324368377903, | |
"p50": 0.034982164999973975, | |
"p90": 0.035581545800005186, | |
"p95": 0.03570262520000824, | |
"p99": 0.035940168239987996, | |
"values": [ | |
0.03506945000003725, | |
0.03514303800000107, | |
0.0353938100000164, | |
0.0333493030000227, | |
0.035649161000037566, | |
0.034982164999973975, | |
0.03475183199998355, | |
0.03481496099999504, | |
0.035115937000000486, | |
0.03273110100002441, | |
0.03547430099996518, | |
0.03573826799998869, | |
0.034669496999981675, | |
0.03456863699994983, | |
0.03517861500000663, | |
0.03342874300000176, | |
0.03556464199999709, | |
0.03433394500001441, | |
0.03481664499997805, | |
0.03512395200004903, | |
0.034733849000019745, | |
0.034712297999988095, | |
0.03424329500001022, | |
0.035340469999994184, | |
0.03601868499998773, | |
0.0352864789999785, | |
0.0353251810000188, | |
0.03462756800001898, | |
0.029827377000003708 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 28.82665938763568 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 1.1920875968013263e-06, | |
"ram": 4.984797831498668e-08, | |
"gpu": 0.0, | |
"total": 1.241935575116313e-06 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 805194.7460369234 | |
} | |
} | |
} | |
} |