IlyasMoutawwakil
HF staff
Upload cpu_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
b22b078
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": "a24cd34532cdb9c93a3944992e210e603d844e1c", | |
"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": 943.96416, | |
"max_global_vram": null, | |
"max_process_vram": null, | |
"max_reserved": null, | |
"max_allocated": null | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 4.252308676000041, | |
"mean": 4.252308676000041, | |
"stdev": 0.0, | |
"p50": 4.252308676000041, | |
"p90": 4.252308676000041, | |
"p95": 4.252308676000041, | |
"p99": 4.252308676000041, | |
"values": [ | |
4.252308676000041 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 4.8795431727776246e-05, | |
"ram": 2.0394263300464635e-06, | |
"gpu": 0, | |
"total": 5.083485805782271e-05 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 952.090624, | |
"max_global_vram": null, | |
"max_process_vram": null, | |
"max_reserved": null, | |
"max_allocated": null | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 31, | |
"total": 1.0019542539999406, | |
"mean": 0.03232110496774002, | |
"stdev": 0.0024587515958826994, | |
"p50": 0.03374121799998875, | |
"p90": 0.03479128599997239, | |
"p95": 0.03518684200000166, | |
"p99": 0.03545593570002552, | |
"values": [ | |
0.03014503099996091, | |
0.030139088999987962, | |
0.029912174999992658, | |
0.029755039999997734, | |
0.02973825899999838, | |
0.029998826999985795, | |
0.02980510299994421, | |
0.03016856499999676, | |
0.03001491600002737, | |
0.03307927800000243, | |
0.03449947899997596, | |
0.03472046400003137, | |
0.03554741200002809, | |
0.03479128599997239, | |
0.03470114599997487, | |
0.034355388999983916, | |
0.034642177000023366, | |
0.03444947400004139, | |
0.035131192999983796, | |
0.03524249100001953, | |
0.03416680599997335, | |
0.03440689600000724, | |
0.03440581300003487, | |
0.034706395999990036, | |
0.033996796999986145, | |
0.03374121799998875, | |
0.029339720999985275, | |
0.029150377000007666, | |
0.029339551000020947, | |
0.02902550300001394, | |
0.02883838200000355 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 30.939536287453933 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 1.1336015277777911e-06, | |
"ram": 4.7375597664038885e-08, | |
"gpu": 0.0, | |
"total": 1.1809771254418299e-06 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 846756.4514646104 | |
} | |
} | |
} | |
} |