{ "config": { "name": "cpu_inference_transformers_multiple-choice_FacebookAI/roberta-base", "backend": { "name": "pytorch", "version": "2.3.1+cpu", "_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend", "task": "multiple-choice", "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": "92716b19cf9a85489ef44066dcea60e154b460dc", "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.891584, "max_global_vram": null, "max_process_vram": null, "max_reserved": null, "max_allocated": null }, "latency": { "unit": "s", "count": 1, "total": 4.302886564000005, "mean": 4.302886564000005, "stdev": 0.0, "p50": 4.302886564000005, "p90": 4.302886564000005, "p95": 4.302886564000005, "p99": 4.302886564000005, "values": [ 4.302886564000005 ] }, "throughput": null, "energy": { "unit": "kWh", "cpu": 4.798881345325047e-05, "ram": 2.0056963436786645e-06, "gpu": 0, "total": 4.9994509796929134e-05 }, "efficiency": null }, "forward": { "memory": { "unit": "MB", "max_ram": 953.032704, "max_global_vram": null, "max_process_vram": null, "max_reserved": null, "max_allocated": null }, "latency": { "unit": "s", "count": 22, "total": 1.0094211319998863, "mean": 0.04588277872726756, "stdev": 0.001940842802795586, "p50": 0.04639170350000654, "p90": 0.04758972319995678, "p95": 0.04765777304995424, "p99": 0.04780762278002555, "values": [ 0.04628777400000672, 0.04681196600000703, 0.04555106399999431, 0.046767952999971385, 0.04646302199995489, 0.04645795200002567, 0.04575733100000434, 0.045125077000022884, 0.047658800999954565, 0.04636783400002287, 0.046096986999998535, 0.04541286599999239, 0.04763824199994815, 0.04614463599995133, 0.047847183000044424, 0.04663550499998337, 0.045402877000014996, 0.04641557299999022, 0.047153054000034444, 0.04695524799996065, 0.041068827000003694, 0.039401359999999386 ] }, "throughput": { "unit": "samples/s", "value": 21.794669541356974 }, "energy": { "unit": "kWh", "cpu": 1.5538031219417213e-06, "ram": 6.493736113165701e-08, "gpu": 0.0, "total": 1.6187404830733783e-06 }, "efficiency": { "unit": "samples/kWh", "value": 617764.2497093646 } } } }