IlyasMoutawwakil's picture
Upload cpu_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
e3150ba verified
raw
history blame
5.88 kB
{
"config": {
"name": "cpu_inference_transformers_text-classification_FacebookAI/roberta-base",
"backend": {
"name": "pytorch",
"version": "2.3.0+cpu",
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
"task": "text-classification",
"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": "b04fb3c909a5873eadf03d7b46ccfac63afcdf9e",
"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": 936.01792,
"max_global_vram": null,
"max_process_vram": null,
"max_reserved": null,
"max_allocated": null
},
"latency": {
"unit": "s",
"count": 28,
"total": 1.0183095929999126,
"mean": 0.03636819974999688,
"stdev": 0.0006667776582956096,
"p50": 0.03650813899997729,
"p90": 0.03700269259996958,
"p95": 0.037043349599983344,
"p99": 0.03721766638998588,
"values": [
0.037006816999962666,
0.036458826999989924,
0.0362303230000407,
0.03706302099999448,
0.03503479099998685,
0.03650749899998118,
0.036282448999997996,
0.03682715200000075,
0.0365087789999734,
0.036545477999993636,
0.03637806600005433,
0.034545470000011846,
0.03663068700001304,
0.036973714999987806,
0.03633909399997037,
0.03628656600000113,
0.036962993999964056,
0.034826722999980575,
0.03700092499997254,
0.035254979000001185,
0.0372748639999827,
0.03637629300004619,
0.03654771300000448,
0.03616152400002193,
0.03620255099997394,
0.036518396999952074,
0.03664098600000898,
0.036922910000043885
]
},
"throughput": {
"unit": "samples/s",
"value": 27.496549372094936
},
"energy": {
"unit": "kWh",
"cpu": 1.2275664342774286e-06,
"ram": 5.130122337126508e-08,
"gpu": 0.0,
"total": 1.2788676576486937e-06
},
"efficiency": {
"unit": "samples/kWh",
"value": 781941.7388649773
}
}
}
}