Upload cpu_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
Browse files
cpu_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json
ADDED
|
@@ -0,0 +1,231 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"config": {
|
| 3 |
+
"name": "cpu_inference_transformers_multiple-choice_FacebookAI/roberta-base",
|
| 4 |
+
"backend": {
|
| 5 |
+
"name": "pytorch",
|
| 6 |
+
"version": "2.3.1+cpu",
|
| 7 |
+
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend",
|
| 8 |
+
"task": "multiple-choice",
|
| 9 |
+
"library": "transformers",
|
| 10 |
+
"model_type": "roberta",
|
| 11 |
+
"model": "FacebookAI/roberta-base",
|
| 12 |
+
"processor": "FacebookAI/roberta-base",
|
| 13 |
+
"device": "cpu",
|
| 14 |
+
"device_ids": null,
|
| 15 |
+
"seed": 42,
|
| 16 |
+
"inter_op_num_threads": null,
|
| 17 |
+
"intra_op_num_threads": null,
|
| 18 |
+
"model_kwargs": {},
|
| 19 |
+
"processor_kwargs": {},
|
| 20 |
+
"no_weights": true,
|
| 21 |
+
"device_map": null,
|
| 22 |
+
"torch_dtype": null,
|
| 23 |
+
"eval_mode": true,
|
| 24 |
+
"to_bettertransformer": false,
|
| 25 |
+
"low_cpu_mem_usage": null,
|
| 26 |
+
"attn_implementation": null,
|
| 27 |
+
"cache_implementation": null,
|
| 28 |
+
"autocast_enabled": false,
|
| 29 |
+
"autocast_dtype": null,
|
| 30 |
+
"torch_compile": false,
|
| 31 |
+
"torch_compile_target": "forward",
|
| 32 |
+
"torch_compile_config": {},
|
| 33 |
+
"quantization_scheme": null,
|
| 34 |
+
"quantization_config": {},
|
| 35 |
+
"deepspeed_inference": false,
|
| 36 |
+
"deepspeed_inference_config": {},
|
| 37 |
+
"peft_type": null,
|
| 38 |
+
"peft_config": {}
|
| 39 |
+
},
|
| 40 |
+
"scenario": {
|
| 41 |
+
"name": "inference",
|
| 42 |
+
"_target_": "optimum_benchmark.scenarios.inference.scenario.InferenceScenario",
|
| 43 |
+
"iterations": 1,
|
| 44 |
+
"duration": 1,
|
| 45 |
+
"warmup_runs": 1,
|
| 46 |
+
"input_shapes": {
|
| 47 |
+
"batch_size": 1,
|
| 48 |
+
"num_choices": 2,
|
| 49 |
+
"sequence_length": 2
|
| 50 |
+
},
|
| 51 |
+
"new_tokens": null,
|
| 52 |
+
"memory": true,
|
| 53 |
+
"latency": true,
|
| 54 |
+
"energy": true,
|
| 55 |
+
"forward_kwargs": {},
|
| 56 |
+
"generate_kwargs": {
|
| 57 |
+
"max_new_tokens": 2,
|
| 58 |
+
"min_new_tokens": 2
|
| 59 |
+
},
|
| 60 |
+
"call_kwargs": {
|
| 61 |
+
"num_inference_steps": 2
|
| 62 |
+
}
|
| 63 |
+
},
|
| 64 |
+
"launcher": {
|
| 65 |
+
"name": "process",
|
| 66 |
+
"_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher",
|
| 67 |
+
"device_isolation": false,
|
| 68 |
+
"device_isolation_action": "error",
|
| 69 |
+
"numactl": false,
|
| 70 |
+
"numactl_kwargs": {},
|
| 71 |
+
"start_method": "spawn"
|
| 72 |
+
},
|
| 73 |
+
"environment": {
|
| 74 |
+
"cpu": " AMD EPYC 7742 64-Core Processor",
|
| 75 |
+
"cpu_count": 128,
|
| 76 |
+
"cpu_ram_mb": 540671.660032,
|
| 77 |
+
"system": "Linux",
|
| 78 |
+
"machine": "x86_64",
|
| 79 |
+
"platform": "Linux-5.4.0-166-generic-x86_64-with-glibc2.35",
|
| 80 |
+
"processor": "x86_64",
|
| 81 |
+
"python_version": "3.10.12",
|
| 82 |
+
"optimum_benchmark_version": "0.4.0",
|
| 83 |
+
"optimum_benchmark_commit": null,
|
| 84 |
+
"transformers_version": "4.44.0",
|
| 85 |
+
"transformers_commit": null,
|
| 86 |
+
"accelerate_version": "0.33.0",
|
| 87 |
+
"accelerate_commit": null,
|
| 88 |
+
"diffusers_version": "0.30.0",
|
| 89 |
+
"diffusers_commit": null,
|
| 90 |
+
"optimum_version": null,
|
| 91 |
+
"optimum_commit": null,
|
| 92 |
+
"timm_version": "1.0.8",
|
| 93 |
+
"timm_commit": null,
|
| 94 |
+
"peft_version": "0.12.0",
|
| 95 |
+
"peft_commit": null
|
| 96 |
+
}
|
| 97 |
+
},
|
| 98 |
+
"report": {
|
| 99 |
+
"load": {
|
| 100 |
+
"memory": {
|
| 101 |
+
"unit": "MB",
|
| 102 |
+
"max_ram": 932.958208,
|
| 103 |
+
"max_global_vram": null,
|
| 104 |
+
"max_process_vram": null,
|
| 105 |
+
"max_reserved": null,
|
| 106 |
+
"max_allocated": null
|
| 107 |
+
},
|
| 108 |
+
"latency": {
|
| 109 |
+
"unit": "s",
|
| 110 |
+
"count": 1,
|
| 111 |
+
"total": 4.949483183212578,
|
| 112 |
+
"mean": 4.949483183212578,
|
| 113 |
+
"stdev": 0.0,
|
| 114 |
+
"p50": 4.949483183212578,
|
| 115 |
+
"p90": 4.949483183212578,
|
| 116 |
+
"p95": 4.949483183212578,
|
| 117 |
+
"p99": 4.949483183212578,
|
| 118 |
+
"values": [
|
| 119 |
+
4.949483183212578
|
| 120 |
+
]
|
| 121 |
+
},
|
| 122 |
+
"throughput": null,
|
| 123 |
+
"energy": {
|
| 124 |
+
"unit": "kWh",
|
| 125 |
+
"cpu": 4.849069350166246e-05,
|
| 126 |
+
"ram": 8.137881976524153e-05,
|
| 127 |
+
"gpu": 0,
|
| 128 |
+
"total": 0.00012986951326690398
|
| 129 |
+
},
|
| 130 |
+
"efficiency": null
|
| 131 |
+
},
|
| 132 |
+
"forward": {
|
| 133 |
+
"memory": {
|
| 134 |
+
"unit": "MB",
|
| 135 |
+
"max_ram": 941.133824,
|
| 136 |
+
"max_global_vram": null,
|
| 137 |
+
"max_process_vram": null,
|
| 138 |
+
"max_reserved": null,
|
| 139 |
+
"max_allocated": null
|
| 140 |
+
},
|
| 141 |
+
"latency": {
|
| 142 |
+
"unit": "s",
|
| 143 |
+
"count": 60,
|
| 144 |
+
"total": 0.9998478628695011,
|
| 145 |
+
"mean": 0.016664131047825017,
|
| 146 |
+
"stdev": 0.00014296706996017538,
|
| 147 |
+
"p50": 0.01665445603430271,
|
| 148 |
+
"p90": 0.016721735056489707,
|
| 149 |
+
"p95": 0.016747828992083668,
|
| 150 |
+
"p99": 0.017346578473225235,
|
| 151 |
+
"values": [
|
| 152 |
+
0.01736687682569027,
|
| 153 |
+
0.016540927812457085,
|
| 154 |
+
0.01653947588056326,
|
| 155 |
+
0.016473070718348026,
|
| 156 |
+
0.01651019137352705,
|
| 157 |
+
0.01664496399462223,
|
| 158 |
+
0.0173324728384614,
|
| 159 |
+
0.016555835492908955,
|
| 160 |
+
0.01649915985763073,
|
| 161 |
+
0.016648690216243267,
|
| 162 |
+
0.016615076921880245,
|
| 163 |
+
0.016646215692162514,
|
| 164 |
+
0.016567607410252094,
|
| 165 |
+
0.016509690321981907,
|
| 166 |
+
0.016617432236671448,
|
| 167 |
+
0.01659586187452078,
|
| 168 |
+
0.016570192761719227,
|
| 169 |
+
0.016652358695864677,
|
| 170 |
+
0.016640926711261272,
|
| 171 |
+
0.016700577922165394,
|
| 172 |
+
0.016644451767206192,
|
| 173 |
+
0.01666776556521654,
|
| 174 |
+
0.016764258034527302,
|
| 175 |
+
0.016651075333356857,
|
| 176 |
+
0.01669494714587927,
|
| 177 |
+
0.016655934043228626,
|
| 178 |
+
0.016691241413354874,
|
| 179 |
+
0.016690578311681747,
|
| 180 |
+
0.016717638820409775,
|
| 181 |
+
0.016674318350851536,
|
| 182 |
+
0.016682463698089123,
|
| 183 |
+
0.01655171811580658,
|
| 184 |
+
0.016660482622683048,
|
| 185 |
+
0.01652201171964407,
|
| 186 |
+
0.016574030742049217,
|
| 187 |
+
0.016674179583787918,
|
| 188 |
+
0.016635906882584095,
|
| 189 |
+
0.016650172881782055,
|
| 190 |
+
0.016652758233249187,
|
| 191 |
+
0.016613745130598545,
|
| 192 |
+
0.01656009443104267,
|
| 193 |
+
0.016607392579317093,
|
| 194 |
+
0.016652978025376797,
|
| 195 |
+
0.01667390763759613,
|
| 196 |
+
0.01665856782346964,
|
| 197 |
+
0.016746964305639267,
|
| 198 |
+
0.01672067493200302,
|
| 199 |
+
0.016746213659644127,
|
| 200 |
+
0.016689887270331383,
|
| 201 |
+
0.01667431928217411,
|
| 202 |
+
0.016659600660204887,
|
| 203 |
+
0.016657316125929356,
|
| 204 |
+
0.01667902711778879,
|
| 205 |
+
0.016699095256626606,
|
| 206 |
+
0.01673127617686987,
|
| 207 |
+
0.016682663932442665,
|
| 208 |
+
0.01665088441222906,
|
| 209 |
+
0.016708742827177048,
|
| 210 |
+
0.016668938100337982,
|
| 211 |
+
0.016682034358382225
|
| 212 |
+
]
|
| 213 |
+
},
|
| 214 |
+
"throughput": {
|
| 215 |
+
"unit": "samples/s",
|
| 216 |
+
"value": 60.00912961678364
|
| 217 |
+
},
|
| 218 |
+
"energy": {
|
| 219 |
+
"unit": "kWh",
|
| 220 |
+
"cpu": 5.084881061432704e-07,
|
| 221 |
+
"ram": 8.532312514450369e-07,
|
| 222 |
+
"gpu": 0.0,
|
| 223 |
+
"total": 1.3617193575883072e-06
|
| 224 |
+
},
|
| 225 |
+
"efficiency": {
|
| 226 |
+
"unit": "samples/kWh",
|
| 227 |
+
"value": 734365.707902592
|
| 228 |
+
}
|
| 229 |
+
}
|
| 230 |
+
}
|
| 231 |
+
}
|