IlyasMoutawwakil
HF staff
Upload cpu_inference_transformers_text-classification_FacebookAI/roberta-base/benchmark.json with huggingface_hub
a7863cf
verified
{ | |
"config": { | |
"name": "cpu_inference_transformers_text-classification_FacebookAI/roberta-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.3.0+cpu", | |
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend", | |
"task": "text-classification", | |
"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", | |
"start_method": "spawn" | |
}, | |
"environment": { | |
"cpu": " AMD EPYC 7763 64-Core Processor", | |
"cpu_count": 4, | |
"cpu_ram_mb": 16757.354496, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-6.5.0-1021-azure-x86_64-with-glibc2.35", | |
"processor": "x86_64", | |
"python_version": "3.10.14", | |
"optimum_benchmark_version": "0.2.0", | |
"optimum_benchmark_commit": "a84403909b6e036e6ac3ccba23f1df81c197a364", | |
"transformers_version": "4.40.2", | |
"transformers_commit": null, | |
"accelerate_version": "0.30.1", | |
"accelerate_commit": null, | |
"diffusers_version": "0.27.2", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.3", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 937.877504, | |
"max_global_vram": null, | |
"max_process_vram": null, | |
"max_reserved": null, | |
"max_allocated": null | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 33, | |
"total": 1.0167202380000617, | |
"mean": 0.030809704181820052, | |
"stdev": 0.0010559498779674843, | |
"p50": 0.030386147999990953, | |
"p90": 0.032034082999985, | |
"p95": 0.032706936800002494, | |
"p99": 0.034012041920016146, | |
"values": [ | |
0.03162768100003177, | |
0.030791609999994307, | |
0.030739823000033084, | |
0.030330714000001535, | |
0.03228913200001671, | |
0.03210065799999029, | |
0.031767782999963856, | |
0.02999947199998587, | |
0.03007750900002293, | |
0.03021560799999179, | |
0.029845833999956994, | |
0.030221620000020266, | |
0.03162636700000121, | |
0.0343312880000326, | |
0.030265171999985796, | |
0.030522845000007237, | |
0.029970568999999614, | |
0.029992109000033906, | |
0.029948515999990377, | |
0.029714376000015363, | |
0.0295942509999918, | |
0.031086213000037333, | |
0.03106399099999635, | |
0.030300576999991335, | |
0.03047320100000661, | |
0.030078650999996626, | |
0.0301302069999565, | |
0.02988677100000814, | |
0.030386147999990953, | |
0.03087858399999277, | |
0.03333364399998118, | |
0.031610428000021784, | |
0.031518886000014845 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 32.45730611688483 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 1.1676810925302944e-06, | |
"ram": 4.879966247388518e-08, | |
"gpu": 0.0, | |
"total": 1.2164807550041796e-06 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 822043.4198291646 | |
} | |
} | |
} | |
} |