IlyasMoutawwakil
HF staff
Upload cpu_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
3fb68dc
verified
{ | |
"config": { | |
"name": "cpu_inference_transformers_text-classification_FacebookAI/roberta-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.4.0+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": "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": "33e831737ff6c1ec1dbc9b676a3d556b900bd25a", | |
"transformers_version": "4.43.2", | |
"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": 945.7664, | |
"max_global_vram": null, | |
"max_process_vram": null, | |
"max_reserved": null, | |
"max_allocated": null | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 4.423514060999992, | |
"mean": 4.423514060999992, | |
"stdev": 0.0, | |
"p50": 4.423514060999992, | |
"p90": 4.423514060999992, | |
"p95": 4.423514060999992, | |
"p99": 4.423514060999992, | |
"values": [ | |
4.423514060999992 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 4.9348314603169764e-05, | |
"ram": 2.0625350719728885e-06, | |
"gpu": 0, | |
"total": 5.1410849675142654e-05 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 953.106432, | |
"max_global_vram": null, | |
"max_process_vram": null, | |
"max_reserved": null, | |
"max_allocated": null | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 32, | |
"total": 1.0254528619998382, | |
"mean": 0.032045401937494944, | |
"stdev": 0.0024176598083933323, | |
"p50": 0.03081651600001578, | |
"p90": 0.03554242700003556, | |
"p95": 0.03569214364996469, | |
"p99": 0.038297389919973175, | |
"values": [ | |
0.0356880499999761, | |
0.039465614999983245, | |
0.03559557700003779, | |
0.030197623999981715, | |
0.030340970999986894, | |
0.03037281100000655, | |
0.030459260000043287, | |
0.032919011999979375, | |
0.030604671999981292, | |
0.03026285599997891, | |
0.030795838000017284, | |
0.030958611000016845, | |
0.030921441999964827, | |
0.031053588000020227, | |
0.03083719400001428, | |
0.03129043899997441, | |
0.030191752000007455, | |
0.030371096999999736, | |
0.030528639999999996, | |
0.030390873999976975, | |
0.03036234999996168, | |
0.030740014000002702, | |
0.035697146999950746, | |
0.03495193899999549, | |
0.03483051300003126, | |
0.034528359999967506, | |
0.03506407700001546, | |
0.0345279189999701, | |
0.031942703000026995, | |
0.030230513999981667, | |
0.029573019999986627, | |
0.029758383000000777 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 31.205724988268695 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 1.1773655227586336e-06, | |
"ram": 4.9204728099994094e-08, | |
"gpu": 0.0, | |
"total": 1.2265702508586277e-06 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 815281.4723004873 | |
} | |
} | |
} | |
} |