{ "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-1024-azure-x86_64-with-glibc2.35", "processor": "x86_64", "python_version": "3.10.14", "optimum_benchmark_version": "0.3.1", "optimum_benchmark_commit": "693db979e9b302426a0eee51d54cc298ad108515", "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": 940.740608, "max_global_vram": null, "max_process_vram": null, "max_reserved": null, "max_allocated": null }, "latency": { "unit": "s", "count": 1, "total": 4.257671366000011, "mean": 4.257671366000011, "stdev": 0.0, "p50": 4.257671366000011, "p90": 4.257671366000011, "p95": 4.257671366000011, "p99": 4.257671366000011, "values": [ 4.257671366000011 ] }, "throughput": null, "energy": { "unit": "kWh", "cpu": 4.795653820037842e-05, "ram": 2.004348688384425e-06, "gpu": 0, "total": 4.9960886888762845e-05 }, "efficiency": null }, "forward": { "memory": { "unit": "MB", "max_ram": 948.736, "max_global_vram": null, "max_process_vram": null, "max_reserved": null, "max_allocated": null }, "latency": { "unit": "s", "count": 30, "total": 1.024434135999968, "mean": 0.034147804533332264, "stdev": 0.001983398407073651, "p50": 0.034862210000000005, "p90": 0.03571353299997213, "p95": 0.03618875174998948, "p99": 0.03633202962998496, "values": [ 0.03506753300001719, 0.03633874399997694, 0.03359450599998581, 0.03258241100002124, 0.035677955999972255, 0.034692702000029385, 0.03603372599997101, 0.03485563800001046, 0.03484623899998951, 0.03536726599998019, 0.03562210199999072, 0.03527459200000749, 0.03490779499998098, 0.03472473199997239, 0.03555431500001305, 0.03472088500001291, 0.03523256300002231, 0.03631559100000459, 0.03543432100002519, 0.03486878199998955, 0.0352538930000037, 0.03534246899999971, 0.0344050740000057, 0.03425047499996481, 0.03284787500001585, 0.029980398999953195, 0.030387571000005664, 0.030804672000044775, 0.029690515000027062, 0.029758793999974387 ] }, "throughput": { "unit": "samples/s", "value": 29.28445953308309 }, "energy": { "unit": "kWh", "cpu": 1.156508805705052e-06, "ram": 4.833232825938146e-08, "gpu": 0.0, "total": 1.2048411339644333e-06 }, "efficiency": { "unit": "samples/kWh", "value": 829984.9430850523 } } } }