IlyasMoutawwakil
HF staff
Upload cpu_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
4dd4ffb
verified
{ | |
"config": { | |
"name": "cpu_inference_transformers_text-classification_FacebookAI/roberta-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.3.0+cpu", | |
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend", | |
"task": "text-classification", | |
"library": "transformers", | |
"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": {}, | |
"hub_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, | |
"latency": true, | |
"memory": 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", | |
"start_method": "spawn" | |
}, | |
"environment": { | |
"cpu": " AMD EPYC 7763 64-Core Processor", | |
"cpu_count": 4, | |
"cpu_ram_mb": 16757.346304, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-6.5.0-1021-azure-x86_64-with-glibc2.35", | |
"processor": "x86_64", | |
"python_version": "3.10.14", | |
"optimum_benchmark_version": "0.2.0", | |
"optimum_benchmark_commit": "77e62a3eef699bce70248c56d35c703369938b85", | |
"transformers_version": "4.40.2", | |
"transformers_commit": null, | |
"accelerate_version": "0.30.1", | |
"accelerate_commit": null, | |
"diffusers_version": "0.27.2", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.3", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 936.955904, | |
"max_global_vram": null, | |
"max_process_vram": null, | |
"max_reserved": null, | |
"max_allocated": null | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 30, | |
"total": 1.015696192000064, | |
"mean": 0.03385653973333547, | |
"stdev": 0.001469697670979787, | |
"p50": 0.03322631950001664, | |
"p90": 0.03648619119999239, | |
"p95": 0.0370382329000023, | |
"p99": 0.03744598686996596, | |
"values": [ | |
0.033853768999961176, | |
0.03314028500000177, | |
0.033515050999994855, | |
0.034410511999965365, | |
0.0329758409999954, | |
0.03317969800002629, | |
0.033318184999984624, | |
0.033272941000006995, | |
0.032910578999974405, | |
0.03268686400002707, | |
0.03385047299997268, | |
0.03314438299997846, | |
0.035234050000042316, | |
0.033171208999988266, | |
0.03332266299997855, | |
0.03338856600004192, | |
0.033106142000008276, | |
0.03308047800004488, | |
0.03248763499999541, | |
0.03296645300002865, | |
0.033309710000025916, | |
0.03266016500003843, | |
0.03287766900001543, | |
0.032982242999992195, | |
0.036425759999985985, | |
0.03703007200005004, | |
0.03704490999996324, | |
0.03760980699996708, | |
0.03632215400000405, | |
0.03241792500000429 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 29.536391133775275 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 1.2575666109720868e-06, | |
"ram": 5.2555018484029204e-08, | |
"gpu": 0.0, | |
"total": 1.3101216294561158e-06 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 763287.9096997584 | |
} | |
} | |
} | |
} |