IlyasMoutawwakil HF Staff
Upload cpu_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
503333c 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.7712, | |
| "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": "c321302e3b007186f91357f56a141e530fe6b122", | |
| "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": 939.74528, | |
| "max_global_vram": null, | |
| "max_process_vram": null, | |
| "max_reserved": null, | |
| "max_allocated": null | |
| }, | |
| "latency": { | |
| "unit": "s", | |
| "count": 1, | |
| "total": 4.307466677000036, | |
| "mean": 4.307466677000036, | |
| "stdev": 0.0, | |
| "p50": 4.307466677000036, | |
| "p90": 4.307466677000036, | |
| "p95": 4.307466677000036, | |
| "p99": 4.307466677000036, | |
| "values": [ | |
| 4.307466677000036 | |
| ] | |
| }, | |
| "throughput": null, | |
| "energy": { | |
| "unit": "kWh", | |
| "cpu": 4.7647114627778826e-05, | |
| "ram": 1.9925495621968043e-06, | |
| "gpu": 0, | |
| "total": 4.963966418997563e-05 | |
| }, | |
| "efficiency": null | |
| }, | |
| "forward": { | |
| "memory": { | |
| "unit": "MB", | |
| "max_ram": 947.347456, | |
| "max_global_vram": null, | |
| "max_process_vram": null, | |
| "max_reserved": null, | |
| "max_allocated": null | |
| }, | |
| "latency": { | |
| "unit": "s", | |
| "count": 28, | |
| "total": 1.0235563739996678, | |
| "mean": 0.03655558478570242, | |
| "stdev": 0.001573454230246726, | |
| "p50": 0.036345206499987626, | |
| "p90": 0.039428365700007365, | |
| "p95": 0.0395100918499736, | |
| "p99": 0.03964189750998628, | |
| "values": [ | |
| 0.03666688199996315, | |
| 0.035555746, | |
| 0.03708301999995456, | |
| 0.03383564300003172, | |
| 0.03706621799994991, | |
| 0.03633870900000602, | |
| 0.0352906120000398, | |
| 0.03533262999997078, | |
| 0.036502074999987144, | |
| 0.03466424100002996, | |
| 0.034555037999950855, | |
| 0.036774493999985225, | |
| 0.03596798699999226, | |
| 0.03566922900000691, | |
| 0.036081208999974024, | |
| 0.03572263899997097, | |
| 0.03471983600002204, | |
| 0.03656016300004694, | |
| 0.03491330599996445, | |
| 0.036164572999950906, | |
| 0.03635170399996923, | |
| 0.03722972299999583, | |
| 0.039415517000009004, | |
| 0.037985384999956295, | |
| 0.039680341999996926, | |
| 0.03953795499995749, | |
| 0.03945834600000353, | |
| 0.038433151999981874 | |
| ] | |
| }, | |
| "throughput": { | |
| "unit": "samples/s", | |
| "value": 27.35560122652227 | |
| }, | |
| "energy": { | |
| "unit": "kWh", | |
| "cpu": 1.2200510352430331e-06, | |
| "ram": 5.101703910539365e-08, | |
| "gpu": 0.0, | |
| "total": 1.2710680743484268e-06 | |
| }, | |
| "efficiency": { | |
| "unit": "samples/kWh", | |
| "value": 786739.9238334411 | |
| } | |
| } | |
| } | |
| } |