{ "config": { "name": "cpu_inference_transformers_text-classification_FacebookAI/roberta-base", "backend": { "name": "pytorch", "version": "2.3.0+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", "start_method": "spawn" }, "environment": { "cpu": " AMD EPYC 7763 64-Core Processor", "cpu_count": 4, "cpu_ram_mb": 16757.354496, "system": "Linux", "machine": "x86_64", "platform": "Linux-6.5.0-1021-azure-x86_64-with-glibc2.35", "processor": "x86_64", "python_version": "3.10.14", "optimum_benchmark_version": "0.2.0", "optimum_benchmark_commit": "2db7e171d23768cdeb341987283e17e0b2db9bd9", "transformers_version": "4.40.2", "transformers_commit": null, "accelerate_version": "0.30.1", "accelerate_commit": null, "diffusers_version": "0.27.2", "diffusers_commit": null, "optimum_version": null, "optimum_commit": null, "timm_version": "1.0.3", "timm_commit": null, "peft_version": null, "peft_commit": null } }, "report": { "forward": { "memory": { "unit": "MB", "max_ram": 936.472576, "max_global_vram": null, "max_process_vram": null, "max_reserved": null, "max_allocated": null }, "latency": { "unit": "s", "count": 29, "total": 1.0298660819999554, "mean": 0.03551262351723984, "stdev": 0.0007184867090388221, "p50": 0.035633279000023776, "p90": 0.03630524660003402, "p95": 0.036554439200006075, "p99": 0.036978298159999666, "values": [ 0.03578256700001248, 0.0350099760000262, 0.03513210500000241, 0.03594516099997236, 0.03369363100000555, 0.03574113999997053, 0.03572189400000525, 0.03608752600001708, 0.03501352399996449, 0.03653633300001502, 0.03517028599998184, 0.03464579799998546, 0.03583062699999573, 0.035376369999994495, 0.0358358580000413, 0.03551335599996719, 0.03538277199999129, 0.035430491999989044, 0.03498429799998348, 0.03427149899999904, 0.035711404999972274, 0.036038675000042986, 0.035633279000023776, 0.036247475000038776, 0.03467128400001229, 0.03656651000000011, 0.037138437999999496, 0.03607525399996803, 0.034678548999977465 ] }, "throughput": { "unit": "samples/s", "value": 28.159000968051355 }, "energy": { "unit": "kWh", "cpu": 1.1847706354828397e-06, "ram": 4.951349857482124e-08, "gpu": 0.0, "total": 1.2342841340576607e-06 }, "efficiency": { "unit": "samples/kWh", "value": 810186.2224482617 } } } }