{ "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-1025-azure-x86_64-with-glibc2.35", "processor": "x86_64", "python_version": "3.10.14", "optimum_benchmark_version": "0.4.0", "optimum_benchmark_commit": "64616c22a81fbd56113ffbadbf137b852c35ed9d", "transformers_version": "4.44.2", "transformers_commit": null, "accelerate_version": "0.33.0", "accelerate_commit": null, "diffusers_version": "0.30.1", "diffusers_commit": null, "optimum_version": null, "optimum_commit": null, "timm_version": "1.0.9", "timm_commit": null, "peft_version": null, "peft_commit": null } }, "report": { "load": { "memory": { "unit": "MB", "max_ram": 947.392512, "max_global_vram": null, "max_process_vram": null, "max_reserved": null, "max_allocated": null }, "latency": { "unit": "s", "count": 1, "total": 4.366105595000022, "mean": 4.366105595000022, "stdev": 0.0, "p50": 4.366105595000022, "p90": 4.366105595000022, "p95": 4.366105595000022, "p99": 4.366105595000022, "values": [ 4.366105595000022 ] }, "throughput": null, "energy": { "unit": "kWh", "cpu": 4.8267760333333055e-05, "ram": 2.017360374071575e-06, "gpu": 0, "total": 5.0285120707404627e-05 }, "efficiency": null }, "forward": { "memory": { "unit": "MB", "max_ram": 955.12576, "max_global_vram": null, "max_process_vram": null, "max_reserved": null, "max_allocated": null }, "latency": { "unit": "s", "count": 31, "total": 1.0129705430000513, "mean": 0.032676469129033915, "stdev": 0.0009422778009398675, "p50": 0.03235428599998613, "p90": 0.03357767199997852, "p95": 0.034217975999979444, "p99": 0.03588290740004822, "values": [ 0.03287799800000357, 0.03217324699994606, 0.032690876999936336, 0.03225203500005591, 0.032476685999995425, 0.032093778999978895, 0.03211514800000259, 0.03235428599998613, 0.03222460400002092, 0.03185583200001929, 0.03221133900001405, 0.03275618999998642, 0.031709045999946284, 0.031972007000035774, 0.03260350800007927, 0.03208710000001247, 0.0319168419999869, 0.032692954000026475, 0.03240615800007163, 0.034278183999958856, 0.03312095700005102, 0.03290452099997765, 0.03261479899992992, 0.03357767199997852, 0.03350146000002496, 0.03233734899993124, 0.0319367179999972, 0.032148806000009245, 0.03415776800000003, 0.036570646000086526, 0.032352027000001726 ] }, "throughput": { "unit": "samples/s", "value": 30.603061672641775 }, "energy": { "unit": "kWh", "cpu": 1.2193626387152021e-06, "ram": 5.095925429338133e-08, "gpu": 0.0, "total": 1.2703218930085835e-06 }, "efficiency": { "unit": "samples/kWh", "value": 787202.0513097172 } } } }