IlyasMoutawwakil
HF staff
Upload cpu_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
845a65c
verified
{ | |
"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_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-1023-azure-x86_64-with-glibc2.35", | |
"processor": "x86_64", | |
"python_version": "3.10.14", | |
"optimum_benchmark_version": "0.3.1", | |
"optimum_benchmark_commit": "5ae03a669d2c4893dc609854294ec3bac19528a3", | |
"transformers_version": "4.42.4", | |
"transformers_commit": null, | |
"accelerate_version": "0.32.1", | |
"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": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 941.346816, | |
"max_global_vram": null, | |
"max_process_vram": null, | |
"max_reserved": null, | |
"max_allocated": null | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 4.238662722999948, | |
"mean": 4.238662722999948, | |
"stdev": 0.0, | |
"p50": 4.238662722999948, | |
"p90": 4.238662722999948, | |
"p95": 4.238662722999948, | |
"p99": 4.238662722999948, | |
"values": [ | |
4.238662722999948 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 4.7908936606513134e-05, | |
"ram": 2.002350654722704e-06, | |
"gpu": 0, | |
"total": 4.991128726123584e-05 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 949.47328, | |
"max_global_vram": null, | |
"max_process_vram": null, | |
"max_reserved": null, | |
"max_allocated": null | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 33, | |
"total": 1.0147149459999696, | |
"mean": 0.030748937757574837, | |
"stdev": 0.0009843627040391737, | |
"p50": 0.030612027999950442, | |
"p90": 0.031194807799988667, | |
"p95": 0.032387957399987496, | |
"p99": 0.03441612992000728, | |
"values": [ | |
0.030936766000024818, | |
0.030539663000013206, | |
0.0301396150000528, | |
0.03018498000000136, | |
0.030524694999996882, | |
0.03082530799997585, | |
0.030687459000034778, | |
0.030757890999950632, | |
0.03065211399996315, | |
0.03044926399996939, | |
0.031108367000001635, | |
0.030612027999950442, | |
0.030648536999990483, | |
0.030613590999962526, | |
0.030448903999968024, | |
0.03030993300001228, | |
0.030064794999987043, | |
0.030650590999982796, | |
0.0300318839999818, | |
0.03006075799999053, | |
0.03063886900002899, | |
0.030932928000027005, | |
0.03035762199999681, | |
0.030380976000003557, | |
0.03456563200001028, | |
0.030958036000015454, | |
0.031216417999985424, | |
0.0340984380000009, | |
0.031247636999978567, | |
0.029657823000036387, | |
0.029820869000047878, | |
0.030419747999985702, | |
0.030172807000042212 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 32.521448639430005 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 1.1715518103705513e-06, | |
"ram": 4.8961491697642645e-08, | |
"gpu": 0.0, | |
"total": 1.2205133020681942e-06 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 819327.4078254385 | |
} | |
} | |
} | |
} |