IlyasMoutawwakil
HF staff
Upload cpu_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
6a1ff9b
verified
{ | |
"config": { | |
"name": "cpu_inference_transformers_multiple-choice_FacebookAI/roberta-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.4.1+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": null, | |
"numactl": false, | |
"numactl_kwargs": {}, | |
"start_method": "spawn" | |
}, | |
"environment": { | |
"cpu": " AMD EPYC 7763 64-Core Processor", | |
"cpu_count": 4, | |
"cpu_ram_mb": 16766.7712, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-6.8.0-1014-azure-x86_64-with-glibc2.35", | |
"processor": "x86_64", | |
"python_version": "3.10.15", | |
"optimum_benchmark_version": "0.5.0", | |
"optimum_benchmark_commit": "32c76ae56d42e7230c1dfbaaaa2551ca35f19049", | |
"transformers_version": "4.45.0", | |
"transformers_commit": null, | |
"accelerate_version": "0.34.2", | |
"accelerate_commit": null, | |
"diffusers_version": "0.30.3", | |
"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": 945.545216, | |
"max_global_vram": null, | |
"max_process_vram": null, | |
"max_reserved": null, | |
"max_allocated": null | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 1.2151360000000295, | |
"mean": 1.2151360000000295, | |
"stdev": 0.0, | |
"p50": 1.2151360000000295, | |
"p90": 1.2151360000000295, | |
"p95": 1.2151360000000295, | |
"p99": 1.2151360000000295, | |
"values": [ | |
1.2151360000000295 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 4.721787653333378e-05, | |
"ram": 1.9745963271549147e-06, | |
"gpu": 0, | |
"total": 4.91924728604887e-05 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 957.108224, | |
"max_global_vram": null, | |
"max_process_vram": null, | |
"max_reserved": null, | |
"max_allocated": null | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 26, | |
"total": 1.0304080660001205, | |
"mean": 0.039631079461543095, | |
"stdev": 0.0011379027240643821, | |
"p50": 0.03926439450000885, | |
"p90": 0.04135230399998591, | |
"p95": 0.04232839075000072, | |
"p99": 0.042684405999992237, | |
"values": [ | |
0.039447264999978415, | |
0.03921034400002554, | |
0.03931844499999215, | |
0.03977709800000184, | |
0.03976759199997559, | |
0.03918888400005471, | |
0.04272262699998919, | |
0.03875247199999876, | |
0.03894330700001092, | |
0.038841516999980286, | |
0.041604333999998744, | |
0.0397167579999973, | |
0.03891694800000778, | |
0.03864491100000578, | |
0.039093976999993174, | |
0.03889722100001336, | |
0.03954302400001097, | |
0.04040449899997611, | |
0.03963249100002031, | |
0.03961378600001808, | |
0.03900480200002221, | |
0.038864149000005455, | |
0.04110027399997307, | |
0.04256974300000138, | |
0.03814198400004898, | |
0.038689614000020356 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 25.232721732204453 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 1.537313624359007e-06, | |
"ram": 6.428394787199616e-08, | |
"gpu": 0.0, | |
"total": 1.6015975722310034e-06 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 624376.5708304701 | |
} | |
} | |
} | |
} |