IlyasMoutawwakil HF Staff
Upload cpu_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
5315a8b verified | { | |
| "config": { | |
| "name": "cpu_inference_transformers_text-classification_FacebookAI/roberta-base", | |
| "backend": { | |
| "name": "pytorch", | |
| "version": "2.3.0+cpu", | |
| "_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend", | |
| "task": "text-classification", | |
| "library": "transformers", | |
| "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, | |
| "latency": true, | |
| "memory": 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.354496, | |
| "system": "Linux", | |
| "machine": "x86_64", | |
| "platform": "Linux-6.5.0-1021-azure-x86_64-with-glibc2.35", | |
| "processor": "x86_64", | |
| "python_version": "3.10.14", | |
| "optimum_benchmark_version": "0.2.1", | |
| "optimum_benchmark_commit": "9c5b122c5b131ce085c14c11b158b31af90e674e", | |
| "transformers_version": "4.41.0", | |
| "transformers_commit": null, | |
| "accelerate_version": "0.30.1", | |
| "accelerate_commit": null, | |
| "diffusers_version": "0.27.2", | |
| "diffusers_commit": null, | |
| "optimum_version": null, | |
| "optimum_commit": null, | |
| "timm_version": "1.0.3", | |
| "timm_commit": null, | |
| "peft_version": null, | |
| "peft_commit": null | |
| } | |
| }, | |
| "report": { | |
| "forward": { | |
| "memory": { | |
| "unit": "MB", | |
| "max_ram": 936.83712, | |
| "max_global_vram": null, | |
| "max_process_vram": null, | |
| "max_reserved": null, | |
| "max_allocated": null | |
| }, | |
| "latency": { | |
| "unit": "s", | |
| "count": 32, | |
| "total": 1.010807715999988, | |
| "mean": 0.031587741124999624, | |
| "stdev": 0.0009040680038099256, | |
| "p50": 0.031213559000008217, | |
| "p90": 0.033176345099991525, | |
| "p95": 0.03367170860000215, | |
| "p99": 0.033823712769989814, | |
| "values": [ | |
| 0.03361154899999974, | |
| 0.03116081100000656, | |
| 0.03108452800000805, | |
| 0.030898481999997784, | |
| 0.031235879999996996, | |
| 0.03127652699998862, | |
| 0.03119123800001944, | |
| 0.03107808700002579, | |
| 0.03176707099999021, | |
| 0.030628257999978814, | |
| 0.030800128999999288, | |
| 0.03113009300000158, | |
| 0.031833164000033776, | |
| 0.031438868999998704, | |
| 0.031136806000006345, | |
| 0.03099040399996511, | |
| 0.03131308400003263, | |
| 0.03099379599996155, | |
| 0.031854784000017844, | |
| 0.031717478999951254, | |
| 0.03108176299997467, | |
| 0.03231905000001234, | |
| 0.030841004000023986, | |
| 0.031049854000002597, | |
| 0.033193498999992244, | |
| 0.03302195999998503, | |
| 0.03073921500003962, | |
| 0.030717203999984122, | |
| 0.031582426999989366, | |
| 0.03151649400001588, | |
| 0.033858969999982946, | |
| 0.03374523700000509 | |
| ] | |
| }, | |
| "throughput": { | |
| "unit": "samples/s", | |
| "value": 31.657850937893297 | |
| }, | |
| "energy": { | |
| "unit": "kWh", | |
| "cpu": 1.279231895255359e-06, | |
| "ram": 5.3460920957454325e-08, | |
| "gpu": 0.0, | |
| "total": 1.3326928162128134e-06 | |
| }, | |
| "efficiency": { | |
| "unit": "samples/kWh", | |
| "value": 750360.4640428355 | |
| } | |
| } | |
| } | |
| } |