{ "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.342208, "system": "Linux", "machine": "x86_64", "platform": "Linux-6.5.0-1024-azure-x86_64-with-glibc2.35", "processor": "x86_64", "python_version": "3.10.14", "optimum_benchmark_version": "0.3.1", "optimum_benchmark_commit": "16c37a2d0a7e1a726b6a2a50e2fbcf32df3b575c", "transformers_version": "4.43.3", "transformers_commit": null, "accelerate_version": "0.33.0", "accelerate_commit": null, "diffusers_version": "0.29.2", "diffusers_commit": null, "optimum_version": null, "optimum_commit": null, "timm_version": "1.0.8", "timm_commit": null, "peft_version": null, "peft_commit": null } }, "report": { "load": { "memory": { "unit": "MB", "max_ram": 947.912704, "max_global_vram": null, "max_process_vram": null, "max_reserved": null, "max_allocated": null }, "latency": { "unit": "s", "count": 1, "total": 4.4045735560000026, "mean": 4.4045735560000026, "stdev": 0.0, "p50": 4.4045735560000026, "p90": 4.4045735560000026, "p95": 4.4045735560000026, "p99": 4.4045735560000026, "values": [ 4.4045735560000026 ] }, "throughput": null, "energy": { "unit": "kWh", "cpu": 4.898492362764147e-05, "ram": 2.047263970853237e-06, "gpu": 0, "total": 5.1032187598494704e-05 }, "efficiency": null }, "forward": { "memory": { "unit": "MB", "max_ram": 955.51488, "max_global_vram": null, "max_process_vram": null, "max_reserved": null, "max_allocated": null }, "latency": { "unit": "s", "count": 27, "total": 1.0075309879999281, "mean": 0.037315962518515856, "stdev": 0.0017712074838000158, "p50": 0.03760075299999244, "p90": 0.03917235219996655, "p95": 0.03976412950000281, "p99": 0.04000310932003003, "values": [ 0.03836582100001351, 0.036890305999975226, 0.03676185599999826, 0.03510068399998545, 0.037690800999996554, 0.03871518500000093, 0.0393163569999615, 0.03776559099998167, 0.03604740299999776, 0.035700995000013336, 0.03843491999998605, 0.037346708999962175, 0.038234085999988565, 0.039956032000020514, 0.036943635000000086, 0.03631885900000498, 0.03796665500004792, 0.037415226999996776, 0.03836617199999637, 0.038755259000026854, 0.03907634899996992, 0.04001965000003338, 0.03760075299999244, 0.037166490999993584, 0.03597189099997422, 0.03343529400001444, 0.03216800699999567 ] }, "throughput": { "unit": "samples/s", "value": 26.798183203871766 }, "energy": { "unit": "kWh", "cpu": 1.2885755108248804e-06, "ram": 5.3852011488457244e-08, "gpu": 0.0, "total": 1.3424275223133375e-06 }, "efficiency": { "unit": "samples/kWh", "value": 744919.1731980811 } } } }