{ "config": { "name": "cpu_inference_transformers_text-classification_FacebookAI/roberta-base", "backend": { "name": "pytorch", "version": "2.4.0+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": "error", "numactl": false, "numactl_kwargs": {}, "start_method": "spawn" }, "environment": { "cpu": " AMD EPYC 7763 64-Core Processor", "cpu_count": 4, "cpu_ram_mb": 16757.338112, "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": "b437841d8ac0f8671c66ca6a8aa4cc123563284f", "transformers_version": "4.44.2", "transformers_commit": null, "accelerate_version": "0.33.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": 944.672768, "max_global_vram": null, "max_process_vram": null, "max_reserved": null, "max_allocated": null }, "latency": { "unit": "s", "count": 1, "total": 4.223612323000054, "mean": 4.223612323000054, "stdev": 0.0, "p50": 4.223612323000054, "p90": 4.223612323000054, "p95": 4.223612323000054, "p99": 4.223612323000054, "values": [ 4.223612323000054 ] }, "throughput": null, "energy": { "unit": "kWh", "cpu": 4.784175970000131e-05, "ram": 1.9995528984962e-06, "gpu": 0, "total": 4.984131259849751e-05 }, "efficiency": null }, "forward": { "memory": { "unit": "MB", "max_ram": 952.143872, "max_global_vram": null, "max_process_vram": null, "max_reserved": null, "max_allocated": null }, "latency": { "unit": "s", "count": 32, "total": 1.0014674639999157, "mean": 0.031295858249997366, "stdev": 0.0009144692326233133, "p50": 0.031054031499991197, "p90": 0.031418216700035376, "p95": 0.03279977300001064, "p99": 0.03488936621000505, "values": [ 0.03197181799998816, 0.03138420199996972, 0.03142000900004405, 0.03130991399996219, 0.031037404999949558, 0.0313107660000469, 0.03084467600001517, 0.031327867000015885, 0.031106764999947245, 0.03104989899998145, 0.030898537000041415, 0.03076840500000344, 0.03095974100000376, 0.031043667000005826, 0.03140208599995731, 0.031128502999990815, 0.031058164000000943, 0.030847521999987748, 0.03103511099999423, 0.031231176999995114, 0.031178397999951812, 0.0308504270000185, 0.031061690999990788, 0.031196532000024035, 0.031046923999952014, 0.031026304000022265, 0.030691771000022072, 0.03381171800003813, 0.030705807000003915, 0.030943519999993896, 0.03537352699999019, 0.03044461100000717 ] }, "throughput": { "unit": "samples/s", "value": 31.95310996144623 }, "energy": { "unit": "kWh", "cpu": 1.1709231630719024e-06, "ram": 4.8935067531154416e-08, "gpu": 0.0, "total": 1.219858230603057e-06 }, "efficiency": { "unit": "samples/kWh", "value": 819767.3917448862 } } } }