IlyasMoutawwakil's picture
Upload cpu_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
0815040 verified
raw
history blame
7.26 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.338112,
"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": "c932665bc86cea66c29ccd4e794b336721ae01f7",
"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": 947.863552,
"max_global_vram": null,
"max_process_vram": null,
"max_reserved": null,
"max_allocated": null
},
"latency": {
"unit": "s",
"count": 1,
"total": 4.25361551200001,
"mean": 4.25361551200001,
"stdev": 0.0,
"p50": 4.25361551200001,
"p90": 4.25361551200001,
"p95": 4.25361551200001,
"p99": 4.25361551200001,
"values": [
4.25361551200001
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 4.8340827616666755e-05,
"ram": 2.0204228898184092e-06,
"gpu": 0,
"total": 5.0361250506485165e-05
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 955.203584,
"max_global_vram": null,
"max_process_vram": null,
"max_reserved": null,
"max_allocated": null
},
"latency": {
"unit": "s",
"count": 34,
"total": 1.0276092730001096,
"mean": 0.030223802147062048,
"stdev": 0.000900684918852614,
"p50": 0.030066338500006395,
"p90": 0.030924302500005753,
"p95": 0.03120277694999629,
"p99": 0.03313854541000581,
"values": [
0.031184564000000137,
0.030975012999988394,
0.030805978000046252,
0.030677197999978034,
0.03060997199997928,
0.03035075900004358,
0.030022547999976723,
0.030544630999997935,
0.030659424000020863,
0.030228800999964278,
0.029547983000043132,
0.02986525400001483,
0.03022437300001002,
0.030061880000005203,
0.030070797000007587,
0.02988279600003807,
0.02992857199996024,
0.030547495999996954,
0.030724787000053766,
0.03123660099998915,
0.02969535699998005,
0.030397807999975157,
0.02967473900002915,
0.029603897000015422,
0.029604688000006263,
0.02996802600000592,
0.029695968999988054,
0.02997752300001366,
0.030713816000002225,
0.03407532400001401,
0.029289378999976634,
0.028865149000012025,
0.029000080999992406,
0.028898089999984222
]
},
"throughput": {
"unit": "samples/s",
"value": 33.0865056333492
},
"energy": {
"unit": "kWh",
"cpu": 1.1544350450980401e-06,
"ram": 4.824630954575788e-08,
"gpu": 0.0,
"total": 1.202681354643798e-06
},
"efficiency": {
"unit": "samples/kWh",
"value": 831475.4329056453
}
}
}
}