IlyasMoutawwakil
HF staff
Upload cpu_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
a7a94f4
verified
{ | |
"config": { | |
"name": "cpu_inference_transformers_text-classification_FacebookAI/roberta-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.3.1+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-1023-azure-x86_64-with-glibc2.35", | |
"processor": "x86_64", | |
"python_version": "3.10.14", | |
"optimum_benchmark_version": "0.3.1", | |
"optimum_benchmark_commit": "64d7cde4ffc4c5c7d57f80bbb0bfaa5207878a13", | |
"transformers_version": "4.42.4", | |
"transformers_commit": null, | |
"accelerate_version": "0.32.1", | |
"accelerate_commit": null, | |
"diffusers_version": "0.29.2", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.7", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 941.71136, | |
"max_global_vram": null, | |
"max_process_vram": null, | |
"max_reserved": null, | |
"max_allocated": null | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 4.341515897000022, | |
"mean": 4.341515897000022, | |
"stdev": 0.0, | |
"p50": 4.341515897000022, | |
"p90": 4.341515897000022, | |
"p95": 4.341515897000022, | |
"p99": 4.341515897000022, | |
"values": [ | |
4.341515897000022 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 4.7928314738803446e-05, | |
"ram": 2.0031673098003467e-06, | |
"gpu": 0, | |
"total": 4.993148204860379e-05 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 949.444608, | |
"max_global_vram": null, | |
"max_process_vram": null, | |
"max_reserved": null, | |
"max_allocated": null | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 28, | |
"total": 1.0104370139999332, | |
"mean": 0.03608703621428333, | |
"stdev": 0.0017946780313328622, | |
"p50": 0.03595781750001947, | |
"p90": 0.03691079740001442, | |
"p95": 0.03955565669999429, | |
"p99": 0.041560795379994034, | |
"values": [ | |
0.035388451000017085, | |
0.035554954000019734, | |
0.03586788300003718, | |
0.03522733899995956, | |
0.03679023500001222, | |
0.03609693200002084, | |
0.03568475899999157, | |
0.036108593999983896, | |
0.036047752000001765, | |
0.03478610199999821, | |
0.03669645100001162, | |
0.036947182000005796, | |
0.035347016000002895, | |
0.04178292599999622, | |
0.04096021999998811, | |
0.03487566999996261, | |
0.03633155599999327, | |
0.03530100899996569, | |
0.036243028999990656, | |
0.036655673999973715, | |
0.03625445000000127, | |
0.035479745000031926, | |
0.035494452999955683, | |
0.03631490399999393, | |
0.03689520400001811, | |
0.035350572000027114, | |
0.03449226599997246, | |
0.0314616860000001 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 27.71078217845437 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 1.2340094894170762e-06, | |
"ram": 5.157086458066118e-08, | |
"gpu": 0.0, | |
"total": 1.2855803539977375e-06 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 777858.8066396042 | |
} | |
} | |
} | |
} |