IlyasMoutawwakil's picture
Upload cpu_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
7da6ac7 verified
raw
history blame
5.71 kB
{
"config": {
"name": "cpu_inference_transformers_multiple-choice_FacebookAI/roberta-base",
"backend": {
"name": "pytorch",
"version": "2.3.0+cpu",
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
"task": "multiple-choice",
"model": "FacebookAI/roberta-base",
"library": "transformers",
"device": "cpu",
"device_ids": null,
"seed": 42,
"inter_op_num_threads": null,
"intra_op_num_threads": null,
"hub_kwargs": {
"revision": "main",
"force_download": false,
"local_files_only": false,
"trust_remote_code": false
},
"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.346304,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-6.5.0-1018-azure-x86_64-with-glibc2.35",
"processor": "x86_64",
"python_version": "3.10.14",
"optimum_benchmark_version": "0.2.0",
"optimum_benchmark_commit": "99006bdc98988288ce9079002c8f7a21bf6aa26d",
"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": "0.9.16",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"forward": {
"memory": {
"unit": "MB",
"max_ram": 942.395392,
"max_global_vram": null,
"max_process_vram": null,
"max_reserved": null,
"max_allocated": null
},
"latency": {
"unit": "s",
"count": 23,
"total": 1.0324147810000284,
"mean": 0.04488759917391428,
"stdev": 0.001573577022788701,
"p50": 0.0452161750000073,
"p90": 0.04583160420000354,
"p95": 0.04645808050001108,
"p99": 0.04715338797999891,
"values": [
0.047330001999995375,
0.04485863099998255,
0.045399706000011975,
0.04341254299998809,
0.04576053600001728,
0.04548968299999956,
0.04441069899999661,
0.04583590600000775,
0.04313539800000399,
0.045814396999986684,
0.04568213100000662,
0.0447029420000149,
0.04515377900000317,
0.04652721100001145,
0.04461528900000644,
0.045655109999984234,
0.04577979199999049,
0.0452161750000073,
0.04446115300001452,
0.04569865100000925,
0.04487997000001087,
0.04361682299997938,
0.03897825399999988
]
},
"throughput": {
"unit": "samples/s",
"value": 22.277867794300175
},
"energy": {
"unit": "kWh",
"cpu": 1.5299459807893152e-06,
"ram": 6.393700335902891e-08,
"gpu": 0.0,
"total": 1.593882984148344e-06
},
"efficiency": {
"unit": "samples/kWh",
"value": 627398.6296016127
}
}
}
}