IlyasMoutawwakil's picture
Upload cpu_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
1944f93 verified
raw
history blame
7.17 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": "a05e8061e1f1403da4692a0464652cfdbef09161",
"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": 944.713728,
"max_global_vram": null,
"max_process_vram": null,
"max_reserved": null,
"max_allocated": null
},
"latency": {
"unit": "s",
"count": 1,
"total": 4.327464379000048,
"mean": 4.327464379000048,
"stdev": 0.0,
"p50": 4.327464379000048,
"p90": 4.327464379000048,
"p95": 4.327464379000048,
"p99": 4.327464379000048,
"values": [
4.327464379000048
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 4.767379407777779e-05,
"ram": 1.992526964551002e-06,
"gpu": 0,
"total": 4.966632104232879e-05
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 952.05376,
"max_global_vram": null,
"max_process_vram": null,
"max_reserved": null,
"max_allocated": null
},
"latency": {
"unit": "s",
"count": 32,
"total": 1.0214892730000997,
"mean": 0.031921539781253117,
"stdev": 0.0009048425475090703,
"p50": 0.0318256525000038,
"p90": 0.03283568329997024,
"p95": 0.03316142035003509,
"p99": 0.03469347516001449,
"values": [
0.03191084200000205,
0.03150454100000388,
0.030821993000017756,
0.030615416999978606,
0.031728020000002743,
0.03351228900004344,
0.03137497899996333,
0.03209560700003067,
0.03155509599997686,
0.03234000399999104,
0.032874346000028254,
0.03196737700000085,
0.032444810999948004,
0.03172318100001803,
0.031123868999998194,
0.031670993000034287,
0.03193672999998398,
0.0328505399999699,
0.030882797000003848,
0.03093785100003288,
0.03173146700004281,
0.03178153999999722,
0.031869765000010375,
0.03270197299997335,
0.03257341100004396,
0.03189857799998208,
0.03104159500003334,
0.03221004099998481,
0.03522415300000148,
0.03259751699999924,
0.030858190999992985,
0.03112975900000947
]
},
"throughput": {
"unit": "samples/s",
"value": 31.326809635520153
},
"energy": {
"unit": "kWh",
"cpu": 1.2282594697916694e-06,
"ram": 5.1326115297053415e-08,
"gpu": 0.0,
"total": 1.2795855850887228e-06
},
"efficiency": {
"unit": "samples/kWh",
"value": 781503.0207070227
}
}
}
}