IlyasMoutawwakil
HF staff
Upload cpu_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
0acdfb4
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-1024-azure-x86_64-with-glibc2.35", | |
"processor": "x86_64", | |
"python_version": "3.10.14", | |
"optimum_benchmark_version": "0.3.1", | |
"optimum_benchmark_commit": "c8d76f6e24e813974534bb204a76658d503b7b1f", | |
"transformers_version": "4.43.3", | |
"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.8", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 947.769344, | |
"max_global_vram": null, | |
"max_process_vram": null, | |
"max_reserved": null, | |
"max_allocated": null | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 4.419975738000005, | |
"mean": 4.419975738000005, | |
"stdev": 0.0, | |
"p50": 4.419975738000005, | |
"p90": 4.419975738000005, | |
"p95": 4.419975738000005, | |
"p99": 4.419975738000005, | |
"values": [ | |
4.419975738000005 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 4.911764992607965e-05, | |
"ram": 2.0528739687620144e-06, | |
"gpu": 0, | |
"total": 5.117052389484166e-05 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 955.240448, | |
"max_global_vram": null, | |
"max_process_vram": null, | |
"max_reserved": null, | |
"max_allocated": null | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 29, | |
"total": 1.0182043530000442, | |
"mean": 0.035110494931036004, | |
"stdev": 0.002462016161098468, | |
"p50": 0.03652064400000654, | |
"p90": 0.03728763379999691, | |
"p95": 0.03764727219996757, | |
"p99": 0.037733817559999355, | |
"values": [ | |
0.03324946899999759, | |
0.0316814979999549, | |
0.03135854800001425, | |
0.03137076100000513, | |
0.034912317000021176, | |
0.037738906000015504, | |
0.03772073299995782, | |
0.036881584000013845, | |
0.03695430900000929, | |
0.03657993400003079, | |
0.03668972799999892, | |
0.03753708099998221, | |
0.03718972600000825, | |
0.03692672800002583, | |
0.036872977999962586, | |
0.03668621100001701, | |
0.036466503000042394, | |
0.03722527200000059, | |
0.03672335099997781, | |
0.03593020699997851, | |
0.036549718000003395, | |
0.03582832799997959, | |
0.03652064400000654, | |
0.036048746999995274, | |
0.031571563999989394, | |
0.031137888000046132, | |
0.03039874600000303, | |
0.03171894799999109, | |
0.031733926000015344 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 28.481512492609372 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 1.1981560726358434e-06, | |
"ram": 5.007330867990525e-08, | |
"gpu": 0.0, | |
"total": 1.2482293813157488e-06 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 801134.8034012049 | |
} | |
} | |
} | |
} |