IlyasMoutawwakil HF Staff
Upload cpu_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
a3500d7 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": "warn", | |
| "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-1025-azure-x86_64-with-glibc2.35", | |
| "processor": "x86_64", | |
| "python_version": "3.10.14", | |
| "optimum_benchmark_version": "0.4.0", | |
| "optimum_benchmark_commit": "f9861fced16a3dc82c7a05e66fd9a3b22cd9c663", | |
| "transformers_version": "4.44.2", | |
| "transformers_commit": null, | |
| "accelerate_version": "0.34.0", | |
| "accelerate_commit": null, | |
| "diffusers_version": "0.30.2", | |
| "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": 945.225728, | |
| "max_global_vram": null, | |
| "max_process_vram": null, | |
| "max_reserved": null, | |
| "max_allocated": null | |
| }, | |
| "latency": { | |
| "unit": "s", | |
| "count": 1, | |
| "total": 4.281228994000003, | |
| "mean": 4.281228994000003, | |
| "stdev": 0.0, | |
| "p50": 4.281228994000003, | |
| "p90": 4.281228994000003, | |
| "p95": 4.281228994000003, | |
| "p99": 4.281228994000003, | |
| "values": [ | |
| 4.281228994000003 | |
| ] | |
| }, | |
| "throughput": null, | |
| "energy": { | |
| "unit": "kWh", | |
| "cpu": 4.775479764999994e-05, | |
| "ram": 1.995921584449327e-06, | |
| "gpu": 0, | |
| "total": 4.975071923444927e-05 | |
| }, | |
| "efficiency": null | |
| }, | |
| "forward": { | |
| "memory": { | |
| "unit": "MB", | |
| "max_ram": 952.696832, | |
| "max_global_vram": null, | |
| "max_process_vram": null, | |
| "max_reserved": null, | |
| "max_allocated": null | |
| }, | |
| "latency": { | |
| "unit": "s", | |
| "count": 30, | |
| "total": 1.0246221910001623, | |
| "mean": 0.03415407303333874, | |
| "stdev": 0.0008667850380106075, | |
| "p50": 0.034221022000025414, | |
| "p90": 0.03509310490002804, | |
| "p95": 0.035315286699986355, | |
| "p99": 0.03549168666997616, | |
| "values": [ | |
| 0.03426483900000221, | |
| 0.03412714099999903, | |
| 0.03335735799998929, | |
| 0.0327960570000414, | |
| 0.03427609100003792, | |
| 0.03481796599999143, | |
| 0.034900551000021096, | |
| 0.03422488400002521, | |
| 0.03351230900000246, | |
| 0.03326726000000235, | |
| 0.03221321400002353, | |
| 0.03479178700001739, | |
| 0.03466418800002202, | |
| 0.034217160000025615, | |
| 0.034101082999995924, | |
| 0.03363553899998806, | |
| 0.03299154300003693, | |
| 0.035041845000023386, | |
| 0.03419565900003363, | |
| 0.03512613399999509, | |
| 0.034875152999973125, | |
| 0.03413210999997318, | |
| 0.034175091000008706, | |
| 0.032619765999982064, | |
| 0.0350894350000317, | |
| 0.03496942999998964, | |
| 0.035500524999974914, | |
| 0.03451015999996798, | |
| 0.035470047999979215, | |
| 0.03275786500000777 | |
| ] | |
| }, | |
| "throughput": { | |
| "unit": "samples/s", | |
| "value": 29.279084782183144 | |
| }, | |
| "energy": { | |
| "unit": "kWh", | |
| "cpu": 1.1389186511111248e-06, | |
| "ram": 4.7597859689931654e-08, | |
| "gpu": 0.0, | |
| "total": 1.1865165108010566e-06 | |
| }, | |
| "efficiency": { | |
| "unit": "samples/kWh", | |
| "value": 842803.2740352403 | |
| } | |
| } | |
| } | |
| } |