IlyasMoutawwakil's picture
Upload cpu_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
f86e86b verified
raw
history blame
5.7 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",
"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": "b92e3e6e00670fa1351d9aef1be896254e5f33e0",
"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": 939.58144,
"max_global_vram": null,
"max_process_vram": null,
"max_reserved": null,
"max_allocated": null
},
"latency": {
"unit": "s",
"count": 24,
"total": 1.0112450899999317,
"mean": 0.04213521208333049,
"stdev": 0.0003827302974367432,
"p50": 0.04214596900001766,
"p90": 0.04264053510001418,
"p95": 0.042720467400013715,
"p99": 0.04274309980998794,
"values": [
0.04264568100001043,
0.0418195409999953,
0.04207022700001062,
0.041788983000003554,
0.04195227700000714,
0.04221710100000564,
0.042628528000022925,
0.042354879000015444,
0.04150041399998372,
0.04196430199999668,
0.04256689199996799,
0.0421407890000296,
0.04164412300002596,
0.04172007699997948,
0.0417002959999877,
0.04169901499994921,
0.04262500199996566,
0.0427336650000143,
0.04249553099998593,
0.042745917999980065,
0.042151149000005717,
0.04217875000000504,
0.04219296599995914,
0.04170898400002443
]
},
"throughput": {
"unit": "samples/s",
"value": 23.733118941523486
},
"energy": {
"unit": "kWh",
"cpu": 1.6095751126607259e-06,
"ram": 6.726740482351943e-08,
"gpu": 0.0,
"total": 1.6768425174842455e-06
},
"efficiency": {
"unit": "samples/kWh",
"value": 596358.9243313634
}
}
}
}