IlyasMoutawwakil
HF staff
Upload cpu_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
bcd8101
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": {}, | |
"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, | |
"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.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": "e291e9b18cfb323457af60f15f2bb33803718668", | |
"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": 936.853504, | |
"max_global_vram": null, | |
"max_process_vram": null, | |
"max_reserved": null, | |
"max_allocated": null | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 4.31217407500003, | |
"mean": 4.31217407500003, | |
"stdev": 0.0, | |
"p50": 4.31217407500003, | |
"p90": 4.31217407500003, | |
"p95": 4.31217407500003, | |
"p99": 4.31217407500003, | |
"values": [ | |
4.31217407500003 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 4.8222723272111683e-05, | |
"ram": 2.0154728440753425e-06, | |
"gpu": 0, | |
"total": 5.023819611618703e-05 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 944.717824, | |
"max_global_vram": null, | |
"max_process_vram": null, | |
"max_reserved": null, | |
"max_allocated": null | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 34, | |
"total": 1.023157963000017, | |
"mean": 0.03009288126470638, | |
"stdev": 0.0007942892155129165, | |
"p50": 0.02988608350000277, | |
"p90": 0.030995340999999142, | |
"p95": 0.0319531233500129, | |
"p99": 0.03256622392001532, | |
"values": [ | |
0.03014047199997094, | |
0.02989192899997306, | |
0.02994065100000398, | |
0.029808745000025283, | |
0.030105327000001125, | |
0.029827149000027475, | |
0.029867795000029673, | |
0.029789478999987296, | |
0.02998455199997352, | |
0.029875078999964444, | |
0.030465117000005648, | |
0.029880238000032477, | |
0.02976411200000939, | |
0.029947913999990305, | |
0.029936692000035237, | |
0.030324305000021923, | |
0.029560693999997056, | |
0.02967180999996799, | |
0.03002539900001011, | |
0.03278903200003924, | |
0.031180768000012904, | |
0.030178143000000546, | |
0.03018373300000121, | |
0.029694050999978572, | |
0.030562677999967036, | |
0.029792195000027277, | |
0.02966910499998221, | |
0.029708679000009397, | |
0.032113855999966745, | |
0.031866575000037756, | |
0.029327248000015516, | |
0.028959344999975656, | |
0.02896605799998042, | |
0.029359037999995508 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 33.23045045782382 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 1.1406305101182728e-06, | |
"ram": 4.766911254759927e-08, | |
"gpu": 0.0, | |
"total": 1.1882996226658721e-06 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 841538.5992941458 | |
} | |
} | |
} | |
} |