IlyasMoutawwakil's picture
Upload cpu_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
bc1162c verified
raw
history blame
7.05 kB
{
"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": "593b48b93d71bee250bc8db76a7279c4b590c2bb",
"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": 939.372544,
"max_global_vram": null,
"max_process_vram": null,
"max_reserved": null,
"max_allocated": null
},
"latency": {
"unit": "s",
"count": 1,
"total": 4.377764699000011,
"mean": 4.377764699000011,
"stdev": 0.0,
"p50": 4.377764699000011,
"p90": 4.377764699000011,
"p95": 4.377764699000011,
"p99": 4.377764699000011,
"values": [
4.377764699000011
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 4.863226016362509e-05,
"ram": 2.032597124724589e-06,
"gpu": 0,
"total": 5.066485728834968e-05
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 947.63008,
"max_global_vram": null,
"max_process_vram": null,
"max_reserved": null,
"max_allocated": null
},
"latency": {
"unit": "s",
"count": 29,
"total": 1.024607488000072,
"mean": 0.03533129268965765,
"stdev": 0.0013056760286508876,
"p50": 0.035588665999966906,
"p90": 0.036321320600006854,
"p95": 0.036626765200014684,
"p99": 0.037276519680006004,
"values": [
0.035540454999988924,
0.0352284809999901,
0.03588458800004446,
0.033972221999988506,
0.03612229300000536,
0.035317507000002024,
0.03548707500004866,
0.0356577740000148,
0.035569438999971226,
0.03287095199999612,
0.03563387000002649,
0.03600664600003256,
0.035224713999980395,
0.03522223900000654,
0.036245433000033245,
0.03454327000002877,
0.03746705800000427,
0.035691857999950116,
0.036387067000021034,
0.03678656400001046,
0.03576832999999624,
0.0356220069999722,
0.034567263999974784,
0.035588665999966906,
0.03630488400000331,
0.035448653000003105,
0.03585746700002801,
0.03451067899999316,
0.03008003299999018
]
},
"throughput": {
"unit": "samples/s",
"value": 28.303521435906163
},
"energy": {
"unit": "kWh",
"cpu": 1.1844132484410346e-06,
"ram": 4.949853412561176e-08,
"gpu": 0.0,
"total": 1.2339117825666465e-06
},
"efficiency": {
"unit": "samples/kWh",
"value": 810430.7083606179
}
}
}
}