IlyasMoutawwakil's picture
Upload cpu_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
1cbbf1d verified
raw
history blame
5.77 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.1",
"optimum_benchmark_commit": "8ebe8531a5b12ea7926cab66905381c76b24fcc4",
"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": 939.97056,
"max_global_vram": null,
"max_process_vram": null,
"max_reserved": null,
"max_allocated": null
},
"latency": {
"unit": "s",
"count": 24,
"total": 1.023475362000113,
"mean": 0.042644806750004705,
"stdev": 0.0031694240338112946,
"p50": 0.04121042849999412,
"p90": 0.047066541899999946,
"p95": 0.04796969240003932,
"p99": 0.048945033570034865,
"values": [
0.04919468500003177,
0.046352871999999934,
0.04672933300003024,
0.04810924400004524,
0.0468043729999863,
0.04673490400000446,
0.0471789000000058,
0.041417077999994945,
0.04180890800000725,
0.041644810999969195,
0.040061311999977534,
0.04079000900003393,
0.04174439700000221,
0.04020495999998275,
0.040919140000028165,
0.040641092000043955,
0.0410037789999933,
0.03970040000001518,
0.04045140900001343,
0.04371135099995627,
0.03887487299999748,
0.040000940000027185,
0.04011576300001707,
0.039280828999949335
]
},
"throughput": {
"unit": "samples/s",
"value": 23.44951416622118
},
"energy": {
"unit": "kWh",
"cpu": 1.5990934901767306e-06,
"ram": 6.682866404798915e-08,
"gpu": 0.0,
"total": 1.6659221542247199e-06
},
"efficiency": {
"unit": "samples/kWh",
"value": 600268.1442611441
}
}
}
}