IlyasMoutawwakil's picture
Upload cpu_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
6916af7 verified
raw
history blame
6.79 kB
{
"config": {
"name": "cpu_inference_transformers_multiple-choice_FacebookAI/roberta-base",
"backend": {
"name": "pytorch",
"version": "2.4.1+cpu",
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
"task": "multiple-choice",
"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": null,
"numactl": false,
"numactl_kwargs": {},
"start_method": "spawn"
},
"environment": {
"cpu": " AMD EPYC 7763 64-Core Processor",
"cpu_count": 4,
"cpu_ram_mb": 16766.767104,
"system": "Linux",
"machine": "x86_64",
"platform": "Linux-6.8.0-1014-azure-x86_64-with-glibc2.35",
"processor": "x86_64",
"python_version": "3.10.15",
"optimum_benchmark_version": "0.4.0",
"optimum_benchmark_commit": "496d74599887a901aaff2a5946eda97d8b8253a3",
"transformers_version": "4.44.2",
"transformers_commit": null,
"accelerate_version": "0.34.2",
"accelerate_commit": null,
"diffusers_version": "0.30.3",
"diffusers_commit": null,
"optimum_version": null,
"optimum_commit": null,
"timm_version": "1.0.9",
"timm_commit": null,
"peft_version": null,
"peft_commit": null
}
},
"report": {
"load": {
"memory": {
"unit": "MB",
"max_ram": 941.412352,
"max_global_vram": null,
"max_process_vram": null,
"max_reserved": null,
"max_allocated": null
},
"latency": {
"unit": "s",
"count": 1,
"total": 4.314720278999999,
"mean": 4.314720278999999,
"stdev": 0.0,
"p50": 4.314720278999999,
"p90": 4.314720278999999,
"p95": 4.314720278999999,
"p99": 4.314720278999999,
"values": [
4.314720278999999
]
},
"throughput": null,
"energy": {
"unit": "kWh",
"cpu": 4.773108079444421e-05,
"ram": 1.99606171386124e-06,
"gpu": 0,
"total": 4.972714250830545e-05
},
"efficiency": null
},
"forward": {
"memory": {
"unit": "MB",
"max_ram": 952.946688,
"max_global_vram": null,
"max_process_vram": null,
"max_reserved": null,
"max_allocated": null
},
"latency": {
"unit": "s",
"count": 23,
"total": 1.034684410000068,
"mean": 0.044986278695655135,
"stdev": 0.0022897907686772845,
"p50": 0.045575286000001825,
"p90": 0.04671428120001906,
"p95": 0.047427331800011525,
"p99": 0.047604052540008296,
"values": [
0.0457630649999885,
0.04627550300000394,
0.044619875999984515,
0.0463607230000207,
0.04539186100001302,
0.045508467999979985,
0.04582670400000666,
0.044300429000003305,
0.04750297000001069,
0.04548851100000206,
0.04610100800002215,
0.04468909600001325,
0.04763256300000762,
0.04556344299999182,
0.046746588000019074,
0.04595956500000398,
0.044652028000001565,
0.046585054000019,
0.045575286000001825,
0.045627182999993465,
0.04060743199997319,
0.038916588000006413,
0.038990466000001334
]
},
"throughput": {
"unit": "samples/s",
"value": 22.229000241724417
},
"energy": {
"unit": "kWh",
"cpu": 1.5361601215812095e-06,
"ram": 6.423471460515308e-08,
"gpu": 0.0,
"total": 1.6003948361863626e-06
},
"efficiency": {
"unit": "samples/kWh",
"value": 624845.8051657648
}
}
}
}