IlyasMoutawwakil HF Staff
Upload cpu_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
fb55601 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": "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.342208, | |
| "system": "Linux", | |
| "machine": "x86_64", | |
| "platform": "Linux-6.5.0-1022-azure-x86_64-with-glibc2.35", | |
| "processor": "x86_64", | |
| "python_version": "3.10.14", | |
| "optimum_benchmark_version": "0.3.1", | |
| "optimum_benchmark_commit": "8ebe8531a5b12ea7926cab66905381c76b24fcc4", | |
| "transformers_version": "4.42.3", | |
| "transformers_commit": null, | |
| "accelerate_version": "0.31.0", | |
| "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": { | |
| "forward": { | |
| "memory": { | |
| "unit": "MB", | |
| "max_ram": 936.6528, | |
| "max_global_vram": null, | |
| "max_process_vram": null, | |
| "max_reserved": null, | |
| "max_allocated": null | |
| }, | |
| "latency": { | |
| "unit": "s", | |
| "count": 28, | |
| "total": 1.0214843340000357, | |
| "mean": 0.03648158335714413, | |
| "stdev": 0.0017589491762905706, | |
| "p50": 0.036961173000008785, | |
| "p90": 0.037804026000009115, | |
| "p95": 0.03792682109997543, | |
| "p99": 0.038642149019995034, | |
| "values": [ | |
| 0.03696238499998117, | |
| 0.0372744169999919, | |
| 0.03702061399997092, | |
| 0.036033294999981536, | |
| 0.03753845800002864, | |
| 0.0369599610000364, | |
| 0.03666300800000499, | |
| 0.036372016000029816, | |
| 0.03683306400000674, | |
| 0.03462882799999534, | |
| 0.03734442699999363, | |
| 0.036315961000013885, | |
| 0.0371922030000178, | |
| 0.036199645000010605, | |
| 0.03888908400000446, | |
| 0.03686366100004079, | |
| 0.03737322000000631, | |
| 0.03778935600001887, | |
| 0.036203371999988576, | |
| 0.03678186799999139, | |
| 0.03797450999996954, | |
| 0.03759816000001592, | |
| 0.0375417440000092, | |
| 0.03729151800001773, | |
| 0.03783825599998636, | |
| 0.03335671299998921, | |
| 0.03168444399994996, | |
| 0.03096014599998398 | |
| ] | |
| }, | |
| "throughput": { | |
| "unit": "samples/s", | |
| "value": 27.41109096637308 | |
| }, | |
| "energy": { | |
| "unit": "kWh", | |
| "cpu": 1.331015604513663e-06, | |
| "ram": 5.56245077989388e-08, | |
| "gpu": 0.0, | |
| "total": 1.3866401123126015e-06 | |
| }, | |
| "efficiency": { | |
| "unit": "samples/kWh", | |
| "value": 721167.6563518897 | |
| } | |
| } | |
| } | |
| } |