IlyasMoutawwakil
HF staff
Upload cpu_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
f777a49
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": "900139739b058e0bc6c42842dca50b13fd103f21", | |
"transformers_version": "4.44.0", | |
"transformers_commit": null, | |
"accelerate_version": "0.33.0", | |
"accelerate_commit": null, | |
"diffusers_version": "0.30.0", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.8", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 945.741824, | |
"max_global_vram": null, | |
"max_process_vram": null, | |
"max_reserved": null, | |
"max_allocated": null | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 4.290007722999974, | |
"mean": 4.290007722999974, | |
"stdev": 0.0, | |
"p50": 4.290007722999974, | |
"p90": 4.290007722999974, | |
"p95": 4.290007722999974, | |
"p99": 4.290007722999974, | |
"values": [ | |
4.290007722999974 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 4.820964854999912e-05, | |
"ram": 2.014943390293998e-06, | |
"gpu": 0, | |
"total": 5.0224591940293113e-05 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 953.212928, | |
"max_global_vram": null, | |
"max_process_vram": null, | |
"max_reserved": null, | |
"max_allocated": null | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 30, | |
"total": 1.0239245300002153, | |
"mean": 0.03413081766667384, | |
"stdev": 0.0010980722597821937, | |
"p50": 0.034278926500007856, | |
"p90": 0.035145516700049485, | |
"p95": 0.03547304239999107, | |
"p99": 0.0358875359499865, | |
"values": [ | |
0.03496315099999947, | |
0.03441920899996376, | |
0.03337419299998601, | |
0.03291466700000001, | |
0.0349105039999813, | |
0.03468611499999952, | |
0.034981975999983206, | |
0.034005999000044085, | |
0.03349796300000207, | |
0.03283378700001549, | |
0.0336740199999781, | |
0.03466059700002688, | |
0.033989378000001125, | |
0.03406582000002345, | |
0.03429415499999777, | |
0.0332557820000261, | |
0.03439735700004576, | |
0.03423586700000669, | |
0.03453878100003749, | |
0.03455571299997473, | |
0.034136673000034534, | |
0.03426369800001794, | |
0.03301846099998329, | |
0.03467665800002351, | |
0.03544375600000649, | |
0.036047048999989784, | |
0.03511237900005426, | |
0.03549700399997846, | |
0.03355777400003035, | |
0.029916044000003694 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 29.29903437316195 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 1.1676564392157034e-06, | |
"ram": 4.879851843989132e-08, | |
"gpu": 0.0, | |
"total": 1.2164549576555947e-06 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 822060.852896061 | |
} | |
} | |
} | |
} |