IlyasMoutawwakil's picture
Upload cpu_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
6840d6c verified
raw
history blame
5.68 kB
{
"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": "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",
"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-1022-azure-x86_64-with-glibc2.35",
"processor": "x86_64",
"python_version": "3.10.14",
"optimum_benchmark_version": "0.3.0",
"optimum_benchmark_commit": "748abd0c7ac21cfb1798768cad39007b466ce8e8",
"transformers_version": "4.42.3",
"transformers_commit": null,
"accelerate_version": "0.31.0",
"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": {
"forward": {
"memory": {
"unit": "MB",
"max_ram": 941.039616,
"max_global_vram": null,
"max_process_vram": null,
"max_reserved": null,
"max_allocated": null
},
"latency": {
"unit": "s",
"count": 22,
"total": 1.0359433090000607,
"mean": 0.04708833222727549,
"stdev": 0.003186730771292657,
"p50": 0.04773207200000229,
"p90": 0.049897197399982926,
"p95": 0.049999193300004664,
"p99": 0.05194411247000516,
"values": [
0.04968575499998451,
0.04751558400002409,
0.04793182800000295,
0.048670520000001716,
0.04774996000000442,
0.047181273999996165,
0.04714005799999654,
0.048065406000006305,
0.05246001800000499,
0.04745143600001711,
0.047389529999975366,
0.050003325000005816,
0.0475034720000167,
0.04992069099998275,
0.04872668500001964,
0.04792898200000195,
0.049013697000020784,
0.04771418400000016,
0.04354034200000001,
0.04049645899999632,
0.03992759199999796,
0.03992651100000444
]
},
"throughput": {
"unit": "samples/s",
"value": 21.23668332897038
},
"energy": {
"unit": "kWh",
"cpu": 1.5814818276299372e-06,
"ram": 6.609270549961365e-08,
"gpu": 0.0,
"total": 1.6475745331295509e-06
},
"efficiency": {
"unit": "samples/kWh",
"value": 606952.8145112259
}
}
}
}