{ "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.2.1", "optimum_benchmark_commit": "88e73025c13ec1a964328bd3aa8fa3b1b8ab2582", "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.771584, "max_global_vram": null, "max_process_vram": null, "max_reserved": null, "max_allocated": null }, "latency": { "unit": "s", "count": 28, "total": 1.0059070249998285, "mean": 0.03592525089285102, "stdev": 0.00196947294479433, "p50": 0.03658272849997957, "p90": 0.037491591399981414, "p95": 0.037970250849986086, "p99": 0.03827234601999862, "values": [ 0.03729326000001265, 0.03649752399996942, 0.03624167599997463, 0.03545219199997973, 0.036897701000043526, 0.03634514999998828, 0.036348164999992605, 0.03833632900000339, 0.038099354999985735, 0.03773048599998674, 0.03722083399998155, 0.036848959999986164, 0.03651132999999618, 0.036654126999962955, 0.03649788500001705, 0.03691661700003124, 0.03706347999997206, 0.03670915899999727, 0.037389207999979135, 0.03733694199996762, 0.03695067000001018, 0.03601361099998712, 0.031191546999991715, 0.0319279310000411, 0.032116223999992144, 0.032740670000009686, 0.03434033600001385, 0.032235655999954815 ] }, "throughput": { "unit": "samples/s", "value": 27.835574565159014 }, "energy": { "unit": "kWh", "cpu": 1.2275965677367317e-06, "ram": 5.130300258727516e-08, "gpu": 0.0, "total": 1.278899570324007e-06 }, "efficiency": { "unit": "samples/kWh", "value": 781922.2268928058 } } } }