IlyasMoutawwakil HF Staff
Upload cpu_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
b6a54a1 verified | { | |
| "config": { | |
| "name": "cpu_inference_transformers_text-classification_FacebookAI/roberta-base", | |
| "backend": { | |
| "name": "pytorch", | |
| "version": "2.3.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": {}, | |
| "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, | |
| "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.334016, | |
| "system": "Linux", | |
| "machine": "x86_64", | |
| "platform": "Linux-6.5.0-1023-azure-x86_64-with-glibc2.35", | |
| "processor": "x86_64", | |
| "python_version": "3.10.14", | |
| "optimum_benchmark_version": "0.3.1", | |
| "optimum_benchmark_commit": "bc977b19adf337e8eb02985f3cceb35e1a783a1c", | |
| "transformers_version": "4.42.4", | |
| "transformers_commit": null, | |
| "accelerate_version": "0.32.1", | |
| "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": 934.555648, | |
| "max_global_vram": null, | |
| "max_process_vram": null, | |
| "max_reserved": null, | |
| "max_allocated": null | |
| }, | |
| "latency": { | |
| "unit": "s", | |
| "count": 1, | |
| "total": 4.367679865000014, | |
| "mean": 4.367679865000014, | |
| "stdev": 0.0, | |
| "p50": 4.367679865000014, | |
| "p90": 4.367679865000014, | |
| "p95": 4.367679865000014, | |
| "p99": 4.367679865000014, | |
| "values": [ | |
| 4.367679865000014 | |
| ] | |
| }, | |
| "throughput": null, | |
| "energy": { | |
| "unit": "kWh", | |
| "cpu": 4.879205094443428e-05, | |
| "ram": 2.0392898312564966e-06, | |
| "gpu": 0, | |
| "total": 5.0831340775690776e-05 | |
| }, | |
| "efficiency": null | |
| }, | |
| "forward": { | |
| "memory": { | |
| "unit": "MB", | |
| "max_ram": 942.55104, | |
| "max_global_vram": null, | |
| "max_process_vram": null, | |
| "max_reserved": null, | |
| "max_allocated": null | |
| }, | |
| "latency": { | |
| "unit": "s", | |
| "count": 30, | |
| "total": 1.0303347759997337, | |
| "mean": 0.03434449253332446, | |
| "stdev": 0.0026429687839886317, | |
| "p50": 0.03269345999999018, | |
| "p90": 0.037581001799992464, | |
| "p95": 0.038066512899968076, | |
| "p99": 0.040207894329997204, | |
| "values": [ | |
| 0.037546899999995276, | |
| 0.03699265199998081, | |
| 0.03729413699994666, | |
| 0.035358902000041326, | |
| 0.037416516000007505, | |
| 0.0375109610000095, | |
| 0.03741287899998724, | |
| 0.032747851999999966, | |
| 0.031992135999985294, | |
| 0.03462561899999628, | |
| 0.038212635999968825, | |
| 0.03788791799996716, | |
| 0.04102285900000879, | |
| 0.03232496999999057, | |
| 0.03556177099994784, | |
| 0.03231357800001433, | |
| 0.032252664999987246, | |
| 0.03245750799999314, | |
| 0.03180439399994839, | |
| 0.03207633300002044, | |
| 0.03149147900001026, | |
| 0.031657488999996986, | |
| 0.03184076200000163, | |
| 0.03241456799997877, | |
| 0.0326390679999804, | |
| 0.03174781799998527, | |
| 0.03257319400000824, | |
| 0.032461575000013454, | |
| 0.035465010999985225, | |
| 0.03323062599997684 | |
| ] | |
| }, | |
| "throughput": { | |
| "unit": "samples/s", | |
| "value": 29.11674991353272 | |
| }, | |
| "energy": { | |
| "unit": "kWh", | |
| "cpu": 1.1839319559861517e-06, | |
| "ram": 4.9478942444256006e-08, | |
| "gpu": 0.0, | |
| "total": 1.2334108984304078e-06 | |
| }, | |
| "efficiency": { | |
| "unit": "samples/kWh", | |
| "value": 810759.8216235662 | |
| } | |
| } | |
| } | |
| } |