IlyasMoutawwakil's picture
Upload cpu_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
09438d0 verified
raw
history blame
5.89 kB
{
"config": {
"name": "cpu_inference_transformers_multiple-choice_FacebookAI/roberta-base",
"backend": {
"name": "pytorch",
"version": "2.3.1+cpu",
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
"task": "multiple-choice",
"library": "transformers",
"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": {},
"hub_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,
"latency": true,
"memory": 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.338112,
"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": "50da7b73412b5fcfdb3831f32e0f2c5b8acaf7cf",
"transformers_version": "4.42.3",
"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": {
"forward": {
"memory": {
"unit": "MB",
"max_ram": 944.050176,
"max_global_vram": null,
"max_process_vram": null,
"max_reserved": null,
"max_allocated": null
},
"latency": {
"unit": "s",
"count": 27,
"total": 1.0370580829999199,
"mean": 0.03840955862962666,
"stdev": 0.0011961263415751992,
"p50": 0.03818323900000564,
"p90": 0.039068168799997235,
"p95": 0.04038487190000808,
"p99": 0.04267542652000031,
"values": [
0.038746060999983456,
0.03839107200002445,
0.03838606200000072,
0.038361575999999786,
0.03868244099999174,
0.038506819999980735,
0.03832324300000778,
0.03866820499999335,
0.038941749999992226,
0.03925779700000476,
0.03845991099998969,
0.03818323900000564,
0.03802958999997941,
0.03794215400000667,
0.043310501999997086,
0.0408679040000095,
0.037612151999979915,
0.037402585999984694,
0.03773981300000173,
0.037985825999982126,
0.0377236019999998,
0.037744472000014184,
0.03746149799999898,
0.03760681200000704,
0.03741033099998958,
0.03770844699999998,
0.03760421699999483
]
},
"throughput": {
"unit": "samples/s",
"value": 26.0351859192848
},
"energy": {
"unit": "kWh",
"cpu": 1.4719451405874496e-06,
"ram": 6.151547720944732e-08,
"gpu": 0.0,
"total": 1.533460617796897e-06
},
"efficiency": {
"unit": "samples/kWh",
"value": 652119.7795328366
}
}
}
}