IlyasMoutawwakil
HF staff
Upload cpu_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
21676a8
verified
{ | |
"config": { | |
"name": "cpu_inference_transformers_multiple-choice_FacebookAI/roberta-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.4.0+cpu", | |
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend", | |
"task": "multiple-choice", | |
"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-1024-azure-x86_64-with-glibc2.35", | |
"processor": "x86_64", | |
"python_version": "3.10.14", | |
"optimum_benchmark_version": "0.3.1", | |
"optimum_benchmark_commit": "9d11320bd2f1225453b4b1dfc080b74581b546cc", | |
"transformers_version": "4.43.2", | |
"transformers_commit": null, | |
"accelerate_version": "0.33.0", | |
"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": 946.520064, | |
"max_global_vram": null, | |
"max_process_vram": null, | |
"max_reserved": null, | |
"max_allocated": null | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 4.338538034999999, | |
"mean": 4.338538034999999, | |
"stdev": 0.0, | |
"p50": 4.338538034999999, | |
"p90": 4.338538034999999, | |
"p95": 4.338538034999999, | |
"p99": 4.338538034999999, | |
"values": [ | |
4.338538034999999 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 4.850642283757528e-05, | |
"ram": 2.0273413853544754e-06, | |
"gpu": 0, | |
"total": 5.0533764222929756e-05 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 957.267968, | |
"max_global_vram": null, | |
"max_process_vram": null, | |
"max_reserved": null, | |
"max_allocated": null | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 22, | |
"total": 1.007662641000195, | |
"mean": 0.04580284731819068, | |
"stdev": 0.000932097189857708, | |
"p50": 0.04588056700001175, | |
"p90": 0.04683330990004606, | |
"p95": 0.047058610000010506, | |
"p99": 0.0475635838000278, | |
"values": [ | |
0.04687567800004899, | |
0.04563121800003955, | |
0.044042312999977185, | |
0.046390663000011045, | |
0.04610925899999074, | |
0.04557636499998807, | |
0.04467642600002364, | |
0.04389455799997677, | |
0.045623933999991095, | |
0.04706823800000848, | |
0.04565187500003276, | |
0.046403286999975535, | |
0.044830472999990434, | |
0.047695258000032936, | |
0.04528296799998088, | |
0.04632280700002411, | |
0.046401443999968706, | |
0.04518364199998359, | |
0.04496402200004468, | |
0.046451997000019674, | |
0.04631893000004084, | |
0.04626728600004526 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 21.83270382849863 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 1.5364105884845442e-06, | |
"ram": 6.420943466965722e-08, | |
"gpu": 0.0, | |
"total": 1.6006200231542014e-06 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 624757.8972737001 | |
} | |
} | |
} | |
} |