IlyasMoutawwakil HF Staff
Upload cpu_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
a327d44 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.767104, | |
| "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": "023da6c3f34d2ed94ddc0e0bfec041ce126e452f", | |
| "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": 941.52704, | |
| "max_global_vram": null, | |
| "max_process_vram": null, | |
| "max_reserved": null, | |
| "max_allocated": null | |
| }, | |
| "latency": { | |
| "unit": "s", | |
| "count": 1, | |
| "total": 4.386154598000019, | |
| "mean": 4.386154598000019, | |
| "stdev": 0.0, | |
| "p50": 4.386154598000019, | |
| "p90": 4.386154598000019, | |
| "p95": 4.386154598000019, | |
| "p99": 4.386154598000019, | |
| "values": [ | |
| 4.386154598000019 | |
| ] | |
| }, | |
| "throughput": null, | |
| "energy": { | |
| "unit": "kWh", | |
| "cpu": 4.769011850555545e-05, | |
| "ram": 1.994350002264023e-06, | |
| "gpu": 0, | |
| "total": 4.9684468507819475e-05 | |
| }, | |
| "efficiency": null | |
| }, | |
| "forward": { | |
| "memory": { | |
| "unit": "MB", | |
| "max_ram": 948.998144, | |
| "max_global_vram": null, | |
| "max_process_vram": null, | |
| "max_reserved": null, | |
| "max_allocated": null | |
| }, | |
| "latency": { | |
| "unit": "s", | |
| "count": 31, | |
| "total": 1.002583700000173, | |
| "mean": 0.03234140967742493, | |
| "stdev": 0.0011565585194468252, | |
| "p50": 0.03195114900000817, | |
| "p90": 0.034068375000003925, | |
| "p95": 0.03506412699999828, | |
| "p99": 0.03587730589999296, | |
| "values": [ | |
| 0.036073822999981076, | |
| 0.035418766000020696, | |
| 0.03291222600000765, | |
| 0.03222960700003341, | |
| 0.03169539300000679, | |
| 0.03222159199998487, | |
| 0.03187676099997816, | |
| 0.03209936500002186, | |
| 0.031997335000028215, | |
| 0.03322781299999633, | |
| 0.031914561999997204, | |
| 0.03183641600003284, | |
| 0.031526530000007824, | |
| 0.031856593000043176, | |
| 0.032289659000014126, | |
| 0.03180440700003828, | |
| 0.03114016099999617, | |
| 0.031859028000042144, | |
| 0.0314382759999603, | |
| 0.031614563999994516, | |
| 0.03195114900000817, | |
| 0.032115324000017154, | |
| 0.031971086999988074, | |
| 0.031747340999970675, | |
| 0.03174623799998244, | |
| 0.032304105000037, | |
| 0.032145119999995586, | |
| 0.034068375000003925, | |
| 0.03470948799997586, | |
| 0.03144886600000518, | |
| 0.031343730000003234 | |
| ] | |
| }, | |
| "throughput": { | |
| "unit": "samples/s", | |
| "value": 30.920111707376307 | |
| }, | |
| "energy": { | |
| "unit": "kWh", | |
| "cpu": 1.195621111952907e-06, | |
| "ram": 4.999563300055621e-08, | |
| "gpu": 0.0, | |
| "total": 1.2456167449534632e-06 | |
| }, | |
| "efficiency": { | |
| "unit": "samples/kWh", | |
| "value": 802815.1548631922 | |
| } | |
| } | |
| } | |
| } |