IlyasMoutawwakil HF Staff
Upload cpu_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
3198194 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": "d4e01cd53c797cc9529d2651b70bdedc97c316bb", | |
| "transformers_version": "4.43.1", | |
| "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.07008, | |
| "max_global_vram": null, | |
| "max_process_vram": null, | |
| "max_reserved": null, | |
| "max_allocated": null | |
| }, | |
| "latency": { | |
| "unit": "s", | |
| "count": 1, | |
| "total": 4.252794085000005, | |
| "mean": 4.252794085000005, | |
| "stdev": 0.0, | |
| "p50": 4.252794085000005, | |
| "p90": 4.252794085000005, | |
| "p95": 4.252794085000005, | |
| "p99": 4.252794085000005, | |
| "values": [ | |
| 4.252794085000005 | |
| ] | |
| }, | |
| "throughput": null, | |
| "energy": { | |
| "unit": "kWh", | |
| "cpu": 4.840027888615927e-05, | |
| "ram": 2.0228286586961987e-06, | |
| "gpu": 0, | |
| "total": 5.042310754485547e-05 | |
| }, | |
| "efficiency": null | |
| }, | |
| "forward": { | |
| "memory": { | |
| "unit": "MB", | |
| "max_ram": 952.803328, | |
| "max_global_vram": null, | |
| "max_process_vram": null, | |
| "max_reserved": null, | |
| "max_allocated": null | |
| }, | |
| "latency": { | |
| "unit": "s", | |
| "count": 30, | |
| "total": 1.0246016360001136, | |
| "mean": 0.03415338786667045, | |
| "stdev": 0.0007999718997226167, | |
| "p50": 0.03423623450001401, | |
| "p90": 0.034984716100007064, | |
| "p95": 0.03514213425002879, | |
| "p99": 0.03561249413002315, | |
| "values": [ | |
| 0.03411536300001217, | |
| 0.03458181600001353, | |
| 0.0337452499999813, | |
| 0.03264606200002618, | |
| 0.03385962400000153, | |
| 0.0346615749999728, | |
| 0.034608826999999565, | |
| 0.03432561599998962, | |
| 0.03419530299998996, | |
| 0.033562546999974074, | |
| 0.03233666199997742, | |
| 0.03346375300003501, | |
| 0.03502318300002116, | |
| 0.033934934999990674, | |
| 0.034382612999991125, | |
| 0.03400929399998631, | |
| 0.03291403299999729, | |
| 0.03278108400002111, | |
| 0.0357648610000183, | |
| 0.033916069000042626, | |
| 0.03480286899997509, | |
| 0.034770508999997674, | |
| 0.03427716600003805, | |
| 0.0341671099999985, | |
| 0.03318139500004236, | |
| 0.034546379000005345, | |
| 0.034980442000005496, | |
| 0.03523945800003503, | |
| 0.034970874000009644, | |
| 0.03483696399996461 | |
| ] | |
| }, | |
| "throughput": { | |
| "unit": "samples/s", | |
| "value": 29.27967216323738 | |
| }, | |
| "energy": { | |
| "unit": "kWh", | |
| "cpu": 1.1458933742996915e-06, | |
| "ram": 4.78890034971822e-08, | |
| "gpu": 0.0, | |
| "total": 1.1937823777968736e-06 | |
| }, | |
| "efficiency": { | |
| "unit": "samples/kWh", | |
| "value": 837673.6150566244 | |
| } | |
| } | |
| } | |
| } |