IlyasMoutawwakil's picture
Upload cpu_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
b8a8105 verified
raw
history blame
7.08 kB
{
"config": {
"name": "cpu_inference_transformers_text-classification_FacebookAI/roberta-base",
"backend": {
"name": "pytorch",
"version": "2.4.0+cpu",
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
"task": "text-classification",
"library": "transformers",
"model_type": "roberta",
"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": {},
"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,
"memory": true,
"latency": 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-1025-azure-x86_64-with-glibc2.35",
"processor": "x86_64",
"python_version": "3.10.14",
"optimum_benchmark_version": "0.4.0",
"optimum_benchmark_commit": "1c0c7070b263cda84bbf4ff92db4fa108762afe2",
"transformers_version": "4.44.2",
"transformers_commit": null,
"accelerate_version": "0.33.0",
"accelerate_commit": null,
"diffusers_version": "0.30.1",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.9",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 946.3808,
"max_global_vram": null,
"max_process_vram": null,
"max_reserved": null,
"max_allocated": null
},
"latency": {
"unit": "s",
"count": 1,
"total": 4.34537063099998,
"mean": 4.34537063099998,
"stdev": 0.0,
"p50": 4.34537063099998,
"p90": 4.34537063099998,
"p95": 4.34537063099998,
"p99": 4.34537063099998,
"values": [
4.34537063099998
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 4.8146927500000125e-05,
"ram": 2.0122956726740038e-06,
"gpu": 0,
"total": 5.0159223172674126e-05
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 953.851904,
"max_global_vram": null,
"max_process_vram": null,
"max_reserved": null,
"max_allocated": null
},
"latency": {
"unit": "s",
"count": 30,
"total": 1.0071965779998209,
"mean": 0.033573219266660695,
"stdev": 0.0018481469363178773,
"p50": 0.03287246350001283,
"p90": 0.03610782000000086,
"p95": 0.03627003564999711,
"p99": 0.036413457899973876,
"values": [
0.0361056680000047,
0.03638691100002234,
0.03527183400001377,
0.03439321600001222,
0.03530510499996353,
0.03612718799996628,
0.036424300999954085,
0.03609698199994682,
0.03535176299999421,
0.035268175999988216,
0.03489370899995947,
0.03598681599999054,
0.03433391499999061,
0.032221228999958385,
0.03209569500000953,
0.032058575999997174,
0.03165014600000404,
0.03160291699998652,
0.03291954100001249,
0.03282538600001317,
0.031252833999985796,
0.03235460799999146,
0.03221055900002057,
0.031110389999980725,
0.03167114500001844,
0.031842462999975396,
0.03180755900001486,
0.03151271900003394,
0.0320074709999858,
0.0341077560000258
]
},
"throughput": {
"unit": "samples/s",
"value": 29.785645280464145
},
"energy": {
"unit": "kWh",
"cpu": 1.212040713804693e-06,
"ram": 5.065355013056846e-08,
"gpu": 0.0,
"total": 1.2626942639352612e-06
},
"efficiency": {
"unit": "samples/kWh",
"value": 791957.3475240483
}
}
}
}