{ "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_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-1023-azure-x86_64-with-glibc2.35", "processor": "x86_64", "python_version": "3.10.14", "optimum_benchmark_version": "0.3.1", "optimum_benchmark_commit": "646643b121045387ff03e098548c9336e842d8f3", "transformers_version": "4.42.4", "transformers_commit": null, "accelerate_version": "0.32.1", "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": { "load": { "memory": { "unit": "MB", "max_ram": 941.944832, "max_global_vram": null, "max_process_vram": null, "max_reserved": null, "max_allocated": null }, "latency": { "unit": "s", "count": 1, "total": 4.296807704000003, "mean": 4.296807704000003, "stdev": 0.0, "p50": 4.296807704000003, "p90": 4.296807704000003, "p95": 4.296807704000003, "p99": 4.296807704000003, "values": [ 4.296807704000003 ] }, "throughput": null, "energy": { "unit": "kWh", "cpu": 4.759637382295397e-05, "ram": 1.989293863265402e-06, "gpu": 0, "total": 4.958566768621938e-05 }, "efficiency": null }, "forward": { "memory": { "unit": "MB", "max_ram": 950.726656, "max_global_vram": null, "max_process_vram": null, "max_reserved": null, "max_allocated": null }, "latency": { "unit": "s", "count": 29, "total": 1.0048600370001282, "mean": 0.034650346103452696, "stdev": 0.0008116175621129103, "p50": 0.03466379900004313, "p90": 0.035358678200009305, "p95": 0.035803543200017884, "p99": 0.0368407008000122, "values": [ 0.035352595000006204, 0.03466379900004313, 0.03488372399999662, 0.03239855499998612, 0.03522065700002486, 0.034418549000008625, 0.03457242799998994, 0.034476577999953406, 0.037135013000010986, 0.03360874800000602, 0.034026903999972546, 0.035383011000021725, 0.036083898000015324, 0.03470832299996118, 0.03417443099999673, 0.03456039600001759, 0.03367463099999668, 0.034602155000015955, 0.034946572000023934, 0.034705007000013666, 0.034723493000001326, 0.034107325000036326, 0.03436950700000807, 0.03404699100002517, 0.03495334400003003, 0.035304644999996526, 0.034857253999973636, 0.034735138000030474, 0.034166365999965365 ] }, "throughput": { "unit": "samples/s", "value": 28.859740592904384 }, "energy": { "unit": "kWh", "cpu": 1.1625251349280864e-06, "ram": 4.8584274068462836e-08, "gpu": 0.0, "total": 1.211109408996549e-06 }, "efficiency": { "unit": "samples/kWh", "value": 825689.2338311025 } } } }