IlyasMoutawwakil's picture
Upload cpu_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
14b98be verified
raw
history blame
5.9 kB
{
"config": {
"name": "cpu_inference_transformers_text-classification_FacebookAI/roberta-base",
"backend": {
"name": "pytorch",
"version": "2.3.1+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",
"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": "19eeac52e408e408898ac1fac3d9abefced0131b",
"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": 936.767488,
"max_global_vram": null,
"max_process_vram": null,
"max_reserved": null,
"max_allocated": null
},
"latency": {
"unit": "s",
"count": 27,
"total": 1.011614641000108,
"mean": 0.037467208925929925,
"stdev": 0.0014159696955263587,
"p50": 0.03771645299997317,
"p90": 0.03871833879998121,
"p95": 0.03911467869998546,
"p99": 0.039729360040004165,
"values": [
0.0398895970000126,
0.03870085799997014,
0.03786551300004248,
0.03657976300002019,
0.039273300999980165,
0.03771645299997317,
0.037514934999990146,
0.03781768300001431,
0.03650423099998079,
0.036610991000031845,
0.03820156200004021,
0.03752620700004172,
0.03732594100000597,
0.03715980999999147,
0.038377631999992445,
0.03699787599998672,
0.03737191700002995,
0.03809380100000226,
0.038139516000001095,
0.038008721000039714,
0.038598025999988295,
0.03874455999999782,
0.03832454199999802,
0.037307034999969346,
0.035990609999998924,
0.03310194499999852,
0.03387161500000957
]
},
"throughput": {
"unit": "samples/s",
"value": 26.690005171640372
},
"energy": {
"unit": "kWh",
"cpu": 1.2762924249026938e-06,
"ram": 5.333776522265467e-08,
"gpu": 0.0,
"total": 1.3296301901253486e-06
},
"efficiency": {
"unit": "samples/kWh",
"value": 752088.8194526681
}
}
}
}