IlyasMoutawwakil
HF staff
Upload cpu_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
a2a61cd
verified
{ | |
"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.342208, | |
"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": "748f9b438ee8e37818f442e8e398fa1beb7f763c", | |
"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": 946.659328, | |
"max_global_vram": null, | |
"max_process_vram": null, | |
"max_reserved": null, | |
"max_allocated": null | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 4.2545037579999985, | |
"mean": 4.2545037579999985, | |
"stdev": 0.0, | |
"p50": 4.2545037579999985, | |
"p90": 4.2545037579999985, | |
"p95": 4.2545037579999985, | |
"p99": 4.2545037579999985, | |
"values": [ | |
4.2545037579999985 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 4.800738226666523e-05, | |
"ram": 2.006478746534195e-06, | |
"gpu": 0, | |
"total": 5.001386101319943e-05 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 954.392576, | |
"max_global_vram": null, | |
"max_process_vram": null, | |
"max_reserved": null, | |
"max_allocated": null | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 30, | |
"total": 1.0263425690001213, | |
"mean": 0.03421141896667071, | |
"stdev": 0.001119329107489071, | |
"p50": 0.034411195000018324, | |
"p90": 0.03506698279999796, | |
"p95": 0.03527294000001291, | |
"p99": 0.03565998840002976, | |
"values": [ | |
0.03429157100003977, | |
0.03422692999998844, | |
0.033407398999997895, | |
0.03262831400002142, | |
0.03445312299999159, | |
0.034543240999994396, | |
0.034555123000018284, | |
0.034402048000004015, | |
0.03383884599998055, | |
0.0334214850000194, | |
0.03393921299999647, | |
0.03537894200002256, | |
0.03514338200000111, | |
0.03489037899998948, | |
0.0347755559999996, | |
0.034348907999969924, | |
0.03380062399997996, | |
0.03462692800002287, | |
0.03438622700002725, | |
0.0345749909999995, | |
0.03457939800000531, | |
0.03442034200003263, | |
0.03335696499999585, | |
0.03422630900001877, | |
0.03490499699995553, | |
0.0357747820000327, | |
0.03505849399999761, | |
0.034951745000000756, | |
0.03418805799998381, | |
0.029248249000033866 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 29.230006535952672 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 1.136662327777774e-06, | |
"ram": 4.7503703639039515e-08, | |
"gpu": 0.0, | |
"total": 1.1841660314168134e-06 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 844476.174344855 | |
} | |
} | |
} | |
} |