IlyasMoutawwakil's picture
Upload cpu_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
b79d7e3 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.1",
"optimum_benchmark_commit": "0b24af9d7b7751f74b160dfade73ef78e10964d6",
"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.378368,
"max_global_vram": null,
"max_process_vram": null,
"max_reserved": null,
"max_allocated": null
},
"latency": {
"unit": "s",
"count": 28,
"total": 1.0318560470000762,
"mean": 0.03685200167857415,
"stdev": 0.0007365907624244915,
"p50": 0.03712659000001395,
"p90": 0.037604654899990916,
"p95": 0.03778203910001991,
"p99": 0.037902372900020395,
"values": [
0.03730902400002378,
0.03711104100000284,
0.03782898600002227,
0.037296219999973346,
0.03519177999999101,
0.03684077099995875,
0.03648704300002237,
0.03665597199994863,
0.036056962000031945,
0.037018546000012975,
0.035860350999996626,
0.0355283939999822,
0.03752841900001158,
0.037215889000037805,
0.03719487900002605,
0.036828968999998324,
0.037565998999980366,
0.035797451999997065,
0.03744461100001217,
0.03578372599997692,
0.03714795100000856,
0.03743923000001814,
0.03683505000003606,
0.037142139000025054,
0.03583278799999334,
0.037694852000015544,
0.0379295160000197,
0.037289486999952715
]
},
"throughput": {
"unit": "samples/s",
"value": 27.135568068244243
},
"energy": {
"unit": "kWh",
"cpu": 1.2370425379938551e-06,
"ram": 5.169770543869134e-08,
"gpu": 0.0,
"total": 1.2887402434325465e-06
},
"efficiency": {
"unit": "samples/kWh",
"value": 775951.5581949317
}
}
}
}